From 57e11c93c40098dac59e31501bb1dc360e56acb0 Mon Sep 17 00:00:00 2001 From: James Simon Date: Fri, 31 Mar 2023 10:54:54 -0400 Subject: added hvac Signed-off-by: James Simon Change-Id: Iadd0b162f1ae73ea7787247747915ad1b84cc545 --- .../cpp/messages/VehiclePrecisionLocation.pb.cc | 434 +- .../cpp/messages/VehiclePrecisionLocation.pb.h | 528 +- .../main/cpp/messages/VehicleRemoteHvac.pb.cc | 1598 + .../proto/main/cpp/messages/VehicleRemoteHvac.pb.h | 1786 + .../source/proto/main/cpp/vss/vspec.pb.cc | 92855 +++++++++++++++++++ 5 files changed, 97178 insertions(+), 23 deletions(-) create mode 100644 build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.cc create mode 100644 build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.h (limited to 'build/generated/source/proto/main/cpp') diff --git a/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.cc b/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.cc index c0fdc1c..e77684c 100644 --- a/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.cc +++ b/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.cc @@ -35,7 +35,10 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestCurrentVehicleLocationDefaultTypeInternal _RequestCurrentVehicleLocation_default_instance_; PROTOBUF_CONSTEXPR ResponseCurrentVehicleLocation::ResponseCurrentVehicleLocation( ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.vehiclecurrentlocation_)*/nullptr + /*decltype(_impl_.vehiclemessageheading_)*/nullptr + , /*decltype(_impl_.vehiclecurrentlocation_)*/nullptr + , /*decltype(_impl_.responsestatus_)*/ 0 + , /*decltype(_impl_._cached_size_)*/{}} {} struct ResponseCurrentVehicleLocationDefaultTypeInternal { PROTOBUF_CONSTEXPR ResponseCurrentVehicleLocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -47,10 +50,24 @@ struct ResponseCurrentVehicleLocationDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseCurrentVehicleLocationDefaultTypeInternal _ResponseCurrentVehicleLocation_default_instance_; +PROTOBUF_CONSTEXPR PublishCurrentVehicleLocation::PublishCurrentVehicleLocation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.vehiclemessageheading_)*/nullptr + , /*decltype(_impl_.vehiclecurrentlocation_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PublishCurrentVehicleLocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR PublishCurrentVehicleLocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PublishCurrentVehicleLocationDefaultTypeInternal() {} + union { + PublishCurrentVehicleLocation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishCurrentVehicleLocationDefaultTypeInternal _PublishCurrentVehicleLocation_default_instance_; } // namespace messages -static ::_pb::Metadata file_level_metadata_messages_2fVehiclePrecisionLocation_2eproto[2]; -static constexpr const ::_pb::EnumDescriptor** - file_level_enum_descriptors_messages_2fVehiclePrecisionLocation_2eproto = nullptr; +static ::_pb::Metadata file_level_metadata_messages_2fVehiclePrecisionLocation_2eproto[3]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_messages_2fVehiclePrecisionLocation_2eproto[1]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_messages_2fVehiclePrecisionLocation_2eproto = nullptr; const ::uint32_t TableStruct_messages_2fVehiclePrecisionLocation_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( @@ -72,43 +89,68 @@ const ::uint32_t TableStruct_messages_2fVehiclePrecisionLocation_2eproto::offset ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::ResponseCurrentVehicleLocation, _impl_.vehiclemessageheading_), PROTOBUF_FIELD_OFFSET(::messages::ResponseCurrentVehicleLocation, _impl_.vehiclecurrentlocation_), + PROTOBUF_FIELD_OFFSET(::messages::ResponseCurrentVehicleLocation, _impl_.responsestatus_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::PublishCurrentVehicleLocation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::PublishCurrentVehicleLocation, _impl_.vehiclemessageheading_), + PROTOBUF_FIELD_OFFSET(::messages::PublishCurrentVehicleLocation, _impl_.vehiclecurrentlocation_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::messages::RequestCurrentVehicleLocation)}, { 9, -1, -1, sizeof(::messages::ResponseCurrentVehicleLocation)}, + { 20, -1, -1, sizeof(::messages::PublishCurrentVehicleLocation)}, }; static const ::_pb::Message* const file_default_instances[] = { &::messages::_RequestCurrentVehicleLocation_default_instance_._instance, &::messages::_ResponseCurrentVehicleLocation_default_instance_._instance, + &::messages::_PublishCurrentVehicleLocation_default_instance_._instance, }; const char descriptor_table_protodef_messages_2fVehiclePrecisionLocation_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { "\n\'messages/VehiclePrecisionLocation.prot" - "o\022\010messages\032\017vss/vspec.proto\"a\n\035RequestC" - "urrentVehicleLocation\022@\n\025vehicleIdentifi" - "cation\030\001 \001(\0132!.vss.VehicleVehicleIdentif" - "ication\"]\n\036ResponseCurrentVehicleLocatio" - "n\022;\n\026vehicleCurrentLocation\030\001 \001(\0132\033.vss." - "VehicleCurrentLocationb\006proto3" + "o\022\010messages\032\017vss/vspec.proto\032#messages/V" + "ehicleMessageHeader.proto\"a\n\035RequestCurr" + "entVehicleLocation\022@\n\025vehicleIdentificat" + "ion\030\001 \001(\0132!.vss.VehicleVehicleIdentifica" + "tion\"\323\001\n\036ResponseCurrentVehicleLocation\022" + ">\n\025vehicleMessageHeading\030\001 \001(\0132\037.message" + "s.VehicleMessageHeading\022;\n\026vehicleCurren" + "tLocation\030\002 \001(\0132\033.vss.VehicleCurrentLoca" + "tion\0224\n\016responseStatus\030\003 \001(\0162\034.messages." + "ResponseStatusEnum\"\234\001\n\035PublishCurrentVeh" + "icleLocation\022>\n\025vehicleMessageHeading\030\001 " + "\001(\0132\037.messages.VehicleMessageHeading\022;\n\026" + "vehicleCurrentLocation\030\002 \001(\0132\033.vss.Vehic" + "leCurrentLocation*S\n\022ResponseStatusEnum\022" + "\013\n\007SUCCESS\020\000\022\024\n\020FAIL_NO_RESPONSE\020\001\022\032\n\026FA" + "IL_DEGRADED_RESPONSE\020\002b\006proto3" }; -static const ::_pbi::DescriptorTable* const descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_deps[1] = +static const ::_pbi::DescriptorTable* const descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_deps[2] = { + &::descriptor_table_messages_2fVehicleMessageHeader_2eproto, &::descriptor_table_vss_2fvspec_2eproto, }; static ::absl::once_flag descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_messages_2fVehiclePrecisionLocation_2eproto = { false, false, - 270, + 670, descriptor_table_protodef_messages_2fVehiclePrecisionLocation_2eproto, "messages/VehiclePrecisionLocation.proto", &descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_once, descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_deps, - 1, 2, + 3, schemas, file_default_instances, TableStruct_messages_2fVehiclePrecisionLocation_2eproto::offsets, @@ -135,6 +177,20 @@ PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_messages PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_messages_2fVehiclePrecisionLocation_2eproto(&descriptor_table_messages_2fVehiclePrecisionLocation_2eproto); namespace messages { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ResponseStatusEnum_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_messages_2fVehiclePrecisionLocation_2eproto); + return file_level_enum_descriptors_messages_2fVehiclePrecisionLocation_2eproto[0]; +} +bool ResponseStatusEnum_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} // =================================================================== class RequestCurrentVehicleLocation::_Internal { @@ -335,13 +391,24 @@ void RequestCurrentVehicleLocation::InternalSwap(RequestCurrentVehicleLocation* class ResponseCurrentVehicleLocation::_Internal { public: + static const ::messages::VehicleMessageHeading& vehiclemessageheading(const ResponseCurrentVehicleLocation* msg); static const ::vss::VehicleCurrentLocation& vehiclecurrentlocation(const ResponseCurrentVehicleLocation* msg); }; +const ::messages::VehicleMessageHeading& +ResponseCurrentVehicleLocation::_Internal::vehiclemessageheading(const ResponseCurrentVehicleLocation* msg) { + return *msg->_impl_.vehiclemessageheading_; +} const ::vss::VehicleCurrentLocation& ResponseCurrentVehicleLocation::_Internal::vehiclecurrentlocation(const ResponseCurrentVehicleLocation* msg) { return *msg->_impl_.vehiclecurrentlocation_; } +void ResponseCurrentVehicleLocation::clear_vehiclemessageheading() { + if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) { + delete _impl_.vehiclemessageheading_; + } + _impl_.vehiclemessageheading_ = nullptr; +} void ResponseCurrentVehicleLocation::clear_vehiclecurrentlocation() { if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { delete _impl_.vehiclecurrentlocation_; @@ -357,20 +424,30 @@ ResponseCurrentVehicleLocation::ResponseCurrentVehicleLocation(const ResponseCur : ::PROTOBUF_NAMESPACE_ID::Message() { ResponseCurrentVehicleLocation* const _this = this; (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.vehiclecurrentlocation_){nullptr} + decltype(_impl_.vehiclemessageheading_){nullptr} + , decltype(_impl_.vehiclecurrentlocation_){nullptr} + , decltype(_impl_.responsestatus_) {} + , /*decltype(_impl_._cached_size_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_vehiclemessageheading()) { + _this->_impl_.vehiclemessageheading_ = new ::messages::VehicleMessageHeading(*from._impl_.vehiclemessageheading_); + } if (from._internal_has_vehiclecurrentlocation()) { _this->_impl_.vehiclecurrentlocation_ = new ::vss::VehicleCurrentLocation(*from._impl_.vehiclecurrentlocation_); } + _this->_impl_.responsestatus_ = from._impl_.responsestatus_; // @@protoc_insertion_point(copy_constructor:messages.ResponseCurrentVehicleLocation) } inline void ResponseCurrentVehicleLocation::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ - decltype(_impl_.vehiclecurrentlocation_){nullptr} + decltype(_impl_.vehiclemessageheading_){nullptr} + , decltype(_impl_.vehiclecurrentlocation_){nullptr} + , decltype(_impl_.responsestatus_) { 0 } + , /*decltype(_impl_._cached_size_)*/{} }; } @@ -386,6 +463,7 @@ ResponseCurrentVehicleLocation::~ResponseCurrentVehicleLocation() { inline void ResponseCurrentVehicleLocation::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.vehiclemessageheading_; if (this != internal_default_instance()) delete _impl_.vehiclecurrentlocation_; } @@ -399,10 +477,15 @@ void ResponseCurrentVehicleLocation::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) { + delete _impl_.vehiclemessageheading_; + } + _impl_.vehiclemessageheading_ = nullptr; if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { delete _impl_.vehiclecurrentlocation_; } _impl_.vehiclecurrentlocation_ = nullptr; + _impl_.responsestatus_ = 0; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -412,15 +495,34 @@ const char* ResponseCurrentVehicleLocation::_InternalParse(const char* ptr, ::_p ::uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // .vss.VehicleCurrentLocation vehicleCurrentLocation = 1; + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_vehiclemessageheading(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_vehiclecurrentlocation(), ptr); CHK_(ptr); } else { goto handle_unusual; } continue; + // .messages.ResponseStatusEnum responseStatus = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + ::uint32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_responsestatus(static_cast<::messages::ResponseStatusEnum>(val)); + } else { + goto handle_unusual; + } + continue; default: goto handle_unusual; } // switch @@ -450,13 +552,27 @@ failure: ::uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .vss.VehicleCurrentLocation vehicleCurrentLocation = 1; + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + if (this->_internal_has_vehiclemessageheading()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::vehiclemessageheading(this), + _Internal::vehiclemessageheading(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; if (this->_internal_has_vehiclecurrentlocation()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::vehiclecurrentlocation(this), + InternalWriteMessage(2, _Internal::vehiclecurrentlocation(this), _Internal::vehiclecurrentlocation(this).GetCachedSize(), target, stream); } + // .messages.ResponseStatusEnum responseStatus = 3; + if (this->_internal_responsestatus() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this->_internal_responsestatus(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -473,13 +589,26 @@ failure: // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .vss.VehicleCurrentLocation vehicleCurrentLocation = 1; + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + if (this->_internal_has_vehiclemessageheading()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vehiclemessageheading_); + } + + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; if (this->_internal_has_vehiclecurrentlocation()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *_impl_.vehiclecurrentlocation_); } + // .messages.ResponseStatusEnum responseStatus = 3; + if (this->_internal_responsestatus() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_responsestatus()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -498,10 +627,17 @@ void ResponseCurrentVehicleLocation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& ::uint32_t cached_has_bits = 0; (void) cached_has_bits; + if (from._internal_has_vehiclemessageheading()) { + _this->_internal_mutable_vehiclemessageheading()->::messages::VehicleMessageHeading::MergeFrom( + from._internal_vehiclemessageheading()); + } if (from._internal_has_vehiclecurrentlocation()) { _this->_internal_mutable_vehiclecurrentlocation()->::vss::VehicleCurrentLocation::MergeFrom( from._internal_vehiclecurrentlocation()); } + if (from._internal_responsestatus() != 0) { + _this->_internal_set_responsestatus(from._internal_responsestatus()); + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -519,7 +655,12 @@ bool ResponseCurrentVehicleLocation::IsInitialized() const { void ResponseCurrentVehicleLocation::InternalSwap(ResponseCurrentVehicleLocation* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.vehiclecurrentlocation_, other->_impl_.vehiclecurrentlocation_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ResponseCurrentVehicleLocation, _impl_.responsestatus_) + + sizeof(ResponseCurrentVehicleLocation::_impl_.responsestatus_) + - PROTOBUF_FIELD_OFFSET(ResponseCurrentVehicleLocation, _impl_.vehiclemessageheading_)>( + reinterpret_cast(&_impl_.vehiclemessageheading_), + reinterpret_cast(&other->_impl_.vehiclemessageheading_)); } ::PROTOBUF_NAMESPACE_ID::Metadata ResponseCurrentVehicleLocation::GetMetadata() const { @@ -527,6 +668,255 @@ void ResponseCurrentVehicleLocation::InternalSwap(ResponseCurrentVehicleLocation &descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_getter, &descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_once, file_level_metadata_messages_2fVehiclePrecisionLocation_2eproto[1]); } +// =================================================================== + +class PublishCurrentVehicleLocation::_Internal { + public: + static const ::messages::VehicleMessageHeading& vehiclemessageheading(const PublishCurrentVehicleLocation* msg); + static const ::vss::VehicleCurrentLocation& vehiclecurrentlocation(const PublishCurrentVehicleLocation* msg); +}; + +const ::messages::VehicleMessageHeading& +PublishCurrentVehicleLocation::_Internal::vehiclemessageheading(const PublishCurrentVehicleLocation* msg) { + return *msg->_impl_.vehiclemessageheading_; +} +const ::vss::VehicleCurrentLocation& +PublishCurrentVehicleLocation::_Internal::vehiclecurrentlocation(const PublishCurrentVehicleLocation* msg) { + return *msg->_impl_.vehiclecurrentlocation_; +} +void PublishCurrentVehicleLocation::clear_vehiclemessageheading() { + if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) { + delete _impl_.vehiclemessageheading_; + } + _impl_.vehiclemessageheading_ = nullptr; +} +void PublishCurrentVehicleLocation::clear_vehiclecurrentlocation() { + if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { + delete _impl_.vehiclecurrentlocation_; + } + _impl_.vehiclecurrentlocation_ = nullptr; +} +PublishCurrentVehicleLocation::PublishCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.PublishCurrentVehicleLocation) +} +PublishCurrentVehicleLocation::PublishCurrentVehicleLocation(const PublishCurrentVehicleLocation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PublishCurrentVehicleLocation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.vehiclemessageheading_){nullptr} + , decltype(_impl_.vehiclecurrentlocation_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_vehiclemessageheading()) { + _this->_impl_.vehiclemessageheading_ = new ::messages::VehicleMessageHeading(*from._impl_.vehiclemessageheading_); + } + if (from._internal_has_vehiclecurrentlocation()) { + _this->_impl_.vehiclecurrentlocation_ = new ::vss::VehicleCurrentLocation(*from._impl_.vehiclecurrentlocation_); + } + // @@protoc_insertion_point(copy_constructor:messages.PublishCurrentVehicleLocation) +} + +inline void PublishCurrentVehicleLocation::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.vehiclemessageheading_){nullptr} + , decltype(_impl_.vehiclecurrentlocation_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +PublishCurrentVehicleLocation::~PublishCurrentVehicleLocation() { + // @@protoc_insertion_point(destructor:messages.PublishCurrentVehicleLocation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PublishCurrentVehicleLocation::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.vehiclemessageheading_; + if (this != internal_default_instance()) delete _impl_.vehiclecurrentlocation_; +} + +void PublishCurrentVehicleLocation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PublishCurrentVehicleLocation::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.PublishCurrentVehicleLocation) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) { + delete _impl_.vehiclemessageheading_; + } + _impl_.vehiclemessageheading_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { + delete _impl_.vehiclecurrentlocation_; + } + _impl_.vehiclecurrentlocation_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PublishCurrentVehicleLocation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_vehiclemessageheading(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_vehiclecurrentlocation(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* PublishCurrentVehicleLocation::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.PublishCurrentVehicleLocation) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + if (this->_internal_has_vehiclemessageheading()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::vehiclemessageheading(this), + _Internal::vehiclemessageheading(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; + if (this->_internal_has_vehiclecurrentlocation()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::vehiclecurrentlocation(this), + _Internal::vehiclecurrentlocation(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.PublishCurrentVehicleLocation) + return target; +} + +::size_t PublishCurrentVehicleLocation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.PublishCurrentVehicleLocation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + if (this->_internal_has_vehiclemessageheading()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vehiclemessageheading_); + } + + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; + if (this->_internal_has_vehiclecurrentlocation()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vehiclecurrentlocation_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishCurrentVehicleLocation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PublishCurrentVehicleLocation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishCurrentVehicleLocation::GetClassData() const { return &_class_data_; } + + +void PublishCurrentVehicleLocation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.PublishCurrentVehicleLocation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_vehiclemessageheading()) { + _this->_internal_mutable_vehiclemessageheading()->::messages::VehicleMessageHeading::MergeFrom( + from._internal_vehiclemessageheading()); + } + if (from._internal_has_vehiclecurrentlocation()) { + _this->_internal_mutable_vehiclecurrentlocation()->::vss::VehicleCurrentLocation::MergeFrom( + from._internal_vehiclecurrentlocation()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PublishCurrentVehicleLocation::CopyFrom(const PublishCurrentVehicleLocation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.PublishCurrentVehicleLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PublishCurrentVehicleLocation::IsInitialized() const { + return true; +} + +void PublishCurrentVehicleLocation::InternalSwap(PublishCurrentVehicleLocation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PublishCurrentVehicleLocation, _impl_.vehiclecurrentlocation_) + + sizeof(PublishCurrentVehicleLocation::_impl_.vehiclecurrentlocation_) + - PROTOBUF_FIELD_OFFSET(PublishCurrentVehicleLocation, _impl_.vehiclemessageheading_)>( + reinterpret_cast(&_impl_.vehiclemessageheading_), + reinterpret_cast(&other->_impl_.vehiclemessageheading_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PublishCurrentVehicleLocation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_getter, &descriptor_table_messages_2fVehiclePrecisionLocation_2eproto_once, + file_level_metadata_messages_2fVehiclePrecisionLocation_2eproto[2]); +} // @@protoc_insertion_point(namespace_scope) } // namespace messages PROTOBUF_NAMESPACE_OPEN @@ -538,6 +928,10 @@ template<> PROTOBUF_NOINLINE ::messages::ResponseCurrentVehicleLocation* Arena::CreateMaybeMessage< ::messages::ResponseCurrentVehicleLocation >(Arena* arena) { return Arena::CreateMessageInternal< ::messages::ResponseCurrentVehicleLocation >(arena); } +template<> PROTOBUF_NOINLINE ::messages::PublishCurrentVehicleLocation* +Arena::CreateMaybeMessage< ::messages::PublishCurrentVehicleLocation >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::PublishCurrentVehicleLocation >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" diff --git a/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.h b/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.h index 7ea08e7..88a1a49 100644 --- a/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.h +++ b/build/generated/source/proto/main/cpp/messages/VehiclePrecisionLocation.pb.h @@ -30,8 +30,10 @@ #include "google/protobuf/message.h" #include "google/protobuf/repeated_field.h" // IWYU pragma: export #include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "vss/vspec.pb.h" +#include "messages/VehicleMessageHeader.pb.h" // @@protoc_insertion_point(includes) // Must be included last. @@ -52,6 +54,9 @@ struct TableStruct_messages_2fVehiclePrecisionLocation_2eproto { extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_messages_2fVehiclePrecisionLocation_2eproto; namespace messages { +class PublishCurrentVehicleLocation; +struct PublishCurrentVehicleLocationDefaultTypeInternal; +extern PublishCurrentVehicleLocationDefaultTypeInternal _PublishCurrentVehicleLocation_default_instance_; class RequestCurrentVehicleLocation; struct RequestCurrentVehicleLocationDefaultTypeInternal; extern RequestCurrentVehicleLocationDefaultTypeInternal _RequestCurrentVehicleLocation_default_instance_; @@ -61,12 +66,47 @@ extern ResponseCurrentVehicleLocationDefaultTypeInternal _ResponseCurrentVehicle } // namespace messages PROTOBUF_NAMESPACE_OPEN template <> +::messages::PublishCurrentVehicleLocation* Arena::CreateMaybeMessage<::messages::PublishCurrentVehicleLocation>(Arena*); +template <> ::messages::RequestCurrentVehicleLocation* Arena::CreateMaybeMessage<::messages::RequestCurrentVehicleLocation>(Arena*); template <> ::messages::ResponseCurrentVehicleLocation* Arena::CreateMaybeMessage<::messages::ResponseCurrentVehicleLocation>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace messages { +enum ResponseStatusEnum : int { + SUCCESS = 0, + FAIL_NO_RESPONSE = 1, + FAIL_DEGRADED_RESPONSE = 2, + ResponseStatusEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ResponseStatusEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool ResponseStatusEnum_IsValid(int value); +constexpr ResponseStatusEnum ResponseStatusEnum_MIN = static_cast(0); +constexpr ResponseStatusEnum ResponseStatusEnum_MAX = static_cast(2); +constexpr int ResponseStatusEnum_ARRAYSIZE = 2 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +ResponseStatusEnum_descriptor(); +template +const std::string& ResponseStatusEnum_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to ResponseStatusEnum_Name()."); + return ResponseStatusEnum_Name(static_cast(value)); +} +template <> +inline const std::string& ResponseStatusEnum_Name(ResponseStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ResponseStatusEnum_Parse(absl::string_view name, ResponseStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + ResponseStatusEnum_descriptor(), name, value); +} // =================================================================== @@ -348,9 +388,29 @@ class ResponseCurrentVehicleLocation final : // accessors ------------------------------------------------------- enum : int { - kVehicleCurrentLocationFieldNumber = 1, + kVehicleMessageHeadingFieldNumber = 1, + kVehicleCurrentLocationFieldNumber = 2, + kResponseStatusFieldNumber = 3, }; - // .vss.VehicleCurrentLocation vehicleCurrentLocation = 1; + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + bool has_vehiclemessageheading() const; + private: + bool _internal_has_vehiclemessageheading() const; + + public: + void clear_vehiclemessageheading() ; + const ::messages::VehicleMessageHeading& vehiclemessageheading() const; + PROTOBUF_NODISCARD ::messages::VehicleMessageHeading* release_vehiclemessageheading(); + ::messages::VehicleMessageHeading* mutable_vehiclemessageheading(); + void set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading); + private: + const ::messages::VehicleMessageHeading& _internal_vehiclemessageheading() const; + ::messages::VehicleMessageHeading* _internal_mutable_vehiclemessageheading(); + public: + void unsafe_arena_set_allocated_vehiclemessageheading( + ::messages::VehicleMessageHeading* vehiclemessageheading); + ::messages::VehicleMessageHeading* unsafe_arena_release_vehiclemessageheading(); + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; bool has_vehiclecurrentlocation() const; private: bool _internal_has_vehiclecurrentlocation() const; @@ -368,6 +428,16 @@ class ResponseCurrentVehicleLocation final : void unsafe_arena_set_allocated_vehiclecurrentlocation( ::vss::VehicleCurrentLocation* vehiclecurrentlocation); ::vss::VehicleCurrentLocation* unsafe_arena_release_vehiclecurrentlocation(); + // .messages.ResponseStatusEnum responseStatus = 3; + void clear_responsestatus() ; + ::messages::ResponseStatusEnum responsestatus() const; + void set_responsestatus(::messages::ResponseStatusEnum value); + + private: + ::messages::ResponseStatusEnum _internal_responsestatus() const; + void _internal_set_responsestatus(::messages::ResponseStatusEnum value); + + public: // @@protoc_insertion_point(class_scope:messages.ResponseCurrentVehicleLocation) private: class _Internal; @@ -376,6 +446,183 @@ class ResponseCurrentVehicleLocation final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { + ::messages::VehicleMessageHeading* vehiclemessageheading_; + ::vss::VehicleCurrentLocation* vehiclecurrentlocation_; + int responsestatus_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; +};// ------------------------------------------------------------------- + +class PublishCurrentVehicleLocation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.PublishCurrentVehicleLocation) */ { + public: + inline PublishCurrentVehicleLocation() : PublishCurrentVehicleLocation(nullptr) {} + ~PublishCurrentVehicleLocation() override; + explicit PROTOBUF_CONSTEXPR PublishCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PublishCurrentVehicleLocation(const PublishCurrentVehicleLocation& from); + PublishCurrentVehicleLocation(PublishCurrentVehicleLocation&& from) noexcept + : PublishCurrentVehicleLocation() { + *this = ::std::move(from); + } + + inline PublishCurrentVehicleLocation& operator=(const PublishCurrentVehicleLocation& from) { + CopyFrom(from); + return *this; + } + inline PublishCurrentVehicleLocation& operator=(PublishCurrentVehicleLocation&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PublishCurrentVehicleLocation& default_instance() { + return *internal_default_instance(); + } + static inline const PublishCurrentVehicleLocation* internal_default_instance() { + return reinterpret_cast( + &_PublishCurrentVehicleLocation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(PublishCurrentVehicleLocation& a, PublishCurrentVehicleLocation& b) { + a.Swap(&b); + } + inline void Swap(PublishCurrentVehicleLocation* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PublishCurrentVehicleLocation* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PublishCurrentVehicleLocation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PublishCurrentVehicleLocation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PublishCurrentVehicleLocation& from) { + PublishCurrentVehicleLocation::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PublishCurrentVehicleLocation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.PublishCurrentVehicleLocation"; + } + protected: + explicit PublishCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kVehicleMessageHeadingFieldNumber = 1, + kVehicleCurrentLocationFieldNumber = 2, + }; + // .messages.VehicleMessageHeading vehicleMessageHeading = 1; + bool has_vehiclemessageheading() const; + private: + bool _internal_has_vehiclemessageheading() const; + + public: + void clear_vehiclemessageheading() ; + const ::messages::VehicleMessageHeading& vehiclemessageheading() const; + PROTOBUF_NODISCARD ::messages::VehicleMessageHeading* release_vehiclemessageheading(); + ::messages::VehicleMessageHeading* mutable_vehiclemessageheading(); + void set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading); + private: + const ::messages::VehicleMessageHeading& _internal_vehiclemessageheading() const; + ::messages::VehicleMessageHeading* _internal_mutable_vehiclemessageheading(); + public: + void unsafe_arena_set_allocated_vehiclemessageheading( + ::messages::VehicleMessageHeading* vehiclemessageheading); + ::messages::VehicleMessageHeading* unsafe_arena_release_vehiclemessageheading(); + // .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; + bool has_vehiclecurrentlocation() const; + private: + bool _internal_has_vehiclecurrentlocation() const; + + public: + void clear_vehiclecurrentlocation() ; + const ::vss::VehicleCurrentLocation& vehiclecurrentlocation() const; + PROTOBUF_NODISCARD ::vss::VehicleCurrentLocation* release_vehiclecurrentlocation(); + ::vss::VehicleCurrentLocation* mutable_vehiclecurrentlocation(); + void set_allocated_vehiclecurrentlocation(::vss::VehicleCurrentLocation* vehiclecurrentlocation); + private: + const ::vss::VehicleCurrentLocation& _internal_vehiclecurrentlocation() const; + ::vss::VehicleCurrentLocation* _internal_mutable_vehiclecurrentlocation(); + public: + void unsafe_arena_set_allocated_vehiclecurrentlocation( + ::vss::VehicleCurrentLocation* vehiclecurrentlocation); + ::vss::VehicleCurrentLocation* unsafe_arena_release_vehiclecurrentlocation(); + // @@protoc_insertion_point(class_scope:messages.PublishCurrentVehicleLocation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::messages::VehicleMessageHeading* vehiclemessageheading_; ::vss::VehicleCurrentLocation* vehiclecurrentlocation_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -483,7 +730,87 @@ inline void RequestCurrentVehicleLocation::set_allocated_vehicleidentification(: // ResponseCurrentVehicleLocation -// .vss.VehicleCurrentLocation vehicleCurrentLocation = 1; +// .messages.VehicleMessageHeading vehicleMessageHeading = 1; +inline bool ResponseCurrentVehicleLocation::_internal_has_vehiclemessageheading() const { + return this != internal_default_instance() && _impl_.vehiclemessageheading_ != nullptr; +} +inline bool ResponseCurrentVehicleLocation::has_vehiclemessageheading() const { + return _internal_has_vehiclemessageheading(); +} +inline const ::messages::VehicleMessageHeading& ResponseCurrentVehicleLocation::_internal_vehiclemessageheading() const { + const ::messages::VehicleMessageHeading* p = _impl_.vehiclemessageheading_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_VehicleMessageHeading_default_instance_); +} +inline const ::messages::VehicleMessageHeading& ResponseCurrentVehicleLocation::vehiclemessageheading() const { + // @@protoc_insertion_point(field_get:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) + return _internal_vehiclemessageheading(); +} +inline void ResponseCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclemessageheading( + ::messages::VehicleMessageHeading* vehiclemessageheading) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); + } + _impl_.vehiclemessageheading_ = vehiclemessageheading; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) +} +inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::release_vehiclemessageheading() { + + ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; + _impl_.vehiclemessageheading_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::unsafe_arena_release_vehiclemessageheading() { + // @@protoc_insertion_point(field_release:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) + + ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; + _impl_.vehiclemessageheading_ = nullptr; + return temp; +} +inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::_internal_mutable_vehiclemessageheading() { + + if (_impl_.vehiclemessageheading_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); + _impl_.vehiclemessageheading_ = p; + } + return _impl_.vehiclemessageheading_; +} +inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::mutable_vehiclemessageheading() { + ::messages::VehicleMessageHeading* _msg = _internal_mutable_vehiclemessageheading(); + // @@protoc_insertion_point(field_mutable:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) + return _msg; +} +inline void ResponseCurrentVehicleLocation::set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); + } + if (vehiclemessageheading) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehiclemessageheading)); + if (message_arena != submessage_arena) { + vehiclemessageheading = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, vehiclemessageheading, submessage_arena); + } + + } else { + + } + _impl_.vehiclemessageheading_ = vehiclemessageheading; + // @@protoc_insertion_point(field_set_allocated:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) +} + +// .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; inline bool ResponseCurrentVehicleLocation::_internal_has_vehiclecurrentlocation() const { return this != internal_default_instance() && _impl_.vehiclecurrentlocation_ != nullptr; } @@ -563,6 +890,190 @@ inline void ResponseCurrentVehicleLocation::set_allocated_vehiclecurrentlocation // @@protoc_insertion_point(field_set_allocated:messages.ResponseCurrentVehicleLocation.vehicleCurrentLocation) } +// .messages.ResponseStatusEnum responseStatus = 3; +inline void ResponseCurrentVehicleLocation::clear_responsestatus() { + _impl_.responsestatus_ = 0; +} +inline ::messages::ResponseStatusEnum ResponseCurrentVehicleLocation::responsestatus() const { + // @@protoc_insertion_point(field_get:messages.ResponseCurrentVehicleLocation.responseStatus) + return _internal_responsestatus(); +} +inline void ResponseCurrentVehicleLocation::set_responsestatus(::messages::ResponseStatusEnum value) { + _internal_set_responsestatus(value); + // @@protoc_insertion_point(field_set:messages.ResponseCurrentVehicleLocation.responseStatus) +} +inline ::messages::ResponseStatusEnum ResponseCurrentVehicleLocation::_internal_responsestatus() const { + return static_cast<::messages::ResponseStatusEnum>(_impl_.responsestatus_); +} +inline void ResponseCurrentVehicleLocation::_internal_set_responsestatus(::messages::ResponseStatusEnum value) { + ; + _impl_.responsestatus_ = value; +} + +// ------------------------------------------------------------------- + +// PublishCurrentVehicleLocation + +// .messages.VehicleMessageHeading vehicleMessageHeading = 1; +inline bool PublishCurrentVehicleLocation::_internal_has_vehiclemessageheading() const { + return this != internal_default_instance() && _impl_.vehiclemessageheading_ != nullptr; +} +inline bool PublishCurrentVehicleLocation::has_vehiclemessageheading() const { + return _internal_has_vehiclemessageheading(); +} +inline const ::messages::VehicleMessageHeading& PublishCurrentVehicleLocation::_internal_vehiclemessageheading() const { + const ::messages::VehicleMessageHeading* p = _impl_.vehiclemessageheading_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_VehicleMessageHeading_default_instance_); +} +inline const ::messages::VehicleMessageHeading& PublishCurrentVehicleLocation::vehiclemessageheading() const { + // @@protoc_insertion_point(field_get:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) + return _internal_vehiclemessageheading(); +} +inline void PublishCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclemessageheading( + ::messages::VehicleMessageHeading* vehiclemessageheading) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); + } + _impl_.vehiclemessageheading_ = vehiclemessageheading; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) +} +inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::release_vehiclemessageheading() { + + ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; + _impl_.vehiclemessageheading_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::unsafe_arena_release_vehiclemessageheading() { + // @@protoc_insertion_point(field_release:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) + + ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; + _impl_.vehiclemessageheading_ = nullptr; + return temp; +} +inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::_internal_mutable_vehiclemessageheading() { + + if (_impl_.vehiclemessageheading_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); + _impl_.vehiclemessageheading_ = p; + } + return _impl_.vehiclemessageheading_; +} +inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::mutable_vehiclemessageheading() { + ::messages::VehicleMessageHeading* _msg = _internal_mutable_vehiclemessageheading(); + // @@protoc_insertion_point(field_mutable:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) + return _msg; +} +inline void PublishCurrentVehicleLocation::set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); + } + if (vehiclemessageheading) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehiclemessageheading)); + if (message_arena != submessage_arena) { + vehiclemessageheading = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, vehiclemessageheading, submessage_arena); + } + + } else { + + } + _impl_.vehiclemessageheading_ = vehiclemessageheading; + // @@protoc_insertion_point(field_set_allocated:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) +} + +// .vss.VehicleCurrentLocation vehicleCurrentLocation = 2; +inline bool PublishCurrentVehicleLocation::_internal_has_vehiclecurrentlocation() const { + return this != internal_default_instance() && _impl_.vehiclecurrentlocation_ != nullptr; +} +inline bool PublishCurrentVehicleLocation::has_vehiclecurrentlocation() const { + return _internal_has_vehiclecurrentlocation(); +} +inline const ::vss::VehicleCurrentLocation& PublishCurrentVehicleLocation::_internal_vehiclecurrentlocation() const { + const ::vss::VehicleCurrentLocation* p = _impl_.vehiclecurrentlocation_; + return p != nullptr ? *p : reinterpret_cast( + ::vss::_VehicleCurrentLocation_default_instance_); +} +inline const ::vss::VehicleCurrentLocation& PublishCurrentVehicleLocation::vehiclecurrentlocation() const { + // @@protoc_insertion_point(field_get:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) + return _internal_vehiclecurrentlocation(); +} +inline void PublishCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclecurrentlocation( + ::vss::VehicleCurrentLocation* vehiclecurrentlocation) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclecurrentlocation_); + } + _impl_.vehiclecurrentlocation_ = vehiclecurrentlocation; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) +} +inline ::vss::VehicleCurrentLocation* PublishCurrentVehicleLocation::release_vehiclecurrentlocation() { + + ::vss::VehicleCurrentLocation* temp = _impl_.vehiclecurrentlocation_; + _impl_.vehiclecurrentlocation_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::vss::VehicleCurrentLocation* PublishCurrentVehicleLocation::unsafe_arena_release_vehiclecurrentlocation() { + // @@protoc_insertion_point(field_release:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) + + ::vss::VehicleCurrentLocation* temp = _impl_.vehiclecurrentlocation_; + _impl_.vehiclecurrentlocation_ = nullptr; + return temp; +} +inline ::vss::VehicleCurrentLocation* PublishCurrentVehicleLocation::_internal_mutable_vehiclecurrentlocation() { + + if (_impl_.vehiclecurrentlocation_ == nullptr) { + auto* p = CreateMaybeMessage<::vss::VehicleCurrentLocation>(GetArenaForAllocation()); + _impl_.vehiclecurrentlocation_ = p; + } + return _impl_.vehiclecurrentlocation_; +} +inline ::vss::VehicleCurrentLocation* PublishCurrentVehicleLocation::mutable_vehiclecurrentlocation() { + ::vss::VehicleCurrentLocation* _msg = _internal_mutable_vehiclecurrentlocation(); + // @@protoc_insertion_point(field_mutable:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) + return _msg; +} +inline void PublishCurrentVehicleLocation::set_allocated_vehiclecurrentlocation(::vss::VehicleCurrentLocation* vehiclecurrentlocation) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclecurrentlocation_); + } + if (vehiclecurrentlocation) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehiclecurrentlocation)); + if (message_arena != submessage_arena) { + vehiclecurrentlocation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, vehiclecurrentlocation, submessage_arena); + } + + } else { + + } + _impl_.vehiclecurrentlocation_ = vehiclecurrentlocation; + // @@protoc_insertion_point(field_set_allocated:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -571,6 +1082,17 @@ inline void ResponseCurrentVehicleLocation::set_allocated_vehiclecurrentlocation } // namespace messages +PROTOBUF_NAMESPACE_OPEN + +template <> +struct is_proto_enum<::messages::ResponseStatusEnum> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::messages::ResponseStatusEnum>() { + return ::messages::ResponseStatusEnum_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" diff --git a/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.cc b/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.cc new file mode 100644 index 0000000..894932e --- /dev/null +++ b/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.cc @@ -0,0 +1,1598 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: messages/VehicleRemoteHvac.proto + +#include "messages/VehicleRemoteHvac.pb.h" + +#include +#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) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::PROTOBUF_NAMESPACE_ID; +namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal; +namespace messages { +PROTOBUF_CONSTEXPR CabinPreconditionRequest::CabinPreconditionRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.messageheader_)*/nullptr + , /*decltype(_impl_.setacstatus_)*/nullptr + , /*decltype(_impl_.settemp_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CabinPreconditionRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CabinPreconditionRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CabinPreconditionRequestDefaultTypeInternal() {} + union { + CabinPreconditionRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CabinPreconditionRequestDefaultTypeInternal _CabinPreconditionRequest_default_instance_; +PROTOBUF_CONSTEXPR CabinPreConditionReponse::CabinPreConditionReponse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.messageheader_)*/nullptr + , /*decltype(_impl_.setacstatusreply_)*/nullptr + , /*decltype(_impl_.settemperaturereply_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CabinPreConditionReponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CabinPreConditionReponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CabinPreConditionReponseDefaultTypeInternal() {} + union { + CabinPreConditionReponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CabinPreConditionReponseDefaultTypeInternal _CabinPreConditionReponse_default_instance_; +PROTOBUF_CONSTEXPR SetAcStatusRequest::SetAcStatusRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.desiredstatus_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetAcStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetAcStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAcStatusRequestDefaultTypeInternal() {} + union { + SetAcStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAcStatusRequestDefaultTypeInternal _SetAcStatusRequest_default_instance_; +PROTOBUF_CONSTEXPR SetAcStatusReply::SetAcStatusReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.status_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetAcStatusReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetAcStatusReplyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAcStatusReplyDefaultTypeInternal() {} + union { + SetAcStatusReply _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAcStatusReplyDefaultTypeInternal _SetAcStatusReply_default_instance_; +PROTOBUF_CONSTEXPR SetTemperatureRequest::SetTemperatureRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetTemperatureRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetTemperatureRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetTemperatureRequestDefaultTypeInternal() {} + union { + SetTemperatureRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTemperatureRequestDefaultTypeInternal _SetTemperatureRequest_default_instance_; +PROTOBUF_CONSTEXPR SetTemperatureReply::SetTemperatureReply( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.tempstatus_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetTemperatureReplyDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetTemperatureReplyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetTemperatureReplyDefaultTypeInternal() {} + union { + SetTemperatureReply _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTemperatureReplyDefaultTypeInternal _SetTemperatureReply_default_instance_; +} // namespace messages +static ::_pb::Metadata file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[6]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_messages_2fVehicleRemoteHvac_2eproto[2]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_messages_2fVehicleRemoteHvac_2eproto = nullptr; +const ::uint32_t TableStruct_messages_2fVehicleRemoteHvac_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::CabinPreconditionRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::CabinPreconditionRequest, _impl_.messageheader_), + PROTOBUF_FIELD_OFFSET(::messages::CabinPreconditionRequest, _impl_.setacstatus_), + PROTOBUF_FIELD_OFFSET(::messages::CabinPreconditionRequest, _impl_.settemp_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::CabinPreConditionReponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::CabinPreConditionReponse, _impl_.messageheader_), + PROTOBUF_FIELD_OFFSET(::messages::CabinPreConditionReponse, _impl_.setacstatusreply_), + PROTOBUF_FIELD_OFFSET(::messages::CabinPreConditionReponse, _impl_.settemperaturereply_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::SetAcStatusRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::SetAcStatusRequest, _impl_.desiredstatus_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::SetAcStatusReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::SetAcStatusReply, _impl_.status_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::SetTemperatureRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::SetTemperatureRequest, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::messages::SetTemperatureReply, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::messages::SetTemperatureReply, _impl_.tempstatus_), +}; + +static const ::_pbi::MigrationSchema + schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::messages::CabinPreconditionRequest)}, + { 11, -1, -1, sizeof(::messages::CabinPreConditionReponse)}, + { 22, -1, -1, sizeof(::messages::SetAcStatusRequest)}, + { 31, -1, -1, sizeof(::messages::SetAcStatusReply)}, + { 40, -1, -1, sizeof(::messages::SetTemperatureRequest)}, + { 49, -1, -1, sizeof(::messages::SetTemperatureReply)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::messages::_CabinPreconditionRequest_default_instance_._instance, + &::messages::_CabinPreConditionReponse_default_instance_._instance, + &::messages::_SetAcStatusRequest_default_instance_._instance, + &::messages::_SetAcStatusReply_default_instance_._instance, + &::messages::_SetTemperatureRequest_default_instance_._instance, + &::messages::_SetTemperatureReply_default_instance_._instance, +}; +const char descriptor_table_protodef_messages_2fVehicleRemoteHvac_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + "\n messages/VehicleRemoteHvac.proto\022\010mess" + "ages\032\017vss/vspec.proto\032#messages/VehicleM" + "essageHeader.proto\"\267\001\n\030CabinPrecondition" + "Request\0226\n\rmessageHeader\030\001 \001(\0132\037.message" + "s.VehicleMessageHeading\0221\n\013setAcStatus\030\002" + " \001(\0132\034.messages.SetAcStatusRequest\0220\n\007se" + "tTemp\030\003 \001(\0132\037.messages.SetTemperatureReq" + "uest\"\304\001\n\030CabinPreConditionReponse\0226\n\rmes" + "sageHeader\030\001 \001(\0132\037.messages.VehicleMessa" + "geHeading\0224\n\020setAcStatusReply\030\002 \001(\0132\032.me" + "ssages.SetAcStatusReply\022:\n\023setTemperatur" + "eReply\030\003 \001(\0132\035.messages.SetTemperatureRe" + "ply\"C\n\022SetAcStatusRequest\022-\n\rdesiredStat" + "us\030\001 \001(\0162\026.messages.AcStatusEnum\":\n\020SetA" + "cStatusReply\022&\n\006status\030\001 \001(\0162\026.messages." + "AcStatusEnum\",\n\025SetTemperatureRequest\022\023\n" + "\013temperature\030\001 \001(\002\"F\n\023SetTemperatureRepl" + "y\022/\n\ntempStatus\030\001 \001(\0162\033.messages.SetTemp" + "StatusEnum*2\n\014AcStatusEnum\022\006\n\002ON\020\000\022\007\n\003OF" + "F\020\001\022\021\n\rUKNONWN_ERROR\020\002*5\n\021SetTempStatusE" + "num\022\020\n\014TEMP_SUCCESS\020\000\022\016\n\nTEMP_ERROR\020\001b\006p" + "roto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_messages_2fVehicleRemoteHvac_2eproto_deps[2] = + { + &::descriptor_table_messages_2fVehicleMessageHeader_2eproto, + &::descriptor_table_vss_2fvspec_2eproto, +}; +static ::absl::once_flag descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_messages_2fVehicleRemoteHvac_2eproto = { + false, + false, + 845, + descriptor_table_protodef_messages_2fVehicleRemoteHvac_2eproto, + "messages/VehicleRemoteHvac.proto", + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + descriptor_table_messages_2fVehicleRemoteHvac_2eproto_deps, + 2, + 6, + schemas, + file_default_instances, + TableStruct_messages_2fVehicleRemoteHvac_2eproto::offsets, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto, + file_level_enum_descriptors_messages_2fVehicleRemoteHvac_2eproto, + file_level_service_descriptors_messages_2fVehicleRemoteHvac_2eproto, +}; + +// This function exists to be marked as weak. +// It can significantly speed up compilation by breaking up LLVM's SCC +// in the .pb.cc translation units. Large translation units see a +// reduction of more than 35% of walltime for optimized builds. Without +// the weak attribute all the messages in the file, including all the +// vtables and everything they use become part of the same SCC through +// a cycle like: +// GetMetadata -> descriptor table -> default instances -> +// vtables -> GetMetadata +// By adding a weak function here we break the connection from the +// individual vtables back into the descriptor table. +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter() { + return &descriptor_table_messages_2fVehicleRemoteHvac_2eproto; +} +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 +static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_messages_2fVehicleRemoteHvac_2eproto(&descriptor_table_messages_2fVehicleRemoteHvac_2eproto); +namespace messages { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AcStatusEnum_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_messages_2fVehicleRemoteHvac_2eproto); + return file_level_enum_descriptors_messages_2fVehicleRemoteHvac_2eproto[0]; +} +bool AcStatusEnum_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SetTempStatusEnum_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_messages_2fVehicleRemoteHvac_2eproto); + return file_level_enum_descriptors_messages_2fVehicleRemoteHvac_2eproto[1]; +} +bool SetTempStatusEnum_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} +// =================================================================== + +class CabinPreconditionRequest::_Internal { + public: + static const ::messages::VehicleMessageHeading& messageheader(const CabinPreconditionRequest* msg); + static const ::messages::SetAcStatusRequest& setacstatus(const CabinPreconditionRequest* msg); + static const ::messages::SetTemperatureRequest& settemp(const CabinPreconditionRequest* msg); +}; + +const ::messages::VehicleMessageHeading& +CabinPreconditionRequest::_Internal::messageheader(const CabinPreconditionRequest* msg) { + return *msg->_impl_.messageheader_; +} +const ::messages::SetAcStatusRequest& +CabinPreconditionRequest::_Internal::setacstatus(const CabinPreconditionRequest* msg) { + return *msg->_impl_.setacstatus_; +} +const ::messages::SetTemperatureRequest& +CabinPreconditionRequest::_Internal::settemp(const CabinPreconditionRequest* msg) { + return *msg->_impl_.settemp_; +} +void CabinPreconditionRequest::clear_messageheader() { + if (GetArenaForAllocation() == nullptr && _impl_.messageheader_ != nullptr) { + delete _impl_.messageheader_; + } + _impl_.messageheader_ = nullptr; +} +CabinPreconditionRequest::CabinPreconditionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.CabinPreconditionRequest) +} +CabinPreconditionRequest::CabinPreconditionRequest(const CabinPreconditionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CabinPreconditionRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.messageheader_){nullptr} + , decltype(_impl_.setacstatus_){nullptr} + , decltype(_impl_.settemp_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_messageheader()) { + _this->_impl_.messageheader_ = new ::messages::VehicleMessageHeading(*from._impl_.messageheader_); + } + if (from._internal_has_setacstatus()) { + _this->_impl_.setacstatus_ = new ::messages::SetAcStatusRequest(*from._impl_.setacstatus_); + } + if (from._internal_has_settemp()) { + _this->_impl_.settemp_ = new ::messages::SetTemperatureRequest(*from._impl_.settemp_); + } + // @@protoc_insertion_point(copy_constructor:messages.CabinPreconditionRequest) +} + +inline void CabinPreconditionRequest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.messageheader_){nullptr} + , decltype(_impl_.setacstatus_){nullptr} + , decltype(_impl_.settemp_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CabinPreconditionRequest::~CabinPreconditionRequest() { + // @@protoc_insertion_point(destructor:messages.CabinPreconditionRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CabinPreconditionRequest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.messageheader_; + if (this != internal_default_instance()) delete _impl_.setacstatus_; + if (this != internal_default_instance()) delete _impl_.settemp_; +} + +void CabinPreconditionRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CabinPreconditionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.CabinPreconditionRequest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.messageheader_ != nullptr) { + delete _impl_.messageheader_; + } + _impl_.messageheader_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.setacstatus_ != nullptr) { + delete _impl_.setacstatus_; + } + _impl_.setacstatus_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.settemp_ != nullptr) { + delete _impl_.settemp_; + } + _impl_.settemp_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CabinPreconditionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.VehicleMessageHeading messageHeader = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_messageheader(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .messages.SetAcStatusRequest setAcStatus = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_setacstatus(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .messages.SetTemperatureRequest setTemp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_settemp(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* CabinPreconditionRequest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.CabinPreconditionRequest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.VehicleMessageHeading messageHeader = 1; + if (this->_internal_has_messageheader()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::messageheader(this), + _Internal::messageheader(this).GetCachedSize(), target, stream); + } + + // .messages.SetAcStatusRequest setAcStatus = 2; + if (this->_internal_has_setacstatus()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::setacstatus(this), + _Internal::setacstatus(this).GetCachedSize(), target, stream); + } + + // .messages.SetTemperatureRequest setTemp = 3; + if (this->_internal_has_settemp()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::settemp(this), + _Internal::settemp(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.CabinPreconditionRequest) + return target; +} + +::size_t CabinPreconditionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.CabinPreconditionRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.VehicleMessageHeading messageHeader = 1; + if (this->_internal_has_messageheader()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.messageheader_); + } + + // .messages.SetAcStatusRequest setAcStatus = 2; + if (this->_internal_has_setacstatus()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.setacstatus_); + } + + // .messages.SetTemperatureRequest setTemp = 3; + if (this->_internal_has_settemp()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.settemp_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CabinPreconditionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CabinPreconditionRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CabinPreconditionRequest::GetClassData() const { return &_class_data_; } + + +void CabinPreconditionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.CabinPreconditionRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_messageheader()) { + _this->_internal_mutable_messageheader()->::messages::VehicleMessageHeading::MergeFrom( + from._internal_messageheader()); + } + if (from._internal_has_setacstatus()) { + _this->_internal_mutable_setacstatus()->::messages::SetAcStatusRequest::MergeFrom( + from._internal_setacstatus()); + } + if (from._internal_has_settemp()) { + _this->_internal_mutable_settemp()->::messages::SetTemperatureRequest::MergeFrom( + from._internal_settemp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CabinPreconditionRequest::CopyFrom(const CabinPreconditionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.CabinPreconditionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CabinPreconditionRequest::IsInitialized() const { + return true; +} + +void CabinPreconditionRequest::InternalSwap(CabinPreconditionRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CabinPreconditionRequest, _impl_.settemp_) + + sizeof(CabinPreconditionRequest::_impl_.settemp_) + - PROTOBUF_FIELD_OFFSET(CabinPreconditionRequest, _impl_.messageheader_)>( + reinterpret_cast(&_impl_.messageheader_), + reinterpret_cast(&other->_impl_.messageheader_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CabinPreconditionRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[0]); +} +// =================================================================== + +class CabinPreConditionReponse::_Internal { + public: + static const ::messages::VehicleMessageHeading& messageheader(const CabinPreConditionReponse* msg); + static const ::messages::SetAcStatusReply& setacstatusreply(const CabinPreConditionReponse* msg); + static const ::messages::SetTemperatureReply& settemperaturereply(const CabinPreConditionReponse* msg); +}; + +const ::messages::VehicleMessageHeading& +CabinPreConditionReponse::_Internal::messageheader(const CabinPreConditionReponse* msg) { + return *msg->_impl_.messageheader_; +} +const ::messages::SetAcStatusReply& +CabinPreConditionReponse::_Internal::setacstatusreply(const CabinPreConditionReponse* msg) { + return *msg->_impl_.setacstatusreply_; +} +const ::messages::SetTemperatureReply& +CabinPreConditionReponse::_Internal::settemperaturereply(const CabinPreConditionReponse* msg) { + return *msg->_impl_.settemperaturereply_; +} +void CabinPreConditionReponse::clear_messageheader() { + if (GetArenaForAllocation() == nullptr && _impl_.messageheader_ != nullptr) { + delete _impl_.messageheader_; + } + _impl_.messageheader_ = nullptr; +} +CabinPreConditionReponse::CabinPreConditionReponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.CabinPreConditionReponse) +} +CabinPreConditionReponse::CabinPreConditionReponse(const CabinPreConditionReponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CabinPreConditionReponse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.messageheader_){nullptr} + , decltype(_impl_.setacstatusreply_){nullptr} + , decltype(_impl_.settemperaturereply_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_messageheader()) { + _this->_impl_.messageheader_ = new ::messages::VehicleMessageHeading(*from._impl_.messageheader_); + } + if (from._internal_has_setacstatusreply()) { + _this->_impl_.setacstatusreply_ = new ::messages::SetAcStatusReply(*from._impl_.setacstatusreply_); + } + if (from._internal_has_settemperaturereply()) { + _this->_impl_.settemperaturereply_ = new ::messages::SetTemperatureReply(*from._impl_.settemperaturereply_); + } + // @@protoc_insertion_point(copy_constructor:messages.CabinPreConditionReponse) +} + +inline void CabinPreConditionReponse::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.messageheader_){nullptr} + , decltype(_impl_.setacstatusreply_){nullptr} + , decltype(_impl_.settemperaturereply_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CabinPreConditionReponse::~CabinPreConditionReponse() { + // @@protoc_insertion_point(destructor:messages.CabinPreConditionReponse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CabinPreConditionReponse::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.messageheader_; + if (this != internal_default_instance()) delete _impl_.setacstatusreply_; + if (this != internal_default_instance()) delete _impl_.settemperaturereply_; +} + +void CabinPreConditionReponse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CabinPreConditionReponse::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.CabinPreConditionReponse) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.messageheader_ != nullptr) { + delete _impl_.messageheader_; + } + _impl_.messageheader_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.setacstatusreply_ != nullptr) { + delete _impl_.setacstatusreply_; + } + _impl_.setacstatusreply_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.settemperaturereply_ != nullptr) { + delete _impl_.settemperaturereply_; + } + _impl_.settemperaturereply_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CabinPreConditionReponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.VehicleMessageHeading messageHeader = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_messageheader(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .messages.SetAcStatusReply setAcStatusReply = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_setacstatusreply(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .messages.SetTemperatureReply setTemperatureReply = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_settemperaturereply(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* CabinPreConditionReponse::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.CabinPreConditionReponse) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.VehicleMessageHeading messageHeader = 1; + if (this->_internal_has_messageheader()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::messageheader(this), + _Internal::messageheader(this).GetCachedSize(), target, stream); + } + + // .messages.SetAcStatusReply setAcStatusReply = 2; + if (this->_internal_has_setacstatusreply()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::setacstatusreply(this), + _Internal::setacstatusreply(this).GetCachedSize(), target, stream); + } + + // .messages.SetTemperatureReply setTemperatureReply = 3; + if (this->_internal_has_settemperaturereply()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::settemperaturereply(this), + _Internal::settemperaturereply(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.CabinPreConditionReponse) + return target; +} + +::size_t CabinPreConditionReponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.CabinPreConditionReponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.VehicleMessageHeading messageHeader = 1; + if (this->_internal_has_messageheader()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.messageheader_); + } + + // .messages.SetAcStatusReply setAcStatusReply = 2; + if (this->_internal_has_setacstatusreply()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.setacstatusreply_); + } + + // .messages.SetTemperatureReply setTemperatureReply = 3; + if (this->_internal_has_settemperaturereply()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.settemperaturereply_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CabinPreConditionReponse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CabinPreConditionReponse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CabinPreConditionReponse::GetClassData() const { return &_class_data_; } + + +void CabinPreConditionReponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.CabinPreConditionReponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_messageheader()) { + _this->_internal_mutable_messageheader()->::messages::VehicleMessageHeading::MergeFrom( + from._internal_messageheader()); + } + if (from._internal_has_setacstatusreply()) { + _this->_internal_mutable_setacstatusreply()->::messages::SetAcStatusReply::MergeFrom( + from._internal_setacstatusreply()); + } + if (from._internal_has_settemperaturereply()) { + _this->_internal_mutable_settemperaturereply()->::messages::SetTemperatureReply::MergeFrom( + from._internal_settemperaturereply()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CabinPreConditionReponse::CopyFrom(const CabinPreConditionReponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.CabinPreConditionReponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CabinPreConditionReponse::IsInitialized() const { + return true; +} + +void CabinPreConditionReponse::InternalSwap(CabinPreConditionReponse* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CabinPreConditionReponse, _impl_.settemperaturereply_) + + sizeof(CabinPreConditionReponse::_impl_.settemperaturereply_) + - PROTOBUF_FIELD_OFFSET(CabinPreConditionReponse, _impl_.messageheader_)>( + reinterpret_cast(&_impl_.messageheader_), + reinterpret_cast(&other->_impl_.messageheader_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CabinPreConditionReponse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[1]); +} +// =================================================================== + +class SetAcStatusRequest::_Internal { + public: +}; + +SetAcStatusRequest::SetAcStatusRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.SetAcStatusRequest) +} +SetAcStatusRequest::SetAcStatusRequest(const SetAcStatusRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:messages.SetAcStatusRequest) +} + +inline void SetAcStatusRequest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.desiredstatus_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +SetAcStatusRequest::~SetAcStatusRequest() { + // @@protoc_insertion_point(destructor:messages.SetAcStatusRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetAcStatusRequest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void SetAcStatusRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetAcStatusRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.SetAcStatusRequest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.desiredstatus_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SetAcStatusRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.AcStatusEnum desiredStatus = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + ::uint32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_desiredstatus(static_cast<::messages::AcStatusEnum>(val)); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* SetAcStatusRequest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.SetAcStatusRequest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.AcStatusEnum desiredStatus = 1; + if (this->_internal_desiredstatus() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_desiredstatus(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.SetAcStatusRequest) + return target; +} + +::size_t SetAcStatusRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.SetAcStatusRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.AcStatusEnum desiredStatus = 1; + if (this->_internal_desiredstatus() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_desiredstatus()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetAcStatusRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetAcStatusRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetAcStatusRequest::GetClassData() const { return &_class_data_; } + + +void SetAcStatusRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.SetAcStatusRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_desiredstatus() != 0) { + _this->_internal_set_desiredstatus(from._internal_desiredstatus()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SetAcStatusRequest::CopyFrom(const SetAcStatusRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.SetAcStatusRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetAcStatusRequest::IsInitialized() const { + return true; +} + +void SetAcStatusRequest::InternalSwap(SetAcStatusRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.desiredstatus_, other->_impl_.desiredstatus_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SetAcStatusRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[2]); +} +// =================================================================== + +class SetAcStatusReply::_Internal { + public: +}; + +SetAcStatusReply::SetAcStatusReply(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.SetAcStatusReply) +} +SetAcStatusReply::SetAcStatusReply(const SetAcStatusReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:messages.SetAcStatusReply) +} + +inline void SetAcStatusReply::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.status_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +SetAcStatusReply::~SetAcStatusReply() { + // @@protoc_insertion_point(destructor:messages.SetAcStatusReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetAcStatusReply::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void SetAcStatusReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetAcStatusReply::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.SetAcStatusReply) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.status_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SetAcStatusReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.AcStatusEnum status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + ::uint32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_status(static_cast<::messages::AcStatusEnum>(val)); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* SetAcStatusReply::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.SetAcStatusReply) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.AcStatusEnum status = 1; + if (this->_internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_status(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.SetAcStatusReply) + return target; +} + +::size_t SetAcStatusReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.SetAcStatusReply) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.AcStatusEnum status = 1; + if (this->_internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_status()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetAcStatusReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetAcStatusReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetAcStatusReply::GetClassData() const { return &_class_data_; } + + +void SetAcStatusReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.SetAcStatusReply) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_status() != 0) { + _this->_internal_set_status(from._internal_status()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SetAcStatusReply::CopyFrom(const SetAcStatusReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.SetAcStatusReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetAcStatusReply::IsInitialized() const { + return true; +} + +void SetAcStatusReply::InternalSwap(SetAcStatusReply* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.status_, other->_impl_.status_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SetAcStatusReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[3]); +} +// =================================================================== + +class SetTemperatureRequest::_Internal { + public: +}; + +SetTemperatureRequest::SetTemperatureRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.SetTemperatureRequest) +} +SetTemperatureRequest::SetTemperatureRequest(const SetTemperatureRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:messages.SetTemperatureRequest) +} + +inline void SetTemperatureRequest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +SetTemperatureRequest::~SetTemperatureRequest() { + // @@protoc_insertion_point(destructor:messages.SetTemperatureRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetTemperatureRequest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void SetTemperatureRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetTemperatureRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.SetTemperatureRequest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.temperature_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SetTemperatureRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float temperature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* SetTemperatureRequest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.SetTemperatureRequest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float temperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.SetTemperatureRequest) + return target; +} + +::size_t SetTemperatureRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.SetTemperatureRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float temperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetTemperatureRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetTemperatureRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetTemperatureRequest::GetClassData() const { return &_class_data_; } + + +void SetTemperatureRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.SetTemperatureRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SetTemperatureRequest::CopyFrom(const SetTemperatureRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.SetTemperatureRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetTemperatureRequest::IsInitialized() const { + return true; +} + +void SetTemperatureRequest::InternalSwap(SetTemperatureRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.temperature_, other->_impl_.temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SetTemperatureRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[4]); +} +// =================================================================== + +class SetTemperatureReply::_Internal { + public: +}; + +SetTemperatureReply::SetTemperatureReply(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:messages.SetTemperatureReply) +} +SetTemperatureReply::SetTemperatureReply(const SetTemperatureReply& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:messages.SetTemperatureReply) +} + +inline void SetTemperatureReply::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.tempstatus_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +SetTemperatureReply::~SetTemperatureReply() { + // @@protoc_insertion_point(destructor:messages.SetTemperatureReply) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetTemperatureReply::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void SetTemperatureReply::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetTemperatureReply::Clear() { +// @@protoc_insertion_point(message_clear_start:messages.SetTemperatureReply) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.tempstatus_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SetTemperatureReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .messages.SetTempStatusEnum tempStatus = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + ::uint32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + _internal_set_tempstatus(static_cast<::messages::SetTempStatusEnum>(val)); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* SetTemperatureReply::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:messages.SetTemperatureReply) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .messages.SetTempStatusEnum tempStatus = 1; + if (this->_internal_tempstatus() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_tempstatus(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:messages.SetTemperatureReply) + return target; +} + +::size_t SetTemperatureReply::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:messages.SetTemperatureReply) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .messages.SetTempStatusEnum tempStatus = 1; + if (this->_internal_tempstatus() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_tempstatus()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetTemperatureReply::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetTemperatureReply::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetTemperatureReply::GetClassData() const { return &_class_data_; } + + +void SetTemperatureReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:messages.SetTemperatureReply) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_tempstatus() != 0) { + _this->_internal_set_tempstatus(from._internal_tempstatus()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SetTemperatureReply::CopyFrom(const SetTemperatureReply& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:messages.SetTemperatureReply) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetTemperatureReply::IsInitialized() const { + return true; +} + +void SetTemperatureReply::InternalSwap(SetTemperatureReply* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.tempstatus_, other->_impl_.tempstatus_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SetTemperatureReply::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_getter, &descriptor_table_messages_2fVehicleRemoteHvac_2eproto_once, + file_level_metadata_messages_2fVehicleRemoteHvac_2eproto[5]); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace messages +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::messages::CabinPreconditionRequest* +Arena::CreateMaybeMessage< ::messages::CabinPreconditionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::CabinPreconditionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::messages::CabinPreConditionReponse* +Arena::CreateMaybeMessage< ::messages::CabinPreConditionReponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::CabinPreConditionReponse >(arena); +} +template<> PROTOBUF_NOINLINE ::messages::SetAcStatusRequest* +Arena::CreateMaybeMessage< ::messages::SetAcStatusRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::SetAcStatusRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::messages::SetAcStatusReply* +Arena::CreateMaybeMessage< ::messages::SetAcStatusReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::SetAcStatusReply >(arena); +} +template<> PROTOBUF_NOINLINE ::messages::SetTemperatureRequest* +Arena::CreateMaybeMessage< ::messages::SetTemperatureRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::SetTemperatureRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::messages::SetTemperatureReply* +Arena::CreateMaybeMessage< ::messages::SetTemperatureReply >(Arena* arena) { + return Arena::CreateMessageInternal< ::messages::SetTemperatureReply >(arena); +} +PROTOBUF_NAMESPACE_CLOSE +// @@protoc_insertion_point(global_scope) +#include "google/protobuf/port_undef.inc" diff --git a/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.h b/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.h new file mode 100644 index 0000000..af50b78 --- /dev/null +++ b/build/generated/source/proto/main/cpp/messages/VehicleRemoteHvac.pb.h @@ -0,0 +1,1786 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: messages/VehicleRemoteHvac.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleRemoteHvac_2eproto_2epb_2eh +#define GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleRemoteHvac_2eproto_2epb_2eh + +#include +#include +#include + +#include "google/protobuf/port_def.inc" +#if PROTOBUF_VERSION < 4022000 +#error "This file was generated by a newer version of protoc which is" +#error "incompatible with your Protocol Buffer headers. Please update" +#error "your headers." +#endif // PROTOBUF_VERSION + +#if 4022000 < PROTOBUF_MIN_PROTOC_VERSION +#error "This file was generated by an older version of protoc which is" +#error "incompatible with your Protocol Buffer headers. Please" +#error "regenerate this file with a newer version of protoc." +#endif // PROTOBUF_MIN_PROTOC_VERSION +#include "google/protobuf/port_undef.inc" +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "vss/vspec.pb.h" +#include "messages/VehicleMessageHeader.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_messages_2fVehicleRemoteHvac_2eproto + +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_messages_2fVehicleRemoteHvac_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable + descriptor_table_messages_2fVehicleRemoteHvac_2eproto; +namespace messages { +class CabinPreConditionReponse; +struct CabinPreConditionReponseDefaultTypeInternal; +extern CabinPreConditionReponseDefaultTypeInternal _CabinPreConditionReponse_default_instance_; +class CabinPreconditionRequest; +struct CabinPreconditionRequestDefaultTypeInternal; +extern CabinPreconditionRequestDefaultTypeInternal _CabinPreconditionRequest_default_instance_; +class SetAcStatusReply; +struct SetAcStatusReplyDefaultTypeInternal; +extern SetAcStatusReplyDefaultTypeInternal _SetAcStatusReply_default_instance_; +class SetAcStatusRequest; +struct SetAcStatusRequestDefaultTypeInternal; +extern SetAcStatusRequestDefaultTypeInternal _SetAcStatusRequest_default_instance_; +class SetTemperatureReply; +struct SetTemperatureReplyDefaultTypeInternal; +extern SetTemperatureReplyDefaultTypeInternal _SetTemperatureReply_default_instance_; +class SetTemperatureRequest; +struct SetTemperatureRequestDefaultTypeInternal; +extern SetTemperatureRequestDefaultTypeInternal _SetTemperatureRequest_default_instance_; +} // namespace messages +PROTOBUF_NAMESPACE_OPEN +template <> +::messages::CabinPreConditionReponse* Arena::CreateMaybeMessage<::messages::CabinPreConditionReponse>(Arena*); +template <> +::messages::CabinPreconditionRequest* Arena::CreateMaybeMessage<::messages::CabinPreconditionRequest>(Arena*); +template <> +::messages::SetAcStatusReply* Arena::CreateMaybeMessage<::messages::SetAcStatusReply>(Arena*); +template <> +::messages::SetAcStatusRequest* Arena::CreateMaybeMessage<::messages::SetAcStatusRequest>(Arena*); +template <> +::messages::SetTemperatureReply* Arena::CreateMaybeMessage<::messages::SetTemperatureReply>(Arena*); +template <> +::messages::SetTemperatureRequest* Arena::CreateMaybeMessage<::messages::SetTemperatureRequest>(Arena*); +PROTOBUF_NAMESPACE_CLOSE + +namespace messages { +enum AcStatusEnum : int { + ON = 0, + OFF = 1, + UKNONWN_ERROR = 2, + AcStatusEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + AcStatusEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool AcStatusEnum_IsValid(int value); +constexpr AcStatusEnum AcStatusEnum_MIN = static_cast(0); +constexpr AcStatusEnum AcStatusEnum_MAX = static_cast(2); +constexpr int AcStatusEnum_ARRAYSIZE = 2 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +AcStatusEnum_descriptor(); +template +const std::string& AcStatusEnum_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to AcStatusEnum_Name()."); + return AcStatusEnum_Name(static_cast(value)); +} +template <> +inline const std::string& AcStatusEnum_Name(AcStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool AcStatusEnum_Parse(absl::string_view name, AcStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + AcStatusEnum_descriptor(), name, value); +} +enum SetTempStatusEnum : int { + TEMP_SUCCESS = 0, + TEMP_ERROR = 1, + SetTempStatusEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + SetTempStatusEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool SetTempStatusEnum_IsValid(int value); +constexpr SetTempStatusEnum SetTempStatusEnum_MIN = static_cast(0); +constexpr SetTempStatusEnum SetTempStatusEnum_MAX = static_cast(1); +constexpr int SetTempStatusEnum_ARRAYSIZE = 1 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +SetTempStatusEnum_descriptor(); +template +const std::string& SetTempStatusEnum_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to SetTempStatusEnum_Name()."); + return SetTempStatusEnum_Name(static_cast(value)); +} +template <> +inline const std::string& SetTempStatusEnum_Name(SetTempStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool SetTempStatusEnum_Parse(absl::string_view name, SetTempStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + SetTempStatusEnum_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class CabinPreconditionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.CabinPreconditionRequest) */ { + public: + inline CabinPreconditionRequest() : CabinPreconditionRequest(nullptr) {} + ~CabinPreconditionRequest() override; + explicit PROTOBUF_CONSTEXPR CabinPreconditionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CabinPreconditionRequest(const CabinPreconditionRequest& from); + CabinPreconditionRequest(CabinPreconditionRequest&& from) noexcept + : CabinPreconditionRequest() { + *this = ::std::move(from); + } + + inline CabinPreconditionRequest& operator=(const CabinPreconditionRequest& from) { + CopyFrom(from); + return *this; + } + inline CabinPreconditionRequest& operator=(CabinPreconditionRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CabinPreconditionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CabinPreconditionRequest* internal_default_instance() { + return reinterpret_cast( + &_CabinPreconditionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CabinPreconditionRequest& a, CabinPreconditionRequest& b) { + a.Swap(&b); + } + inline void Swap(CabinPreconditionRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CabinPreconditionRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CabinPreconditionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CabinPreconditionRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CabinPreconditionRequest& from) { + CabinPreconditionRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CabinPreconditionRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.CabinPreconditionRequest"; + } + protected: + explicit CabinPreconditionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kMessageHeaderFieldNumber = 1, + kSetAcStatusFieldNumber = 2, + kSetTempFieldNumber = 3, + }; + // .messages.VehicleMessageHeading messageHeader = 1; + bool has_messageheader() const; + private: + bool _internal_has_messageheader() const; + + public: + void clear_messageheader() ; + const ::messages::VehicleMessageHeading& messageheader() const; + PROTOBUF_NODISCARD ::messages::VehicleMessageHeading* release_messageheader(); + ::messages::VehicleMessageHeading* mutable_messageheader(); + void set_allocated_messageheader(::messages::VehicleMessageHeading* messageheader); + private: + const ::messages::VehicleMessageHeading& _internal_messageheader() const; + ::messages::VehicleMessageHeading* _internal_mutable_messageheader(); + public: + void unsafe_arena_set_allocated_messageheader( + ::messages::VehicleMessageHeading* messageheader); + ::messages::VehicleMessageHeading* unsafe_arena_release_messageheader(); + // .messages.SetAcStatusRequest setAcStatus = 2; + bool has_setacstatus() const; + private: + bool _internal_has_setacstatus() const; + + public: + void clear_setacstatus() ; + const ::messages::SetAcStatusRequest& setacstatus() const; + PROTOBUF_NODISCARD ::messages::SetAcStatusRequest* release_setacstatus(); + ::messages::SetAcStatusRequest* mutable_setacstatus(); + void set_allocated_setacstatus(::messages::SetAcStatusRequest* setacstatus); + private: + const ::messages::SetAcStatusRequest& _internal_setacstatus() const; + ::messages::SetAcStatusRequest* _internal_mutable_setacstatus(); + public: + void unsafe_arena_set_allocated_setacstatus( + ::messages::SetAcStatusRequest* setacstatus); + ::messages::SetAcStatusRequest* unsafe_arena_release_setacstatus(); + // .messages.SetTemperatureRequest setTemp = 3; + bool has_settemp() const; + private: + bool _internal_has_settemp() const; + + public: + void clear_settemp() ; + const ::messages::SetTemperatureRequest& settemp() const; + PROTOBUF_NODISCARD ::messages::SetTemperatureRequest* release_settemp(); + ::messages::SetTemperatureRequest* mutable_settemp(); + void set_allocated_settemp(::messages::SetTemperatureRequest* settemp); + private: + const ::messages::SetTemperatureRequest& _internal_settemp() const; + ::messages::SetTemperatureRequest* _internal_mutable_settemp(); + public: + void unsafe_arena_set_allocated_settemp( + ::messages::SetTemperatureRequest* settemp); + ::messages::SetTemperatureRequest* unsafe_arena_release_settemp(); + // @@protoc_insertion_point(class_scope:messages.CabinPreconditionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::messages::VehicleMessageHeading* messageheader_; + ::messages::SetAcStatusRequest* setacstatus_; + ::messages::SetTemperatureRequest* settemp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +};// ------------------------------------------------------------------- + +class CabinPreConditionReponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.CabinPreConditionReponse) */ { + public: + inline CabinPreConditionReponse() : CabinPreConditionReponse(nullptr) {} + ~CabinPreConditionReponse() override; + explicit PROTOBUF_CONSTEXPR CabinPreConditionReponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CabinPreConditionReponse(const CabinPreConditionReponse& from); + CabinPreConditionReponse(CabinPreConditionReponse&& from) noexcept + : CabinPreConditionReponse() { + *this = ::std::move(from); + } + + inline CabinPreConditionReponse& operator=(const CabinPreConditionReponse& from) { + CopyFrom(from); + return *this; + } + inline CabinPreConditionReponse& operator=(CabinPreConditionReponse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CabinPreConditionReponse& default_instance() { + return *internal_default_instance(); + } + static inline const CabinPreConditionReponse* internal_default_instance() { + return reinterpret_cast( + &_CabinPreConditionReponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CabinPreConditionReponse& a, CabinPreConditionReponse& b) { + a.Swap(&b); + } + inline void Swap(CabinPreConditionReponse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CabinPreConditionReponse* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CabinPreConditionReponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CabinPreConditionReponse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CabinPreConditionReponse& from) { + CabinPreConditionReponse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CabinPreConditionReponse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.CabinPreConditionReponse"; + } + protected: + explicit CabinPreConditionReponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kMessageHeaderFieldNumber = 1, + kSetAcStatusReplyFieldNumber = 2, + kSetTemperatureReplyFieldNumber = 3, + }; + // .messages.VehicleMessageHeading messageHeader = 1; + bool has_messageheader() const; + private: + bool _internal_has_messageheader() const; + + public: + void clear_messageheader() ; + const ::messages::VehicleMessageHeading& messageheader() const; + PROTOBUF_NODISCARD ::messages::VehicleMessageHeading* release_messageheader(); + ::messages::VehicleMessageHeading* mutable_messageheader(); + void set_allocated_messageheader(::messages::VehicleMessageHeading* messageheader); + private: + const ::messages::VehicleMessageHeading& _internal_messageheader() const; + ::messages::VehicleMessageHeading* _internal_mutable_messageheader(); + public: + void unsafe_arena_set_allocated_messageheader( + ::messages::VehicleMessageHeading* messageheader); + ::messages::VehicleMessageHeading* unsafe_arena_release_messageheader(); + // .messages.SetAcStatusReply setAcStatusReply = 2; + bool has_setacstatusreply() const; + private: + bool _internal_has_setacstatusreply() const; + + public: + void clear_setacstatusreply() ; + const ::messages::SetAcStatusReply& setacstatusreply() const; + PROTOBUF_NODISCARD ::messages::SetAcStatusReply* release_setacstatusreply(); + ::messages::SetAcStatusReply* mutable_setacstatusreply(); + void set_allocated_setacstatusreply(::messages::SetAcStatusReply* setacstatusreply); + private: + const ::messages::SetAcStatusReply& _internal_setacstatusreply() const; + ::messages::SetAcStatusReply* _internal_mutable_setacstatusreply(); + public: + void unsafe_arena_set_allocated_setacstatusreply( + ::messages::SetAcStatusReply* setacstatusreply); + ::messages::SetAcStatusReply* unsafe_arena_release_setacstatusreply(); + // .messages.SetTemperatureReply setTemperatureReply = 3; + bool has_settemperaturereply() const; + private: + bool _internal_has_settemperaturereply() const; + + public: + void clear_settemperaturereply() ; + const ::messages::SetTemperatureReply& settemperaturereply() const; + PROTOBUF_NODISCARD ::messages::SetTemperatureReply* release_settemperaturereply(); + ::messages::SetTemperatureReply* mutable_settemperaturereply(); + void set_allocated_settemperaturereply(::messages::SetTemperatureReply* settemperaturereply); + private: + const ::messages::SetTemperatureReply& _internal_settemperaturereply() const; + ::messages::SetTemperatureReply* _internal_mutable_settemperaturereply(); + public: + void unsafe_arena_set_allocated_settemperaturereply( + ::messages::SetTemperatureReply* settemperaturereply); + ::messages::SetTemperatureReply* unsafe_arena_release_settemperaturereply(); + // @@protoc_insertion_point(class_scope:messages.CabinPreConditionReponse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::messages::VehicleMessageHeading* messageheader_; + ::messages::SetAcStatusReply* setacstatusreply_; + ::messages::SetTemperatureReply* settemperaturereply_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +};// ------------------------------------------------------------------- + +class SetAcStatusRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.SetAcStatusRequest) */ { + public: + inline SetAcStatusRequest() : SetAcStatusRequest(nullptr) {} + ~SetAcStatusRequest() override; + explicit PROTOBUF_CONSTEXPR SetAcStatusRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetAcStatusRequest(const SetAcStatusRequest& from); + SetAcStatusRequest(SetAcStatusRequest&& from) noexcept + : SetAcStatusRequest() { + *this = ::std::move(from); + } + + inline SetAcStatusRequest& operator=(const SetAcStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline SetAcStatusRequest& operator=(SetAcStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAcStatusRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetAcStatusRequest* internal_default_instance() { + return reinterpret_cast( + &_SetAcStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(SetAcStatusRequest& a, SetAcStatusRequest& b) { + a.Swap(&b); + } + inline void Swap(SetAcStatusRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAcStatusRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAcStatusRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetAcStatusRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetAcStatusRequest& from) { + SetAcStatusRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SetAcStatusRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.SetAcStatusRequest"; + } + protected: + explicit SetAcStatusRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kDesiredStatusFieldNumber = 1, + }; + // .messages.AcStatusEnum desiredStatus = 1; + void clear_desiredstatus() ; + ::messages::AcStatusEnum desiredstatus() const; + void set_desiredstatus(::messages::AcStatusEnum value); + + private: + ::messages::AcStatusEnum _internal_desiredstatus() const; + void _internal_set_desiredstatus(::messages::AcStatusEnum value); + + public: + // @@protoc_insertion_point(class_scope:messages.SetAcStatusRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + int desiredstatus_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +};// ------------------------------------------------------------------- + +class SetAcStatusReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.SetAcStatusReply) */ { + public: + inline SetAcStatusReply() : SetAcStatusReply(nullptr) {} + ~SetAcStatusReply() override; + explicit PROTOBUF_CONSTEXPR SetAcStatusReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetAcStatusReply(const SetAcStatusReply& from); + SetAcStatusReply(SetAcStatusReply&& from) noexcept + : SetAcStatusReply() { + *this = ::std::move(from); + } + + inline SetAcStatusReply& operator=(const SetAcStatusReply& from) { + CopyFrom(from); + return *this; + } + inline SetAcStatusReply& operator=(SetAcStatusReply&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAcStatusReply& default_instance() { + return *internal_default_instance(); + } + static inline const SetAcStatusReply* internal_default_instance() { + return reinterpret_cast( + &_SetAcStatusReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(SetAcStatusReply& a, SetAcStatusReply& b) { + a.Swap(&b); + } + inline void Swap(SetAcStatusReply* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAcStatusReply* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAcStatusReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetAcStatusReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetAcStatusReply& from) { + SetAcStatusReply::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SetAcStatusReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.SetAcStatusReply"; + } + protected: + explicit SetAcStatusReply(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kStatusFieldNumber = 1, + }; + // .messages.AcStatusEnum status = 1; + void clear_status() ; + ::messages::AcStatusEnum status() const; + void set_status(::messages::AcStatusEnum value); + + private: + ::messages::AcStatusEnum _internal_status() const; + void _internal_set_status(::messages::AcStatusEnum value); + + public: + // @@protoc_insertion_point(class_scope:messages.SetAcStatusReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + int status_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +};// ------------------------------------------------------------------- + +class SetTemperatureRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.SetTemperatureRequest) */ { + public: + inline SetTemperatureRequest() : SetTemperatureRequest(nullptr) {} + ~SetTemperatureRequest() override; + explicit PROTOBUF_CONSTEXPR SetTemperatureRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetTemperatureRequest(const SetTemperatureRequest& from); + SetTemperatureRequest(SetTemperatureRequest&& from) noexcept + : SetTemperatureRequest() { + *this = ::std::move(from); + } + + inline SetTemperatureRequest& operator=(const SetTemperatureRequest& from) { + CopyFrom(from); + return *this; + } + inline SetTemperatureRequest& operator=(SetTemperatureRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetTemperatureRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetTemperatureRequest* internal_default_instance() { + return reinterpret_cast( + &_SetTemperatureRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(SetTemperatureRequest& a, SetTemperatureRequest& b) { + a.Swap(&b); + } + inline void Swap(SetTemperatureRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetTemperatureRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetTemperatureRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetTemperatureRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetTemperatureRequest& from) { + SetTemperatureRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SetTemperatureRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.SetTemperatureRequest"; + } + protected: + explicit SetTemperatureRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTemperatureFieldNumber = 1, + }; + // float temperature = 1; + void clear_temperature() ; + float temperature() const; + void set_temperature(float value); + + private: + float _internal_temperature() const; + void _internal_set_temperature(float value); + + public: + // @@protoc_insertion_point(class_scope:messages.SetTemperatureRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + float temperature_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +};// ------------------------------------------------------------------- + +class SetTemperatureReply final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.SetTemperatureReply) */ { + public: + inline SetTemperatureReply() : SetTemperatureReply(nullptr) {} + ~SetTemperatureReply() override; + explicit PROTOBUF_CONSTEXPR SetTemperatureReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetTemperatureReply(const SetTemperatureReply& from); + SetTemperatureReply(SetTemperatureReply&& from) noexcept + : SetTemperatureReply() { + *this = ::std::move(from); + } + + inline SetTemperatureReply& operator=(const SetTemperatureReply& from) { + CopyFrom(from); + return *this; + } + inline SetTemperatureReply& operator=(SetTemperatureReply&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetTemperatureReply& default_instance() { + return *internal_default_instance(); + } + static inline const SetTemperatureReply* internal_default_instance() { + return reinterpret_cast( + &_SetTemperatureReply_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(SetTemperatureReply& a, SetTemperatureReply& b) { + a.Swap(&b); + } + inline void Swap(SetTemperatureReply* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetTemperatureReply* other) { + if (other == this) return; + ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetTemperatureReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetTemperatureReply& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetTemperatureReply& from) { + SetTemperatureReply::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + ::size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SetTemperatureReply* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::absl::string_view FullMessageName() { + return "messages.SetTemperatureReply"; + } + protected: + explicit SetTemperatureReply(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTempStatusFieldNumber = 1, + }; + // .messages.SetTempStatusEnum tempStatus = 1; + void clear_tempstatus() ; + ::messages::SetTempStatusEnum tempstatus() const; + void set_tempstatus(::messages::SetTempStatusEnum value); + + private: + ::messages::SetTempStatusEnum _internal_tempstatus() const; + void _internal_set_tempstatus(::messages::SetTempStatusEnum value); + + public: + // @@protoc_insertion_point(class_scope:messages.SetTemperatureReply) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + int tempstatus_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_messages_2fVehicleRemoteHvac_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// CabinPreconditionRequest + +// .messages.VehicleMessageHeading messageHeader = 1; +inline bool CabinPreconditionRequest::_internal_has_messageheader() const { + return this != internal_default_instance() && _impl_.messageheader_ != nullptr; +} +inline bool CabinPreconditionRequest::has_messageheader() const { + return _internal_has_messageheader(); +} +inline const ::messages::VehicleMessageHeading& CabinPreconditionRequest::_internal_messageheader() const { + const ::messages::VehicleMessageHeading* p = _impl_.messageheader_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_VehicleMessageHeading_default_instance_); +} +inline const ::messages::VehicleMessageHeading& CabinPreconditionRequest::messageheader() const { + // @@protoc_insertion_point(field_get:messages.CabinPreconditionRequest.messageHeader) + return _internal_messageheader(); +} +inline void CabinPreconditionRequest::unsafe_arena_set_allocated_messageheader( + ::messages::VehicleMessageHeading* messageheader) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.messageheader_); + } + _impl_.messageheader_ = messageheader; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreconditionRequest.messageHeader) +} +inline ::messages::VehicleMessageHeading* CabinPreconditionRequest::release_messageheader() { + + ::messages::VehicleMessageHeading* temp = _impl_.messageheader_; + _impl_.messageheader_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::VehicleMessageHeading* CabinPreconditionRequest::unsafe_arena_release_messageheader() { + // @@protoc_insertion_point(field_release:messages.CabinPreconditionRequest.messageHeader) + + ::messages::VehicleMessageHeading* temp = _impl_.messageheader_; + _impl_.messageheader_ = nullptr; + return temp; +} +inline ::messages::VehicleMessageHeading* CabinPreconditionRequest::_internal_mutable_messageheader() { + + if (_impl_.messageheader_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); + _impl_.messageheader_ = p; + } + return _impl_.messageheader_; +} +inline ::messages::VehicleMessageHeading* CabinPreconditionRequest::mutable_messageheader() { + ::messages::VehicleMessageHeading* _msg = _internal_mutable_messageheader(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreconditionRequest.messageHeader) + return _msg; +} +inline void CabinPreconditionRequest::set_allocated_messageheader(::messages::VehicleMessageHeading* messageheader) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.messageheader_); + } + if (messageheader) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(messageheader)); + if (message_arena != submessage_arena) { + messageheader = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, messageheader, submessage_arena); + } + + } else { + + } + _impl_.messageheader_ = messageheader; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreconditionRequest.messageHeader) +} + +// .messages.SetAcStatusRequest setAcStatus = 2; +inline bool CabinPreconditionRequest::_internal_has_setacstatus() const { + return this != internal_default_instance() && _impl_.setacstatus_ != nullptr; +} +inline bool CabinPreconditionRequest::has_setacstatus() const { + return _internal_has_setacstatus(); +} +inline void CabinPreconditionRequest::clear_setacstatus() { + if (GetArenaForAllocation() == nullptr && _impl_.setacstatus_ != nullptr) { + delete _impl_.setacstatus_; + } + _impl_.setacstatus_ = nullptr; +} +inline const ::messages::SetAcStatusRequest& CabinPreconditionRequest::_internal_setacstatus() const { + const ::messages::SetAcStatusRequest* p = _impl_.setacstatus_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_SetAcStatusRequest_default_instance_); +} +inline const ::messages::SetAcStatusRequest& CabinPreconditionRequest::setacstatus() const { + // @@protoc_insertion_point(field_get:messages.CabinPreconditionRequest.setAcStatus) + return _internal_setacstatus(); +} +inline void CabinPreconditionRequest::unsafe_arena_set_allocated_setacstatus( + ::messages::SetAcStatusRequest* setacstatus) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.setacstatus_); + } + _impl_.setacstatus_ = setacstatus; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreconditionRequest.setAcStatus) +} +inline ::messages::SetAcStatusRequest* CabinPreconditionRequest::release_setacstatus() { + + ::messages::SetAcStatusRequest* temp = _impl_.setacstatus_; + _impl_.setacstatus_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::SetAcStatusRequest* CabinPreconditionRequest::unsafe_arena_release_setacstatus() { + // @@protoc_insertion_point(field_release:messages.CabinPreconditionRequest.setAcStatus) + + ::messages::SetAcStatusRequest* temp = _impl_.setacstatus_; + _impl_.setacstatus_ = nullptr; + return temp; +} +inline ::messages::SetAcStatusRequest* CabinPreconditionRequest::_internal_mutable_setacstatus() { + + if (_impl_.setacstatus_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::SetAcStatusRequest>(GetArenaForAllocation()); + _impl_.setacstatus_ = p; + } + return _impl_.setacstatus_; +} +inline ::messages::SetAcStatusRequest* CabinPreconditionRequest::mutable_setacstatus() { + ::messages::SetAcStatusRequest* _msg = _internal_mutable_setacstatus(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreconditionRequest.setAcStatus) + return _msg; +} +inline void CabinPreconditionRequest::set_allocated_setacstatus(::messages::SetAcStatusRequest* setacstatus) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.setacstatus_; + } + if (setacstatus) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(setacstatus); + if (message_arena != submessage_arena) { + setacstatus = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, setacstatus, submessage_arena); + } + + } else { + + } + _impl_.setacstatus_ = setacstatus; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreconditionRequest.setAcStatus) +} + +// .messages.SetTemperatureRequest setTemp = 3; +inline bool CabinPreconditionRequest::_internal_has_settemp() const { + return this != internal_default_instance() && _impl_.settemp_ != nullptr; +} +inline bool CabinPreconditionRequest::has_settemp() const { + return _internal_has_settemp(); +} +inline void CabinPreconditionRequest::clear_settemp() { + if (GetArenaForAllocation() == nullptr && _impl_.settemp_ != nullptr) { + delete _impl_.settemp_; + } + _impl_.settemp_ = nullptr; +} +inline const ::messages::SetTemperatureRequest& CabinPreconditionRequest::_internal_settemp() const { + const ::messages::SetTemperatureRequest* p = _impl_.settemp_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_SetTemperatureRequest_default_instance_); +} +inline const ::messages::SetTemperatureRequest& CabinPreconditionRequest::settemp() const { + // @@protoc_insertion_point(field_get:messages.CabinPreconditionRequest.setTemp) + return _internal_settemp(); +} +inline void CabinPreconditionRequest::unsafe_arena_set_allocated_settemp( + ::messages::SetTemperatureRequest* settemp) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.settemp_); + } + _impl_.settemp_ = settemp; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreconditionRequest.setTemp) +} +inline ::messages::SetTemperatureRequest* CabinPreconditionRequest::release_settemp() { + + ::messages::SetTemperatureRequest* temp = _impl_.settemp_; + _impl_.settemp_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::SetTemperatureRequest* CabinPreconditionRequest::unsafe_arena_release_settemp() { + // @@protoc_insertion_point(field_release:messages.CabinPreconditionRequest.setTemp) + + ::messages::SetTemperatureRequest* temp = _impl_.settemp_; + _impl_.settemp_ = nullptr; + return temp; +} +inline ::messages::SetTemperatureRequest* CabinPreconditionRequest::_internal_mutable_settemp() { + + if (_impl_.settemp_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::SetTemperatureRequest>(GetArenaForAllocation()); + _impl_.settemp_ = p; + } + return _impl_.settemp_; +} +inline ::messages::SetTemperatureRequest* CabinPreconditionRequest::mutable_settemp() { + ::messages::SetTemperatureRequest* _msg = _internal_mutable_settemp(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreconditionRequest.setTemp) + return _msg; +} +inline void CabinPreconditionRequest::set_allocated_settemp(::messages::SetTemperatureRequest* settemp) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.settemp_; + } + if (settemp) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(settemp); + if (message_arena != submessage_arena) { + settemp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, settemp, submessage_arena); + } + + } else { + + } + _impl_.settemp_ = settemp; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreconditionRequest.setTemp) +} + +// ------------------------------------------------------------------- + +// CabinPreConditionReponse + +// .messages.VehicleMessageHeading messageHeader = 1; +inline bool CabinPreConditionReponse::_internal_has_messageheader() const { + return this != internal_default_instance() && _impl_.messageheader_ != nullptr; +} +inline bool CabinPreConditionReponse::has_messageheader() const { + return _internal_has_messageheader(); +} +inline const ::messages::VehicleMessageHeading& CabinPreConditionReponse::_internal_messageheader() const { + const ::messages::VehicleMessageHeading* p = _impl_.messageheader_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_VehicleMessageHeading_default_instance_); +} +inline const ::messages::VehicleMessageHeading& CabinPreConditionReponse::messageheader() const { + // @@protoc_insertion_point(field_get:messages.CabinPreConditionReponse.messageHeader) + return _internal_messageheader(); +} +inline void CabinPreConditionReponse::unsafe_arena_set_allocated_messageheader( + ::messages::VehicleMessageHeading* messageheader) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.messageheader_); + } + _impl_.messageheader_ = messageheader; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreConditionReponse.messageHeader) +} +inline ::messages::VehicleMessageHeading* CabinPreConditionReponse::release_messageheader() { + + ::messages::VehicleMessageHeading* temp = _impl_.messageheader_; + _impl_.messageheader_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::VehicleMessageHeading* CabinPreConditionReponse::unsafe_arena_release_messageheader() { + // @@protoc_insertion_point(field_release:messages.CabinPreConditionReponse.messageHeader) + + ::messages::VehicleMessageHeading* temp = _impl_.messageheader_; + _impl_.messageheader_ = nullptr; + return temp; +} +inline ::messages::VehicleMessageHeading* CabinPreConditionReponse::_internal_mutable_messageheader() { + + if (_impl_.messageheader_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); + _impl_.messageheader_ = p; + } + return _impl_.messageheader_; +} +inline ::messages::VehicleMessageHeading* CabinPreConditionReponse::mutable_messageheader() { + ::messages::VehicleMessageHeading* _msg = _internal_mutable_messageheader(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreConditionReponse.messageHeader) + return _msg; +} +inline void CabinPreConditionReponse::set_allocated_messageheader(::messages::VehicleMessageHeading* messageheader) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.messageheader_); + } + if (messageheader) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(messageheader)); + if (message_arena != submessage_arena) { + messageheader = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, messageheader, submessage_arena); + } + + } else { + + } + _impl_.messageheader_ = messageheader; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreConditionReponse.messageHeader) +} + +// .messages.SetAcStatusReply setAcStatusReply = 2; +inline bool CabinPreConditionReponse::_internal_has_setacstatusreply() const { + return this != internal_default_instance() && _impl_.setacstatusreply_ != nullptr; +} +inline bool CabinPreConditionReponse::has_setacstatusreply() const { + return _internal_has_setacstatusreply(); +} +inline void CabinPreConditionReponse::clear_setacstatusreply() { + if (GetArenaForAllocation() == nullptr && _impl_.setacstatusreply_ != nullptr) { + delete _impl_.setacstatusreply_; + } + _impl_.setacstatusreply_ = nullptr; +} +inline const ::messages::SetAcStatusReply& CabinPreConditionReponse::_internal_setacstatusreply() const { + const ::messages::SetAcStatusReply* p = _impl_.setacstatusreply_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_SetAcStatusReply_default_instance_); +} +inline const ::messages::SetAcStatusReply& CabinPreConditionReponse::setacstatusreply() const { + // @@protoc_insertion_point(field_get:messages.CabinPreConditionReponse.setAcStatusReply) + return _internal_setacstatusreply(); +} +inline void CabinPreConditionReponse::unsafe_arena_set_allocated_setacstatusreply( + ::messages::SetAcStatusReply* setacstatusreply) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.setacstatusreply_); + } + _impl_.setacstatusreply_ = setacstatusreply; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreConditionReponse.setAcStatusReply) +} +inline ::messages::SetAcStatusReply* CabinPreConditionReponse::release_setacstatusreply() { + + ::messages::SetAcStatusReply* temp = _impl_.setacstatusreply_; + _impl_.setacstatusreply_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::SetAcStatusReply* CabinPreConditionReponse::unsafe_arena_release_setacstatusreply() { + // @@protoc_insertion_point(field_release:messages.CabinPreConditionReponse.setAcStatusReply) + + ::messages::SetAcStatusReply* temp = _impl_.setacstatusreply_; + _impl_.setacstatusreply_ = nullptr; + return temp; +} +inline ::messages::SetAcStatusReply* CabinPreConditionReponse::_internal_mutable_setacstatusreply() { + + if (_impl_.setacstatusreply_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::SetAcStatusReply>(GetArenaForAllocation()); + _impl_.setacstatusreply_ = p; + } + return _impl_.setacstatusreply_; +} +inline ::messages::SetAcStatusReply* CabinPreConditionReponse::mutable_setacstatusreply() { + ::messages::SetAcStatusReply* _msg = _internal_mutable_setacstatusreply(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreConditionReponse.setAcStatusReply) + return _msg; +} +inline void CabinPreConditionReponse::set_allocated_setacstatusreply(::messages::SetAcStatusReply* setacstatusreply) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.setacstatusreply_; + } + if (setacstatusreply) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(setacstatusreply); + if (message_arena != submessage_arena) { + setacstatusreply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, setacstatusreply, submessage_arena); + } + + } else { + + } + _impl_.setacstatusreply_ = setacstatusreply; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreConditionReponse.setAcStatusReply) +} + +// .messages.SetTemperatureReply setTemperatureReply = 3; +inline bool CabinPreConditionReponse::_internal_has_settemperaturereply() const { + return this != internal_default_instance() && _impl_.settemperaturereply_ != nullptr; +} +inline bool CabinPreConditionReponse::has_settemperaturereply() const { + return _internal_has_settemperaturereply(); +} +inline void CabinPreConditionReponse::clear_settemperaturereply() { + if (GetArenaForAllocation() == nullptr && _impl_.settemperaturereply_ != nullptr) { + delete _impl_.settemperaturereply_; + } + _impl_.settemperaturereply_ = nullptr; +} +inline const ::messages::SetTemperatureReply& CabinPreConditionReponse::_internal_settemperaturereply() const { + const ::messages::SetTemperatureReply* p = _impl_.settemperaturereply_; + return p != nullptr ? *p : reinterpret_cast( + ::messages::_SetTemperatureReply_default_instance_); +} +inline const ::messages::SetTemperatureReply& CabinPreConditionReponse::settemperaturereply() const { + // @@protoc_insertion_point(field_get:messages.CabinPreConditionReponse.setTemperatureReply) + return _internal_settemperaturereply(); +} +inline void CabinPreConditionReponse::unsafe_arena_set_allocated_settemperaturereply( + ::messages::SetTemperatureReply* settemperaturereply) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.settemperaturereply_); + } + _impl_.settemperaturereply_ = settemperaturereply; + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.CabinPreConditionReponse.setTemperatureReply) +} +inline ::messages::SetTemperatureReply* CabinPreConditionReponse::release_settemperaturereply() { + + ::messages::SetTemperatureReply* temp = _impl_.settemperaturereply_; + _impl_.settemperaturereply_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::messages::SetTemperatureReply* CabinPreConditionReponse::unsafe_arena_release_settemperaturereply() { + // @@protoc_insertion_point(field_release:messages.CabinPreConditionReponse.setTemperatureReply) + + ::messages::SetTemperatureReply* temp = _impl_.settemperaturereply_; + _impl_.settemperaturereply_ = nullptr; + return temp; +} +inline ::messages::SetTemperatureReply* CabinPreConditionReponse::_internal_mutable_settemperaturereply() { + + if (_impl_.settemperaturereply_ == nullptr) { + auto* p = CreateMaybeMessage<::messages::SetTemperatureReply>(GetArenaForAllocation()); + _impl_.settemperaturereply_ = p; + } + return _impl_.settemperaturereply_; +} +inline ::messages::SetTemperatureReply* CabinPreConditionReponse::mutable_settemperaturereply() { + ::messages::SetTemperatureReply* _msg = _internal_mutable_settemperaturereply(); + // @@protoc_insertion_point(field_mutable:messages.CabinPreConditionReponse.setTemperatureReply) + return _msg; +} +inline void CabinPreConditionReponse::set_allocated_settemperaturereply(::messages::SetTemperatureReply* settemperaturereply) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.settemperaturereply_; + } + if (settemperaturereply) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(settemperaturereply); + if (message_arena != submessage_arena) { + settemperaturereply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, settemperaturereply, submessage_arena); + } + + } else { + + } + _impl_.settemperaturereply_ = settemperaturereply; + // @@protoc_insertion_point(field_set_allocated:messages.CabinPreConditionReponse.setTemperatureReply) +} + +// ------------------------------------------------------------------- + +// SetAcStatusRequest + +// .messages.AcStatusEnum desiredStatus = 1; +inline void SetAcStatusRequest::clear_desiredstatus() { + _impl_.desiredstatus_ = 0; +} +inline ::messages::AcStatusEnum SetAcStatusRequest::desiredstatus() const { + // @@protoc_insertion_point(field_get:messages.SetAcStatusRequest.desiredStatus) + return _internal_desiredstatus(); +} +inline void SetAcStatusRequest::set_desiredstatus(::messages::AcStatusEnum value) { + _internal_set_desiredstatus(value); + // @@protoc_insertion_point(field_set:messages.SetAcStatusRequest.desiredStatus) +} +inline ::messages::AcStatusEnum SetAcStatusRequest::_internal_desiredstatus() const { + return static_cast<::messages::AcStatusEnum>(_impl_.desiredstatus_); +} +inline void SetAcStatusRequest::_internal_set_desiredstatus(::messages::AcStatusEnum value) { + ; + _impl_.desiredstatus_ = value; +} + +// ------------------------------------------------------------------- + +// SetAcStatusReply + +// .messages.AcStatusEnum status = 1; +inline void SetAcStatusReply::clear_status() { + _impl_.status_ = 0; +} +inline ::messages::AcStatusEnum SetAcStatusReply::status() const { + // @@protoc_insertion_point(field_get:messages.SetAcStatusReply.status) + return _internal_status(); +} +inline void SetAcStatusReply::set_status(::messages::AcStatusEnum value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:messages.SetAcStatusReply.status) +} +inline ::messages::AcStatusEnum SetAcStatusReply::_internal_status() const { + return static_cast<::messages::AcStatusEnum>(_impl_.status_); +} +inline void SetAcStatusReply::_internal_set_status(::messages::AcStatusEnum value) { + ; + _impl_.status_ = value; +} + +// ------------------------------------------------------------------- + +// SetTemperatureRequest + +// float temperature = 1; +inline void SetTemperatureRequest::clear_temperature() { + _impl_.temperature_ = 0; +} +inline float SetTemperatureRequest::temperature() const { + // @@protoc_insertion_point(field_get:messages.SetTemperatureRequest.temperature) + return _internal_temperature(); +} +inline void SetTemperatureRequest::set_temperature(float value) { + _internal_set_temperature(value); + // @@protoc_insertion_point(field_set:messages.SetTemperatureRequest.temperature) +} +inline float SetTemperatureRequest::_internal_temperature() const { + return _impl_.temperature_; +} +inline void SetTemperatureRequest::_internal_set_temperature(float value) { + ; + _impl_.temperature_ = value; +} + +// ------------------------------------------------------------------- + +// SetTemperatureReply + +// .messages.SetTempStatusEnum tempStatus = 1; +inline void SetTemperatureReply::clear_tempstatus() { + _impl_.tempstatus_ = 0; +} +inline ::messages::SetTempStatusEnum SetTemperatureReply::tempstatus() const { + // @@protoc_insertion_point(field_get:messages.SetTemperatureReply.tempStatus) + return _internal_tempstatus(); +} +inline void SetTemperatureReply::set_tempstatus(::messages::SetTempStatusEnum value) { + _internal_set_tempstatus(value); + // @@protoc_insertion_point(field_set:messages.SetTemperatureReply.tempStatus) +} +inline ::messages::SetTempStatusEnum SetTemperatureReply::_internal_tempstatus() const { + return static_cast<::messages::SetTempStatusEnum>(_impl_.tempstatus_); +} +inline void SetTemperatureReply::_internal_set_tempstatus(::messages::SetTempStatusEnum value) { + ; + _impl_.tempstatus_ = value; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace messages + + +PROTOBUF_NAMESPACE_OPEN + +template <> +struct is_proto_enum<::messages::AcStatusEnum> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::messages::AcStatusEnum>() { + return ::messages::AcStatusEnum_descriptor(); +} +template <> +struct is_proto_enum<::messages::SetTempStatusEnum> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::messages::SetTempStatusEnum>() { + return ::messages::SetTempStatusEnum_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // GOOGLE_PROTOBUF_INCLUDED_messages_2fVehicleRemoteHvac_2eproto_2epb_2eh diff --git a/build/generated/source/proto/main/cpp/vss/vspec.pb.cc b/build/generated/source/proto/main/cpp/vss/vspec.pb.cc index e69de29..356a4a3 100644 --- a/build/generated/source/proto/main/cpp/vss/vspec.pb.cc +++ b/build/generated/source/proto/main/cpp/vss/vspec.pb.cc @@ -0,0 +1,92855 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: vss/vspec.proto + +#include "vss/vspec.pb.h" + +#include +#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) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::PROTOBUF_NAMESPACE_ID; +namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal; +namespace vss { +PROTOBUF_CONSTEXPR Vehicle::Vehicle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lowvoltagesystemstate_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.versionvss_)*/nullptr + , /*decltype(_impl_.vehicleidentification_)*/nullptr + , /*decltype(_impl_.lowvoltagebattery_)*/nullptr + , /*decltype(_impl_.acceleration_)*/nullptr + , /*decltype(_impl_.angularvelocity_)*/nullptr + , /*decltype(_impl_.trailer_)*/nullptr + , /*decltype(_impl_.currentlocation_)*/nullptr + , /*decltype(_impl_.powertrain_)*/nullptr + , /*decltype(_impl_.body_)*/nullptr + , /*decltype(_impl_.cabin_)*/nullptr + , /*decltype(_impl_.adas_)*/nullptr + , /*decltype(_impl_.chassis_)*/nullptr + , /*decltype(_impl_.obd_)*/nullptr + , /*decltype(_impl_.driver_)*/nullptr + , /*decltype(_impl_.exterior_)*/nullptr + , /*decltype(_impl_.service_)*/nullptr + , /*decltype(_impl_.connectivity_)*/nullptr + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_.travelleddistance_)*/ 0 + + , /*decltype(_impl_.tripmeterreading_)*/ 0 + + , /*decltype(_impl_.isbrokendown_)*/ false + + , /*decltype(_impl_.ismoving_)*/ false + + , /*decltype(_impl_.averagespeed_)*/ 0 + + , /*decltype(_impl_.roofload_)*/ 0 + + , /*decltype(_impl_.cargovolume_)*/ 0 + + , /*decltype(_impl_.emissionsco2_)*/ 0 + + , /*decltype(_impl_.currentoverallweight_)*/ 0u + + , /*decltype(_impl_.curbweight_)*/ 0u + + , /*decltype(_impl_.grossweight_)*/ 0u + + , /*decltype(_impl_.maxtowweight_)*/ 0u + + , /*decltype(_impl_.maxtowballweight_)*/ 0u + + , /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.width_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleDefaultTypeInternal() {} + union { + Vehicle _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleDefaultTypeInternal _Vehicle_default_instance_; +PROTOBUF_CONSTEXPR VehicleVersionVSS::VehicleVersionVSS( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.label_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.major_)*/ 0u + + , /*decltype(_impl_.minor_)*/ 0u + + , /*decltype(_impl_.patch_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleVersionVSSDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleVersionVSSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleVersionVSSDefaultTypeInternal() {} + union { + VehicleVersionVSS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleVersionVSSDefaultTypeInternal _VehicleVersionVSS_default_instance_; +PROTOBUF_CONSTEXPR VehicleVehicleIdentification::VehicleVehicleIdentification( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.vin_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.wmi_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.brand_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.model_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.acrisscode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.bodytype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.datevehiclefirstregistered_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.meetsemissionstandard_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.productiondate_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.purchasedate_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.vehiclemodeldate_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.vehicleconfiguration_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.vehiclespecialusage_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.vehicleinteriorcolor_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.vehicleinteriortype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.knownvehicledamages_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.year_)*/ 0u + + , /*decltype(_impl_.vehicleseatingcapacity_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleVehicleIdentificationDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleVehicleIdentificationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleVehicleIdentificationDefaultTypeInternal() {} + union { + VehicleVehicleIdentification _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleVehicleIdentificationDefaultTypeInternal _VehicleVehicleIdentification_default_instance_; +PROTOBUF_CONSTEXPR VehicleLowVoltageBattery::VehicleLowVoltageBattery( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.nominalvoltage_)*/ 0u + + , /*decltype(_impl_.nominalcapacity_)*/ 0u + + , /*decltype(_impl_.currentvoltage_)*/ 0 + + , /*decltype(_impl_.currentcurrent_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleLowVoltageBatteryDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleLowVoltageBatteryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleLowVoltageBatteryDefaultTypeInternal() {} + union { + VehicleLowVoltageBattery _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleLowVoltageBatteryDefaultTypeInternal _VehicleLowVoltageBattery_default_instance_; +PROTOBUF_CONSTEXPR VehicleAcceleration::VehicleAcceleration( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.longitudinal_)*/ 0 + + , /*decltype(_impl_.lateral_)*/ 0 + + , /*decltype(_impl_.vertical_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleAccelerationDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleAccelerationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleAccelerationDefaultTypeInternal() {} + union { + VehicleAcceleration _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleAccelerationDefaultTypeInternal _VehicleAcceleration_default_instance_; +PROTOBUF_CONSTEXPR VehicleAngularVelocity::VehicleAngularVelocity( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.roll_)*/ 0 + + , /*decltype(_impl_.pitch_)*/ 0 + + , /*decltype(_impl_.yaw_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleAngularVelocityDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleAngularVelocityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleAngularVelocityDefaultTypeInternal() {} + union { + VehicleAngularVelocity _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleAngularVelocityDefaultTypeInternal _VehicleAngularVelocity_default_instance_; +PROTOBUF_CONSTEXPR VehicleTrailer::VehicleTrailer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isconnected_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleTrailerDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleTrailerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleTrailerDefaultTypeInternal() {} + union { + VehicleTrailer _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleTrailerDefaultTypeInternal _VehicleTrailer_default_instance_; +PROTOBUF_CONSTEXPR VehicleCurrentLocation::VehicleCurrentLocation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.timestamp_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.gnssreceiver_)*/nullptr + , /*decltype(_impl_.latitude_)*/ 0 + + , /*decltype(_impl_.longitude_)*/ 0 + + , /*decltype(_impl_.heading_)*/ 0 + + , /*decltype(_impl_.horizontalaccuracy_)*/ 0 + + , /*decltype(_impl_.altitude_)*/ 0 + + , /*decltype(_impl_.verticalaccuracy_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCurrentLocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCurrentLocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCurrentLocationDefaultTypeInternal() {} + union { + VehicleCurrentLocation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCurrentLocationDefaultTypeInternal _VehicleCurrentLocation_default_instance_; +PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiver::VehicleCurrentLocationGNSSReceiver( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.fixtype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.mountingposition_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCurrentLocationGNSSReceiverDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiverDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCurrentLocationGNSSReceiverDefaultTypeInternal() {} + union { + VehicleCurrentLocationGNSSReceiver _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCurrentLocationGNSSReceiverDefaultTypeInternal _VehicleCurrentLocationGNSSReceiver_default_instance_; +PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiverMountingPosition::VehicleCurrentLocationGNSSReceiverMountingPosition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.x_)*/ 0 + + , /*decltype(_impl_.y_)*/ 0 + + , /*decltype(_impl_.z_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal() {} + union { + VehicleCurrentLocationGNSSReceiverMountingPosition _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal _VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrain::VehiclePowertrain( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.type_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.combustionengine_)*/nullptr + , /*decltype(_impl_.transmission_)*/nullptr + , /*decltype(_impl_.electricmotor_)*/nullptr + , /*decltype(_impl_.tractionbattery_)*/nullptr + , /*decltype(_impl_.fuelsystem_)*/nullptr + , /*decltype(_impl_.accumulatedbrakingenergy_)*/ 0 + + , /*decltype(_impl_.range_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainDefaultTypeInternal() {} + union { + VehiclePowertrain _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainDefaultTypeInternal _VehiclePowertrain_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngine::VehiclePowertrainCombustionEngine( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.enginecode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.configuration_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.compressionratio_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.aspirationtype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.engineoillevel_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.dieselexhaustfluid_)*/nullptr + , /*decltype(_impl_.dieselparticulatefilter_)*/nullptr + , /*decltype(_impl_.displacement_)*/ 0u + + , /*decltype(_impl_.strokelength_)*/ 0 + + , /*decltype(_impl_.bore_)*/ 0 + + , /*decltype(_impl_.numberofcylinders_)*/ 0u + + , /*decltype(_impl_.numberofvalvespercylinder_)*/ 0u + + , /*decltype(_impl_.engineoilcapacity_)*/ 0 + + , /*decltype(_impl_.enginecoolantcapacity_)*/ 0 + + , /*decltype(_impl_.maxpower_)*/ 0u + + , /*decltype(_impl_.maxtorque_)*/ 0u + + , /*decltype(_impl_.oilliferemaining_)*/ 0 + + , /*decltype(_impl_.isrunning_)*/ false + + , /*decltype(_impl_.speed_)*/ 0u + + , /*decltype(_impl_.enginehours_)*/ 0 + + , /*decltype(_impl_.idlehours_)*/ 0 + + , /*decltype(_impl_.ect_)*/ 0 + + , /*decltype(_impl_.eot_)*/ 0 + + , /*decltype(_impl_.map_)*/ 0u + + , /*decltype(_impl_.maf_)*/ 0u + + , /*decltype(_impl_.tps_)*/ 0u + + , /*decltype(_impl_.eop_)*/ 0u + + , /*decltype(_impl_.power_)*/ 0u + + , /*decltype(_impl_.torque_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainCombustionEngineDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngineDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainCombustionEngineDefaultTypeInternal() {} + union { + VehiclePowertrainCombustionEngine _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainCombustionEngineDefaultTypeInternal _VehiclePowertrainCombustionEngine_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngineDieselExhaustFluid::VehiclePowertrainCombustionEngineDieselExhaustFluid( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.capacity_)*/ 0 + + , /*decltype(_impl_.level_)*/ 0u + + , /*decltype(_impl_.range_)*/ 0u + + , /*decltype(_impl_.islevellow_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainCombustionEngineDieselExhaustFluidDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngineDieselExhaustFluidDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainCombustionEngineDieselExhaustFluidDefaultTypeInternal() {} + union { + VehiclePowertrainCombustionEngineDieselExhaustFluid _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainCombustionEngineDieselExhaustFluidDefaultTypeInternal _VehiclePowertrainCombustionEngineDieselExhaustFluid_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngineDieselParticulateFilter::VehiclePowertrainCombustionEngineDieselParticulateFilter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.inlettemperature_)*/ 0 + + , /*decltype(_impl_.outlettemperature_)*/ 0 + + , /*decltype(_impl_.deltapressure_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainCombustionEngineDieselParticulateFilterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainCombustionEngineDieselParticulateFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainCombustionEngineDieselParticulateFilterDefaultTypeInternal() {} + union { + VehiclePowertrainCombustionEngineDieselParticulateFilter _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainCombustionEngineDieselParticulateFilterDefaultTypeInternal _VehiclePowertrainCombustionEngineDieselParticulateFilter_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTransmission::VehiclePowertrainTransmission( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.type_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.drivetype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.performancemode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.gearchangemode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.gearcount_)*/ 0 + + , /*decltype(_impl_.travelleddistance_)*/ 0 + + , /*decltype(_impl_.currentgear_)*/ 0 + + , /*decltype(_impl_.selectedgear_)*/ 0 + + , /*decltype(_impl_.isparklockengaged_)*/ false + + , /*decltype(_impl_.islowrangeengaged_)*/ false + + , /*decltype(_impl_.iselectricalpowertrainengaged_)*/ false + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_.clutchengagement_)*/ 0 + + , /*decltype(_impl_.clutchwear_)*/ 0u + + , /*decltype(_impl_.difflockfrontengagement_)*/ 0 + + , /*decltype(_impl_.difflockrearengagement_)*/ 0 + + , /*decltype(_impl_.torquedistribution_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTransmissionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTransmissionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTransmissionDefaultTypeInternal() {} + union { + VehiclePowertrainTransmission _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTransmissionDefaultTypeInternal _VehiclePowertrainTransmission_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainElectricMotor::VehiclePowertrainElectricMotor( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.enginecode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.maxpower_)*/ 0u + + , /*decltype(_impl_.maxtorque_)*/ 0u + + , /*decltype(_impl_.maxregenpower_)*/ 0u + + , /*decltype(_impl_.maxregentorque_)*/ 0u + + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_.coolanttemperature_)*/ 0 + + , /*decltype(_impl_.power_)*/ 0 + + , /*decltype(_impl_.torque_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainElectricMotorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainElectricMotorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainElectricMotorDefaultTypeInternal() {} + union { + VehiclePowertrainElectricMotor _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainElectricMotorDefaultTypeInternal _VehiclePowertrainElectricMotor_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBattery::VehiclePowertrainTractionBattery( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.id_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.productiondate_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.temperature_)*/nullptr + , /*decltype(_impl_.stateofcharge_)*/nullptr + , /*decltype(_impl_.charging_)*/nullptr + , /*decltype(_impl_.dcdc_)*/nullptr + , /*decltype(_impl_.ispowerconnected_)*/ false + + , /*decltype(_impl_.isgroundconnected_)*/ false + + , /*decltype(_impl_.grosscapacity_)*/ 0u + + , /*decltype(_impl_.netcapacity_)*/ 0u + + , /*decltype(_impl_.stateofhealth_)*/ 0 + + , /*decltype(_impl_.nominalvoltage_)*/ 0u + + , /*decltype(_impl_.maxvoltage_)*/ 0u + + , /*decltype(_impl_.currentvoltage_)*/ 0 + + , /*decltype(_impl_.currentcurrent_)*/ 0 + + , /*decltype(_impl_.currentpower_)*/ 0 + + , /*decltype(_impl_.accumulatedchargedenergy_)*/ 0 + + , /*decltype(_impl_.accumulatedconsumedenergy_)*/ 0 + + , /*decltype(_impl_.accumulatedchargedthroughput_)*/ 0 + + , /*decltype(_impl_.accumulatedconsumedthroughput_)*/ 0 + + , /*decltype(_impl_.powerloss_)*/ 0 + + , /*decltype(_impl_.range_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBattery _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryDefaultTypeInternal _VehiclePowertrainTractionBattery_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryTemperature::VehiclePowertrainTractionBatteryTemperature( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.average_)*/ 0 + + , /*decltype(_impl_.min_)*/ 0 + + , /*decltype(_impl_.max_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryTemperatureDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryTemperatureDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryTemperatureDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryTemperature _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryTemperatureDefaultTypeInternal _VehiclePowertrainTractionBatteryTemperature_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryStateOfCharge::VehiclePowertrainTractionBatteryStateOfCharge( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_.displayed_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryStateOfChargeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryStateOfChargeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryStateOfChargeDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryStateOfCharge _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryStateOfChargeDefaultTypeInternal _VehiclePowertrainTractionBatteryStateOfCharge_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryCharging::VehiclePowertrainTractionBatteryCharging( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.chargeplugtype_)*/{} + , /*decltype(_impl_.chargeportflap_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.startstopcharging_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.maximumchargingcurrent_)*/nullptr + , /*decltype(_impl_.chargecurrent_)*/nullptr + , /*decltype(_impl_.chargevoltage_)*/nullptr + , /*decltype(_impl_.timer_)*/nullptr + , /*decltype(_impl_.chargelimit_)*/ 0u + + , /*decltype(_impl_.ischargingcableconnected_)*/ false + + , /*decltype(_impl_.ischargingcablelocked_)*/ false + + , /*decltype(_impl_.ischarging_)*/ false + + , /*decltype(_impl_.isdischarging_)*/ false + + , /*decltype(_impl_.powerloss_)*/ 0 + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_.chargerate_)*/ 0 + + , /*decltype(_impl_.timetocomplete_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryChargingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryChargingDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryCharging _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryChargingDefaultTypeInternal _VehiclePowertrainTractionBatteryCharging_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.dc_)*/ 0 + + , /*decltype(_impl_.phase1_)*/ 0 + + , /*decltype(_impl_.phase2_)*/ 0 + + , /*decltype(_impl_.phase3_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryChargingMaximumChargingCurrentDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingMaximumChargingCurrentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryChargingMaximumChargingCurrentDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryChargingMaximumChargingCurrentDefaultTypeInternal _VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingChargeCurrent::VehiclePowertrainTractionBatteryChargingChargeCurrent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.dc_)*/ 0 + + , /*decltype(_impl_.phase1_)*/ 0 + + , /*decltype(_impl_.phase2_)*/ 0 + + , /*decltype(_impl_.phase3_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryChargingChargeCurrentDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingChargeCurrentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryChargingChargeCurrentDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryChargingChargeCurrent _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryChargingChargeCurrentDefaultTypeInternal _VehiclePowertrainTractionBatteryChargingChargeCurrent_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingChargeVoltage::VehiclePowertrainTractionBatteryChargingChargeVoltage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.dc_)*/ 0 + + , /*decltype(_impl_.phase1_)*/ 0 + + , /*decltype(_impl_.phase2_)*/ 0 + + , /*decltype(_impl_.phase3_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryChargingChargeVoltageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingChargeVoltageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryChargingChargeVoltageDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryChargingChargeVoltage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryChargingChargeVoltageDefaultTypeInternal _VehiclePowertrainTractionBatteryChargingChargeVoltage_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingTimer::VehiclePowertrainTractionBatteryChargingTimer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.time_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryChargingTimerDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryChargingTimerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryChargingTimerDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryChargingTimer _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryChargingTimerDefaultTypeInternal _VehiclePowertrainTractionBatteryChargingTimer_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryDCDC::VehiclePowertrainTractionBatteryDCDC( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.powerloss_)*/ 0 + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainTractionBatteryDCDCDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainTractionBatteryDCDCDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainTractionBatteryDCDCDefaultTypeInternal() {} + union { + VehiclePowertrainTractionBatteryDCDC _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainTractionBatteryDCDCDefaultTypeInternal _VehiclePowertrainTractionBatteryDCDC_default_instance_; +PROTOBUF_CONSTEXPR VehiclePowertrainFuelSystem::VehiclePowertrainFuelSystem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.supportedfueltypes_)*/{} + , /*decltype(_impl_.supportedfuel_)*/{} + , /*decltype(_impl_.hybridtype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.tankcapacity_)*/ 0 + + , /*decltype(_impl_.level_)*/ 0u + + , /*decltype(_impl_.range_)*/ 0u + + , /*decltype(_impl_.instantconsumption_)*/ 0 + + , /*decltype(_impl_.averageconsumption_)*/ 0 + + , /*decltype(_impl_.consumptionsincestart_)*/ 0 + + , /*decltype(_impl_.timesincestart_)*/ 0u + + , /*decltype(_impl_.isenginestopstartenabled_)*/ false + + , /*decltype(_impl_.isfuellevellow_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehiclePowertrainFuelSystemDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehiclePowertrainFuelSystemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehiclePowertrainFuelSystemDefaultTypeInternal() {} + union { + VehiclePowertrainFuelSystem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehiclePowertrainFuelSystemDefaultTypeInternal _VehiclePowertrainFuelSystem_default_instance_; +PROTOBUF_CONSTEXPR VehicleBody::VehicleBody( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.bodytype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.refuelposition_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.hood_)*/nullptr + , /*decltype(_impl_.trunk_)*/nullptr + , /*decltype(_impl_.horn_)*/nullptr + , /*decltype(_impl_.raindetection_)*/nullptr + , /*decltype(_impl_.windshield_)*/nullptr + , /*decltype(_impl_.lights_)*/nullptr + , /*decltype(_impl_.mirrors_)*/nullptr + , /*decltype(_impl_.rearmainspoilerposition_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyDefaultTypeInternal() {} + union { + VehicleBody _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyDefaultTypeInternal _VehicleBody_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyHood::VehicleBodyHood( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyHoodDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyHoodDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyHoodDefaultTypeInternal() {} + union { + VehicleBodyHood _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyHoodDefaultTypeInternal _VehicleBodyHood_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyTrunk::VehicleBodyTrunk( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.front_)*/nullptr + , /*decltype(_impl_.rear_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyTrunkDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyTrunkDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyTrunkDefaultTypeInternal() {} + union { + VehicleBodyTrunk _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyTrunkDefaultTypeInternal _VehicleBodyTrunk_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyTrunkFront::VehicleBodyTrunkFront( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyTrunkFrontDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyTrunkFrontDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyTrunkFrontDefaultTypeInternal() {} + union { + VehicleBodyTrunkFront _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyTrunkFrontDefaultTypeInternal _VehicleBodyTrunkFront_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyTrunkRear::VehicleBodyTrunkRear( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyTrunkRearDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyTrunkRearDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyTrunkRearDefaultTypeInternal() {} + union { + VehicleBodyTrunkRear _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyTrunkRearDefaultTypeInternal _VehicleBodyTrunkRear_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyHorn::VehicleBodyHorn( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isactive_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyHornDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyHornDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyHornDefaultTypeInternal() {} + union { + VehicleBodyHorn _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyHornDefaultTypeInternal _VehicleBodyHorn_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyRaindetection::VehicleBodyRaindetection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.intensity_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyRaindetectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyRaindetectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyRaindetectionDefaultTypeInternal() {} + union { + VehicleBodyRaindetection _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyRaindetectionDefaultTypeInternal _VehicleBodyRaindetection_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshield::VehicleBodyWindshield( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.front_)*/nullptr + , /*decltype(_impl_.rear_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldDefaultTypeInternal() {} + union { + VehicleBodyWindshield _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldDefaultTypeInternal _VehicleBodyWindshield_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldFront::VehicleBodyWindshieldFront( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.wiping_)*/nullptr + , /*decltype(_impl_.washerfluid_)*/nullptr + , /*decltype(_impl_.isheatingon_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldFrontDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldFrontDefaultTypeInternal() {} + union { + VehicleBodyWindshieldFront _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldFrontDefaultTypeInternal _VehicleBodyWindshieldFront_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWiping::VehicleBodyWindshieldFrontWiping( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.system_)*/nullptr + , /*decltype(_impl_.intensity_)*/ 0u + + , /*decltype(_impl_.wiperwear_)*/ 0u + + , /*decltype(_impl_.iswipersworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldFrontWipingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWipingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldFrontWipingDefaultTypeInternal() {} + union { + VehicleBodyWindshieldFrontWiping _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldFrontWipingDefaultTypeInternal _VehicleBodyWindshieldFrontWiping_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWipingSystem::VehicleBodyWindshieldFrontWipingSystem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.frequency_)*/ 0u + + , /*decltype(_impl_.targetposition_)*/ 0 + + , /*decltype(_impl_.actualposition_)*/ 0 + + , /*decltype(_impl_.drivecurrent_)*/ 0 + + , /*decltype(_impl_.iswiping_)*/ false + + , /*decltype(_impl_.isendingwipecycle_)*/ false + + , /*decltype(_impl_.iswipererror_)*/ false + + , /*decltype(_impl_.ispositionreached_)*/ false + + , /*decltype(_impl_.isblocked_)*/ false + + , /*decltype(_impl_.isoverheated_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldFrontWipingSystemDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWipingSystemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldFrontWipingSystemDefaultTypeInternal() {} + union { + VehicleBodyWindshieldFrontWipingSystem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldFrontWipingSystemDefaultTypeInternal _VehicleBodyWindshieldFrontWipingSystem_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWasherFluid::VehicleBodyWindshieldFrontWasherFluid( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.islevellow_)*/ false + + , /*decltype(_impl_.level_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldFrontWasherFluidDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldFrontWasherFluidDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldFrontWasherFluidDefaultTypeInternal() {} + union { + VehicleBodyWindshieldFrontWasherFluid _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldFrontWasherFluidDefaultTypeInternal _VehicleBodyWindshieldFrontWasherFluid_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldRear::VehicleBodyWindshieldRear( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.wiping_)*/nullptr + , /*decltype(_impl_.washerfluid_)*/nullptr + , /*decltype(_impl_.isheatingon_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldRearDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldRearDefaultTypeInternal() {} + union { + VehicleBodyWindshieldRear _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldRearDefaultTypeInternal _VehicleBodyWindshieldRear_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWiping::VehicleBodyWindshieldRearWiping( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.system_)*/nullptr + , /*decltype(_impl_.intensity_)*/ 0u + + , /*decltype(_impl_.wiperwear_)*/ 0u + + , /*decltype(_impl_.iswipersworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldRearWipingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWipingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldRearWipingDefaultTypeInternal() {} + union { + VehicleBodyWindshieldRearWiping _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldRearWipingDefaultTypeInternal _VehicleBodyWindshieldRearWiping_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWipingSystem::VehicleBodyWindshieldRearWipingSystem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.frequency_)*/ 0u + + , /*decltype(_impl_.targetposition_)*/ 0 + + , /*decltype(_impl_.actualposition_)*/ 0 + + , /*decltype(_impl_.drivecurrent_)*/ 0 + + , /*decltype(_impl_.iswiping_)*/ false + + , /*decltype(_impl_.isendingwipecycle_)*/ false + + , /*decltype(_impl_.iswipererror_)*/ false + + , /*decltype(_impl_.ispositionreached_)*/ false + + , /*decltype(_impl_.isblocked_)*/ false + + , /*decltype(_impl_.isoverheated_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldRearWipingSystemDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWipingSystemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldRearWipingSystemDefaultTypeInternal() {} + union { + VehicleBodyWindshieldRearWipingSystem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldRearWipingSystemDefaultTypeInternal _VehicleBodyWindshieldRearWipingSystem_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWasherFluid::VehicleBodyWindshieldRearWasherFluid( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.islevellow_)*/ false + + , /*decltype(_impl_.level_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyWindshieldRearWasherFluidDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyWindshieldRearWasherFluidDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyWindshieldRearWasherFluidDefaultTypeInternal() {} + union { + VehicleBodyWindshieldRearWasherFluid _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyWindshieldRearWasherFluidDefaultTypeInternal _VehicleBodyWindshieldRearWasherFluid_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLights::VehicleBodyLights( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lightswitch_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.beam_)*/nullptr + , /*decltype(_impl_.running_)*/nullptr + , /*decltype(_impl_.backup_)*/nullptr + , /*decltype(_impl_.parking_)*/nullptr + , /*decltype(_impl_.fog_)*/nullptr + , /*decltype(_impl_.licenseplate_)*/nullptr + , /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.hazard_)*/nullptr + , /*decltype(_impl_.directionindicator_)*/nullptr + , /*decltype(_impl_.ishighbeamswitchon_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsDefaultTypeInternal() {} + union { + VehicleBodyLights _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsDefaultTypeInternal _VehicleBodyLights_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsBeam::VehicleBodyLightsBeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.low_)*/nullptr + , /*decltype(_impl_.high_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsBeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsBeamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsBeamDefaultTypeInternal() {} + union { + VehicleBodyLightsBeam _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsBeamDefaultTypeInternal _VehicleBodyLightsBeam_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsBeamLow::VehicleBodyLightsBeamLow( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsBeamLowDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsBeamLowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsBeamLowDefaultTypeInternal() {} + union { + VehicleBodyLightsBeamLow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsBeamLowDefaultTypeInternal _VehicleBodyLightsBeamLow_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsBeamHigh::VehicleBodyLightsBeamHigh( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsBeamHighDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsBeamHighDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsBeamHighDefaultTypeInternal() {} + union { + VehicleBodyLightsBeamHigh _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsBeamHighDefaultTypeInternal _VehicleBodyLightsBeamHigh_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsRunning::VehicleBodyLightsRunning( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsRunningDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsRunningDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsRunningDefaultTypeInternal() {} + union { + VehicleBodyLightsRunning _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsRunningDefaultTypeInternal _VehicleBodyLightsRunning_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsBackup::VehicleBodyLightsBackup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsBackupDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsBackupDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsBackupDefaultTypeInternal() {} + union { + VehicleBodyLightsBackup _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsBackupDefaultTypeInternal _VehicleBodyLightsBackup_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsParking::VehicleBodyLightsParking( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsParkingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsParkingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsParkingDefaultTypeInternal() {} + union { + VehicleBodyLightsParking _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsParkingDefaultTypeInternal _VehicleBodyLightsParking_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsFog::VehicleBodyLightsFog( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.rear_)*/nullptr + , /*decltype(_impl_.front_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsFogDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsFogDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsFogDefaultTypeInternal() {} + union { + VehicleBodyLightsFog _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsFogDefaultTypeInternal _VehicleBodyLightsFog_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsFogRear::VehicleBodyLightsFogRear( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsFogRearDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsFogRearDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsFogRearDefaultTypeInternal() {} + union { + VehicleBodyLightsFogRear _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsFogRearDefaultTypeInternal _VehicleBodyLightsFogRear_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsFogFront::VehicleBodyLightsFogFront( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsFogFrontDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsFogFrontDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsFogFrontDefaultTypeInternal() {} + union { + VehicleBodyLightsFogFront _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsFogFrontDefaultTypeInternal _VehicleBodyLightsFogFront_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsLicensePlate::VehicleBodyLightsLicensePlate( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ison_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsLicensePlateDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsLicensePlateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsLicensePlateDefaultTypeInternal() {} + union { + VehicleBodyLightsLicensePlate _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsLicensePlateDefaultTypeInternal _VehicleBodyLightsLicensePlate_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsBrake::VehicleBodyLightsBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isactive_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsBrakeDefaultTypeInternal() {} + union { + VehicleBodyLightsBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsBrakeDefaultTypeInternal _VehicleBodyLightsBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsHazard::VehicleBodyLightsHazard( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issignaling_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsHazardDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsHazardDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsHazardDefaultTypeInternal() {} + union { + VehicleBodyLightsHazard _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsHazardDefaultTypeInternal _VehicleBodyLightsHazard_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicator::VehicleBodyLightsDirectionIndicator( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsDirectionIndicatorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicatorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsDirectionIndicatorDefaultTypeInternal() {} + union { + VehicleBodyLightsDirectionIndicator _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsDirectionIndicatorDefaultTypeInternal _VehicleBodyLightsDirectionIndicator_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicatorLeft::VehicleBodyLightsDirectionIndicatorLeft( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issignaling_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsDirectionIndicatorLeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicatorLeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsDirectionIndicatorLeftDefaultTypeInternal() {} + union { + VehicleBodyLightsDirectionIndicatorLeft _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsDirectionIndicatorLeftDefaultTypeInternal _VehicleBodyLightsDirectionIndicatorLeft_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicatorRight::VehicleBodyLightsDirectionIndicatorRight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issignaling_)*/ false + + , /*decltype(_impl_.isdefect_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyLightsDirectionIndicatorRightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyLightsDirectionIndicatorRightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyLightsDirectionIndicatorRightDefaultTypeInternal() {} + union { + VehicleBodyLightsDirectionIndicatorRight _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyLightsDirectionIndicatorRightDefaultTypeInternal _VehicleBodyLightsDirectionIndicatorRight_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyMirrors::VehicleBodyMirrors( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyMirrorsDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyMirrorsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyMirrorsDefaultTypeInternal() {} + union { + VehicleBodyMirrors _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyMirrorsDefaultTypeInternal _VehicleBodyMirrors_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyMirrorsLeft::VehicleBodyMirrorsLeft( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_.pan_)*/ 0 + + , /*decltype(_impl_.isheatingon_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyMirrorsLeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyMirrorsLeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyMirrorsLeftDefaultTypeInternal() {} + union { + VehicleBodyMirrorsLeft _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyMirrorsLeftDefaultTypeInternal _VehicleBodyMirrorsLeft_default_instance_; +PROTOBUF_CONSTEXPR VehicleBodyMirrorsRight::VehicleBodyMirrorsRight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_.pan_)*/ 0 + + , /*decltype(_impl_.isheatingon_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleBodyMirrorsRightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleBodyMirrorsRightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleBodyMirrorsRightDefaultTypeInternal() {} + union { + VehicleBodyMirrorsRight _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleBodyMirrorsRightDefaultTypeInternal _VehicleBodyMirrorsRight_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabin::VehicleCabin( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.seatposcount_)*/ {} + ,/* _impl_._seatposcount_cached_byte_size_ = */ { 0 } + + , /*decltype(_impl_.rearshade_)*/nullptr + , /*decltype(_impl_.hvac_)*/nullptr + , /*decltype(_impl_.infotainment_)*/nullptr + , /*decltype(_impl_.sunroof_)*/nullptr + , /*decltype(_impl_.rearviewmirror_)*/nullptr + , /*decltype(_impl_.lights_)*/nullptr + , /*decltype(_impl_.door_)*/nullptr + , /*decltype(_impl_.seat_)*/nullptr + , /*decltype(_impl_.convertible_)*/nullptr + , /*decltype(_impl_.doorcount_)*/ 0u + + , /*decltype(_impl_.driverposition_)*/ 0u + + , /*decltype(_impl_.seatrowcount_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDefaultTypeInternal() {} + union { + VehicleCabin _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDefaultTypeInternal _VehicleCabin_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinRearShade::VehicleCabinRearShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinRearShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinRearShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinRearShadeDefaultTypeInternal() {} + union { + VehicleCabinRearShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinRearShadeDefaultTypeInternal _VehicleCabinRearShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVAC::VehicleCabinHVAC( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.station_)*/nullptr + , /*decltype(_impl_.isrecirculationactive_)*/ false + + , /*decltype(_impl_.isfrontdefrosteractive_)*/ false + + , /*decltype(_impl_.isreardefrosteractive_)*/ false + + , /*decltype(_impl_.isairconditioningactive_)*/ false + + , /*decltype(_impl_.ambientairtemperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACDefaultTypeInternal() {} + union { + VehicleCabinHVAC _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACDefaultTypeInternal _VehicleCabinHVAC_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStation::VehicleCabinHVACStation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.row1_)*/nullptr + , /*decltype(_impl_.row2_)*/nullptr + , /*decltype(_impl_.row3_)*/nullptr + , /*decltype(_impl_.row4_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationDefaultTypeInternal() {} + union { + VehicleCabinHVACStation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationDefaultTypeInternal _VehicleCabinHVACStation_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1::VehicleCabinHVACStationRow1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow1DefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow1DefaultTypeInternal _VehicleCabinHVACStationRow1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1Left::VehicleCabinHVACStationRow1Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow1LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow1LeftDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow1Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow1LeftDefaultTypeInternal _VehicleCabinHVACStationRow1Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1Right::VehicleCabinHVACStationRow1Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow1RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow1RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow1RightDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow1Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow1RightDefaultTypeInternal _VehicleCabinHVACStationRow1Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2::VehicleCabinHVACStationRow2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow2DefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow2DefaultTypeInternal _VehicleCabinHVACStationRow2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2Left::VehicleCabinHVACStationRow2Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow2LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow2LeftDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow2Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow2LeftDefaultTypeInternal _VehicleCabinHVACStationRow2Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2Right::VehicleCabinHVACStationRow2Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow2RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow2RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow2RightDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow2Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow2RightDefaultTypeInternal _VehicleCabinHVACStationRow2Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3::VehicleCabinHVACStationRow3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow3DefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow3DefaultTypeInternal _VehicleCabinHVACStationRow3_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3Left::VehicleCabinHVACStationRow3Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow3LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow3LeftDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow3Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow3LeftDefaultTypeInternal _VehicleCabinHVACStationRow3Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3Right::VehicleCabinHVACStationRow3Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow3RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow3RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow3RightDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow3Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow3RightDefaultTypeInternal _VehicleCabinHVACStationRow3Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4::VehicleCabinHVACStationRow4( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow4DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow4DefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow4 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow4DefaultTypeInternal _VehicleCabinHVACStationRow4_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4Left::VehicleCabinHVACStationRow4Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow4LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow4LeftDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow4Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow4LeftDefaultTypeInternal _VehicleCabinHVACStationRow4Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4Right::VehicleCabinHVACStationRow4Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airdistribution_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fanspeed_)*/ 0u + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinHVACStationRow4RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinHVACStationRow4RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinHVACStationRow4RightDefaultTypeInternal() {} + union { + VehicleCabinHVACStationRow4Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinHVACStationRow4RightDefaultTypeInternal _VehicleCabinHVACStationRow4Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainment::VehicleCabinInfotainment( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.media_)*/nullptr + , /*decltype(_impl_.navigation_)*/nullptr + , /*decltype(_impl_.hmi_)*/nullptr + , /*decltype(_impl_.smartphoneprojection_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentDefaultTypeInternal() {} + union { + VehicleCabinInfotainment _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentDefaultTypeInternal _VehicleCabinInfotainment_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentMedia::VehicleCabinInfotainmentMedia( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.action_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.declineduri_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.selecteduri_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.played_)*/nullptr + , /*decltype(_impl_.volume_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentMediaDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentMediaDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentMediaDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentMedia _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentMediaDefaultTypeInternal _VehicleCabinInfotainmentMedia_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentMediaPlayed::VehicleCabinInfotainmentMediaPlayed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.source_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.artist_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.album_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.track_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.uri_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.playbackrate_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentMediaPlayedDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentMediaPlayedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentMediaPlayedDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentMediaPlayed _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentMediaPlayedDefaultTypeInternal _VehicleCabinInfotainmentMediaPlayed_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentNavigation::VehicleCabinInfotainmentNavigation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mute_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.destinationset_)*/nullptr + , /*decltype(_impl_.volume_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentNavigationDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentNavigationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentNavigationDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentNavigation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentNavigationDefaultTypeInternal _VehicleCabinInfotainmentNavigation_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentNavigationDestinationSet::VehicleCabinInfotainmentNavigationDestinationSet( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.latitude_)*/ 0 + + , /*decltype(_impl_.longitude_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentNavigationDestinationSetDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentNavigationDestinationSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentNavigationDestinationSetDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentNavigationDestinationSet _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentNavigationDestinationSetDefaultTypeInternal _VehicleCabinInfotainmentNavigationDestinationSet_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentHMI::VehicleCabinInfotainmentHMI( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.currentlanguage_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.dateformat_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.timeformat_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.distanceunit_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fuelvolumeunit_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fueleconomyunits_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.eveconomyunits_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.temperatureunit_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.tirepressureunit_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.daynightmode_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.brightness_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentHMIDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentHMIDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentHMIDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentHMI _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentHMIDefaultTypeInternal _VehicleCabinInfotainmentHMI_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinInfotainmentSmartphoneProjection::VehicleCabinInfotainmentSmartphoneProjection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.supportedmode_)*/{} + , /*decltype(_impl_.active_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.source_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinInfotainmentSmartphoneProjectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinInfotainmentSmartphoneProjectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinInfotainmentSmartphoneProjectionDefaultTypeInternal() {} + union { + VehicleCabinInfotainmentSmartphoneProjection _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinInfotainmentSmartphoneProjectionDefaultTypeInternal _VehicleCabinInfotainmentSmartphoneProjection_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSunroof::VehicleCabinSunroof( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.shade_)*/nullptr + , /*decltype(_impl_.position_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSunroofDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSunroofDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSunroofDefaultTypeInternal() {} + union { + VehicleCabinSunroof _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSunroofDefaultTypeInternal _VehicleCabinSunroof_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSunroofShade::VehicleCabinSunroofShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSunroofShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSunroofShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSunroofShadeDefaultTypeInternal() {} + union { + VehicleCabinSunroofShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSunroofShadeDefaultTypeInternal _VehicleCabinSunroofShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinRearviewMirror::VehicleCabinRearviewMirror( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.dimminglevel_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinRearviewMirrorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinRearviewMirrorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinRearviewMirrorDefaultTypeInternal() {} + union { + VehicleCabinRearviewMirror _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinRearviewMirrorDefaultTypeInternal _VehicleCabinRearviewMirror_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLights::VehicleCabinLights( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.spotlight_)*/nullptr + , /*decltype(_impl_.isgloveboxon_)*/ false + + , /*decltype(_impl_.istrunkon_)*/ false + + , /*decltype(_impl_.isdomeon_)*/ false + + , /*decltype(_impl_.ambientlight_)*/ 0u + + , /*decltype(_impl_.lightintensity_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsDefaultTypeInternal() {} + union { + VehicleCabinLights _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsDefaultTypeInternal _VehicleCabinLights_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlight::VehicleCabinLightsSpotlight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.row1_)*/nullptr + , /*decltype(_impl_.row2_)*/nullptr + , /*decltype(_impl_.row3_)*/nullptr + , /*decltype(_impl_.row4_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsSpotlightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsSpotlightDefaultTypeInternal() {} + union { + VehicleCabinLightsSpotlight _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsSpotlightDefaultTypeInternal _VehicleCabinLightsSpotlight_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow1::VehicleCabinLightsSpotlightRow1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issharedon_)*/ false + + , /*decltype(_impl_.islefton_)*/ false + + , /*decltype(_impl_.isrighton_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsSpotlightRow1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsSpotlightRow1DefaultTypeInternal() {} + union { + VehicleCabinLightsSpotlightRow1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsSpotlightRow1DefaultTypeInternal _VehicleCabinLightsSpotlightRow1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow2::VehicleCabinLightsSpotlightRow2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issharedon_)*/ false + + , /*decltype(_impl_.islefton_)*/ false + + , /*decltype(_impl_.isrighton_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsSpotlightRow2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsSpotlightRow2DefaultTypeInternal() {} + union { + VehicleCabinLightsSpotlightRow2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsSpotlightRow2DefaultTypeInternal _VehicleCabinLightsSpotlightRow2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow3::VehicleCabinLightsSpotlightRow3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issharedon_)*/ false + + , /*decltype(_impl_.islefton_)*/ false + + , /*decltype(_impl_.isrighton_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsSpotlightRow3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsSpotlightRow3DefaultTypeInternal() {} + union { + VehicleCabinLightsSpotlightRow3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsSpotlightRow3DefaultTypeInternal _VehicleCabinLightsSpotlightRow3_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow4::VehicleCabinLightsSpotlightRow4( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.issharedon_)*/ false + + , /*decltype(_impl_.islefton_)*/ false + + , /*decltype(_impl_.isrighton_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinLightsSpotlightRow4DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinLightsSpotlightRow4DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinLightsSpotlightRow4DefaultTypeInternal() {} + union { + VehicleCabinLightsSpotlightRow4 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinLightsSpotlightRow4DefaultTypeInternal _VehicleCabinLightsSpotlightRow4_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoor::VehicleCabinDoor( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.row1_)*/nullptr + , /*decltype(_impl_.row2_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorDefaultTypeInternal() {} + union { + VehicleCabinDoor _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorDefaultTypeInternal _VehicleCabinDoor_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1::VehicleCabinDoorRow1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1DefaultTypeInternal() {} + union { + VehicleCabinDoorRow1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1DefaultTypeInternal _VehicleCabinDoorRow1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1Left::VehicleCabinDoorRow1Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.window_)*/nullptr + , /*decltype(_impl_.shade_)*/nullptr + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_.ischildlockactive_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1LeftDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1LeftDefaultTypeInternal _VehicleCabinDoorRow1Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1LeftWindow::VehicleCabinDoorRow1LeftWindow( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.ischildlockengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1LeftWindowDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1LeftWindowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1LeftWindowDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1LeftWindow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1LeftWindowDefaultTypeInternal _VehicleCabinDoorRow1LeftWindow_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1LeftShade::VehicleCabinDoorRow1LeftShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1LeftShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1LeftShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1LeftShadeDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1LeftShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1LeftShadeDefaultTypeInternal _VehicleCabinDoorRow1LeftShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1Right::VehicleCabinDoorRow1Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.window_)*/nullptr + , /*decltype(_impl_.shade_)*/nullptr + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_.ischildlockactive_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1RightDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1RightDefaultTypeInternal _VehicleCabinDoorRow1Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1RightWindow::VehicleCabinDoorRow1RightWindow( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.ischildlockengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1RightWindowDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1RightWindowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1RightWindowDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1RightWindow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1RightWindowDefaultTypeInternal _VehicleCabinDoorRow1RightWindow_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow1RightShade::VehicleCabinDoorRow1RightShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow1RightShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow1RightShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow1RightShadeDefaultTypeInternal() {} + union { + VehicleCabinDoorRow1RightShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow1RightShadeDefaultTypeInternal _VehicleCabinDoorRow1RightShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2::VehicleCabinDoorRow2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2DefaultTypeInternal() {} + union { + VehicleCabinDoorRow2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2DefaultTypeInternal _VehicleCabinDoorRow2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2Left::VehicleCabinDoorRow2Left( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.window_)*/nullptr + , /*decltype(_impl_.shade_)*/nullptr + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_.ischildlockactive_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2LeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2LeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2LeftDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2Left _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2LeftDefaultTypeInternal _VehicleCabinDoorRow2Left_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2LeftWindow::VehicleCabinDoorRow2LeftWindow( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.ischildlockengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2LeftWindowDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2LeftWindowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2LeftWindowDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2LeftWindow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2LeftWindowDefaultTypeInternal _VehicleCabinDoorRow2LeftWindow_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2LeftShade::VehicleCabinDoorRow2LeftShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2LeftShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2LeftShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2LeftShadeDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2LeftShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2LeftShadeDefaultTypeInternal _VehicleCabinDoorRow2LeftShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2Right::VehicleCabinDoorRow2Right( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.window_)*/nullptr + , /*decltype(_impl_.shade_)*/nullptr + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.islocked_)*/ false + + , /*decltype(_impl_.ischildlockactive_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2RightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2RightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2RightDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2Right _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2RightDefaultTypeInternal _VehicleCabinDoorRow2Right_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2RightWindow::VehicleCabinDoorRow2RightWindow( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.isopen_)*/ false + + , /*decltype(_impl_.ischildlockengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2RightWindowDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2RightWindowDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2RightWindowDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2RightWindow _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2RightWindowDefaultTypeInternal _VehicleCabinDoorRow2RightWindow_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinDoorRow2RightShade::VehicleCabinDoorRow2RightShade( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.switch__)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinDoorRow2RightShadeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinDoorRow2RightShadeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinDoorRow2RightShadeDefaultTypeInternal() {} + union { + VehicleCabinDoorRow2RightShade _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinDoorRow2RightShadeDefaultTypeInternal _VehicleCabinDoorRow2RightShade_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeat::VehicleCabinSeat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.row1_)*/nullptr + , /*decltype(_impl_.row2_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatDefaultTypeInternal() {} + union { + VehicleCabinSeat _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatDefaultTypeInternal _VehicleCabinSeat_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1::VehicleCabinSeatRow1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pos1_)*/nullptr + , /*decltype(_impl_.pos2_)*/nullptr + , /*decltype(_impl_.pos3_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1DefaultTypeInternal() {} + union { + VehicleCabinSeatRow1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1DefaultTypeInternal _VehicleCabinSeatRow1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1::VehicleCabinSeatRow1Pos1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1DefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1DefaultTypeInternal _VehicleCabinSeatRow1Pos1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Occupant::VehicleCabinSeatRow1Pos1Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1OccupantDefaultTypeInternal _VehicleCabinSeatRow1Pos1Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1OccupantIdentifier::VehicleCabinSeatRow1Pos1OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow1Pos1OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Backrest::VehicleCabinSeatRow1Pos1Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1BackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos1Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1BackrestLumbar::VehicleCabinSeatRow1Pos1BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos1BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1BackrestSideBolster::VehicleCabinSeatRow1Pos1BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos1BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Seating::VehicleCabinSeatRow1Pos1Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos1Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Headrest::VehicleCabinSeatRow1Pos1Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1HeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos1Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Airbag::VehicleCabinSeatRow1Pos1Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1AirbagDefaultTypeInternal _VehicleCabinSeatRow1Pos1Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1Switch::VehicleCabinSeatRow1Pos1Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchDefaultTypeInternal _VehicleCabinSeatRow1Pos1Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrest::VehicleCabinSeatRow1Pos1SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchSeating::VehicleCabinSeatRow1Pos1SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchHeadrest::VehicleCabinSeatRow1Pos1SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchMassage::VehicleCabinSeatRow1Pos1SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos1SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos1SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos1SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos1SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos1SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow1Pos1SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2::VehicleCabinSeatRow1Pos2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2DefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2DefaultTypeInternal _VehicleCabinSeatRow1Pos2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Occupant::VehicleCabinSeatRow1Pos2Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2OccupantDefaultTypeInternal _VehicleCabinSeatRow1Pos2Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2OccupantIdentifier::VehicleCabinSeatRow1Pos2OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow1Pos2OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Backrest::VehicleCabinSeatRow1Pos2Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2BackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos2Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2BackrestLumbar::VehicleCabinSeatRow1Pos2BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos2BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2BackrestSideBolster::VehicleCabinSeatRow1Pos2BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos2BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Seating::VehicleCabinSeatRow1Pos2Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos2Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Headrest::VehicleCabinSeatRow1Pos2Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2HeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos2Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Airbag::VehicleCabinSeatRow1Pos2Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2AirbagDefaultTypeInternal _VehicleCabinSeatRow1Pos2Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2Switch::VehicleCabinSeatRow1Pos2Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchDefaultTypeInternal _VehicleCabinSeatRow1Pos2Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrest::VehicleCabinSeatRow1Pos2SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchSeating::VehicleCabinSeatRow1Pos2SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchHeadrest::VehicleCabinSeatRow1Pos2SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchMassage::VehicleCabinSeatRow1Pos2SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos2SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos2SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos2SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos2SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos2SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow1Pos2SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3::VehicleCabinSeatRow1Pos3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3DefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3DefaultTypeInternal _VehicleCabinSeatRow1Pos3_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Occupant::VehicleCabinSeatRow1Pos3Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3OccupantDefaultTypeInternal _VehicleCabinSeatRow1Pos3Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3OccupantIdentifier::VehicleCabinSeatRow1Pos3OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow1Pos3OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Backrest::VehicleCabinSeatRow1Pos3Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3BackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos3Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3BackrestLumbar::VehicleCabinSeatRow1Pos3BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos3BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3BackrestSideBolster::VehicleCabinSeatRow1Pos3BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos3BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Seating::VehicleCabinSeatRow1Pos3Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos3Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Headrest::VehicleCabinSeatRow1Pos3Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3HeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos3Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Airbag::VehicleCabinSeatRow1Pos3Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3AirbagDefaultTypeInternal _VehicleCabinSeatRow1Pos3Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3Switch::VehicleCabinSeatRow1Pos3Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchDefaultTypeInternal _VehicleCabinSeatRow1Pos3Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrest::VehicleCabinSeatRow1Pos3SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchSeating::VehicleCabinSeatRow1Pos3SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchHeadrest::VehicleCabinSeatRow1Pos3SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchMassage::VehicleCabinSeatRow1Pos3SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow1Pos3SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow1Pos3SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow1Pos3SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow1Pos3SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow1Pos3SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow1Pos3SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2::VehicleCabinSeatRow2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pos1_)*/nullptr + , /*decltype(_impl_.pos2_)*/nullptr + , /*decltype(_impl_.pos3_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2DefaultTypeInternal() {} + union { + VehicleCabinSeatRow2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2DefaultTypeInternal _VehicleCabinSeatRow2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1::VehicleCabinSeatRow2Pos1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1DefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1DefaultTypeInternal _VehicleCabinSeatRow2Pos1_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Occupant::VehicleCabinSeatRow2Pos1Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1OccupantDefaultTypeInternal _VehicleCabinSeatRow2Pos1Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1OccupantIdentifier::VehicleCabinSeatRow2Pos1OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow2Pos1OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Backrest::VehicleCabinSeatRow2Pos1Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1BackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos1Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1BackrestLumbar::VehicleCabinSeatRow2Pos1BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos1BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1BackrestSideBolster::VehicleCabinSeatRow2Pos1BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos1BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Seating::VehicleCabinSeatRow2Pos1Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos1Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Headrest::VehicleCabinSeatRow2Pos1Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1HeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos1Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Airbag::VehicleCabinSeatRow2Pos1Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1AirbagDefaultTypeInternal _VehicleCabinSeatRow2Pos1Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1Switch::VehicleCabinSeatRow2Pos1Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchDefaultTypeInternal _VehicleCabinSeatRow2Pos1Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrest::VehicleCabinSeatRow2Pos1SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchSeating::VehicleCabinSeatRow2Pos1SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchHeadrest::VehicleCabinSeatRow2Pos1SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchMassage::VehicleCabinSeatRow2Pos1SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos1SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos1SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos1SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos1SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos1SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow2Pos1SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2::VehicleCabinSeatRow2Pos2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2DefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2DefaultTypeInternal _VehicleCabinSeatRow2Pos2_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Occupant::VehicleCabinSeatRow2Pos2Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2OccupantDefaultTypeInternal _VehicleCabinSeatRow2Pos2Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2OccupantIdentifier::VehicleCabinSeatRow2Pos2OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow2Pos2OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Backrest::VehicleCabinSeatRow2Pos2Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2BackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos2Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2BackrestLumbar::VehicleCabinSeatRow2Pos2BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos2BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2BackrestSideBolster::VehicleCabinSeatRow2Pos2BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos2BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Seating::VehicleCabinSeatRow2Pos2Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos2Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Headrest::VehicleCabinSeatRow2Pos2Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2HeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos2Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Airbag::VehicleCabinSeatRow2Pos2Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2AirbagDefaultTypeInternal _VehicleCabinSeatRow2Pos2Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2Switch::VehicleCabinSeatRow2Pos2Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchDefaultTypeInternal _VehicleCabinSeatRow2Pos2Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrest::VehicleCabinSeatRow2Pos2SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchSeating::VehicleCabinSeatRow2Pos2SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchHeadrest::VehicleCabinSeatRow2Pos2SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchMassage::VehicleCabinSeatRow2Pos2SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos2SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos2SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos2SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos2SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos2SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow2Pos2SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3::VehicleCabinSeatRow2Pos3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.occupant_)*/nullptr + , /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.airbag_)*/nullptr + , /*decltype(_impl_.switch__)*/nullptr + , /*decltype(_impl_.isoccupied_)*/ false + + , /*decltype(_impl_.isbelted_)*/ false + + , /*decltype(_impl_.heating_)*/ 0 + + , /*decltype(_impl_.massage_)*/ 0u + + , /*decltype(_impl_.position_)*/ 0u + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.tilt_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3DefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3DefaultTypeInternal _VehicleCabinSeatRow2Pos3_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Occupant::VehicleCabinSeatRow2Pos3Occupant( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3OccupantDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3OccupantDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3OccupantDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Occupant _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3OccupantDefaultTypeInternal _VehicleCabinSeatRow2Pos3Occupant_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3OccupantIdentifier::VehicleCabinSeatRow2Pos3OccupantIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3OccupantIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3OccupantIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3OccupantIdentifierDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3OccupantIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3OccupantIdentifierDefaultTypeInternal _VehicleCabinSeatRow2Pos3OccupantIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Backrest::VehicleCabinSeatRow2Pos3Backrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.recline_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3BackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3BackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3BackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Backrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3BackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos3Backrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3BackrestLumbar::VehicleCabinSeatRow2Pos3BackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3BackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3BackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3BackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3BackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3BackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos3BackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3BackrestSideBolster::VehicleCabinSeatRow2Pos3BackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.support_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3BackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3BackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3BackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3BackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3BackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos3BackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Seating::VehicleCabinSeatRow2Pos3Seating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.length_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Seating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos3Seating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Headrest::VehicleCabinSeatRow2Pos3Headrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.height_)*/ 0u + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3HeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3HeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3HeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Headrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3HeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos3Headrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Airbag::VehicleCabinSeatRow2Pos3Airbag( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isdeployed_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3AirbagDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3AirbagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3AirbagDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Airbag _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3AirbagDefaultTypeInternal _VehicleCabinSeatRow2Pos3Airbag_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3Switch::VehicleCabinSeatRow2Pos3Switch( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.backrest_)*/nullptr + , /*decltype(_impl_.seating_)*/nullptr + , /*decltype(_impl_.headrest_)*/nullptr + , /*decltype(_impl_.massage_)*/nullptr + , /*decltype(_impl_.iswarmerengaged_)*/ false + + , /*decltype(_impl_.iscoolerengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.istiltforwardengaged_)*/ false + + , /*decltype(_impl_.istiltbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3Switch _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchDefaultTypeInternal _VehicleCabinSeatRow2Pos3Switch_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrest::VehicleCabinSeatRow2Pos3SwitchBackrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lumbar_)*/nullptr + , /*decltype(_impl_.sidebolster_)*/nullptr + , /*decltype(_impl_.isreclineforwardengaged_)*/ false + + , /*decltype(_impl_.isreclinebackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchBackrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchBackrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchBackrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchBackrestDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchBackrestLumbarDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrestLumbarDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchBackrestLumbarDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchBackrestLumbar _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchBackrestLumbarDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ismoresupportengaged_)*/ false + + , /*decltype(_impl_.islesssupportengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchBackrestSideBolsterDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchBackrestSideBolsterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchBackrestSideBolsterDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchBackrestSideBolsterDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchSeating::VehicleCabinSeatRow2Pos3SwitchSeating( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchSeatingDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchSeatingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchSeatingDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchSeating _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchSeatingDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchSeating_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchHeadrest::VehicleCabinSeatRow2Pos3SwitchHeadrest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isupengaged_)*/ false + + , /*decltype(_impl_.isdownengaged_)*/ false + + , /*decltype(_impl_.isforwardengaged_)*/ false + + , /*decltype(_impl_.isbackwardengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchHeadrestDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchHeadrestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchHeadrestDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchHeadrest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchHeadrestDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchHeadrest_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchMassage::VehicleCabinSeatRow2Pos3SwitchMassage( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isincreaseengaged_)*/ false + + , /*decltype(_impl_.isdecreaseengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinSeatRow2Pos3SwitchMassageDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinSeatRow2Pos3SwitchMassageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinSeatRow2Pos3SwitchMassageDefaultTypeInternal() {} + union { + VehicleCabinSeatRow2Pos3SwitchMassage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinSeatRow2Pos3SwitchMassageDefaultTypeInternal _VehicleCabinSeatRow2Pos3SwitchMassage_default_instance_; +PROTOBUF_CONSTEXPR VehicleCabinConvertible::VehicleCabinConvertible( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.status_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleCabinConvertibleDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleCabinConvertibleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleCabinConvertibleDefaultTypeInternal() {} + union { + VehicleCabinConvertible _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleCabinConvertibleDefaultTypeInternal _VehicleCabinConvertible_default_instance_; +PROTOBUF_CONSTEXPR VehicleADAS::VehicleADAS( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.activeautonomylevel_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.supportedautonomylevel_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.cruisecontrol_)*/nullptr + , /*decltype(_impl_.lanedeparturedetection_)*/nullptr + , /*decltype(_impl_.obstacledetection_)*/nullptr + , /*decltype(_impl_.abs_)*/nullptr + , /*decltype(_impl_.tcs_)*/nullptr + , /*decltype(_impl_.esc_)*/nullptr + , /*decltype(_impl_.ebd_)*/nullptr + , /*decltype(_impl_.eba_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASDefaultTypeInternal() {} + union { + VehicleADAS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASDefaultTypeInternal _VehicleADAS_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASCruiseControl::VehicleADASCruiseControl( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.isactive_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.speedset_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASCruiseControlDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASCruiseControlDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASCruiseControlDefaultTypeInternal() {} + union { + VehicleADASCruiseControl _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASCruiseControlDefaultTypeInternal _VehicleADASCruiseControl_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASLaneDepartureDetection::VehicleADASLaneDepartureDetection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iswarning_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASLaneDepartureDetectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASLaneDepartureDetectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASLaneDepartureDetectionDefaultTypeInternal() {} + union { + VehicleADASLaneDepartureDetection _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASLaneDepartureDetectionDefaultTypeInternal _VehicleADASLaneDepartureDetection_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASObstacleDetection::VehicleADASObstacleDetection( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iswarning_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASObstacleDetectionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASObstacleDetectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASObstacleDetectionDefaultTypeInternal() {} + union { + VehicleADASObstacleDetection _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASObstacleDetectionDefaultTypeInternal _VehicleADASObstacleDetection_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASABS::VehicleADASABS( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASABSDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASABSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASABSDefaultTypeInternal() {} + union { + VehicleADASABS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASABSDefaultTypeInternal _VehicleADASABS_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASTCS::VehicleADASTCS( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASTCSDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASTCSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASTCSDefaultTypeInternal() {} + union { + VehicleADASTCS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASTCSDefaultTypeInternal _VehicleADASTCS_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASESC::VehicleADASESC( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.roadfriction_)*/nullptr + , /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_.isstrongcrosswinddetected_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASESCDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASESCDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASESCDefaultTypeInternal() {} + union { + VehicleADASESC _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASESCDefaultTypeInternal _VehicleADASESC_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASESCRoadFriction::VehicleADASESCRoadFriction( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.mostprobable_)*/ 0 + + , /*decltype(_impl_.lowerbound_)*/ 0 + + , /*decltype(_impl_.upperbound_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASESCRoadFrictionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASESCRoadFrictionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASESCRoadFrictionDefaultTypeInternal() {} + union { + VehicleADASESCRoadFriction _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASESCRoadFrictionDefaultTypeInternal _VehicleADASESCRoadFriction_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASEBD::VehicleADASEBD( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASEBDDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASEBDDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASEBDDefaultTypeInternal() {} + union { + VehicleADASEBD _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASEBDDefaultTypeInternal _VehicleADASEBD_default_instance_; +PROTOBUF_CONSTEXPR VehicleADASEBA::VehicleADASEBA( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isenabled_)*/ false + + , /*decltype(_impl_.iserror_)*/ false + + , /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleADASEBADefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleADASEBADefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleADASEBADefaultTypeInternal() {} + union { + VehicleADASEBA _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleADASEBADefaultTypeInternal _VehicleADASEBA_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassis::VehicleChassis( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.axle_)*/nullptr + , /*decltype(_impl_.parkingbrake_)*/nullptr + , /*decltype(_impl_.steeringwheel_)*/nullptr + , /*decltype(_impl_.accelerator_)*/nullptr + , /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.wheelbase_)*/ 0u + + , /*decltype(_impl_.track_)*/ 0u + + , /*decltype(_impl_.axlecount_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisDefaultTypeInternal() {} + union { + VehicleChassis _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisDefaultTypeInternal _VehicleChassis_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxle::VehicleChassisAxle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.row1_)*/nullptr + , /*decltype(_impl_.row2_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleDefaultTypeInternal() {} + union { + VehicleChassisAxle _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleDefaultTypeInternal _VehicleChassisAxle_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1::VehicleChassisAxleRow1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.wheel_)*/nullptr + , /*decltype(_impl_.wheelcount_)*/ 0u + + , /*decltype(_impl_.wheeldiameter_)*/ 0 + + , /*decltype(_impl_.wheelwidth_)*/ 0 + + , /*decltype(_impl_.tirediameter_)*/ 0 + + , /*decltype(_impl_.tirewidth_)*/ 0u + + , /*decltype(_impl_.tireaspectratio_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1DefaultTypeInternal() {} + union { + VehicleChassisAxleRow1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1DefaultTypeInternal _VehicleChassisAxleRow1_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1Wheel::VehicleChassisAxleRow1Wheel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1Wheel _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelDefaultTypeInternal _VehicleChassisAxleRow1Wheel_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeft::VehicleChassisAxleRow1WheelLeft( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.tire_)*/nullptr + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelLeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelLeftDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelLeft _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelLeftDefaultTypeInternal _VehicleChassisAxleRow1WheelLeft_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeftBrake::VehicleChassisAxleRow1WheelLeftBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.fluidlevel_)*/ 0u + + , /*decltype(_impl_.padwear_)*/ 0u + + , /*decltype(_impl_.isfluidlevellow_)*/ false + + , /*decltype(_impl_.isbrakesworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelLeftBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeftBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelLeftBrakeDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelLeftBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelLeftBrakeDefaultTypeInternal _VehicleChassisAxleRow1WheelLeftBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeftTire::VehicleChassisAxleRow1WheelLeftTire( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pressure_)*/ 0u + + , /*decltype(_impl_.ispressurelow_)*/ false + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelLeftTireDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelLeftTireDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelLeftTireDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelLeftTire _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelLeftTireDefaultTypeInternal _VehicleChassisAxleRow1WheelLeftTire_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRight::VehicleChassisAxleRow1WheelRight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.tire_)*/nullptr + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelRightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelRightDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelRight _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelRightDefaultTypeInternal _VehicleChassisAxleRow1WheelRight_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRightBrake::VehicleChassisAxleRow1WheelRightBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.fluidlevel_)*/ 0u + + , /*decltype(_impl_.padwear_)*/ 0u + + , /*decltype(_impl_.isfluidlevellow_)*/ false + + , /*decltype(_impl_.isbrakesworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelRightBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRightBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelRightBrakeDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelRightBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelRightBrakeDefaultTypeInternal _VehicleChassisAxleRow1WheelRightBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRightTire::VehicleChassisAxleRow1WheelRightTire( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pressure_)*/ 0u + + , /*decltype(_impl_.ispressurelow_)*/ false + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow1WheelRightTireDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow1WheelRightTireDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow1WheelRightTireDefaultTypeInternal() {} + union { + VehicleChassisAxleRow1WheelRightTire _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow1WheelRightTireDefaultTypeInternal _VehicleChassisAxleRow1WheelRightTire_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2::VehicleChassisAxleRow2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.wheel_)*/nullptr + , /*decltype(_impl_.wheelcount_)*/ 0u + + , /*decltype(_impl_.wheeldiameter_)*/ 0 + + , /*decltype(_impl_.wheelwidth_)*/ 0 + + , /*decltype(_impl_.tirediameter_)*/ 0 + + , /*decltype(_impl_.tirewidth_)*/ 0u + + , /*decltype(_impl_.tireaspectratio_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2DefaultTypeInternal() {} + union { + VehicleChassisAxleRow2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2DefaultTypeInternal _VehicleChassisAxleRow2_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2Wheel::VehicleChassisAxleRow2Wheel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.left_)*/nullptr + , /*decltype(_impl_.right_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2Wheel _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelDefaultTypeInternal _VehicleChassisAxleRow2Wheel_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeft::VehicleChassisAxleRow2WheelLeft( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.tire_)*/nullptr + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelLeftDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeftDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelLeftDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelLeft _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelLeftDefaultTypeInternal _VehicleChassisAxleRow2WheelLeft_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeftBrake::VehicleChassisAxleRow2WheelLeftBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.fluidlevel_)*/ 0u + + , /*decltype(_impl_.padwear_)*/ 0u + + , /*decltype(_impl_.isfluidlevellow_)*/ false + + , /*decltype(_impl_.isbrakesworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelLeftBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeftBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelLeftBrakeDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelLeftBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelLeftBrakeDefaultTypeInternal _VehicleChassisAxleRow2WheelLeftBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeftTire::VehicleChassisAxleRow2WheelLeftTire( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pressure_)*/ 0u + + , /*decltype(_impl_.ispressurelow_)*/ false + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelLeftTireDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelLeftTireDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelLeftTireDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelLeftTire _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelLeftTireDefaultTypeInternal _VehicleChassisAxleRow2WheelLeftTire_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRight::VehicleChassisAxleRow2WheelRight( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.brake_)*/nullptr + , /*decltype(_impl_.tire_)*/nullptr + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelRightDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRightDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelRightDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelRight _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelRightDefaultTypeInternal _VehicleChassisAxleRow2WheelRight_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRightBrake::VehicleChassisAxleRow2WheelRightBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.fluidlevel_)*/ 0u + + , /*decltype(_impl_.padwear_)*/ 0u + + , /*decltype(_impl_.isfluidlevellow_)*/ false + + , /*decltype(_impl_.isbrakesworn_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelRightBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRightBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelRightBrakeDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelRightBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelRightBrakeDefaultTypeInternal _VehicleChassisAxleRow2WheelRightBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRightTire::VehicleChassisAxleRow2WheelRightTire( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pressure_)*/ 0u + + , /*decltype(_impl_.ispressurelow_)*/ false + + , /*decltype(_impl_.temperature_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAxleRow2WheelRightTireDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAxleRow2WheelRightTireDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAxleRow2WheelRightTireDefaultTypeInternal() {} + union { + VehicleChassisAxleRow2WheelRightTire _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAxleRow2WheelRightTireDefaultTypeInternal _VehicleChassisAxleRow2WheelRightTire_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisParkingBrake::VehicleChassisParkingBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isengaged_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisParkingBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisParkingBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisParkingBrakeDefaultTypeInternal() {} + union { + VehicleChassisParkingBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisParkingBrakeDefaultTypeInternal _VehicleChassisParkingBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisSteeringWheel::VehicleChassisSteeringWheel( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.position_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.angle_)*/ 0 + + , /*decltype(_impl_.tilt_)*/ 0u + + , /*decltype(_impl_.extension_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisSteeringWheelDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisSteeringWheelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisSteeringWheelDefaultTypeInternal() {} + union { + VehicleChassisSteeringWheel _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisSteeringWheelDefaultTypeInternal _VehicleChassisSteeringWheel_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisAccelerator::VehicleChassisAccelerator( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pedalposition_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisAcceleratorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisAcceleratorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisAcceleratorDefaultTypeInternal() {} + union { + VehicleChassisAccelerator _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisAcceleratorDefaultTypeInternal _VehicleChassisAccelerator_default_instance_; +PROTOBUF_CONSTEXPR VehicleChassisBrake::VehicleChassisBrake( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pedalposition_)*/ 0u + + , /*decltype(_impl_.isdriveremergencybrakingdetected_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleChassisBrakeDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleChassisBrakeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleChassisBrakeDefaultTypeInternal() {} + union { + VehicleChassisBrake _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleChassisBrakeDefaultTypeInternal _VehicleChassisBrake_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBD::VehicleOBD( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.dtclist_)*/{} + , /*decltype(_impl_.freezedtc_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fuelstatus_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.airstatus_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.fueltype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.status_)*/nullptr + , /*decltype(_impl_.o2_)*/nullptr + , /*decltype(_impl_.o2wr_)*/nullptr + , /*decltype(_impl_.catalyst_)*/nullptr + , /*decltype(_impl_.drivecyclestatus_)*/nullptr + , /*decltype(_impl_.pidsa_)*/ 0u + + , /*decltype(_impl_.engineload_)*/ 0 + + , /*decltype(_impl_.coolanttemperature_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim1_)*/ 0 + + , /*decltype(_impl_.longtermfueltrim1_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim2_)*/ 0 + + , /*decltype(_impl_.longtermfueltrim2_)*/ 0 + + , /*decltype(_impl_.fuelpressure_)*/ 0 + + , /*decltype(_impl_.map_)*/ 0 + + , /*decltype(_impl_.enginespeed_)*/ 0 + + , /*decltype(_impl_.speed_)*/ 0 + + , /*decltype(_impl_.timingadvance_)*/ 0 + + , /*decltype(_impl_.intaketemp_)*/ 0 + + , /*decltype(_impl_.maf_)*/ 0 + + , /*decltype(_impl_.throttleposition_)*/ 0 + + , /*decltype(_impl_.oxygensensorsin2banks_)*/ 0u + + , /*decltype(_impl_.obdstandards_)*/ 0u + + , /*decltype(_impl_.oxygensensorsin4banks_)*/ 0u + + , /*decltype(_impl_.isptoactive_)*/ false + + , /*decltype(_impl_.runtime_)*/ 0 + + , /*decltype(_impl_.pidsb_)*/ 0u + + , /*decltype(_impl_.distancewithmil_)*/ 0 + + , /*decltype(_impl_.fuelrailpressurevac_)*/ 0 + + , /*decltype(_impl_.fuelrailpressuredirect_)*/ 0 + + , /*decltype(_impl_.commandedegr_)*/ 0 + + , /*decltype(_impl_.egrerror_)*/ 0 + + , /*decltype(_impl_.commandedevap_)*/ 0 + + , /*decltype(_impl_.fuellevel_)*/ 0 + + , /*decltype(_impl_.warmupssincedtcclear_)*/ 0u + + , /*decltype(_impl_.distancesincedtcclear_)*/ 0 + + , /*decltype(_impl_.evapvaporpressure_)*/ 0 + + , /*decltype(_impl_.barometricpressure_)*/ 0 + + , /*decltype(_impl_.pidsc_)*/ 0u + + , /*decltype(_impl_.controlmodulevoltage_)*/ 0 + + , /*decltype(_impl_.absoluteload_)*/ 0 + + , /*decltype(_impl_.commandedequivalenceratio_)*/ 0 + + , /*decltype(_impl_.relativethrottleposition_)*/ 0 + + , /*decltype(_impl_.ambientairtemperature_)*/ 0 + + , /*decltype(_impl_.throttlepositionb_)*/ 0 + + , /*decltype(_impl_.throttlepositionc_)*/ 0 + + , /*decltype(_impl_.acceleratorpositiond_)*/ 0 + + , /*decltype(_impl_.acceleratorpositione_)*/ 0 + + , /*decltype(_impl_.acceleratorpositionf_)*/ 0 + + , /*decltype(_impl_.throttleactuator_)*/ 0 + + , /*decltype(_impl_.runtimemil_)*/ 0 + + , /*decltype(_impl_.timesincedtccleared_)*/ 0 + + , /*decltype(_impl_.maxmaf_)*/ 0 + + , /*decltype(_impl_.ethanolpercent_)*/ 0 + + , /*decltype(_impl_.evapvaporpressureabsolute_)*/ 0 + + , /*decltype(_impl_.evapvaporpressurealternate_)*/ 0 + + , /*decltype(_impl_.shorttermo2trim1_)*/ 0 + + , /*decltype(_impl_.shorttermo2trim3_)*/ 0 + + , /*decltype(_impl_.longtermo2trim1_)*/ 0 + + , /*decltype(_impl_.longtermo2trim3_)*/ 0 + + , /*decltype(_impl_.shorttermo2trim2_)*/ 0 + + , /*decltype(_impl_.shorttermo2trim4_)*/ 0 + + , /*decltype(_impl_.longtermo2trim2_)*/ 0 + + , /*decltype(_impl_.longtermo2trim4_)*/ 0 + + , /*decltype(_impl_.fuelrailpressureabsolute_)*/ 0 + + , /*decltype(_impl_.relativeacceleratorposition_)*/ 0 + + , /*decltype(_impl_.hybridbatteryremaining_)*/ 0 + + , /*decltype(_impl_.oiltemperature_)*/ 0 + + , /*decltype(_impl_.fuelinjectiontiming_)*/ 0 + + , /*decltype(_impl_.fuelrate_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDDefaultTypeInternal() {} + union { + VehicleOBD _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDDefaultTypeInternal _VehicleOBD_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDStatus::VehicleOBDStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ignitiontype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.ismilon_)*/ false + + , /*decltype(_impl_.dtccount_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDStatusDefaultTypeInternal() {} + union { + VehicleOBDStatus _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDStatusDefaultTypeInternal _VehicleOBDStatus_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2::VehicleOBDO2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.sensor1_)*/nullptr + , /*decltype(_impl_.sensor2_)*/nullptr + , /*decltype(_impl_.sensor3_)*/nullptr + , /*decltype(_impl_.sensor4_)*/nullptr + , /*decltype(_impl_.sensor5_)*/nullptr + , /*decltype(_impl_.sensor6_)*/nullptr + , /*decltype(_impl_.sensor7_)*/nullptr + , /*decltype(_impl_.sensor8_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2DefaultTypeInternal() {} + union { + VehicleOBDO2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2DefaultTypeInternal _VehicleOBDO2_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor1::VehicleOBDO2Sensor1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor1DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor1DefaultTypeInternal _VehicleOBDO2Sensor1_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor2::VehicleOBDO2Sensor2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor2DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor2DefaultTypeInternal _VehicleOBDO2Sensor2_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor3::VehicleOBDO2Sensor3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor3DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor3DefaultTypeInternal _VehicleOBDO2Sensor3_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor4::VehicleOBDO2Sensor4( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor4DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor4DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor4DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor4 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor4DefaultTypeInternal _VehicleOBDO2Sensor4_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor5::VehicleOBDO2Sensor5( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor5DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor5DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor5DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor5 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor5DefaultTypeInternal _VehicleOBDO2Sensor5_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor6::VehicleOBDO2Sensor6( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor6DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor6DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor6DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor6 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor6DefaultTypeInternal _VehicleOBDO2Sensor6_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor7::VehicleOBDO2Sensor7( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor7DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor7DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor7DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor7 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor7DefaultTypeInternal _VehicleOBDO2Sensor7_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2Sensor8::VehicleOBDO2Sensor8( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.shorttermfueltrim_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2Sensor8DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2Sensor8DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2Sensor8DefaultTypeInternal() {} + union { + VehicleOBDO2Sensor8 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2Sensor8DefaultTypeInternal _VehicleOBDO2Sensor8_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WR::VehicleOBDO2WR( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.sensor1_)*/nullptr + , /*decltype(_impl_.sensor2_)*/nullptr + , /*decltype(_impl_.sensor3_)*/nullptr + , /*decltype(_impl_.sensor4_)*/nullptr + , /*decltype(_impl_.sensor5_)*/nullptr + , /*decltype(_impl_.sensor6_)*/nullptr + , /*decltype(_impl_.sensor7_)*/nullptr + , /*decltype(_impl_.sensor8_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRDefaultTypeInternal() {} + union { + VehicleOBDO2WR _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRDefaultTypeInternal _VehicleOBDO2WR_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor1::VehicleOBDO2WRSensor1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor1DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor1DefaultTypeInternal _VehicleOBDO2WRSensor1_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor2::VehicleOBDO2WRSensor2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor2DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor2DefaultTypeInternal _VehicleOBDO2WRSensor2_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor3::VehicleOBDO2WRSensor3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor3DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor3DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor3DefaultTypeInternal _VehicleOBDO2WRSensor3_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor4::VehicleOBDO2WRSensor4( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor4DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor4DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor4DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor4 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor4DefaultTypeInternal _VehicleOBDO2WRSensor4_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor5::VehicleOBDO2WRSensor5( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor5DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor5DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor5DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor5 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor5DefaultTypeInternal _VehicleOBDO2WRSensor5_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor6::VehicleOBDO2WRSensor6( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor6DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor6DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor6DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor6 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor6DefaultTypeInternal _VehicleOBDO2WRSensor6_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor7::VehicleOBDO2WRSensor7( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor7DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor7DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor7DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor7 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor7DefaultTypeInternal _VehicleOBDO2WRSensor7_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor8::VehicleOBDO2WRSensor8( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.lambda_)*/ 0 + + , /*decltype(_impl_.voltage_)*/ 0 + + , /*decltype(_impl_.current_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDO2WRSensor8DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDO2WRSensor8DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDO2WRSensor8DefaultTypeInternal() {} + union { + VehicleOBDO2WRSensor8 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDO2WRSensor8DefaultTypeInternal _VehicleOBDO2WRSensor8_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDCatalyst::VehicleOBDCatalyst( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.bank1_)*/nullptr + , /*decltype(_impl_.bank2_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDCatalystDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDCatalystDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDCatalystDefaultTypeInternal() {} + union { + VehicleOBDCatalyst _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDCatalystDefaultTypeInternal _VehicleOBDCatalyst_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDCatalystBank1::VehicleOBDCatalystBank1( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.temperature1_)*/ 0 + + , /*decltype(_impl_.temperature2_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDCatalystBank1DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDCatalystBank1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDCatalystBank1DefaultTypeInternal() {} + union { + VehicleOBDCatalystBank1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDCatalystBank1DefaultTypeInternal _VehicleOBDCatalystBank1_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDCatalystBank2::VehicleOBDCatalystBank2( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.temperature1_)*/ 0 + + , /*decltype(_impl_.temperature2_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDCatalystBank2DefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDCatalystBank2DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDCatalystBank2DefaultTypeInternal() {} + union { + VehicleOBDCatalystBank2 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDCatalystBank2DefaultTypeInternal _VehicleOBDCatalystBank2_default_instance_; +PROTOBUF_CONSTEXPR VehicleOBDDriveCycleStatus::VehicleOBDDriveCycleStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.ignitiontype_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.ismilon_)*/ false + + , /*decltype(_impl_.dtccount_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleOBDDriveCycleStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleOBDDriveCycleStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleOBDDriveCycleStatusDefaultTypeInternal() {} + union { + VehicleOBDDriveCycleStatus _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleOBDDriveCycleStatusDefaultTypeInternal _VehicleOBDDriveCycleStatus_default_instance_; +PROTOBUF_CONSTEXPR VehicleDriver::VehicleDriver( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.identifier_)*/nullptr + , /*decltype(_impl_.distractionlevel_)*/ 0 + + , /*decltype(_impl_.iseyesonroad_)*/ false + + , /*decltype(_impl_.attentiveprobability_)*/ 0 + + , /*decltype(_impl_.fatiguelevel_)*/ 0 + + , /*decltype(_impl_.heartrate_)*/ 0u + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleDriverDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleDriverDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleDriverDefaultTypeInternal() {} + union { + VehicleDriver _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleDriverDefaultTypeInternal _VehicleDriver_default_instance_; +PROTOBUF_CONSTEXPR VehicleDriverIdentifier::VehicleDriverIdentifier( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.subject_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_.issuer_)*/ { + &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {} + } + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleDriverIdentifierDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleDriverIdentifierDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleDriverIdentifierDefaultTypeInternal() {} + union { + VehicleDriverIdentifier _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleDriverIdentifierDefaultTypeInternal _VehicleDriverIdentifier_default_instance_; +PROTOBUF_CONSTEXPR VehicleExterior::VehicleExterior( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.airtemperature_)*/ 0 + + , /*decltype(_impl_.humidity_)*/ 0 + + , /*decltype(_impl_.lightintensity_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleExteriorDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleExteriorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleExteriorDefaultTypeInternal() {} + union { + VehicleExterior _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleExteriorDefaultTypeInternal _VehicleExterior_default_instance_; +PROTOBUF_CONSTEXPR VehicleService::VehicleService( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isservicedue_)*/ false + + , /*decltype(_impl_.distancetoservice_)*/ 0 + + , /*decltype(_impl_.timetoservice_)*/ 0 + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleServiceDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleServiceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleServiceDefaultTypeInternal() {} + union { + VehicleService _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleServiceDefaultTypeInternal _VehicleService_default_instance_; +PROTOBUF_CONSTEXPR VehicleConnectivity::VehicleConnectivity( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isconnectivityavailable_)*/ false + + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VehicleConnectivityDefaultTypeInternal { + PROTOBUF_CONSTEXPR VehicleConnectivityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VehicleConnectivityDefaultTypeInternal() {} + union { + VehicleConnectivity _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VehicleConnectivityDefaultTypeInternal _VehicleConnectivity_default_instance_; +} // namespace vss +static ::_pb::Metadata file_level_metadata_vss_2fvspec_2eproto[269]; +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_vss_2fvspec_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_vss_2fvspec_2eproto = nullptr; +const ::uint32_t TableStruct_vss_2fvspec_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.versionvss_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.vehicleidentification_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.lowvoltagesystemstate_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.lowvoltagebattery_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.travelleddistance_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.tripmeterreading_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.isbrokendown_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.ismoving_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.averagespeed_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.acceleration_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.angularvelocity_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.roofload_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.cargovolume_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.emissionsco2_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.currentoverallweight_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.curbweight_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.grossweight_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.maxtowweight_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.maxtowballweight_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.length_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.width_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.trailer_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.currentlocation_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.powertrain_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.body_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.cabin_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.adas_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.chassis_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.obd_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.driver_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.exterior_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.service_), + PROTOBUF_FIELD_OFFSET(::vss::Vehicle, _impl_.connectivity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleVersionVSS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleVersionVSS, _impl_.major_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVersionVSS, _impl_.minor_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVersionVSS, _impl_.patch_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVersionVSS, _impl_.label_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vin_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.wmi_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.brand_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.model_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.year_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.acrisscode_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.bodytype_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.datevehiclefirstregistered_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.meetsemissionstandard_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.productiondate_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.purchasedate_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehiclemodeldate_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehicleconfiguration_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehicleseatingcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehiclespecialusage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehicleinteriorcolor_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.vehicleinteriortype_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleVehicleIdentification, _impl_.knownvehicledamages_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleLowVoltageBattery, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleLowVoltageBattery, _impl_.nominalvoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleLowVoltageBattery, _impl_.nominalcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleLowVoltageBattery, _impl_.currentvoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleLowVoltageBattery, _impl_.currentcurrent_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleAcceleration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleAcceleration, _impl_.longitudinal_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleAcceleration, _impl_.lateral_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleAcceleration, _impl_.vertical_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleAngularVelocity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleAngularVelocity, _impl_.roll_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleAngularVelocity, _impl_.pitch_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleAngularVelocity, _impl_.yaw_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleTrailer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleTrailer, _impl_.isconnected_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.latitude_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.longitude_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.heading_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.horizontalaccuracy_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.altitude_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.verticalaccuracy_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocation, _impl_.gnssreceiver_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiver, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiver, _impl_.fixtype_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiver, _impl_.mountingposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiverMountingPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiverMountingPosition, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiverMountingPosition, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCurrentLocationGNSSReceiverMountingPosition, _impl_.z_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.accumulatedbrakingenergy_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.combustionengine_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.transmission_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.electricmotor_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.tractionbattery_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrain, _impl_.fuelsystem_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.enginecode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.displacement_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.strokelength_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.bore_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.configuration_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.numberofcylinders_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.numberofvalvespercylinder_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.compressionratio_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.engineoilcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.enginecoolantcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.maxpower_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.maxtorque_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.aspirationtype_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.engineoillevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.oilliferemaining_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.isrunning_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.enginehours_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.idlehours_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.ect_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.eot_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.maf_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.tps_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.eop_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.power_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.torque_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.dieselexhaustfluid_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngine, _impl_.dieselparticulatefilter_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.capacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.islevellow_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter, _impl_.inlettemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter, _impl_.outlettemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter, _impl_.deltapressure_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.gearcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.drivetype_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.travelleddistance_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.currentgear_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.selectedgear_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.isparklockengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.islowrangeengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.iselectricalpowertrainengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.performancemode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.gearchangemode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.clutchengagement_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.clutchwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.difflockfrontengagement_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.difflockrearengagement_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTransmission, _impl_.torquedistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.enginecode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.maxpower_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.maxtorque_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.maxregenpower_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.maxregentorque_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.coolanttemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.power_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainElectricMotor, _impl_.torque_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.productiondate_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.ispowerconnected_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.isgroundconnected_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.grosscapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.netcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.stateofhealth_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.stateofcharge_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.nominalvoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.maxvoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.currentvoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.currentcurrent_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.currentpower_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.accumulatedchargedenergy_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.accumulatedconsumedenergy_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.accumulatedchargedthroughput_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.accumulatedconsumedthroughput_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.powerloss_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.charging_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBattery, _impl_.dcdc_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryTemperature, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryTemperature, _impl_.average_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryTemperature, _impl_.min_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryTemperature, _impl_.max_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryStateOfCharge, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryStateOfCharge, _impl_.current_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryStateOfCharge, _impl_.displayed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargelimit_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.maximumchargingcurrent_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargeportflap_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.ischargingcableconnected_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.ischargingcablelocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargeplugtype_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.ischarging_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.isdischarging_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.startstopcharging_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargecurrent_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargevoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.powerloss_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.chargerate_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.timetocomplete_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryCharging, _impl_.timer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.dc_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.phase1_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.phase2_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.dc_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.phase1_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.phase2_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.dc_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.phase1_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.phase2_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingTimer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingTimer, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryChargingTimer, _impl_.time_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryDCDC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryDCDC, _impl_.powerloss_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainTractionBatteryDCDC, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.supportedfueltypes_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.supportedfuel_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.hybridtype_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.tankcapacity_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.level_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.instantconsumption_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.averageconsumption_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.consumptionsincestart_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.timesincestart_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.isenginestopstartenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehiclePowertrainFuelSystem, _impl_.isfuellevellow_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.bodytype_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.refuelposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.hood_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.trunk_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.horn_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.raindetection_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.windshield_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.lights_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.mirrors_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBody, _impl_.rearmainspoilerposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyHood, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyHood, _impl_.isopen_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunk, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunk, _impl_.front_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunk, _impl_.rear_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkFront, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkFront, _impl_.islocked_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkRear, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyTrunkRear, _impl_.islocked_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyHorn, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyHorn, _impl_.isactive_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyRaindetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyRaindetection, _impl_.intensity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshield, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshield, _impl_.front_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshield, _impl_.rear_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFront, _impl_.wiping_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFront, _impl_.isheatingon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFront, _impl_.washerfluid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _impl_.intensity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _impl_.system_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _impl_.wiperwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWiping, _impl_.iswipersworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.frequency_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.targetposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.actualposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.drivecurrent_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.iswiping_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.isendingwipecycle_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.iswipererror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.ispositionreached_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.isblocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWipingSystem, _impl_.isoverheated_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWasherFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWasherFluid, _impl_.islevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldFrontWasherFluid, _impl_.level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRear, _impl_.wiping_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRear, _impl_.isheatingon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRear, _impl_.washerfluid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _impl_.intensity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _impl_.system_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _impl_.wiperwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWiping, _impl_.iswipersworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.frequency_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.targetposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.actualposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.drivecurrent_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.iswiping_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.isendingwipecycle_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.iswipererror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.ispositionreached_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.isblocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWipingSystem, _impl_.isoverheated_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWasherFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWasherFluid, _impl_.islevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyWindshieldRearWasherFluid, _impl_.level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.lightswitch_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.ishighbeamswitchon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.beam_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.running_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.backup_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.parking_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.fog_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.licenseplate_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.brake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.hazard_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLights, _impl_.directionindicator_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeam, _impl_.low_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeam, _impl_.high_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamLow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamLow, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamLow, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamHigh, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamHigh, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBeamHigh, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsRunning, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsRunning, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsRunning, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBackup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBackup, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBackup, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsParking, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsParking, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsParking, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFog, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFog, _impl_.rear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFog, _impl_.front_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogRear, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogRear, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogFront, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsFogFront, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsLicensePlate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsLicensePlate, _impl_.ison_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsLicensePlate, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBrake, _impl_.isactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsBrake, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsHazard, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsHazard, _impl_.issignaling_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsHazard, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicator, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicator, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicator, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorLeft, _impl_.issignaling_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorLeft, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorRight, _impl_.issignaling_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyLightsDirectionIndicatorRight, _impl_.isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrors, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrors, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrors, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsLeft, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsLeft, _impl_.pan_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsLeft, _impl_.isheatingon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsRight, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsRight, _impl_.pan_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleBodyMirrorsRight, _impl_.isheatingon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.rearshade_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.hvac_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.infotainment_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.sunroof_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.rearviewmirror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.lights_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.door_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.doorcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.seat_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.driverposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.seatrowcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.seatposcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabin, _impl_.convertible_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinRearShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinRearShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinRearShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.station_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.isrecirculationactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.isfrontdefrosteractive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.isreardefrosteractive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.isairconditioningactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVAC, _impl_.ambientairtemperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStation, _impl_.row1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStation, _impl_.row2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStation, _impl_.row3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStation, _impl_.row4_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Left, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Left, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Left, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Right, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Right, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow1Right, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Left, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Left, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Left, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Right, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Right, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow2Right, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Left, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Left, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Left, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Right, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Right, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow3Right, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Left, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Left, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Left, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Right, _impl_.fanspeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Right, _impl_.temperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinHVACStationRow4Right, _impl_.airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainment, _impl_.media_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainment, _impl_.navigation_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainment, _impl_.hmi_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainment, _impl_.smartphoneprojection_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _impl_.action_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _impl_.played_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _impl_.declineduri_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _impl_.selecteduri_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMedia, _impl_.volume_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.source_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.artist_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.album_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.track_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.uri_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentMediaPlayed, _impl_.playbackrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigation, _impl_.destinationset_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigation, _impl_.mute_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigation, _impl_.volume_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigationDestinationSet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigationDestinationSet, _impl_.latitude_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentNavigationDestinationSet, _impl_.longitude_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.currentlanguage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.dateformat_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.timeformat_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.distanceunit_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.fuelvolumeunit_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.fueleconomyunits_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.eveconomyunits_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.temperatureunit_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.tirepressureunit_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.brightness_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentHMI, _impl_.daynightmode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentSmartphoneProjection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentSmartphoneProjection, _impl_.active_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentSmartphoneProjection, _impl_.source_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinInfotainmentSmartphoneProjection, _impl_.supportedmode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroof, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroof, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroof, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroof, _impl_.shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroofShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroofShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSunroofShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinRearviewMirror, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinRearviewMirror, _impl_.dimminglevel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.isgloveboxon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.istrunkon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.isdomeon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.ambientlight_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.lightintensity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLights, _impl_.spotlight_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlight, _impl_.row1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlight, _impl_.row2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlight, _impl_.row3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlight, _impl_.row4_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow1, _impl_.issharedon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow1, _impl_.islefton_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow1, _impl_.isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow2, _impl_.issharedon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow2, _impl_.islefton_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow2, _impl_.isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow3, _impl_.issharedon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow3, _impl_.islefton_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow3, _impl_.isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow4, _impl_.issharedon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow4, _impl_.islefton_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinLightsSpotlightRow4, _impl_.isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoor, _impl_.row1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoor, _impl_.row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _impl_.islocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _impl_.window_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _impl_.ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Left, _impl_.shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftWindow, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftWindow, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftWindow, _impl_.ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftWindow, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1LeftShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _impl_.islocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _impl_.window_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _impl_.ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1Right, _impl_.shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightWindow, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightWindow, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightWindow, _impl_.ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightWindow, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow1RightShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _impl_.islocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _impl_.window_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _impl_.ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Left, _impl_.shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftWindow, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftWindow, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftWindow, _impl_.ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftWindow, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2LeftShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _impl_.islocked_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _impl_.window_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _impl_.ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2Right, _impl_.shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightWindow, _impl_.isopen_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightWindow, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightWindow, _impl_.ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightWindow, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightShade, _impl_.switch__), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinDoorRow2RightShade, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeat, _impl_.row1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeat, _impl_.row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1, _impl_.pos1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1, _impl_.pos2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1, _impl_.pos3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos1SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos2SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow1Pos3SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2, _impl_.pos1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2, _impl_.pos2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2, _impl_.pos3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos1SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos2SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.isoccupied_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.occupant_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.isbelted_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.heating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.massage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.airbag_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3, _impl_.switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Occupant, _impl_.identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Backrest, _impl_.recline_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Backrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Backrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3BackrestLumbar, _impl_.support_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3BackrestLumbar, _impl_.height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster, _impl_.support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Seating, _impl_.length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Headrest, _impl_.height_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Headrest, _impl_.angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Airbag, _impl_.isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.backrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.seating_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.headrest_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3Switch, _impl_.massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.lumbar_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _impl_.ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _impl_.islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchSeating, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchSeating, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isupengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isdownengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchMassage, _impl_.isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinSeatRow2Pos3SwitchMassage, _impl_.isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinConvertible, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleCabinConvertible, _impl_.status_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.activeautonomylevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.supportedautonomylevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.cruisecontrol_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.lanedeparturedetection_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.obstacledetection_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.abs_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.tcs_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.esc_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.ebd_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADAS, _impl_.eba_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASCruiseControl, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASCruiseControl, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASCruiseControl, _impl_.isactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASCruiseControl, _impl_.speedset_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASCruiseControl, _impl_.iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASLaneDepartureDetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASLaneDepartureDetection, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASLaneDepartureDetection, _impl_.iswarning_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASLaneDepartureDetection, _impl_.iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASObstacleDetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASObstacleDetection, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASObstacleDetection, _impl_.iswarning_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASObstacleDetection, _impl_.iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASABS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASABS, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASABS, _impl_.iserror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASABS, _impl_.isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASTCS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASTCS, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASTCS, _impl_.iserror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASTCS, _impl_.isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _impl_.iserror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _impl_.isengaged_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _impl_.isstrongcrosswinddetected_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESC, _impl_.roadfriction_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESCRoadFriction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESCRoadFriction, _impl_.mostprobable_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESCRoadFriction, _impl_.lowerbound_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASESCRoadFriction, _impl_.upperbound_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBD, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBD, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBD, _impl_.iserror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBD, _impl_.isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBA, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBA, _impl_.isenabled_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBA, _impl_.iserror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleADASEBA, _impl_.isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.wheelbase_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.track_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.axle_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.axlecount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.parkingbrake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.steeringwheel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.accelerator_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassis, _impl_.brake_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxle, _impl_.row1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxle, _impl_.row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.wheelcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.wheeldiameter_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.wheelwidth_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.tirediameter_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.tirewidth_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.tireaspectratio_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1, _impl_.wheel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1Wheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1Wheel, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1Wheel, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeft, _impl_.brake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeft, _impl_.tire_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeft, _impl_.speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftBrake, _impl_.fluidlevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftBrake, _impl_.isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftBrake, _impl_.padwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftBrake, _impl_.isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftTire, _impl_.pressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftTire, _impl_.ispressurelow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelLeftTire, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRight, _impl_.brake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRight, _impl_.tire_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRight, _impl_.speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightBrake, _impl_.fluidlevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightBrake, _impl_.isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightBrake, _impl_.padwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightBrake, _impl_.isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightTire, _impl_.pressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightTire, _impl_.ispressurelow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow1WheelRightTire, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.wheelcount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.wheeldiameter_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.wheelwidth_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.tirediameter_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.tirewidth_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.tireaspectratio_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2, _impl_.wheel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2Wheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2Wheel, _impl_.left_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2Wheel, _impl_.right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeft, _impl_.brake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeft, _impl_.tire_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeft, _impl_.speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftBrake, _impl_.fluidlevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftBrake, _impl_.isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftBrake, _impl_.padwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftBrake, _impl_.isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftTire, _impl_.pressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftTire, _impl_.ispressurelow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelLeftTire, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRight, _impl_.brake_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRight, _impl_.tire_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRight, _impl_.speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightBrake, _impl_.fluidlevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightBrake, _impl_.isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightBrake, _impl_.padwear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightBrake, _impl_.isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightTire, _impl_.pressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightTire, _impl_.ispressurelow_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAxleRow2WheelRightTire, _impl_.temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisParkingBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisParkingBrake, _impl_.isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisSteeringWheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisSteeringWheel, _impl_.angle_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisSteeringWheel, _impl_.tilt_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisSteeringWheel, _impl_.extension_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisSteeringWheel, _impl_.position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAccelerator, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisAccelerator, _impl_.pedalposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisBrake, _impl_.pedalposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleChassisBrake, _impl_.isdriveremergencybrakingdetected_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.pidsa_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.dtclist_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.freezedtc_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelstatus_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.engineload_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.coolanttemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermfueltrim1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermfueltrim1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermfueltrim2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermfueltrim2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelpressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.enginespeed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.timingadvance_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.intaketemp_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.maf_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.throttleposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.airstatus_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.oxygensensorsin2banks_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.o2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.obdstandards_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.oxygensensorsin4banks_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.isptoactive_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.runtime_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.pidsb_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.distancewithmil_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelrailpressurevac_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelrailpressuredirect_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.o2wr_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.commandedegr_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.egrerror_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.commandedevap_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuellevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.warmupssincedtcclear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.distancesincedtcclear_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.evapvaporpressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.barometricpressure_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.catalyst_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.pidsc_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.drivecyclestatus_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.controlmodulevoltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.absoluteload_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.commandedequivalenceratio_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.relativethrottleposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.ambientairtemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.throttlepositionb_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.throttlepositionc_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.acceleratorpositiond_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.acceleratorpositione_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.acceleratorpositionf_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.throttleactuator_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.runtimemil_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.timesincedtccleared_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.maxmaf_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fueltype_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.ethanolpercent_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.evapvaporpressureabsolute_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.evapvaporpressurealternate_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermo2trim1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermo2trim3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermo2trim1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermo2trim3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermo2trim2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.shorttermo2trim4_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermo2trim2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.longtermo2trim4_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelrailpressureabsolute_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.relativeacceleratorposition_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.hybridbatteryremaining_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.oiltemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelinjectiontiming_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBD, _impl_.fuelrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDStatus, _impl_.ismilon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDStatus, _impl_.dtccount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDStatus, _impl_.ignitiontype_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor4_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor5_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor6_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor7_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2, _impl_.sensor8_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor1, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor1, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor2, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor2, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor3, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor3, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor4, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor4, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor5, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor5, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor5, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor6, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor6, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor6, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor7, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor7, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor7, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor8, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor8, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2Sensor8, _impl_.shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor2_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor3_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor4_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor5_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor6_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor7_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WR, _impl_.sensor8_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor1, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor1, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor1, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor2, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor2, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor2, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor3, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor3, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor3, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor4, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor4, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor4, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor5, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor5, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor5, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor5, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor6, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor6, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor6, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor6, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor7, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor7, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor7, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor7, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor8, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor8, _impl_.lambda_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor8, _impl_.voltage_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDO2WRSensor8, _impl_.current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalyst, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalyst, _impl_.bank1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalyst, _impl_.bank2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank1, _impl_.temperature1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank1, _impl_.temperature2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank2, _impl_.temperature1_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDCatalystBank2, _impl_.temperature2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDDriveCycleStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDDriveCycleStatus, _impl_.ismilon_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDDriveCycleStatus, _impl_.dtccount_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleOBDDriveCycleStatus, _impl_.ignitiontype_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.identifier_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.distractionlevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.iseyesonroad_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.attentiveprobability_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.fatiguelevel_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriver, _impl_.heartrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriverIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriverIdentifier, _impl_.subject_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleDriverIdentifier, _impl_.issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleExterior, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleExterior, _impl_.airtemperature_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleExterior, _impl_.humidity_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleExterior, _impl_.lightintensity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleService, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleService, _impl_.isservicedue_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleService, _impl_.distancetoservice_), + PROTOBUF_FIELD_OFFSET(::vss::VehicleService, _impl_.timetoservice_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::vss::VehicleConnectivity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::vss::VehicleConnectivity, _impl_.isconnectivityavailable_), +}; + +static const ::_pbi::MigrationSchema + schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::vss::Vehicle)}, + { 43, -1, -1, sizeof(::vss::VehicleVersionVSS)}, + { 55, -1, -1, sizeof(::vss::VehicleVehicleIdentification)}, + { 81, -1, -1, sizeof(::vss::VehicleLowVoltageBattery)}, + { 93, -1, -1, sizeof(::vss::VehicleAcceleration)}, + { 104, -1, -1, sizeof(::vss::VehicleAngularVelocity)}, + { 115, -1, -1, sizeof(::vss::VehicleTrailer)}, + { 124, -1, -1, sizeof(::vss::VehicleCurrentLocation)}, + { 140, -1, -1, sizeof(::vss::VehicleCurrentLocationGNSSReceiver)}, + { 150, -1, -1, sizeof(::vss::VehicleCurrentLocationGNSSReceiverMountingPosition)}, + { 161, -1, -1, sizeof(::vss::VehiclePowertrain)}, + { 177, -1, -1, sizeof(::vss::VehiclePowertrainCombustionEngine)}, + { 214, -1, -1, sizeof(::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid)}, + { 226, -1, -1, sizeof(::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter)}, + { 237, -1, -1, sizeof(::vss::VehiclePowertrainTransmission)}, + { 262, -1, -1, sizeof(::vss::VehiclePowertrainElectricMotor)}, + { 280, -1, -1, sizeof(::vss::VehiclePowertrainTractionBattery)}, + { 310, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryTemperature)}, + { 321, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryStateOfCharge)}, + { 331, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryCharging)}, + { 356, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent)}, + { 368, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent)}, + { 380, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage)}, + { 392, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryChargingTimer)}, + { 402, -1, -1, sizeof(::vss::VehiclePowertrainTractionBatteryDCDC)}, + { 412, -1, -1, sizeof(::vss::VehiclePowertrainFuelSystem)}, + { 432, -1, -1, sizeof(::vss::VehicleBody)}, + { 450, -1, -1, sizeof(::vss::VehicleBodyHood)}, + { 459, -1, -1, sizeof(::vss::VehicleBodyTrunk)}, + { 469, -1, -1, sizeof(::vss::VehicleBodyTrunkFront)}, + { 479, -1, -1, sizeof(::vss::VehicleBodyTrunkRear)}, + { 489, -1, -1, sizeof(::vss::VehicleBodyHorn)}, + { 498, -1, -1, sizeof(::vss::VehicleBodyRaindetection)}, + { 507, -1, -1, sizeof(::vss::VehicleBodyWindshield)}, + { 517, -1, -1, sizeof(::vss::VehicleBodyWindshieldFront)}, + { 528, -1, -1, sizeof(::vss::VehicleBodyWindshieldFrontWiping)}, + { 541, -1, -1, sizeof(::vss::VehicleBodyWindshieldFrontWipingSystem)}, + { 560, -1, -1, sizeof(::vss::VehicleBodyWindshieldFrontWasherFluid)}, + { 570, -1, -1, sizeof(::vss::VehicleBodyWindshieldRear)}, + { 581, -1, -1, sizeof(::vss::VehicleBodyWindshieldRearWiping)}, + { 594, -1, -1, sizeof(::vss::VehicleBodyWindshieldRearWipingSystem)}, + { 613, -1, -1, sizeof(::vss::VehicleBodyWindshieldRearWasherFluid)}, + { 623, -1, -1, sizeof(::vss::VehicleBodyLights)}, + { 642, -1, -1, sizeof(::vss::VehicleBodyLightsBeam)}, + { 652, -1, -1, sizeof(::vss::VehicleBodyLightsBeamLow)}, + { 662, -1, -1, sizeof(::vss::VehicleBodyLightsBeamHigh)}, + { 672, -1, -1, sizeof(::vss::VehicleBodyLightsRunning)}, + { 682, -1, -1, sizeof(::vss::VehicleBodyLightsBackup)}, + { 692, -1, -1, sizeof(::vss::VehicleBodyLightsParking)}, + { 702, -1, -1, sizeof(::vss::VehicleBodyLightsFog)}, + { 712, -1, -1, sizeof(::vss::VehicleBodyLightsFogRear)}, + { 722, -1, -1, sizeof(::vss::VehicleBodyLightsFogFront)}, + { 732, -1, -1, sizeof(::vss::VehicleBodyLightsLicensePlate)}, + { 742, -1, -1, sizeof(::vss::VehicleBodyLightsBrake)}, + { 752, -1, -1, sizeof(::vss::VehicleBodyLightsHazard)}, + { 762, -1, -1, sizeof(::vss::VehicleBodyLightsDirectionIndicator)}, + { 772, -1, -1, sizeof(::vss::VehicleBodyLightsDirectionIndicatorLeft)}, + { 782, -1, -1, sizeof(::vss::VehicleBodyLightsDirectionIndicatorRight)}, + { 792, -1, -1, sizeof(::vss::VehicleBodyMirrors)}, + { 802, -1, -1, sizeof(::vss::VehicleBodyMirrorsLeft)}, + { 813, -1, -1, sizeof(::vss::VehicleBodyMirrorsRight)}, + { 824, -1, -1, sizeof(::vss::VehicleCabin)}, + { 845, -1, -1, sizeof(::vss::VehicleCabinRearShade)}, + { 855, -1, -1, sizeof(::vss::VehicleCabinHVAC)}, + { 869, -1, -1, sizeof(::vss::VehicleCabinHVACStation)}, + { 881, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow1)}, + { 891, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow1Left)}, + { 902, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow1Right)}, + { 913, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow2)}, + { 923, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow2Left)}, + { 934, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow2Right)}, + { 945, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow3)}, + { 955, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow3Left)}, + { 966, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow3Right)}, + { 977, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow4)}, + { 987, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow4Left)}, + { 998, -1, -1, sizeof(::vss::VehicleCabinHVACStationRow4Right)}, + { 1009, -1, -1, sizeof(::vss::VehicleCabinInfotainment)}, + { 1021, -1, -1, sizeof(::vss::VehicleCabinInfotainmentMedia)}, + { 1034, -1, -1, sizeof(::vss::VehicleCabinInfotainmentMediaPlayed)}, + { 1048, -1, -1, sizeof(::vss::VehicleCabinInfotainmentNavigation)}, + { 1059, -1, -1, sizeof(::vss::VehicleCabinInfotainmentNavigationDestinationSet)}, + { 1069, -1, -1, sizeof(::vss::VehicleCabinInfotainmentHMI)}, + { 1088, -1, -1, sizeof(::vss::VehicleCabinInfotainmentSmartphoneProjection)}, + { 1099, -1, -1, sizeof(::vss::VehicleCabinSunroof)}, + { 1110, -1, -1, sizeof(::vss::VehicleCabinSunroofShade)}, + { 1120, -1, -1, sizeof(::vss::VehicleCabinRearviewMirror)}, + { 1129, -1, -1, sizeof(::vss::VehicleCabinLights)}, + { 1143, -1, -1, sizeof(::vss::VehicleCabinLightsSpotlight)}, + { 1155, -1, -1, sizeof(::vss::VehicleCabinLightsSpotlightRow1)}, + { 1166, -1, -1, sizeof(::vss::VehicleCabinLightsSpotlightRow2)}, + { 1177, -1, -1, sizeof(::vss::VehicleCabinLightsSpotlightRow3)}, + { 1188, -1, -1, sizeof(::vss::VehicleCabinLightsSpotlightRow4)}, + { 1199, -1, -1, sizeof(::vss::VehicleCabinDoor)}, + { 1209, -1, -1, sizeof(::vss::VehicleCabinDoorRow1)}, + { 1219, -1, -1, sizeof(::vss::VehicleCabinDoorRow1Left)}, + { 1232, -1, -1, sizeof(::vss::VehicleCabinDoorRow1LeftWindow)}, + { 1244, -1, -1, sizeof(::vss::VehicleCabinDoorRow1LeftShade)}, + { 1254, -1, -1, sizeof(::vss::VehicleCabinDoorRow1Right)}, + { 1267, -1, -1, sizeof(::vss::VehicleCabinDoorRow1RightWindow)}, + { 1279, -1, -1, sizeof(::vss::VehicleCabinDoorRow1RightShade)}, + { 1289, -1, -1, sizeof(::vss::VehicleCabinDoorRow2)}, + { 1299, -1, -1, sizeof(::vss::VehicleCabinDoorRow2Left)}, + { 1312, -1, -1, sizeof(::vss::VehicleCabinDoorRow2LeftWindow)}, + { 1324, -1, -1, sizeof(::vss::VehicleCabinDoorRow2LeftShade)}, + { 1334, -1, -1, sizeof(::vss::VehicleCabinDoorRow2Right)}, + { 1347, -1, -1, sizeof(::vss::VehicleCabinDoorRow2RightWindow)}, + { 1359, -1, -1, sizeof(::vss::VehicleCabinDoorRow2RightShade)}, + { 1369, -1, -1, sizeof(::vss::VehicleCabinSeat)}, + { 1379, -1, -1, sizeof(::vss::VehicleCabinSeatRow1)}, + { 1390, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1)}, + { 1411, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Occupant)}, + { 1420, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier)}, + { 1430, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Backrest)}, + { 1441, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1BackrestLumbar)}, + { 1451, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster)}, + { 1460, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Seating)}, + { 1469, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Headrest)}, + { 1479, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Airbag)}, + { 1488, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1Switch)}, + { 1508, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchBackrest)}, + { 1520, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar)}, + { 1532, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster)}, + { 1542, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchSeating)}, + { 1552, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest)}, + { 1564, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos1SwitchMassage)}, + { 1574, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2)}, + { 1595, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Occupant)}, + { 1604, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier)}, + { 1614, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Backrest)}, + { 1625, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2BackrestLumbar)}, + { 1635, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster)}, + { 1644, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Seating)}, + { 1653, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Headrest)}, + { 1663, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Airbag)}, + { 1672, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2Switch)}, + { 1692, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchBackrest)}, + { 1704, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar)}, + { 1716, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster)}, + { 1726, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchSeating)}, + { 1736, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest)}, + { 1748, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos2SwitchMassage)}, + { 1758, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3)}, + { 1779, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Occupant)}, + { 1788, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier)}, + { 1798, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Backrest)}, + { 1809, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3BackrestLumbar)}, + { 1819, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster)}, + { 1828, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Seating)}, + { 1837, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Headrest)}, + { 1847, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Airbag)}, + { 1856, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3Switch)}, + { 1876, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchBackrest)}, + { 1888, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar)}, + { 1900, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster)}, + { 1910, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchSeating)}, + { 1920, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest)}, + { 1932, -1, -1, sizeof(::vss::VehicleCabinSeatRow1Pos3SwitchMassage)}, + { 1942, -1, -1, sizeof(::vss::VehicleCabinSeatRow2)}, + { 1953, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1)}, + { 1974, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Occupant)}, + { 1983, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier)}, + { 1993, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Backrest)}, + { 2004, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1BackrestLumbar)}, + { 2014, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster)}, + { 2023, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Seating)}, + { 2032, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Headrest)}, + { 2042, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Airbag)}, + { 2051, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1Switch)}, + { 2071, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchBackrest)}, + { 2083, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar)}, + { 2095, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster)}, + { 2105, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchSeating)}, + { 2115, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest)}, + { 2127, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos1SwitchMassage)}, + { 2137, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2)}, + { 2158, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Occupant)}, + { 2167, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier)}, + { 2177, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Backrest)}, + { 2188, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2BackrestLumbar)}, + { 2198, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster)}, + { 2207, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Seating)}, + { 2216, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Headrest)}, + { 2226, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Airbag)}, + { 2235, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2Switch)}, + { 2255, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchBackrest)}, + { 2267, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar)}, + { 2279, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster)}, + { 2289, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchSeating)}, + { 2299, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest)}, + { 2311, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos2SwitchMassage)}, + { 2321, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3)}, + { 2342, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Occupant)}, + { 2351, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier)}, + { 2361, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Backrest)}, + { 2372, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3BackrestLumbar)}, + { 2382, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster)}, + { 2391, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Seating)}, + { 2400, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Headrest)}, + { 2410, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Airbag)}, + { 2419, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3Switch)}, + { 2439, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchBackrest)}, + { 2451, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar)}, + { 2463, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster)}, + { 2473, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchSeating)}, + { 2483, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest)}, + { 2495, -1, -1, sizeof(::vss::VehicleCabinSeatRow2Pos3SwitchMassage)}, + { 2505, -1, -1, sizeof(::vss::VehicleCabinConvertible)}, + { 2514, -1, -1, sizeof(::vss::VehicleADAS)}, + { 2532, -1, -1, sizeof(::vss::VehicleADASCruiseControl)}, + { 2544, -1, -1, sizeof(::vss::VehicleADASLaneDepartureDetection)}, + { 2555, -1, -1, sizeof(::vss::VehicleADASObstacleDetection)}, + { 2566, -1, -1, sizeof(::vss::VehicleADASABS)}, + { 2577, -1, -1, sizeof(::vss::VehicleADASTCS)}, + { 2588, -1, -1, sizeof(::vss::VehicleADASESC)}, + { 2601, -1, -1, sizeof(::vss::VehicleADASESCRoadFriction)}, + { 2612, -1, -1, sizeof(::vss::VehicleADASEBD)}, + { 2623, -1, -1, sizeof(::vss::VehicleADASEBA)}, + { 2634, -1, -1, sizeof(::vss::VehicleChassis)}, + { 2650, -1, -1, sizeof(::vss::VehicleChassisAxle)}, + { 2660, -1, -1, sizeof(::vss::VehicleChassisAxleRow1)}, + { 2675, -1, -1, sizeof(::vss::VehicleChassisAxleRow1Wheel)}, + { 2685, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelLeft)}, + { 2696, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelLeftBrake)}, + { 2708, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelLeftTire)}, + { 2719, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelRight)}, + { 2730, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelRightBrake)}, + { 2742, -1, -1, sizeof(::vss::VehicleChassisAxleRow1WheelRightTire)}, + { 2753, -1, -1, sizeof(::vss::VehicleChassisAxleRow2)}, + { 2768, -1, -1, sizeof(::vss::VehicleChassisAxleRow2Wheel)}, + { 2778, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelLeft)}, + { 2789, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelLeftBrake)}, + { 2801, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelLeftTire)}, + { 2812, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelRight)}, + { 2823, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelRightBrake)}, + { 2835, -1, -1, sizeof(::vss::VehicleChassisAxleRow2WheelRightTire)}, + { 2846, -1, -1, sizeof(::vss::VehicleChassisParkingBrake)}, + { 2855, -1, -1, sizeof(::vss::VehicleChassisSteeringWheel)}, + { 2867, -1, -1, sizeof(::vss::VehicleChassisAccelerator)}, + { 2876, -1, -1, sizeof(::vss::VehicleChassisBrake)}, + { 2886, -1, -1, sizeof(::vss::VehicleOBD)}, + { 2968, -1, -1, sizeof(::vss::VehicleOBDStatus)}, + { 2979, -1, -1, sizeof(::vss::VehicleOBDO2)}, + { 2995, -1, -1, sizeof(::vss::VehicleOBDO2Sensor1)}, + { 3005, -1, -1, sizeof(::vss::VehicleOBDO2Sensor2)}, + { 3015, -1, -1, sizeof(::vss::VehicleOBDO2Sensor3)}, + { 3025, -1, -1, sizeof(::vss::VehicleOBDO2Sensor4)}, + { 3035, -1, -1, sizeof(::vss::VehicleOBDO2Sensor5)}, + { 3045, -1, -1, sizeof(::vss::VehicleOBDO2Sensor6)}, + { 3055, -1, -1, sizeof(::vss::VehicleOBDO2Sensor7)}, + { 3065, -1, -1, sizeof(::vss::VehicleOBDO2Sensor8)}, + { 3075, -1, -1, sizeof(::vss::VehicleOBDO2WR)}, + { 3091, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor1)}, + { 3102, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor2)}, + { 3113, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor3)}, + { 3124, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor4)}, + { 3135, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor5)}, + { 3146, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor6)}, + { 3157, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor7)}, + { 3168, -1, -1, sizeof(::vss::VehicleOBDO2WRSensor8)}, + { 3179, -1, -1, sizeof(::vss::VehicleOBDCatalyst)}, + { 3189, -1, -1, sizeof(::vss::VehicleOBDCatalystBank1)}, + { 3199, -1, -1, sizeof(::vss::VehicleOBDCatalystBank2)}, + { 3209, -1, -1, sizeof(::vss::VehicleOBDDriveCycleStatus)}, + { 3220, -1, -1, sizeof(::vss::VehicleDriver)}, + { 3234, -1, -1, sizeof(::vss::VehicleDriverIdentifier)}, + { 3244, -1, -1, sizeof(::vss::VehicleExterior)}, + { 3255, -1, -1, sizeof(::vss::VehicleService)}, + { 3266, -1, -1, sizeof(::vss::VehicleConnectivity)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::vss::_Vehicle_default_instance_._instance, + &::vss::_VehicleVersionVSS_default_instance_._instance, + &::vss::_VehicleVehicleIdentification_default_instance_._instance, + &::vss::_VehicleLowVoltageBattery_default_instance_._instance, + &::vss::_VehicleAcceleration_default_instance_._instance, + &::vss::_VehicleAngularVelocity_default_instance_._instance, + &::vss::_VehicleTrailer_default_instance_._instance, + &::vss::_VehicleCurrentLocation_default_instance_._instance, + &::vss::_VehicleCurrentLocationGNSSReceiver_default_instance_._instance, + &::vss::_VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_._instance, + &::vss::_VehiclePowertrain_default_instance_._instance, + &::vss::_VehiclePowertrainCombustionEngine_default_instance_._instance, + &::vss::_VehiclePowertrainCombustionEngineDieselExhaustFluid_default_instance_._instance, + &::vss::_VehiclePowertrainCombustionEngineDieselParticulateFilter_default_instance_._instance, + &::vss::_VehiclePowertrainTransmission_default_instance_._instance, + &::vss::_VehiclePowertrainElectricMotor_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBattery_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryTemperature_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryStateOfCharge_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryCharging_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryChargingChargeCurrent_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryChargingChargeVoltage_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryChargingTimer_default_instance_._instance, + &::vss::_VehiclePowertrainTractionBatteryDCDC_default_instance_._instance, + &::vss::_VehiclePowertrainFuelSystem_default_instance_._instance, + &::vss::_VehicleBody_default_instance_._instance, + &::vss::_VehicleBodyHood_default_instance_._instance, + &::vss::_VehicleBodyTrunk_default_instance_._instance, + &::vss::_VehicleBodyTrunkFront_default_instance_._instance, + &::vss::_VehicleBodyTrunkRear_default_instance_._instance, + &::vss::_VehicleBodyHorn_default_instance_._instance, + &::vss::_VehicleBodyRaindetection_default_instance_._instance, + &::vss::_VehicleBodyWindshield_default_instance_._instance, + &::vss::_VehicleBodyWindshieldFront_default_instance_._instance, + &::vss::_VehicleBodyWindshieldFrontWiping_default_instance_._instance, + &::vss::_VehicleBodyWindshieldFrontWipingSystem_default_instance_._instance, + &::vss::_VehicleBodyWindshieldFrontWasherFluid_default_instance_._instance, + &::vss::_VehicleBodyWindshieldRear_default_instance_._instance, + &::vss::_VehicleBodyWindshieldRearWiping_default_instance_._instance, + &::vss::_VehicleBodyWindshieldRearWipingSystem_default_instance_._instance, + &::vss::_VehicleBodyWindshieldRearWasherFluid_default_instance_._instance, + &::vss::_VehicleBodyLights_default_instance_._instance, + &::vss::_VehicleBodyLightsBeam_default_instance_._instance, + &::vss::_VehicleBodyLightsBeamLow_default_instance_._instance, + &::vss::_VehicleBodyLightsBeamHigh_default_instance_._instance, + &::vss::_VehicleBodyLightsRunning_default_instance_._instance, + &::vss::_VehicleBodyLightsBackup_default_instance_._instance, + &::vss::_VehicleBodyLightsParking_default_instance_._instance, + &::vss::_VehicleBodyLightsFog_default_instance_._instance, + &::vss::_VehicleBodyLightsFogRear_default_instance_._instance, + &::vss::_VehicleBodyLightsFogFront_default_instance_._instance, + &::vss::_VehicleBodyLightsLicensePlate_default_instance_._instance, + &::vss::_VehicleBodyLightsBrake_default_instance_._instance, + &::vss::_VehicleBodyLightsHazard_default_instance_._instance, + &::vss::_VehicleBodyLightsDirectionIndicator_default_instance_._instance, + &::vss::_VehicleBodyLightsDirectionIndicatorLeft_default_instance_._instance, + &::vss::_VehicleBodyLightsDirectionIndicatorRight_default_instance_._instance, + &::vss::_VehicleBodyMirrors_default_instance_._instance, + &::vss::_VehicleBodyMirrorsLeft_default_instance_._instance, + &::vss::_VehicleBodyMirrorsRight_default_instance_._instance, + &::vss::_VehicleCabin_default_instance_._instance, + &::vss::_VehicleCabinRearShade_default_instance_._instance, + &::vss::_VehicleCabinHVAC_default_instance_._instance, + &::vss::_VehicleCabinHVACStation_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow1_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow1Left_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow1Right_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow2_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow2Left_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow2Right_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow3_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow3Left_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow3Right_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow4_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow4Left_default_instance_._instance, + &::vss::_VehicleCabinHVACStationRow4Right_default_instance_._instance, + &::vss::_VehicleCabinInfotainment_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentMedia_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentMediaPlayed_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentNavigation_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentNavigationDestinationSet_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentHMI_default_instance_._instance, + &::vss::_VehicleCabinInfotainmentSmartphoneProjection_default_instance_._instance, + &::vss::_VehicleCabinSunroof_default_instance_._instance, + &::vss::_VehicleCabinSunroofShade_default_instance_._instance, + &::vss::_VehicleCabinRearviewMirror_default_instance_._instance, + &::vss::_VehicleCabinLights_default_instance_._instance, + &::vss::_VehicleCabinLightsSpotlight_default_instance_._instance, + &::vss::_VehicleCabinLightsSpotlightRow1_default_instance_._instance, + &::vss::_VehicleCabinLightsSpotlightRow2_default_instance_._instance, + &::vss::_VehicleCabinLightsSpotlightRow3_default_instance_._instance, + &::vss::_VehicleCabinLightsSpotlightRow4_default_instance_._instance, + &::vss::_VehicleCabinDoor_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1Left_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1LeftWindow_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1LeftShade_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1Right_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1RightWindow_default_instance_._instance, + &::vss::_VehicleCabinDoorRow1RightShade_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2Left_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2LeftWindow_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2LeftShade_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2Right_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2RightWindow_default_instance_._instance, + &::vss::_VehicleCabinDoorRow2RightShade_default_instance_._instance, + &::vss::_VehicleCabinSeat_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos1SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos2SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow1Pos3SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos1SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos2SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Occupant_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3OccupantIdentifier_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Backrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3BackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3BackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Seating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Headrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Airbag_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3Switch_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchSeating_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchHeadrest_default_instance_._instance, + &::vss::_VehicleCabinSeatRow2Pos3SwitchMassage_default_instance_._instance, + &::vss::_VehicleCabinConvertible_default_instance_._instance, + &::vss::_VehicleADAS_default_instance_._instance, + &::vss::_VehicleADASCruiseControl_default_instance_._instance, + &::vss::_VehicleADASLaneDepartureDetection_default_instance_._instance, + &::vss::_VehicleADASObstacleDetection_default_instance_._instance, + &::vss::_VehicleADASABS_default_instance_._instance, + &::vss::_VehicleADASTCS_default_instance_._instance, + &::vss::_VehicleADASESC_default_instance_._instance, + &::vss::_VehicleADASESCRoadFriction_default_instance_._instance, + &::vss::_VehicleADASEBD_default_instance_._instance, + &::vss::_VehicleADASEBA_default_instance_._instance, + &::vss::_VehicleChassis_default_instance_._instance, + &::vss::_VehicleChassisAxle_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1Wheel_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelLeft_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelLeftBrake_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelLeftTire_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelRight_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelRightBrake_default_instance_._instance, + &::vss::_VehicleChassisAxleRow1WheelRightTire_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2Wheel_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelLeft_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelLeftBrake_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelLeftTire_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelRight_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelRightBrake_default_instance_._instance, + &::vss::_VehicleChassisAxleRow2WheelRightTire_default_instance_._instance, + &::vss::_VehicleChassisParkingBrake_default_instance_._instance, + &::vss::_VehicleChassisSteeringWheel_default_instance_._instance, + &::vss::_VehicleChassisAccelerator_default_instance_._instance, + &::vss::_VehicleChassisBrake_default_instance_._instance, + &::vss::_VehicleOBD_default_instance_._instance, + &::vss::_VehicleOBDStatus_default_instance_._instance, + &::vss::_VehicleOBDO2_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor1_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor2_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor3_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor4_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor5_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor6_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor7_default_instance_._instance, + &::vss::_VehicleOBDO2Sensor8_default_instance_._instance, + &::vss::_VehicleOBDO2WR_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor1_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor2_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor3_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor4_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor5_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor6_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor7_default_instance_._instance, + &::vss::_VehicleOBDO2WRSensor8_default_instance_._instance, + &::vss::_VehicleOBDCatalyst_default_instance_._instance, + &::vss::_VehicleOBDCatalystBank1_default_instance_._instance, + &::vss::_VehicleOBDCatalystBank2_default_instance_._instance, + &::vss::_VehicleOBDDriveCycleStatus_default_instance_._instance, + &::vss::_VehicleDriver_default_instance_._instance, + &::vss::_VehicleDriverIdentifier_default_instance_._instance, + &::vss::_VehicleExterior_default_instance_._instance, + &::vss::_VehicleService_default_instance_._instance, + &::vss::_VehicleConnectivity_default_instance_._instance, +}; +const char descriptor_table_protodef_vss_2fvspec_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + "\n\017vss/vspec.proto\022\003vss\"\353\010\n\007Vehicle\022*\n\nVe" + "rsionVSS\030\001 \001(\0132\026.vss.VehicleVersionVSS\022@" + "\n\025VehicleIdentification\030\002 \001(\0132!.vss.Vehi" + "cleVehicleIdentification\022\035\n\025LowVoltageSy" + "stemState\030\003 \001(\t\0228\n\021LowVoltageBattery\030\004 \001" + "(\0132\035.vss.VehicleLowVoltageBattery\022\r\n\005Spe" + "ed\030\005 \001(\002\022\031\n\021TravelledDistance\030\006 \001(\002\022\030\n\020T" + "ripMeterReading\030\007 \001(\002\022\024\n\014IsBrokenDown\030\010 " + "\001(\010\022\020\n\010IsMoving\030\t \001(\010\022\024\n\014AverageSpeed\030\n " + "\001(\002\022.\n\014Acceleration\030\013 \001(\0132\030.vss.VehicleA" + "cceleration\0224\n\017AngularVelocity\030\014 \001(\0132\033.v" + "ss.VehicleAngularVelocity\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\024CurrentOverallWeight\030\020 \001(\r\022\022\n\n" + "CurbWeight\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\022$\n\007Trailer\030\030 \001(\0132\023.vss.Vehi" + "cleTrailer\0224\n\017CurrentLocation\030\031 \001(\0132\033.vs" + "s.VehicleCurrentLocation\022*\n\nPowertrain\030\032" + " \001(\0132\026.vss.VehiclePowertrain\022\036\n\004Body\030\033 \001" + "(\0132\020.vss.VehicleBody\022 \n\005Cabin\030\034 \001(\0132\021.vs" + "s.VehicleCabin\022\036\n\004ADAS\030\035 \001(\0132\020.vss.Vehic" + "leADAS\022$\n\007Chassis\030\036 \001(\0132\023.vss.VehicleCha" + "ssis\022\034\n\003OBD\030\037 \001(\0132\017.vss.VehicleOBD\022\"\n\006Dr" + "iver\030 \001(\0132\022.vss.VehicleDriver\022&\n\010Exteri" + "or\030! \001(\0132\024.vss.VehicleExterior\022$\n\007Servic" + "e\030\" \001(\0132\023.vss.VehicleService\022.\n\014Connecti" + "vity\030# \001(\0132\030.vss.VehicleConnectivity\"O\n\021" + "VehicleVersionVSS\022\r\n\005Major\030\001 \001(\r\022\r\n\005Mino" + "r\030\002 \001(\r\022\r\n\005Patch\030\003 \001(\r\022\r\n\005Label\030\004 \001(\t\"\310\003" + "\n\034VehicleVehicleIdentification\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\032DateVehicleFirstRe" + "gistered\030\010 \001(\t\022\035\n\025MeetsEmissionStandard\030" + "\t \001(\t\022\026\n\016ProductionDate\030\n \001(\t\022\024\n\014Purchas" + "eDate\030\013 \001(\t\022\030\n\020VehicleModelDate\030\014 \001(\t\022\034\n" + "\024VehicleConfiguration\030\r \001(\t\022\036\n\026VehicleSe" + "atingCapacity\030\016 \001(\r\022\033\n\023VehicleSpecialUsa" + "ge\030\017 \001(\t\022\034\n\024VehicleInteriorColor\030\020 \001(\t\022\033" + "\n\023VehicleInteriorType\030\021 \001(\t\022\033\n\023KnownVehi" + "cleDamages\030\022 \001(\t\"{\n\030VehicleLowVoltageBat" + "tery\022\026\n\016NominalVoltage\030\001 \001(\r\022\027\n\017NominalC" + "apacity\030\002 \001(\r\022\026\n\016CurrentVoltage\030\003 \001(\002\022\026\n" + "\016CurrentCurrent\030\004 \001(\002\"N\n\023VehicleAccelera" + "tion\022\024\n\014Longitudinal\030\001 \001(\002\022\017\n\007Lateral\030\002 " + "\001(\002\022\020\n\010Vertical\030\003 \001(\002\"B\n\026VehicleAngularV" + "elocity\022\014\n\004Roll\030\001 \001(\002\022\r\n\005Pitch\030\002 \001(\002\022\013\n\003" + "Yaw\030\003 \001(\002\"%\n\016VehicleTrailer\022\023\n\013IsConnect" + "ed\030\001 \001(\010\"\350\001\n\026VehicleCurrentLocation\022\021\n\tT" + "imestamp\030\001 \001(\t\022\020\n\010Latitude\030\002 \001(\001\022\021\n\tLong" + "itude\030\003 \001(\001\022\017\n\007Heading\030\004 \001(\001\022\032\n\022Horizont" + "alAccuracy\030\005 \001(\001\022\020\n\010Altitude\030\006 \001(\001\022\030\n\020Ve" + "rticalAccuracy\030\007 \001(\001\022=\n\014GNSSReceiver\030\010 \001" + "(\0132\'.vss.VehicleCurrentLocationGNSSRecei" + "ver\"\210\001\n\"VehicleCurrentLocationGNSSReceiv" + "er\022\017\n\007FixType\030\001 \001(\t\022Q\n\020MountingPosition\030" + "\002 \001(\01327.vss.VehicleCurrentLocationGNSSRe" + "ceiverMountingPosition\"U\n2VehicleCurrent" + "LocationGNSSReceiverMountingPosition\022\t\n\001" + "X\030\001 \001(\005\022\t\n\001Y\030\002 \001(\005\022\t\n\001Z\030\003 \001(\005\"\200\003\n\021Vehicl" + "ePowertrain\022 \n\030AccumulatedBrakingEnergy\030" + "\001 \001(\002\022\r\n\005Range\030\002 \001(\r\022\014\n\004Type\030\003 \001(\t\022@\n\020Co" + "mbustionEngine\030\004 \001(\0132&.vss.VehiclePowert" + "rainCombustionEngine\0228\n\014Transmission\030\005 \001" + "(\0132\".vss.VehiclePowertrainTransmission\022:" + "\n\rElectricMotor\030\006 \001(\0132#.vss.VehiclePower" + "trainElectricMotor\022>\n\017TractionBattery\030\007 " + "\001(\0132%.vss.VehiclePowertrainTractionBatte" + "ry\0224\n\nFuelSystem\030\010 \001(\0132 .vss.VehiclePowe" + "rtrainFuelSystem\"\366\005\n!VehiclePowertrainCo" + "mbustionEngine\022\022\n\nEngineCode\030\001 \001(\t\022\024\n\014Di" + "splacement\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\021N" + "umberOfCylinders\030\006 \001(\r\022!\n\031NumberOfValves" + "PerCylinder\030\007 \001(\r\022\030\n\020CompressionRatio\030\010 " + "\001(\t\022\031\n\021EngineOilCapacity\030\t \001(\002\022\035\n\025Engine" + "CoolantCapacity\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\016EngineOilLevel\030\016 \001(\t\022\030\n\020OilLifeRem" + "aining\030\017 \001(\005\022\021\n\tIsRunning\030\020 \001(\010\022\r\n\005Speed" + "\030\021 \001(\r\022\023\n\013EngineHours\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\022T\n\022D" + "ieselExhaustFluid\030\034 \001(\01328.vss.VehiclePow" + "ertrainCombustionEngineDieselExhaustFlui" + "d\022^\n\027DieselParticulateFilter\030\035 \001(\0132=.vss" + ".VehiclePowertrainCombustionEngineDiesel" + "ParticulateFilter\"y\n3VehiclePowertrainCo" + "mbustionEngineDieselExhaustFluid\022\020\n\010Capa" + "city\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\n8VehiclePowertra" + "inCombustionEngineDieselParticulateFilte" + "r\022\030\n\020InletTemperature\030\001 \001(\002\022\031\n\021OutletTem" + "perature\030\002 \001(\002\022\025\n\rDeltaPressure\030\003 \001(\002\"\307\003" + "\n\035VehiclePowertrainTransmission\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\021TravelledDistance\030\004 \001(\002\022\023\n\013Curren" + "tGear\030\005 \001(\005\022\024\n\014SelectedGear\030\006 \001(\005\022\031\n\021IsP" + "arkLockEngaged\030\007 \001(\010\022\031\n\021IsLowRangeEngage" + "d\030\010 \001(\010\022%\n\035IsElectricalPowertrainEngaged" + "\030\t \001(\010\022\027\n\017PerformanceMode\030\n \001(\t\022\026\n\016GearC" + "hangeMode\030\013 \001(\t\022\023\n\013Temperature\030\014 \001(\005\022\030\n\020" + "ClutchEngagement\030\r \001(\002\022\022\n\nClutchWear\030\016 \001" + "(\r\022\037\n\027DiffLockFrontEngagement\030\017 \001(\002\022\036\n\026D" + "iffLockRearEngagement\030\020 \001(\002\022\032\n\022TorqueDis" + "tribution\030\021 \001(\002\"\347\001\n\036VehiclePowertrainEle" + "ctricMotor\022\022\n\nEngineCode\030\001 \001(\t\022\020\n\010MaxPow" + "er\030\002 \001(\r\022\021\n\tMaxTorque\030\003 \001(\r\022\025\n\rMaxRegenP" + "ower\030\004 \001(\r\022\026\n\016MaxRegenTorque\030\005 \001(\r\022\r\n\005Sp" + "eed\030\006 \001(\005\022\023\n\013Temperature\030\007 \001(\005\022\032\n\022Coolan" + "tTemperature\030\010 \001(\005\022\r\n\005Power\030\t \001(\005\022\016\n\006Tor" + "que\030\n \001(\005\"\360\005\n VehiclePowertrainTractionB" + "attery\022\n\n\002Id\030\001 \001(\t\022\026\n\016ProductionDate\030\002 \001" + "(\t\022\030\n\020IsPowerConnected\030\003 \001(\010\022\031\n\021IsGround" + "Connected\030\004 \001(\010\022E\n\013Temperature\030\005 \001(\01320.v" + "ss.VehiclePowertrainTractionBatteryTempe" + "rature\022\025\n\rGrossCapacity\030\006 \001(\r\022\023\n\013NetCapa" + "city\030\007 \001(\r\022\025\n\rStateOfHealth\030\010 \001(\002\022I\n\rSta" + "teOfCharge\030\t \001(\01322.vss.VehiclePowertrain" + "TractionBatteryStateOfCharge\022\026\n\016NominalV" + "oltage\030\n \001(\r\022\022\n\nMaxVoltage\030\013 \001(\r\022\026\n\016Curr" + "entVoltage\030\014 \001(\002\022\026\n\016CurrentCurrent\030\r \001(\002" + "\022\024\n\014CurrentPower\030\016 \001(\002\022 \n\030AccumulatedCha" + "rgedEnergy\030\017 \001(\002\022!\n\031AccumulatedConsumedE" + "nergy\030\020 \001(\002\022$\n\034AccumulatedChargedThrough" + "put\030\021 \001(\002\022%\n\035AccumulatedConsumedThroughp" + "ut\030\022 \001(\002\022\021\n\tPowerLoss\030\023 \001(\002\022\r\n\005Range\030\024 \001" + "(\r\022\?\n\010Charging\030\025 \001(\0132-.vss.VehiclePowert" + "rainTractionBatteryCharging\0227\n\004DCDC\030\026 \001(" + "\0132).vss.VehiclePowertrainTractionBattery" + "DCDC\"X\n+VehiclePowertrainTractionBattery" + "Temperature\022\017\n\007Average\030\001 \001(\002\022\013\n\003Min\030\002 \001(" + "\002\022\013\n\003Max\030\003 \001(\002\"S\n-VehiclePowertrainTract" + "ionBatteryStateOfCharge\022\017\n\007Current\030\001 \001(\002" + "\022\021\n\tDisplayed\030\002 \001(\002\"\246\005\n(VehiclePowertrai" + "nTractionBatteryCharging\022\023\n\013ChargeLimit\030" + "\001 \001(\r\022c\n\026MaximumChargingCurrent\030\002 \001(\0132C." + "vss.VehiclePowertrainTractionBatteryChar" + "gingMaximumChargingCurrent\022\026\n\016ChargePort" + "Flap\030\003 \001(\t\022 \n\030IsChargingCableConnected\030\004" + " \001(\010\022\035\n\025IsChargingCableLocked\030\005 \001(\010\022\026\n\016C" + "hargePlugType\030\006 \003(\t\022\014\n\004Mode\030\007 \001(\t\022\022\n\nIsC" + "harging\030\010 \001(\010\022\025\n\rIsDischarging\030\t \001(\010\022\031\n\021" + "StartStopCharging\030\n \001(\t\022Q\n\rChargeCurrent" + "\030\013 \001(\0132:.vss.VehiclePowertrainTractionBa" + "tteryChargingChargeCurrent\022Q\n\rChargeVolt" + "age\030\014 \001(\0132:.vss.VehiclePowertrainTractio" + "nBatteryChargingChargeVoltage\022\021\n\tPowerLo" + "ss\030\r \001(\002\022\023\n\013Temperature\030\016 \001(\002\022\022\n\nChargeR" + "ate\030\017 \001(\002\022\026\n\016TimeToComplete\030\020 \001(\r\022A\n\005Tim" + "er\030\021 \001(\01322.vss.VehiclePowertrainTraction" + "BatteryChargingTimer\"|\n>VehiclePowertrai" + "nTractionBatteryChargingMaximumChargingC" + "urrent\022\n\n\002DC\030\001 \001(\002\022\016\n\006Phase1\030\002 \001(\002\022\016\n\006Ph" + "ase2\030\003 \001(\002\022\016\n\006Phase3\030\004 \001(\002\"s\n5VehiclePow" + "ertrainTractionBatteryChargingChargeCurr" + "ent\022\n\n\002DC\030\001 \001(\002\022\016\n\006Phase1\030\002 \001(\002\022\016\n\006Phase" + "2\030\003 \001(\002\022\016\n\006Phase3\030\004 \001(\002\"s\n5VehiclePowert" + "rainTractionBatteryChargingChargeVoltage" + "\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\"K\n-VehiclePowertrai" + "nTractionBatteryChargingTimer\022\014\n\004Mode\030\001 " + "\001(\t\022\014\n\004Time\030\002 \001(\t\"N\n$VehiclePowertrainTr" + "actionBatteryDCDC\022\021\n\tPowerLoss\030\001 \001(\002\022\023\n\013" + "Temperature\030\002 \001(\002\"\301\002\n\033VehiclePowertrainF" + "uelSystem\022\032\n\022SupportedFuelTypes\030\001 \003(\t\022\025\n" + "\rSupportedFuel\030\002 \003(\t\022\022\n\nHybridType\030\003 \001(\t" + "\022\024\n\014TankCapacity\030\004 \001(\002\022\r\n\005Level\030\005 \001(\r\022\r\n" + "\005Range\030\006 \001(\r\022\032\n\022InstantConsumption\030\007 \001(\002" + "\022\032\n\022AverageConsumption\030\010 \001(\002\022\035\n\025Consumpt" + "ionSinceStart\030\t \001(\002\022\026\n\016TimeSinceStart\030\n " + "\001(\r\022 \n\030IsEngineStopStartEnabled\030\013 \001(\010\022\026\n" + "\016IsFuelLevelLow\030\014 \001(\010\"\376\002\n\013VehicleBody\022\020\n" + "\010BodyType\030\001 \001(\t\022\026\n\016RefuelPosition\030\002 \001(\t\022" + "\"\n\004Hood\030\003 \001(\0132\024.vss.VehicleBodyHood\022$\n\005T" + "runk\030\004 \001(\0132\025.vss.VehicleBodyTrunk\022\"\n\004Hor" + "n\030\005 \001(\0132\024.vss.VehicleBodyHorn\0224\n\rRaindet" + "ection\030\006 \001(\0132\035.vss.VehicleBodyRaindetect" + "ion\022.\n\nWindshield\030\007 \001(\0132\032.vss.VehicleBod" + "yWindshield\022&\n\006Lights\030\010 \001(\0132\026.vss.Vehicl" + "eBodyLights\022(\n\007Mirrors\030\t \001(\0132\027.vss.Vehic" + "leBodyMirrors\022\037\n\027RearMainSpoilerPosition" + "\030\n \001(\002\"!\n\017VehicleBodyHood\022\016\n\006IsOpen\030\001 \001(" + "\010\"f\n\020VehicleBodyTrunk\022)\n\005Front\030\001 \001(\0132\032.v" + "ss.VehicleBodyTrunkFront\022\'\n\004Rear\030\002 \001(\0132\031" + ".vss.VehicleBodyTrunkRear\"9\n\025VehicleBody" + "TrunkFront\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030\002" + " \001(\010\"8\n\024VehicleBodyTrunkRear\022\016\n\006IsOpen\030\001" + " \001(\010\022\020\n\010IsLocked\030\002 \001(\010\"#\n\017VehicleBodyHor" + "n\022\020\n\010IsActive\030\001 \001(\010\"-\n\030VehicleBodyRainde" + "tection\022\021\n\tIntensity\030\001 \001(\r\"u\n\025VehicleBod" + "yWindshield\022.\n\005Front\030\001 \001(\0132\037.vss.Vehicle" + "BodyWindshieldFront\022,\n\004Rear\030\002 \001(\0132\036.vss." + "VehicleBodyWindshieldRear\"\251\001\n\032VehicleBod" + "yWindshieldFront\0225\n\006Wiping\030\001 \001(\0132%.vss.V" + "ehicleBodyWindshieldFrontWiping\022\023\n\013IsHea" + "tingOn\030\002 \001(\010\022\?\n\013WasherFluid\030\003 \001(\0132*.vss." + "VehicleBodyWindshieldFrontWasherFluid\"\251\001" + "\n VehicleBodyWindshieldFrontWiping\022\014\n\004Mo" + "de\030\001 \001(\t\022\021\n\tIntensity\030\002 \001(\r\022;\n\006System\030\003 " + "\001(\0132+.vss.VehicleBodyWindshieldFrontWipi" + "ngSystem\022\021\n\tWiperWear\030\004 \001(\r\022\024\n\014IsWipersW" + "orn\030\005 \001(\010\"\226\002\n&VehicleBodyWindshieldFront" + "WipingSystem\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\016ActualP" + "osition\030\004 \001(\002\022\024\n\014DriveCurrent\030\005 \001(\002\022\020\n\010I" + "sWiping\030\006 \001(\010\022\031\n\021IsEndingWipeCycle\030\007 \001(\010" + "\022\024\n\014IsWiperError\030\010 \001(\010\022\031\n\021IsPositionReac" + "hed\030\t \001(\010\022\021\n\tIsBlocked\030\n \001(\010\022\024\n\014IsOverhe" + "ated\030\013 \001(\010\"J\n%VehicleBodyWindshieldFront" + "WasherFluid\022\022\n\nIsLevelLow\030\001 \001(\010\022\r\n\005Level" + "\030\002 \001(\r\"\246\001\n\031VehicleBodyWindshieldRear\0224\n\006" + "Wiping\030\001 \001(\0132$.vss.VehicleBodyWindshield" + "RearWiping\022\023\n\013IsHeatingOn\030\002 \001(\010\022>\n\013Washe" + "rFluid\030\003 \001(\0132).vss.VehicleBodyWindshield" + "RearWasherFluid\"\247\001\n\037VehicleBodyWindshiel" + "dRearWiping\022\014\n\004Mode\030\001 \001(\t\022\021\n\tIntensity\030\002" + " \001(\r\022:\n\006System\030\003 \001(\0132*.vss.VehicleBodyWi" + "ndshieldRearWipingSystem\022\021\n\tWiperWear\030\004 " + "\001(\r\022\024\n\014IsWipersWorn\030\005 \001(\010\"\225\002\n%VehicleBod" + "yWindshieldRearWipingSystem\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\016ActualPosition\030\004 \001(\002\022\024\n\014DriveCur" + "rent\030\005 \001(\002\022\020\n\010IsWiping\030\006 \001(\010\022\031\n\021IsEnding" + "WipeCycle\030\007 \001(\010\022\024\n\014IsWiperError\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\"I\n$VehicleBody" + "WindshieldRearWasherFluid\022\022\n\nIsLevelLow\030" + "\001 \001(\010\022\r\n\005Level\030\002 \001(\r\"\376\003\n\021VehicleBodyLigh" + "ts\022\023\n\013LightSwitch\030\001 \001(\t\022\032\n\022IsHighBeamSwi" + "tchOn\030\002 \001(\010\022(\n\004Beam\030\003 \001(\0132\032.vss.VehicleB" + "odyLightsBeam\022.\n\007Running\030\004 \001(\0132\035.vss.Veh" + "icleBodyLightsRunning\022,\n\006Backup\030\005 \001(\0132\034." + "vss.VehicleBodyLightsBackup\022.\n\007Parking\030\006" + " \001(\0132\035.vss.VehicleBodyLightsParking\022&\n\003F" + "og\030\007 \001(\0132\031.vss.VehicleBodyLightsFog\0228\n\014L" + "icensePlate\030\010 \001(\0132\".vss.VehicleBodyLight" + "sLicensePlate\022*\n\005Brake\030\t \001(\0132\033.vss.Vehic" + "leBodyLightsBrake\022,\n\006Hazard\030\n \001(\0132\034.vss." + "VehicleBodyLightsHazard\022D\n\022DirectionIndi" + "cator\030\013 \001(\0132(.vss.VehicleBodyLightsDirec" + "tionIndicator\"q\n\025VehicleBodyLightsBeam\022*" + "\n\003Low\030\001 \001(\0132\035.vss.VehicleBodyLightsBeamL" + "ow\022,\n\004High\030\002 \001(\0132\036.vss.VehicleBodyLights" + "BeamHigh\":\n\030VehicleBodyLightsBeamLow\022\014\n\004" + "IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\";\n\031VehicleB" + "odyLightsBeamHigh\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDef" + "ect\030\002 \001(\010\":\n\030VehicleBodyLightsRunning\022\014\n" + "\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"9\n\027Vehicle" + "BodyLightsBackup\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefe" + "ct\030\002 \001(\010\":\n\030VehicleBodyLightsParking\022\014\n\004" + "IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"r\n\024VehicleB" + "odyLightsFog\022+\n\004Rear\030\001 \001(\0132\035.vss.Vehicle" + "BodyLightsFogRear\022-\n\005Front\030\002 \001(\0132\036.vss.V" + "ehicleBodyLightsFogFront\":\n\030VehicleBodyL" + "ightsFogRear\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002" + " \001(\010\";\n\031VehicleBodyLightsFogFront\022\014\n\004IsO" + "n\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"\?\n\035VehicleBody" + "LightsLicensePlate\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDe" + "fect\030\002 \001(\010\"<\n\026VehicleBodyLightsBrake\022\020\n\010" + "IsActive\030\001 \001(\t\022\020\n\010IsDefect\030\002 \001(\010\"@\n\027Vehi" + "cleBodyLightsHazard\022\023\n\013IsSignaling\030\001 \001(\010" + "\022\020\n\010IsDefect\030\002 \001(\010\"\237\001\n#VehicleBodyLights" + "DirectionIndicator\022:\n\004Left\030\001 \001(\0132,.vss.V" + "ehicleBodyLightsDirectionIndicatorLeft\022<" + "\n\005Right\030\002 \001(\0132-.vss.VehicleBodyLightsDir" + "ectionIndicatorRight\"P\n\'VehicleBodyLight" + "sDirectionIndicatorLeft\022\023\n\013IsSignaling\030\001" + " \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"Q\n(VehicleBodyLig" + "htsDirectionIndicatorRight\022\023\n\013IsSignalin" + "g\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"l\n\022VehicleBody" + "Mirrors\022)\n\004Left\030\001 \001(\0132\033.vss.VehicleBodyM" + "irrorsLeft\022+\n\005Right\030\002 \001(\0132\034.vss.VehicleB" + "odyMirrorsRight\"H\n\026VehicleBodyMirrorsLef" + "t\022\014\n\004Tilt\030\001 \001(\005\022\013\n\003Pan\030\002 \001(\005\022\023\n\013IsHeatin" + "gOn\030\003 \001(\010\"I\n\027VehicleBodyMirrorsRight\022\014\n\004" + "Tilt\030\001 \001(\005\022\013\n\003Pan\030\002 \001(\005\022\023\n\013IsHeatingOn\030\003" + " \001(\010\"\370\003\n\014VehicleCabin\022-\n\tRearShade\030\001 \001(\013" + "2\032.vss.VehicleCabinRearShade\022#\n\004HVAC\030\002 \001" + "(\0132\025.vss.VehicleCabinHVAC\0223\n\014Infotainmen" + "t\030\003 \001(\0132\035.vss.VehicleCabinInfotainment\022)" + "\n\007Sunroof\030\004 \001(\0132\030.vss.VehicleCabinSunroo" + "f\0227\n\016RearviewMirror\030\005 \001(\0132\037.vss.VehicleC" + "abinRearviewMirror\022\'\n\006Lights\030\006 \001(\0132\027.vss" + ".VehicleCabinLights\022#\n\004Door\030\007 \001(\0132\025.vss." + "VehicleCabinDoor\022\021\n\tDoorCount\030\010 \001(\r\022#\n\004S" + "eat\030\t \001(\0132\025.vss.VehicleCabinSeat\022\026\n\016Driv" + "erPosition\030\n \001(\r\022\024\n\014SeatRowCount\030\013 \001(\r\022\024" + "\n\014SeatPosCount\030\014 \003(\r\0221\n\013Convertible\030\r \001(" + "\0132\034.vss.VehicleCabinConvertible\"9\n\025Vehic" + "leCabinRearShade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Posi" + "tion\030\002 \001(\r\"\337\001\n\020VehicleCabinHVAC\022-\n\007Stati" + "on\030\001 \001(\0132\034.vss.VehicleCabinHVACStation\022\035" + "\n\025IsRecirculationActive\030\002 \001(\010\022\036\n\026IsFront" + "DefrosterActive\030\003 \001(\010\022\035\n\025IsRearDefroster" + "Active\030\004 \001(\010\022\037\n\027IsAirConditioningActive\030" + "\005 \001(\010\022\035\n\025AmbientAirTemperature\030\006 \001(\002\"\331\001\n" + "\027VehicleCabinHVACStation\022.\n\004Row1\030\001 \001(\0132 " + ".vss.VehicleCabinHVACStationRow1\022.\n\004Row2" + "\030\002 \001(\0132 .vss.VehicleCabinHVACStationRow2" + "\022.\n\004Row3\030\003 \001(\0132 .vss.VehicleCabinHVACSta" + "tionRow3\022.\n\004Row4\030\004 \001(\0132 .vss.VehicleCabi" + "nHVACStationRow4\"\207\001\n\033VehicleCabinHVACSta" + "tionRow1\0222\n\004Left\030\001 \001(\0132$.vss.VehicleCabi" + "nHVACStationRow1Left\0224\n\005Right\030\002 \001(\0132%.vs" + "s.VehicleCabinHVACStationRow1Right\"a\n\037Ve" + "hicleCabinHVACStationRow1Left\022\020\n\010FanSpee" + "d\030\001 \001(\r\022\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDistr" + "ibution\030\003 \001(\t\"b\n VehicleCabinHVACStation" + "Row1Right\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temperatu" + "re\030\002 \001(\005\022\027\n\017AirDistribution\030\003 \001(\t\"\207\001\n\033Ve" + "hicleCabinHVACStationRow2\0222\n\004Left\030\001 \001(\0132" + "$.vss.VehicleCabinHVACStationRow2Left\0224\n" + "\005Right\030\002 \001(\0132%.vss.VehicleCabinHVACStati" + "onRow2Right\"a\n\037VehicleCabinHVACStationRo" + "w2Left\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 Vehicl" + "eCabinHVACStationRow2Right\022\020\n\010FanSpeed\030\001" + " \001(\r\022\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDistribu" + "tion\030\003 \001(\t\"\207\001\n\033VehicleCabinHVACStationRo" + "w3\0222\n\004Left\030\001 \001(\0132$.vss.VehicleCabinHVACS" + "tationRow3Left\0224\n\005Right\030\002 \001(\0132%.vss.Vehi" + "cleCabinHVACStationRow3Right\"a\n\037VehicleC" + "abinHVACStationRow3Left\022\020\n\010FanSpeed\030\001 \001(" + "\r\022\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDistributio" + "n\030\003 \001(\t\"b\n VehicleCabinHVACStationRow3Ri" + "ght\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temperature\030\002 \001" + "(\005\022\027\n\017AirDistribution\030\003 \001(\t\"\207\001\n\033VehicleC" + "abinHVACStationRow4\0222\n\004Left\030\001 \001(\0132$.vss." + "VehicleCabinHVACStationRow4Left\0224\n\005Right" + "\030\002 \001(\0132%.vss.VehicleCabinHVACStationRow4" + "Right\"a\n\037VehicleCabinHVACStationRow4Left" + "\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 VehicleCabin" + "HVACStationRow4Right\022\020\n\010FanSpeed\030\001 \001(\r\022\023" + "\n\013Temperature\030\002 \001(\005\022\027\n\017AirDistribution\030\003" + " \001(\t\"\212\002\n\030VehicleCabinInfotainment\0221\n\005Med" + "ia\030\001 \001(\0132\".vss.VehicleCabinInfotainmentM" + "edia\022;\n\nNavigation\030\002 \001(\0132\'.vss.VehicleCa" + "binInfotainmentNavigation\022-\n\003HMI\030\003 \001(\0132 " + ".vss.VehicleCabinInfotainmentHMI\022O\n\024Smar" + "tphoneProjection\030\004 \001(\01321.vss.VehicleCabi" + "nInfotainmentSmartphoneProjection\"\243\001\n\035Ve" + "hicleCabinInfotainmentMedia\022\016\n\006Action\030\001 " + "\001(\t\0228\n\006Played\030\002 \001(\0132(.vss.VehicleCabinIn" + "fotainmentMediaPlayed\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\006Source\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\014Pl" + "aybackRate\030\006 \001(\002\"\221\001\n\"VehicleCabinInfotai" + "nmentNavigation\022M\n\016DestinationSet\030\001 \001(\0132" + "5.vss.VehicleCabinInfotainmentNavigation" + "DestinationSet\022\014\n\004Mute\030\002 \001(\t\022\016\n\006Volume\030\003" + " \001(\r\"W\n0VehicleCabinInfotainmentNavigati" + "onDestinationSet\022\020\n\010Latitude\030\001 \001(\001\022\021\n\tLo" + "ngitude\030\002 \001(\001\"\233\002\n\033VehicleCabinInfotainme" + "ntHMI\022\027\n\017CurrentLanguage\030\001 \001(\t\022\022\n\nDateFo" + "rmat\030\002 \001(\t\022\022\n\nTimeFormat\030\003 \001(\t\022\024\n\014Distan" + "ceUnit\030\004 \001(\t\022\026\n\016FuelVolumeUnit\030\005 \001(\t\022\030\n\020" + "FuelEconomyUnits\030\006 \001(\t\022\026\n\016EVEconomyUnits" + "\030\007 \001(\t\022\027\n\017TemperatureUnit\030\010 \001(\t\022\030\n\020TireP" + "ressureUnit\030\t \001(\t\022\022\n\nBrightness\030\n \001(\002\022\024\n" + "\014DayNightMode\030\013 \001(\t\"e\n,VehicleCabinInfot" + "ainmentSmartphoneProjection\022\016\n\006Active\030\001 " + "\001(\t\022\016\n\006Source\030\002 \001(\t\022\025\n\rSupportedMode\030\003 \003" + "(\t\"e\n\023VehicleCabinSunroof\022\020\n\010Position\030\001 " + "\001(\005\022\016\n\006Switch\030\002 \001(\t\022,\n\005Shade\030\003 \001(\0132\035.vss" + ".VehicleCabinSunroofShade\"<\n\030VehicleCabi" + "nSunroofShade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Positio" + "n\030\002 \001(\r\"2\n\032VehicleCabinRearviewMirror\022\024\n" + "\014DimmingLevel\030\001 \001(\r\"\262\001\n\022VehicleCabinLigh" + "ts\022\024\n\014IsGloveBoxOn\030\001 \001(\010\022\021\n\tIsTrunkOn\030\002 " + "\001(\010\022\020\n\010IsDomeOn\030\003 \001(\010\022\024\n\014AmbientLight\030\004 " + "\001(\r\022\026\n\016LightIntensity\030\005 \001(\r\0223\n\tSpotlight" + "\030\006 \001(\0132 .vss.VehicleCabinLightsSpotlight" + "\"\355\001\n\033VehicleCabinLightsSpotlight\0222\n\004Row1" + "\030\001 \001(\0132$.vss.VehicleCabinLightsSpotlight" + "Row1\0222\n\004Row2\030\002 \001(\0132$.vss.VehicleCabinLig" + "htsSpotlightRow2\0222\n\004Row3\030\003 \001(\0132$.vss.Veh" + "icleCabinLightsSpotlightRow3\0222\n\004Row4\030\004 \001" + "(\0132$.vss.VehicleCabinLightsSpotlightRow4" + "\"Z\n\037VehicleCabinLightsSpotlightRow1\022\022\n\nI" + "sSharedOn\030\001 \001(\010\022\020\n\010IsLeftOn\030\002 \001(\010\022\021\n\tIsR" + "ightOn\030\003 \001(\010\"Z\n\037VehicleCabinLightsSpotli" + "ghtRow2\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\037VehicleCabin" + "LightsSpotlightRow3\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\037" + "VehicleCabinLightsSpotlightRow4\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\"d\n\020VehicleCabinDoor\022\'\n\004Row1\030\001 \001" + "(\0132\031.vss.VehicleCabinDoorRow1\022\'\n\004Row2\030\002 " + "\001(\0132\031.vss.VehicleCabinDoorRow2\"r\n\024Vehicl" + "eCabinDoorRow1\022+\n\004Left\030\001 \001(\0132\035.vss.Vehic" + "leCabinDoorRow1Left\022-\n\005Right\030\002 \001(\0132\036.vss" + ".VehicleCabinDoorRow1Right\"\277\001\n\030VehicleCa" + "binDoorRow1Left\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLoc" + "ked\030\002 \001(\010\0223\n\006Window\030\003 \001(\0132#.vss.VehicleC" + "abinDoorRow1LeftWindow\022\031\n\021IsChildLockAct" + "ive\030\004 \001(\010\0221\n\005Shade\030\005 \001(\0132\".vss.VehicleCa" + "binDoorRow1LeftShade\"n\n\036VehicleCabinDoor" + "Row1LeftWindow\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Positi" + "on\030\002 \001(\r\022\032\n\022IsChildLockEngaged\030\003 \001(\010\022\016\n\006" + "Switch\030\004 \001(\t\"A\n\035VehicleCabinDoorRow1Left" + "Shade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Position\030\002 \001(\r\"" + "\302\001\n\031VehicleCabinDoorRow1Right\022\016\n\006IsOpen\030" + "\001 \001(\010\022\020\n\010IsLocked\030\002 \001(\010\0224\n\006Window\030\003 \001(\0132" + "$.vss.VehicleCabinDoorRow1RightWindow\022\031\n" + "\021IsChildLockActive\030\004 \001(\010\0222\n\005Shade\030\005 \001(\0132" + "#.vss.VehicleCabinDoorRow1RightShade\"o\n\037" + "VehicleCabinDoorRow1RightWindow\022\016\n\006IsOpe" + "n\030\001 \001(\010\022\020\n\010Position\030\002 \001(\r\022\032\n\022IsChildLock" + "Engaged\030\003 \001(\010\022\016\n\006Switch\030\004 \001(\t\"B\n\036Vehicle" + "CabinDoorRow1RightShade\022\016\n\006Switch\030\001 \001(\t\022" + "\020\n\010Position\030\002 \001(\r\"r\n\024VehicleCabinDoorRow" + "2\022+\n\004Left\030\001 \001(\0132\035.vss.VehicleCabinDoorRo" + "w2Left\022-\n\005Right\030\002 \001(\0132\036.vss.VehicleCabin" + "DoorRow2Right\"\277\001\n\030VehicleCabinDoorRow2Le" + "ft\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030\002 \001(\010\0223\n\006" + "Window\030\003 \001(\0132#.vss.VehicleCabinDoorRow2L" + "eftWindow\022\031\n\021IsChildLockActive\030\004 \001(\010\0221\n\005" + "Shade\030\005 \001(\0132\".vss.VehicleCabinDoorRow2Le" + "ftShade\"n\n\036VehicleCabinDoorRow2LeftWindo" + "w\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Position\030\002 \001(\r\022\032\n\022I" + "sChildLockEngaged\030\003 \001(\010\022\016\n\006Switch\030\004 \001(\t\"" + "A\n\035VehicleCabinDoorRow2LeftShade\022\016\n\006Swit" + "ch\030\001 \001(\t\022\020\n\010Position\030\002 \001(\r\"\302\001\n\031VehicleCa" + "binDoorRow2Right\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLo" + "cked\030\002 \001(\010\0224\n\006Window\030\003 \001(\0132$.vss.Vehicle" + "CabinDoorRow2RightWindow\022\031\n\021IsChildLockA" + "ctive\030\004 \001(\010\0222\n\005Shade\030\005 \001(\0132#.vss.Vehicle" + "CabinDoorRow2RightShade\"o\n\037VehicleCabinD" + "oorRow2RightWindow\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Po" + "sition\030\002 \001(\r\022\032\n\022IsChildLockEngaged\030\003 \001(\010" + "\022\016\n\006Switch\030\004 \001(\t\"B\n\036VehicleCabinDoorRow2" + "RightShade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Position\030\002" + " \001(\r\"d\n\020VehicleCabinSeat\022\'\n\004Row1\030\001 \001(\0132\031" + ".vss.VehicleCabinSeatRow1\022\'\n\004Row2\030\002 \001(\0132" + "\031.vss.VehicleCabinSeatRow2\"\235\001\n\024VehicleCa" + "binSeatRow1\022+\n\004Pos1\030\001 \001(\0132\035.vss.VehicleC" + "abinSeatRow1Pos1\022+\n\004Pos2\030\002 \001(\0132\035.vss.Veh" + "icleCabinSeatRow1Pos2\022+\n\004Pos3\030\003 \001(\0132\035.vs" + "s.VehicleCabinSeatRow1Pos3\"\336\003\n\030VehicleCa" + "binSeatRow1Pos1\022\022\n\nIsOccupied\030\001 \001(\010\0227\n\010O" + "ccupant\030\002 \001(\0132%.vss.VehicleCabinSeatRow1" + "Pos1Occupant\022\020\n\010IsBelted\030\003 \001(\010\022\017\n\007Heatin" + "g\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\0227\n\010Back" + "rest\030\t \001(\0132%.vss.VehicleCabinSeatRow1Pos" + "1Backrest\0225\n\007Seating\030\n \001(\0132$.vss.Vehicle" + "CabinSeatRow1Pos1Seating\0227\n\010Headrest\030\013 \001" + "(\0132%.vss.VehicleCabinSeatRow1Pos1Headres" + "t\0223\n\006Airbag\030\014 \001(\0132#.vss.VehicleCabinSeat" + "Row1Pos1Airbag\0223\n\006Switch\030\r \001(\0132#.vss.Veh" + "icleCabinSeatRow1Pos1Switch\"g\n VehicleCa" + "binSeatRow1Pos1Occupant\022C\n\nIdentifier\030\001 " + "\001(\0132/.vss.VehicleCabinSeatRow1Pos1Occupa" + "ntIdentifier\"M\n*VehicleCabinSeatRow1Pos1" + "OccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006I" + "ssuer\030\002 \001(\t\"\267\001\n VehicleCabinSeatRow1Pos1" + "Backrest\022\017\n\007Recline\030\001 \001(\002\022;\n\006Lumbar\030\002 \001(" + "\0132+.vss.VehicleCabinSeatRow1Pos1Backrest" + "Lumbar\022E\n\013SideBolster\030\003 \001(\01320.vss.Vehicl" + "eCabinSeatRow1Pos1BackrestSideBolster\"I\n" + "&VehicleCabinSeatRow1Pos1BackrestLumbar\022" + "\017\n\007Support\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+Vehi" + "cleCabinSeatRow1Pos1BackrestSideBolster\022" + "\017\n\007Support\030\001 \001(\002\"1\n\037VehicleCabinSeatRow1" + "Pos1Seating\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCa" + "binSeatRow1Pos1Headrest\022\016\n\006Height\030\001 \001(\r\022" + "\r\n\005Angle\030\002 \001(\002\"4\n\036VehicleCabinSeatRow1Po" + "s1Airbag\022\022\n\nIsDeployed\030\001 \001(\010\"\350\003\n\036Vehicle" + "CabinSeatRow1Pos1Switch\022\027\n\017IsWarmerEngag" + "ed\030\001 \001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsF" + "orwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged" + "\030\004 \001(\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEng" + "aged\030\006 \001(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010" + "\022\035\n\025IsTiltBackwardEngaged\030\010 \001(\010\022=\n\010Backr" + "est\030\t \001(\0132+.vss.VehicleCabinSeatRow1Pos1" + "SwitchBackrest\022;\n\007Seating\030\n \001(\0132*.vss.Ve" + "hicleCabinSeatRow1Pos1SwitchSeating\022=\n\010H" + "eadrest\030\013 \001(\0132+.vss.VehicleCabinSeatRow1" + "Pos1SwitchHeadrest\022;\n\007Massage\030\014 \001(\0132*.vs" + "s.VehicleCabinSeatRow1Pos1SwitchMassage\"" + "\373\001\n&VehicleCabinSeatRow1Pos1SwitchBackre" + "st\022\037\n\027IsReclineForwardEngaged\030\001 \001(\010\022 \n\030I" + "sReclineBackwardEngaged\030\002 \001(\010\022A\n\006Lumbar\030" + "\003 \001(\01321.vss.VehicleCabinSeatRow1Pos1Swit" + "chBackrestLumbar\022K\n\013SideBolster\030\004 \001(\01326." + "vss.VehicleCabinSeatRow1Pos1SwitchBackre" + "stSideBolster\"\226\001\n,VehicleCabinSeatRow1Po" + "s1SwitchBackrestLumbar\022\034\n\024IsMoreSupportE" + "ngaged\030\001 \001(\010\022\034\n\024IsLessSupportEngaged\030\002 \001" + "(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025\n\rIsDownEngaged" + "\030\004 \001(\010\"o\n1VehicleCabinSeatRow1Pos1Switch" + "BackrestSideBolster\022\034\n\024IsMoreSupportEnga" + "ged\030\001 \001(\010\022\034\n\024IsLessSupportEngaged\030\002 \001(\010\"" + "\\\n%VehicleCabinSeatRow1Pos1SwitchSeating" + "\022\030\n\020IsForwardEngaged\030\001 \001(\010\022\031\n\021IsBackward" + "Engaged\030\002 \001(\010\"\211\001\n&VehicleCabinSeatRow1Po" + "s1SwitchHeadrest\022\023\n\013IsUpEngaged\030\001 \001(\010\022\025\n" + "\rIsDownEngaged\030\002 \001(\010\022\030\n\020IsForwardEngaged" + "\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\"]\n%Veh" + "icleCabinSeatRow1Pos1SwitchMassage\022\031\n\021Is" + "IncreaseEngaged\030\001 \001(\010\022\031\n\021IsDecreaseEngag" + "ed\030\002 \001(\010\"\336\003\n\030VehicleCabinSeatRow1Pos2\022\022\n" + "\nIsOccupied\030\001 \001(\010\0227\n\010Occupant\030\002 \001(\0132%.vs" + "s.VehicleCabinSeatRow1Pos2Occupant\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\0227\n\010Backrest\030\t \001(\0132%.vss.V" + "ehicleCabinSeatRow1Pos2Backrest\0225\n\007Seati" + "ng\030\n \001(\0132$.vss.VehicleCabinSeatRow1Pos2S" + "eating\0227\n\010Headrest\030\013 \001(\0132%.vss.VehicleCa" + "binSeatRow1Pos2Headrest\0223\n\006Airbag\030\014 \001(\0132" + "#.vss.VehicleCabinSeatRow1Pos2Airbag\0223\n\006" + "Switch\030\r \001(\0132#.vss.VehicleCabinSeatRow1P" + "os2Switch\"g\n VehicleCabinSeatRow1Pos2Occ" + "upant\022C\n\nIdentifier\030\001 \001(\0132/.vss.VehicleC" + "abinSeatRow1Pos2OccupantIdentifier\"M\n*Ve" + "hicleCabinSeatRow1Pos2OccupantIdentifier" + "\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Issuer\030\002 \001(\t\"\267\001\n Ve" + "hicleCabinSeatRow1Pos2Backrest\022\017\n\007Reclin" + "e\030\001 \001(\002\022;\n\006Lumbar\030\002 \001(\0132+.vss.VehicleCab" + "inSeatRow1Pos2BackrestLumbar\022E\n\013SideBols" + "ter\030\003 \001(\01320.vss.VehicleCabinSeatRow1Pos2" + "BackrestSideBolster\"I\n&VehicleCabinSeatR" + "ow1Pos2BackrestLumbar\022\017\n\007Support\030\001 \001(\002\022\016" + "\n\006Height\030\002 \001(\r\">\n+VehicleCabinSeatRow1Po" + "s2BackrestSideBolster\022\017\n\007Support\030\001 \001(\002\"1" + "\n\037VehicleCabinSeatRow1Pos2Seating\022\016\n\006Len" + "gth\030\001 \001(\r\"A\n VehicleCabinSeatRow1Pos2Hea" + "drest\022\016\n\006Height\030\001 \001(\r\022\r\n\005Angle\030\002 \001(\002\"4\n\036" + "VehicleCabinSeatRow1Pos2Airbag\022\022\n\nIsDepl" + "oyed\030\001 \001(\010\"\350\003\n\036VehicleCabinSeatRow1Pos2S" + "witch\022\027\n\017IsWarmerEngaged\030\001 \001(\010\022\027\n\017IsCool" + "erEngaged\030\002 \001(\010\022\030\n\020IsForwardEngaged\030\003 \001(" + "\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\022\023\n\013IsUpEnga" + "ged\030\005 \001(\010\022\025\n\rIsDownEngaged\030\006 \001(\010\022\034\n\024IsTi" + "ltForwardEngaged\030\007 \001(\010\022\035\n\025IsTiltBackward" + "Engaged\030\010 \001(\010\022=\n\010Backrest\030\t \001(\0132+.vss.Ve" + "hicleCabinSeatRow1Pos2SwitchBackrest\022;\n\007" + "Seating\030\n \001(\0132*.vss.VehicleCabinSeatRow1" + "Pos2SwitchSeating\022=\n\010Headrest\030\013 \001(\0132+.vs" + "s.VehicleCabinSeatRow1Pos2SwitchHeadrest" + "\022;\n\007Massage\030\014 \001(\0132*.vss.VehicleCabinSeat" + "Row1Pos2SwitchMassage\"\373\001\n&VehicleCabinSe" + "atRow1Pos2SwitchBackrest\022\037\n\027IsReclineFor" + "wardEngaged\030\001 \001(\010\022 \n\030IsReclineBackwardEn" + "gaged\030\002 \001(\010\022A\n\006Lumbar\030\003 \001(\01321.vss.Vehicl" + "eCabinSeatRow1Pos2SwitchBackrestLumbar\022K" + "\n\013SideBolster\030\004 \001(\01326.vss.VehicleCabinSe" + "atRow1Pos2SwitchBackrestSideBolster\"\226\001\n," + "VehicleCabinSeatRow1Pos2SwitchBackrestLu" + "mbar\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024Is" + "LessSupportEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030" + "\003 \001(\010\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleC" + "abinSeatRow1Pos2SwitchBackrestSideBolste" + "r\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLes" + "sSupportEngaged\030\002 \001(\010\"\\\n%VehicleCabinSea" + "tRow1Pos2SwitchSeating\022\030\n\020IsForwardEngag" + "ed\030\001 \001(\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&" + "VehicleCabinSeatRow1Pos2SwitchHeadrest\022\023" + "\n\013IsUpEngaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001" + "(\010\022\030\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwa" + "rdEngaged\030\004 \001(\010\"]\n%VehicleCabinSeatRow1P" + "os2SwitchMassage\022\031\n\021IsIncreaseEngaged\030\001 " + "\001(\010\022\031\n\021IsDecreaseEngaged\030\002 \001(\010\"\336\003\n\030Vehic" + "leCabinSeatRow1Pos3\022\022\n\nIsOccupied\030\001 \001(\010\022" + "7\n\010Occupant\030\002 \001(\0132%.vss.VehicleCabinSeat" + "Row1Pos3Occupant\022\020\n\010IsBelted\030\003 \001(\010\022\017\n\007He" + "ating\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\0227\n\010" + "Backrest\030\t \001(\0132%.vss.VehicleCabinSeatRow" + "1Pos3Backrest\0225\n\007Seating\030\n \001(\0132$.vss.Veh" + "icleCabinSeatRow1Pos3Seating\0227\n\010Headrest" + "\030\013 \001(\0132%.vss.VehicleCabinSeatRow1Pos3Hea" + "drest\0223\n\006Airbag\030\014 \001(\0132#.vss.VehicleCabin" + "SeatRow1Pos3Airbag\0223\n\006Switch\030\r \001(\0132#.vss" + ".VehicleCabinSeatRow1Pos3Switch\"g\n Vehic" + "leCabinSeatRow1Pos3Occupant\022C\n\nIdentifie" + "r\030\001 \001(\0132/.vss.VehicleCabinSeatRow1Pos3Oc" + "cupantIdentifier\"M\n*VehicleCabinSeatRow1" + "Pos3OccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022" + "\016\n\006Issuer\030\002 \001(\t\"\267\001\n VehicleCabinSeatRow1" + "Pos3Backrest\022\017\n\007Recline\030\001 \001(\002\022;\n\006Lumbar\030" + "\002 \001(\0132+.vss.VehicleCabinSeatRow1Pos3Back" + "restLumbar\022E\n\013SideBolster\030\003 \001(\01320.vss.Ve" + "hicleCabinSeatRow1Pos3BackrestSideBolste" + "r\"I\n&VehicleCabinSeatRow1Pos3BackrestLum" + "bar\022\017\n\007Support\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+" + "VehicleCabinSeatRow1Pos3BackrestSideBols" + "ter\022\017\n\007Support\030\001 \001(\002\"1\n\037VehicleCabinSeat" + "Row1Pos3Seating\022\016\n\006Length\030\001 \001(\r\"A\n Vehic" + "leCabinSeatRow1Pos3Headrest\022\016\n\006Height\030\001 " + "\001(\r\022\r\n\005Angle\030\002 \001(\002\"4\n\036VehicleCabinSeatRo" + "w1Pos3Airbag\022\022\n\nIsDeployed\030\001 \001(\010\"\350\003\n\036Veh" + "icleCabinSeatRow1Pos3Switch\022\027\n\017IsWarmerE" + "ngaged\030\001 \001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n" + "\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEng" + "aged\030\004 \001(\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDow" + "nEngaged\030\006 \001(\010\022\034\n\024IsTiltForwardEngaged\030\007" + " \001(\010\022\035\n\025IsTiltBackwardEngaged\030\010 \001(\010\022=\n\010B" + "ackrest\030\t \001(\0132+.vss.VehicleCabinSeatRow1" + "Pos3SwitchBackrest\022;\n\007Seating\030\n \001(\0132*.vs" + "s.VehicleCabinSeatRow1Pos3SwitchSeating\022" + "=\n\010Headrest\030\013 \001(\0132+.vss.VehicleCabinSeat" + "Row1Pos3SwitchHeadrest\022;\n\007Massage\030\014 \001(\0132" + "*.vss.VehicleCabinSeatRow1Pos3SwitchMass" + "age\"\373\001\n&VehicleCabinSeatRow1Pos3SwitchBa" + "ckrest\022\037\n\027IsReclineForwardEngaged\030\001 \001(\010\022" + " \n\030IsReclineBackwardEngaged\030\002 \001(\010\022A\n\006Lum" + "bar\030\003 \001(\01321.vss.VehicleCabinSeatRow1Pos3" + "SwitchBackrestLumbar\022K\n\013SideBolster\030\004 \001(" + "\01326.vss.VehicleCabinSeatRow1Pos3SwitchBa" + "ckrestSideBolster\"\226\001\n,VehicleCabinSeatRo" + "w1Pos3SwitchBackrestLumbar\022\034\n\024IsMoreSupp" + "ortEngaged\030\001 \001(\010\022\034\n\024IsLessSupportEngaged" + "\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025\n\rIsDownEng" + "aged\030\004 \001(\010\"o\n1VehicleCabinSeatRow1Pos3Sw" + "itchBackrestSideBolster\022\034\n\024IsMoreSupport" + "Engaged\030\001 \001(\010\022\034\n\024IsLessSupportEngaged\030\002 " + "\001(\010\"\\\n%VehicleCabinSeatRow1Pos3SwitchSea" + "ting\022\030\n\020IsForwardEngaged\030\001 \001(\010\022\031\n\021IsBack" + "wardEngaged\030\002 \001(\010\"\211\001\n&VehicleCabinSeatRo" + "w1Pos3SwitchHeadrest\022\023\n\013IsUpEngaged\030\001 \001(" + "\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n\020IsForwardEng" + "aged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\"]\n" + "%VehicleCabinSeatRow1Pos3SwitchMassage\022\031" + "\n\021IsIncreaseEngaged\030\001 \001(\010\022\031\n\021IsDecreaseE" + "ngaged\030\002 \001(\010\"\235\001\n\024VehicleCabinSeatRow2\022+\n" + "\004Pos1\030\001 \001(\0132\035.vss.VehicleCabinSeatRow2Po" + "s1\022+\n\004Pos2\030\002 \001(\0132\035.vss.VehicleCabinSeatR" + "ow2Pos2\022+\n\004Pos3\030\003 \001(\0132\035.vss.VehicleCabin" + "SeatRow2Pos3\"\336\003\n\030VehicleCabinSeatRow2Pos" + "1\022\022\n\nIsOccupied\030\001 \001(\010\0227\n\010Occupant\030\002 \001(\0132" + "%.vss.VehicleCabinSeatRow2Pos1Occupant\022\020" + "\n\010IsBelted\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Mas" + "sage\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\0227\n\010Backrest\030\t \001(\0132%.v" + "ss.VehicleCabinSeatRow2Pos1Backrest\0225\n\007S" + "eating\030\n \001(\0132$.vss.VehicleCabinSeatRow2P" + "os1Seating\0227\n\010Headrest\030\013 \001(\0132%.vss.Vehic" + "leCabinSeatRow2Pos1Headrest\0223\n\006Airbag\030\014 " + "\001(\0132#.vss.VehicleCabinSeatRow2Pos1Airbag" + "\0223\n\006Switch\030\r \001(\0132#.vss.VehicleCabinSeatR" + "ow2Pos1Switch\"g\n VehicleCabinSeatRow2Pos" + "1Occupant\022C\n\nIdentifier\030\001 \001(\0132/.vss.Vehi" + "cleCabinSeatRow2Pos1OccupantIdentifier\"M" + "\n*VehicleCabinSeatRow2Pos1OccupantIdenti" + "fier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Issuer\030\002 \001(\t\"\267\001" + "\n VehicleCabinSeatRow2Pos1Backrest\022\017\n\007Re" + "cline\030\001 \001(\002\022;\n\006Lumbar\030\002 \001(\0132+.vss.Vehicl" + "eCabinSeatRow2Pos1BackrestLumbar\022E\n\013Side" + "Bolster\030\003 \001(\01320.vss.VehicleCabinSeatRow2" + "Pos1BackrestSideBolster\"I\n&VehicleCabinS" + "eatRow2Pos1BackrestLumbar\022\017\n\007Support\030\001 \001" + "(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCabinSeatRo" + "w2Pos1BackrestSideBolster\022\017\n\007Support\030\001 \001" + "(\002\"1\n\037VehicleCabinSeatRow2Pos1Seating\022\016\n" + "\006Length\030\001 \001(\r\"A\n VehicleCabinSeatRow2Pos" + "1Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005Angle\030\002 \001(\002" + "\"4\n\036VehicleCabinSeatRow2Pos1Airbag\022\022\n\nIs" + "Deployed\030\001 \001(\010\"\350\003\n\036VehicleCabinSeatRow2P" + "os1Switch\022\027\n\017IsWarmerEngaged\030\001 \001(\010\022\027\n\017Is" + "CoolerEngaged\030\002 \001(\010\022\030\n\020IsForwardEngaged\030" + "\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\022\023\n\013IsUp" + "Engaged\030\005 \001(\010\022\025\n\rIsDownEngaged\030\006 \001(\010\022\034\n\024" + "IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025IsTiltBack" + "wardEngaged\030\010 \001(\010\022=\n\010Backrest\030\t \001(\0132+.vs" + "s.VehicleCabinSeatRow2Pos1SwitchBackrest" + "\022;\n\007Seating\030\n \001(\0132*.vss.VehicleCabinSeat" + "Row2Pos1SwitchSeating\022=\n\010Headrest\030\013 \001(\0132" + "+.vss.VehicleCabinSeatRow2Pos1SwitchHead" + "rest\022;\n\007Massage\030\014 \001(\0132*.vss.VehicleCabin" + "SeatRow2Pos1SwitchMassage\"\373\001\n&VehicleCab" + "inSeatRow2Pos1SwitchBackrest\022\037\n\027IsReclin" + "eForwardEngaged\030\001 \001(\010\022 \n\030IsReclineBackwa" + "rdEngaged\030\002 \001(\010\022A\n\006Lumbar\030\003 \001(\01321.vss.Ve" + "hicleCabinSeatRow2Pos1SwitchBackrestLumb" + "ar\022K\n\013SideBolster\030\004 \001(\01326.vss.VehicleCab" + "inSeatRow2Pos1SwitchBackrestSideBolster\"" + "\226\001\n,VehicleCabinSeatRow2Pos1SwitchBackre" + "stLumbar\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034" + "\n\024IsLessSupportEngaged\030\002 \001(\010\022\023\n\013IsUpEnga" + "ged\030\003 \001(\010\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1Vehi" + "cleCabinSeatRow2Pos1SwitchBackrestSideBo" + "lster\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024I" + "sLessSupportEngaged\030\002 \001(\010\"\\\n%VehicleCabi" + "nSeatRow2Pos1SwitchSeating\022\030\n\020IsForwardE" + "ngaged\030\001 \001(\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"" + "\211\001\n&VehicleCabinSeatRow2Pos1SwitchHeadre" + "st\022\023\n\013IsUpEngaged\030\001 \001(\010\022\025\n\rIsDownEngaged" + "\030\002 \001(\010\022\030\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBa" + "ckwardEngaged\030\004 \001(\010\"]\n%VehicleCabinSeatR" + "ow2Pos1SwitchMassage\022\031\n\021IsIncreaseEngage" + "d\030\001 \001(\010\022\031\n\021IsDecreaseEngaged\030\002 \001(\010\"\336\003\n\030V" + "ehicleCabinSeatRow2Pos2\022\022\n\nIsOccupied\030\001 " + "\001(\010\0227\n\010Occupant\030\002 \001(\0132%.vss.VehicleCabin" + "SeatRow2Pos2Occupant\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\010Posi" + "tion\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014\n\004Tilt\030\010 \001(\002" + "\0227\n\010Backrest\030\t \001(\0132%.vss.VehicleCabinSea" + "tRow2Pos2Backrest\0225\n\007Seating\030\n \001(\0132$.vss" + ".VehicleCabinSeatRow2Pos2Seating\0227\n\010Head" + "rest\030\013 \001(\0132%.vss.VehicleCabinSeatRow2Pos" + "2Headrest\0223\n\006Airbag\030\014 \001(\0132#.vss.VehicleC" + "abinSeatRow2Pos2Airbag\0223\n\006Switch\030\r \001(\0132#" + ".vss.VehicleCabinSeatRow2Pos2Switch\"g\n V" + "ehicleCabinSeatRow2Pos2Occupant\022C\n\nIdent" + "ifier\030\001 \001(\0132/.vss.VehicleCabinSeatRow2Po" + "s2OccupantIdentifier\"M\n*VehicleCabinSeat" + "Row2Pos2OccupantIdentifier\022\017\n\007Subject\030\001 " + "\001(\t\022\016\n\006Issuer\030\002 \001(\t\"\267\001\n VehicleCabinSeat" + "Row2Pos2Backrest\022\017\n\007Recline\030\001 \001(\002\022;\n\006Lum" + "bar\030\002 \001(\0132+.vss.VehicleCabinSeatRow2Pos2" + "BackrestLumbar\022E\n\013SideBolster\030\003 \001(\01320.vs" + "s.VehicleCabinSeatRow2Pos2BackrestSideBo" + "lster\"I\n&VehicleCabinSeatRow2Pos2Backres" + "tLumbar\022\017\n\007Support\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r" + "\">\n+VehicleCabinSeatRow2Pos2BackrestSide" + "Bolster\022\017\n\007Support\030\001 \001(\002\"1\n\037VehicleCabin" + "SeatRow2Pos2Seating\022\016\n\006Length\030\001 \001(\r\"A\n V" + "ehicleCabinSeatRow2Pos2Headrest\022\016\n\006Heigh" + "t\030\001 \001(\r\022\r\n\005Angle\030\002 \001(\002\"4\n\036VehicleCabinSe" + "atRow2Pos2Airbag\022\022\n\nIsDeployed\030\001 \001(\010\"\350\003\n" + "\036VehicleCabinSeatRow2Pos2Switch\022\027\n\017IsWar" + "merEngaged\030\001 \001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(" + "\010\022\030\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwar" + "dEngaged\030\004 \001(\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rI" + "sDownEngaged\030\006 \001(\010\022\034\n\024IsTiltForwardEngag" + "ed\030\007 \001(\010\022\035\n\025IsTiltBackwardEngaged\030\010 \001(\010\022" + "=\n\010Backrest\030\t \001(\0132+.vss.VehicleCabinSeat" + "Row2Pos2SwitchBackrest\022;\n\007Seating\030\n \001(\0132" + "*.vss.VehicleCabinSeatRow2Pos2SwitchSeat" + "ing\022=\n\010Headrest\030\013 \001(\0132+.vss.VehicleCabin" + "SeatRow2Pos2SwitchHeadrest\022;\n\007Massage\030\014 " + "\001(\0132*.vss.VehicleCabinSeatRow2Pos2Switch" + "Massage\"\373\001\n&VehicleCabinSeatRow2Pos2Swit" + "chBackrest\022\037\n\027IsReclineForwardEngaged\030\001 " + "\001(\010\022 \n\030IsReclineBackwardEngaged\030\002 \001(\010\022A\n" + "\006Lumbar\030\003 \001(\01321.vss.VehicleCabinSeatRow2" + "Pos2SwitchBackrestLumbar\022K\n\013SideBolster\030" + "\004 \001(\01326.vss.VehicleCabinSeatRow2Pos2Swit" + "chBackrestSideBolster\"\226\001\n,VehicleCabinSe" + "atRow2Pos2SwitchBackrestLumbar\022\034\n\024IsMore" + "SupportEngaged\030\001 \001(\010\022\034\n\024IsLessSupportEng" + "aged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025\n\rIsDow" + "nEngaged\030\004 \001(\010\"o\n1VehicleCabinSeatRow2Po" + "s2SwitchBackrestSideBolster\022\034\n\024IsMoreSup" + "portEngaged\030\001 \001(\010\022\034\n\024IsLessSupportEngage" + "d\030\002 \001(\010\"\\\n%VehicleCabinSeatRow2Pos2Switc" + "hSeating\022\030\n\020IsForwardEngaged\030\001 \001(\010\022\031\n\021Is" + "BackwardEngaged\030\002 \001(\010\"\211\001\n&VehicleCabinSe" + "atRow2Pos2SwitchHeadrest\022\023\n\013IsUpEngaged\030" + "\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n\020IsForwar" + "dEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(" + "\010\"]\n%VehicleCabinSeatRow2Pos2SwitchMassa" + "ge\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022\031\n\021IsDecre" + "aseEngaged\030\002 \001(\010\"\336\003\n\030VehicleCabinSeatRow" + "2Pos3\022\022\n\nIsOccupied\030\001 \001(\010\0227\n\010Occupant\030\002 " + "\001(\0132%.vss.VehicleCabinSeatRow2Pos3Occupa" + "nt\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\006Heig" + "ht\030\007 \001(\r\022\014\n\004Tilt\030\010 \001(\002\0227\n\010Backrest\030\t \001(\013" + "2%.vss.VehicleCabinSeatRow2Pos3Backrest\022" + "5\n\007Seating\030\n \001(\0132$.vss.VehicleCabinSeatR" + "ow2Pos3Seating\0227\n\010Headrest\030\013 \001(\0132%.vss.V" + "ehicleCabinSeatRow2Pos3Headrest\0223\n\006Airba" + "g\030\014 \001(\0132#.vss.VehicleCabinSeatRow2Pos3Ai" + "rbag\0223\n\006Switch\030\r \001(\0132#.vss.VehicleCabinS" + "eatRow2Pos3Switch\"g\n VehicleCabinSeatRow" + "2Pos3Occupant\022C\n\nIdentifier\030\001 \001(\0132/.vss." + "VehicleCabinSeatRow2Pos3OccupantIdentifi" + "er\"M\n*VehicleCabinSeatRow2Pos3OccupantId" + "entifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Issuer\030\002 \001(" + "\t\"\267\001\n VehicleCabinSeatRow2Pos3Backrest\022\017" + "\n\007Recline\030\001 \001(\002\022;\n\006Lumbar\030\002 \001(\0132+.vss.Ve" + "hicleCabinSeatRow2Pos3BackrestLumbar\022E\n\013" + "SideBolster\030\003 \001(\01320.vss.VehicleCabinSeat" + "Row2Pos3BackrestSideBolster\"I\n&VehicleCa" + "binSeatRow2Pos3BackrestLumbar\022\017\n\007Support" + "\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCabinSe" + "atRow2Pos3BackrestSideBolster\022\017\n\007Support" + "\030\001 \001(\002\"1\n\037VehicleCabinSeatRow2Pos3Seatin" + "g\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinSeatRow" + "2Pos3Headrest\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\"\350\003\n\036VehicleCabinSeatR" + "ow2Pos3Switch\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\022=\n\010Backrest\030\t \001(\0132" + "+.vss.VehicleCabinSeatRow2Pos3SwitchBack" + "rest\022;\n\007Seating\030\n \001(\0132*.vss.VehicleCabin" + "SeatRow2Pos3SwitchSeating\022=\n\010Headrest\030\013 " + "\001(\0132+.vss.VehicleCabinSeatRow2Pos3Switch" + "Headrest\022;\n\007Massage\030\014 \001(\0132*.vss.VehicleC" + "abinSeatRow2Pos3SwitchMassage\"\373\001\n&Vehicl" + "eCabinSeatRow2Pos3SwitchBackrest\022\037\n\027IsRe" + "clineForwardEngaged\030\001 \001(\010\022 \n\030IsReclineBa" + "ckwardEngaged\030\002 \001(\010\022A\n\006Lumbar\030\003 \001(\01321.vs" + "s.VehicleCabinSeatRow2Pos3SwitchBackrest" + "Lumbar\022K\n\013SideBolster\030\004 \001(\01326.vss.Vehicl" + "eCabinSeatRow2Pos3SwitchBackrestSideBols" + "ter\"\226\001\n,VehicleCabinSeatRow2Pos3SwitchBa" + "ckrestLumbar\022\034\n\024IsMoreSupportEngaged\030\001 \001" + "(\010\022\034\n\024IsLessSupportEngaged\030\002 \001(\010\022\023\n\013IsUp" + "Engaged\030\003 \001(\010\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1" + "VehicleCabinSeatRow2Pos3SwitchBackrestSi" + "deBolster\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022" + "\034\n\024IsLessSupportEngaged\030\002 \001(\010\"\\\n%Vehicle" + "CabinSeatRow2Pos3SwitchSeating\022\030\n\020IsForw" + "ardEngaged\030\001 \001(\010\022\031\n\021IsBackwardEngaged\030\002 " + "\001(\010\"\211\001\n&VehicleCabinSeatRow2Pos3SwitchHe" + "adrest\022\023\n\013IsUpEngaged\030\001 \001(\010\022\025\n\rIsDownEng" + "aged\030\002 \001(\010\022\030\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021" + "IsBackwardEngaged\030\004 \001(\010\"]\n%VehicleCabinS" + "eatRow2Pos3SwitchMassage\022\031\n\021IsIncreaseEn" + "gaged\030\001 \001(\010\022\031\n\021IsDecreaseEngaged\030\002 \001(\010\")" + "\n\027VehicleCabinConvertible\022\016\n\006Status\030\001 \001(" + "\t\"\260\003\n\013VehicleADAS\022\033\n\023ActiveAutonomyLevel" + "\030\001 \001(\t\022\036\n\026SupportedAutonomyLevel\030\002 \001(\t\0224" + "\n\rCruiseControl\030\003 \001(\0132\035.vss.VehicleADASC" + "ruiseControl\022F\n\026LaneDepartureDetection\030\004" + " \001(\0132&.vss.VehicleADASLaneDepartureDetec" + "tion\022<\n\021ObstacleDetection\030\005 \001(\0132!.vss.Ve" + "hicleADASObstacleDetection\022 \n\003ABS\030\006 \001(\0132" + "\023.vss.VehicleADASABS\022 \n\003TCS\030\007 \001(\0132\023.vss." + "VehicleADASTCS\022 \n\003ESC\030\010 \001(\0132\023.vss.Vehicl" + "eADASESC\022 \n\003EBD\030\t \001(\0132\023.vss.VehicleADASE" + "BD\022 \n\003EBA\030\n \001(\0132\023.vss.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\"\241\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\0225\n\014RoadFriction\030\005 \001(\0132\037.vss.V" + "ehicleADASESCRoadFriction\"Z\n\032VehicleADAS" + "ESCRoadFriction\022\024\n\014MostProbable\030\001 \001(\002\022\022\n" + "\nLowerBound\030\002 \001(\002\022\022\n\nUpperBound\030\003 \001(\002\"G\n" + "\016VehicleADASEBD\022\021\n\tIsEnabled\030\001 \001(\010\022\017\n\007Is" + "Error\030\002 \001(\010\022\021\n\tIsEngaged\030\003 \001(\010\"G\n\016Vehicl" + "eADASEBA\022\021\n\tIsEnabled\030\001 \001(\010\022\017\n\007IsError\030\002" + " \001(\010\022\021\n\tIsEngaged\030\003 \001(\010\"\272\002\n\016VehicleChass" + "is\022\021\n\tWheelbase\030\001 \001(\r\022\r\n\005Track\030\002 \001(\r\022%\n\004" + "Axle\030\003 \001(\0132\027.vss.VehicleChassisAxle\022\021\n\tA" + "xleCount\030\004 \001(\r\0225\n\014ParkingBrake\030\005 \001(\0132\037.v" + "ss.VehicleChassisParkingBrake\0227\n\rSteerin" + "gWheel\030\006 \001(\0132 .vss.VehicleChassisSteerin" + "gWheel\0223\n\013Accelerator\030\007 \001(\0132\036.vss.Vehicl" + "eChassisAccelerator\022\'\n\005Brake\030\010 \001(\0132\030.vss" + ".VehicleChassisBrake\"j\n\022VehicleChassisAx" + "le\022)\n\004Row1\030\001 \001(\0132\033.vss.VehicleChassisAxl" + "eRow1\022)\n\004Row2\030\002 \001(\0132\033.vss.VehicleChassis" + "AxleRow2\"\312\001\n\026VehicleChassisAxleRow1\022\022\n\nW" + "heelCount\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(\0132 .vss.VehicleChassis" + "AxleRow1Wheel\"\207\001\n\033VehicleChassisAxleRow1" + "Wheel\0222\n\004Left\030\001 \001(\0132$.vss.VehicleChassis" + "AxleRow1WheelLeft\0224\n\005Right\030\002 \001(\0132%.vss.V" + "ehicleChassisAxleRow1WheelRight\"\242\001\n\037Vehi" + "cleChassisAxleRow1WheelLeft\0228\n\005Brake\030\001 \001" + "(\0132).vss.VehicleChassisAxleRow1WheelLeft" + "Brake\0226\n\004Tire\030\002 \001(\0132(.vss.VehicleChassis" + "AxleRow1WheelLeftTire\022\r\n\005Speed\030\003 \001(\002\"z\n$" + "VehicleChassisAxleRow1WheelLeftBrake\022\022\n\n" + "FluidLevel\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#VehicleChassisAxleRow1WheelLeftTire\022" + "\020\n\010Pressure\030\001 \001(\r\022\025\n\rIsPressureLow\030\002 \001(\010" + "\022\023\n\013Temperature\030\003 \001(\002\"\245\001\n VehicleChassis" + "AxleRow1WheelRight\0229\n\005Brake\030\001 \001(\0132*.vss." + "VehicleChassisAxleRow1WheelRightBrake\0227\n" + "\004Tire\030\002 \001(\0132).vss.VehicleChassisAxleRow1" + "WheelRightTire\022\r\n\005Speed\030\003 \001(\002\"{\n%Vehicle" + "ChassisAxleRow1WheelRightBrake\022\022\n\nFluidL" + "evel\030\001 \001(\r\022\027\n\017IsFluidLevelLow\030\002 \001(\010\022\017\n\007P" + "adWear\030\003 \001(\r\022\024\n\014IsBrakesWorn\030\004 \001(\010\"d\n$Ve" + "hicleChassisAxleRow1WheelRightTire\022\020\n\010Pr" + "essure\030\001 \001(\r\022\025\n\rIsPressureLow\030\002 \001(\010\022\023\n\013T" + "emperature\030\003 \001(\002\"\312\001\n\026VehicleChassisAxleR" + "ow2\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\014TireDiamet" + "er\030\004 \001(\002\022\021\n\tTireWidth\030\005 \001(\r\022\027\n\017TireAspec" + "tRatio\030\006 \001(\r\022/\n\005Wheel\030\007 \001(\0132 .vss.Vehicl" + "eChassisAxleRow2Wheel\"\207\001\n\033VehicleChassis" + "AxleRow2Wheel\0222\n\004Left\030\001 \001(\0132$.vss.Vehicl" + "eChassisAxleRow2WheelLeft\0224\n\005Right\030\002 \001(\013" + "2%.vss.VehicleChassisAxleRow2WheelRight\"" + "\242\001\n\037VehicleChassisAxleRow2WheelLeft\0228\n\005B" + "rake\030\001 \001(\0132).vss.VehicleChassisAxleRow2W" + "heelLeftBrake\0226\n\004Tire\030\002 \001(\0132(.vss.Vehicl" + "eChassisAxleRow2WheelLeftTire\022\r\n\005Speed\030\003" + " \001(\002\"z\n$VehicleChassisAxleRow2WheelLeftB" + "rake\022\022\n\nFluidLevel\030\001 \001(\r\022\027\n\017IsFluidLevel" + "Low\030\002 \001(\010\022\017\n\007PadWear\030\003 \001(\r\022\024\n\014IsBrakesWo" + "rn\030\004 \001(\010\"c\n#VehicleChassisAxleRow2WheelL" + "eftTire\022\020\n\010Pressure\030\001 \001(\r\022\025\n\rIsPressureL" + "ow\030\002 \001(\010\022\023\n\013Temperature\030\003 \001(\002\"\245\001\n Vehicl" + "eChassisAxleRow2WheelRight\0229\n\005Brake\030\001 \001(" + "\0132*.vss.VehicleChassisAxleRow2WheelRight" + "Brake\0227\n\004Tire\030\002 \001(\0132).vss.VehicleChassis" + "AxleRow2WheelRightTire\022\r\n\005Speed\030\003 \001(\002\"{\n" + "%VehicleChassisAxleRow2WheelRightBrake\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\"d\n$VehicleChassisAxleRow2WheelRightTi" + "re\022\020\n\010Pressure\030\001 \001(\r\022\025\n\rIsPressureLow\030\002 " + "\001(\010\022\023\n\013Temperature\030\003 \001(\002\"/\n\032VehicleChass" + "isParkingBrake\022\021\n\tIsEngaged\030\001 \001(\010\"_\n\033Veh" + "icleChassisSteeringWheel\022\r\n\005Angle\030\001 \001(\005\022" + "\014\n\004Tilt\030\002 \001(\r\022\021\n\tExtension\030\003 \001(\r\022\020\n\010Posi" + "tion\030\004 \001(\t\"2\n\031VehicleChassisAccelerator\022" + "\025\n\rPedalPosition\030\001 \001(\r\"V\n\023VehicleChassis" + "Brake\022\025\n\rPedalPosition\030\001 \001(\r\022(\n IsDriver" + "EmergencyBrakingDetected\030\002 \001(\010\"\216\017\n\nVehic" + "leOBD\022\r\n\005PidsA\030\001 \001(\r\022%\n\006Status\030\002 \001(\0132\025.v" + "ss.VehicleOBDStatus\022\017\n\007DTCList\030\003 \003(\t\022\021\n\t" + "FreezeDTC\030\004 \001(\t\022\022\n\nFuelStatus\030\005 \001(\t\022\022\n\nE" + "ngineLoad\030\006 \001(\002\022\032\n\022CoolantTemperature\030\007 " + "\001(\002\022\032\n\022ShortTermFuelTrim1\030\010 \001(\002\022\031\n\021LongT" + "ermFuelTrim1\030\t \001(\002\022\032\n\022ShortTermFuelTrim2" + "\030\n \001(\002\022\031\n\021LongTermFuelTrim2\030\013 \001(\002\022\024\n\014Fue" + "lPressure\030\014 \001(\002\022\013\n\003MAP\030\r \001(\002\022\023\n\013EngineSp" + "eed\030\016 \001(\002\022\r\n\005Speed\030\017 \001(\002\022\025\n\rTimingAdvanc" + "e\030\020 \001(\002\022\022\n\nIntakeTemp\030\021 \001(\002\022\013\n\003MAF\030\022 \001(\002" + "\022\030\n\020ThrottlePosition\030\023 \001(\002\022\021\n\tAirStatus\030" + "\024 \001(\t\022\035\n\025OxygenSensorsIn2Banks\030\025 \001(\r\022\035\n\002" + "O2\030\026 \001(\0132\021.vss.VehicleOBDO2\022\024\n\014OBDStanda" + "rds\030\027 \001(\r\022\035\n\025OxygenSensorsIn4Banks\030\030 \001(\r" + "\022\023\n\013IsPTOActive\030\031 \001(\010\022\017\n\007RunTime\030\032 \001(\002\022\r" + "\n\005PidsB\030\033 \001(\r\022\027\n\017DistanceWithMIL\030\034 \001(\002\022\033" + "\n\023FuelRailPressureVac\030\035 \001(\002\022\036\n\026FuelRailP" + "ressureDirect\030\036 \001(\002\022!\n\004O2WR\030\037 \001(\0132\023.vss." + "VehicleOBDO2WR\022\024\n\014CommandedEGR\030 \001(\002\022\020\n\010" + "EGRError\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\025DistanceSinceDTCClear\030% \001(\002\022\031\n" + "\021EVAPVaporPressure\030& \001(\002\022\032\n\022BarometricPr" + "essure\030\' \001(\002\022)\n\010Catalyst\030( \001(\0132\027.vss.Veh" + "icleOBDCatalyst\022\r\n\005PidsC\030) \001(\r\0229\n\020DriveC" + "ycleStatus\030* \001(\0132\037.vss.VehicleOBDDriveCy" + "cleStatus\022\034\n\024ControlModuleVoltage\030+ \001(\002\022" + "\024\n\014AbsoluteLoad\030, \001(\002\022!\n\031CommandedEquiva" + "lenceRatio\030- \001(\002\022 \n\030RelativeThrottlePosi" + "tion\030. \001(\002\022\035\n\025AmbientAirTemperature\030/ \001(" + "\002\022\031\n\021ThrottlePositionB\0300 \001(\002\022\031\n\021Throttle" + "PositionC\0301 \001(\002\022\034\n\024AcceleratorPositionD\030" + "2 \001(\002\022\034\n\024AcceleratorPositionE\0303 \001(\002\022\034\n\024A" + "cceleratorPositionF\0304 \001(\002\022\030\n\020ThrottleAct" + "uator\0305 \001(\002\022\022\n\nRunTimeMIL\0306 \001(\002\022\033\n\023TimeS" + "inceDTCCleared\0307 \001(\002\022\016\n\006MaxMAF\0308 \001(\002\022\020\n\010" + "FuelType\0309 \001(\t\022\026\n\016EthanolPercent\030: \001(\002\022!" + "\n\031EVAPVaporPressureAbsolute\030; \001(\002\022\"\n\032EVA" + "PVaporPressureAlternate\030< \001(\002\022\030\n\020ShortTe" + "rmO2Trim1\030= \001(\002\022\030\n\020ShortTermO2Trim3\030> \001(" + "\002\022\027\n\017LongTermO2Trim1\030\? \001(\002\022\027\n\017LongTermO2" + "Trim3\030@ \001(\002\022\030\n\020ShortTermO2Trim2\030A \001(\002\022\030\n" + "\020ShortTermO2Trim4\030B \001(\002\022\027\n\017LongTermO2Tri" + "m2\030C \001(\002\022\027\n\017LongTermO2Trim4\030D \001(\002\022 \n\030Fue" + "lRailPressureAbsolute\030E \001(\002\022#\n\033RelativeA" + "cceleratorPosition\030F \001(\002\022\036\n\026HybridBatter" + "yRemaining\030G \001(\002\022\026\n\016OilTemperature\030H \001(\002" + "\022\033\n\023FuelInjectionTiming\030I \001(\002\022\020\n\010FuelRat" + "e\030J \001(\002\"K\n\020VehicleOBDStatus\022\017\n\007IsMILOn\030\001" + " \001(\010\022\020\n\010DTCCount\030\002 \001(\r\022\024\n\014IgnitionType\030\003" + " \001(\t\"\346\002\n\014VehicleOBDO2\022)\n\007Sensor1\030\001 \001(\0132\030" + ".vss.VehicleOBDO2Sensor1\022)\n\007Sensor2\030\002 \001(" + "\0132\030.vss.VehicleOBDO2Sensor2\022)\n\007Sensor3\030\003" + " \001(\0132\030.vss.VehicleOBDO2Sensor3\022)\n\007Sensor" + "4\030\004 \001(\0132\030.vss.VehicleOBDO2Sensor4\022)\n\007Sen" + "sor5\030\005 \001(\0132\030.vss.VehicleOBDO2Sensor5\022)\n\007" + "Sensor6\030\006 \001(\0132\030.vss.VehicleOBDO2Sensor6\022" + ")\n\007Sensor7\030\007 \001(\0132\030.vss.VehicleOBDO2Senso" + "r7\022)\n\007Sensor8\030\010 \001(\0132\030.vss.VehicleOBDO2Se" + "nsor8\"A\n\023VehicleOBDO2Sensor1\022\017\n\007Voltage\030" + "\001 \001(\002\022\031\n\021ShortTermFuelTrim\030\002 \001(\002\"A\n\023Vehi" + "cleOBDO2Sensor2\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021Shor" + "tTermFuelTrim\030\002 \001(\002\"A\n\023VehicleOBDO2Senso" + "r3\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\023Veh" + "icleOBDO2Sensor5\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021Sho" + "rtTermFuelTrim\030\002 \001(\002\"A\n\023VehicleOBDO2Sens" + "or6\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021ShortTermFuelTri" + "m\030\002 \001(\002\"A\n\023VehicleOBDO2Sensor7\022\017\n\007Voltag" + "e\030\001 \001(\002\022\031\n\021ShortTermFuelTrim\030\002 \001(\002\"A\n\023Ve" + "hicleOBDO2Sensor8\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021Sh" + "ortTermFuelTrim\030\002 \001(\002\"\370\002\n\016VehicleOBDO2WR" + "\022+\n\007Sensor1\030\001 \001(\0132\032.vss.VehicleOBDO2WRSe" + "nsor1\022+\n\007Sensor2\030\002 \001(\0132\032.vss.VehicleOBDO" + "2WRSensor2\022+\n\007Sensor3\030\003 \001(\0132\032.vss.Vehicl" + "eOBDO2WRSensor3\022+\n\007Sensor4\030\004 \001(\0132\032.vss.V" + "ehicleOBDO2WRSensor4\022+\n\007Sensor5\030\005 \001(\0132\032." + "vss.VehicleOBDO2WRSensor5\022+\n\007Sensor6\030\006 \001" + "(\0132\032.vss.VehicleOBDO2WRSensor6\022+\n\007Sensor" + "7\030\007 \001(\0132\032.vss.VehicleOBDO2WRSensor7\022+\n\007S" + "ensor8\030\010 \001(\0132\032.vss.VehicleOBDO2WRSensor8" + "\"I\n\025VehicleOBDO2WRSensor1\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\025V" + "ehicleOBDO2WRSensor2\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007" + "Voltage\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n\025Vehicl" + "eOBDO2WRSensor3\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Volta" + "ge\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n\025VehicleOBDO" + "2WRSensor4\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\025VehicleOBDO2WRSe" + "nsor5\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\025VehicleOBDO2WRSensor6" + "\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Cur" + "rent\030\003 \001(\002\"I\n\025VehicleOBDO2WRSensor7\022\016\n\006L" + "ambda\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Current\030" + "\003 \001(\002\"I\n\025VehicleOBDO2WRSensor8\022\016\n\006Lambda" + "\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002" + "\"n\n\022VehicleOBDCatalyst\022+\n\005Bank1\030\001 \001(\0132\034." + "vss.VehicleOBDCatalystBank1\022+\n\005Bank2\030\002 \001" + "(\0132\034.vss.VehicleOBDCatalystBank2\"E\n\027Vehi" + "cleOBDCatalystBank1\022\024\n\014Temperature1\030\001 \001(" + "\002\022\024\n\014Temperature2\030\002 \001(\002\"E\n\027VehicleOBDCat" + "alystBank2\022\024\n\014Temperature1\030\001 \001(\002\022\024\n\014Temp" + "erature2\030\002 \001(\002\"U\n\032VehicleOBDDriveCycleSt" + "atus\022\017\n\007IsMILOn\030\001 \001(\010\022\020\n\010DTCCount\030\002 \001(\r\022" + "\024\n\014IgnitionType\030\003 \001(\t\"\270\001\n\rVehicleDriver\022" + "0\n\nIdentifier\030\001 \001(\0132\034.vss.VehicleDriverI" + "dentifier\022\030\n\020DistractionLevel\030\002 \001(\002\022\024\n\014I" + "sEyesOnRoad\030\003 \001(\010\022\034\n\024AttentiveProbabilit" + "y\030\004 \001(\002\022\024\n\014FatigueLevel\030\005 \001(\002\022\021\n\tHeartRa" + "te\030\006 \001(\r\":\n\027VehicleDriverIdentifier\022\017\n\007S" + "ubject\030\001 \001(\t\022\016\n\006Issuer\030\002 \001(\t\"S\n\017VehicleE" + "xterior\022\026\n\016AirTemperature\030\001 \001(\002\022\020\n\010Humid" + "ity\030\002 \001(\002\022\026\n\016LightIntensity\030\003 \001(\002\"X\n\016Veh" + "icleService\022\024\n\014IsServiceDue\030\001 \001(\010\022\031\n\021Dis" + "tanceToService\030\002 \001(\002\022\025\n\rTimeToService\030\003 " + "\001(\005\"6\n\023VehicleConnectivity\022\037\n\027IsConnecti" + "vityAvailable\030\001 \001(\010b\006proto3" +}; +static ::absl::once_flag descriptor_table_vss_2fvspec_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_vss_2fvspec_2eproto = { + false, + false, + 42027, + descriptor_table_protodef_vss_2fvspec_2eproto, + "vss/vspec.proto", + &descriptor_table_vss_2fvspec_2eproto_once, + nullptr, + 0, + 269, + schemas, + file_default_instances, + TableStruct_vss_2fvspec_2eproto::offsets, + file_level_metadata_vss_2fvspec_2eproto, + file_level_enum_descriptors_vss_2fvspec_2eproto, + file_level_service_descriptors_vss_2fvspec_2eproto, +}; + +// This function exists to be marked as weak. +// It can significantly speed up compilation by breaking up LLVM's SCC +// in the .pb.cc translation units. Large translation units see a +// reduction of more than 35% of walltime for optimized builds. Without +// the weak attribute all the messages in the file, including all the +// vtables and everything they use become part of the same SCC through +// a cycle like: +// GetMetadata -> descriptor table -> default instances -> +// vtables -> GetMetadata +// By adding a weak function here we break the connection from the +// individual vtables back into the descriptor table. +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_vss_2fvspec_2eproto_getter() { + return &descriptor_table_vss_2fvspec_2eproto; +} +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 +static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_vss_2fvspec_2eproto(&descriptor_table_vss_2fvspec_2eproto); +namespace vss { +// =================================================================== + +class Vehicle::_Internal { + public: + static const ::vss::VehicleVersionVSS& versionvss(const Vehicle* msg); + static const ::vss::VehicleVehicleIdentification& vehicleidentification(const Vehicle* msg); + static const ::vss::VehicleLowVoltageBattery& lowvoltagebattery(const Vehicle* msg); + static const ::vss::VehicleAcceleration& acceleration(const Vehicle* msg); + static const ::vss::VehicleAngularVelocity& angularvelocity(const Vehicle* msg); + static const ::vss::VehicleTrailer& trailer(const Vehicle* msg); + static const ::vss::VehicleCurrentLocation& currentlocation(const Vehicle* msg); + static const ::vss::VehiclePowertrain& powertrain(const Vehicle* msg); + static const ::vss::VehicleBody& body(const Vehicle* msg); + static const ::vss::VehicleCabin& cabin(const Vehicle* msg); + static const ::vss::VehicleADAS& adas(const Vehicle* msg); + static const ::vss::VehicleChassis& chassis(const Vehicle* msg); + static const ::vss::VehicleOBD& obd(const Vehicle* msg); + static const ::vss::VehicleDriver& driver(const Vehicle* msg); + static const ::vss::VehicleExterior& exterior(const Vehicle* msg); + static const ::vss::VehicleService& service(const Vehicle* msg); + static const ::vss::VehicleConnectivity& connectivity(const Vehicle* msg); +}; + +const ::vss::VehicleVersionVSS& +Vehicle::_Internal::versionvss(const Vehicle* msg) { + return *msg->_impl_.versionvss_; +} +const ::vss::VehicleVehicleIdentification& +Vehicle::_Internal::vehicleidentification(const Vehicle* msg) { + return *msg->_impl_.vehicleidentification_; +} +const ::vss::VehicleLowVoltageBattery& +Vehicle::_Internal::lowvoltagebattery(const Vehicle* msg) { + return *msg->_impl_.lowvoltagebattery_; +} +const ::vss::VehicleAcceleration& +Vehicle::_Internal::acceleration(const Vehicle* msg) { + return *msg->_impl_.acceleration_; +} +const ::vss::VehicleAngularVelocity& +Vehicle::_Internal::angularvelocity(const Vehicle* msg) { + return *msg->_impl_.angularvelocity_; +} +const ::vss::VehicleTrailer& +Vehicle::_Internal::trailer(const Vehicle* msg) { + return *msg->_impl_.trailer_; +} +const ::vss::VehicleCurrentLocation& +Vehicle::_Internal::currentlocation(const Vehicle* msg) { + return *msg->_impl_.currentlocation_; +} +const ::vss::VehiclePowertrain& +Vehicle::_Internal::powertrain(const Vehicle* msg) { + return *msg->_impl_.powertrain_; +} +const ::vss::VehicleBody& +Vehicle::_Internal::body(const Vehicle* msg) { + return *msg->_impl_.body_; +} +const ::vss::VehicleCabin& +Vehicle::_Internal::cabin(const Vehicle* msg) { + return *msg->_impl_.cabin_; +} +const ::vss::VehicleADAS& +Vehicle::_Internal::adas(const Vehicle* msg) { + return *msg->_impl_.adas_; +} +const ::vss::VehicleChassis& +Vehicle::_Internal::chassis(const Vehicle* msg) { + return *msg->_impl_.chassis_; +} +const ::vss::VehicleOBD& +Vehicle::_Internal::obd(const Vehicle* msg) { + return *msg->_impl_.obd_; +} +const ::vss::VehicleDriver& +Vehicle::_Internal::driver(const Vehicle* msg) { + return *msg->_impl_.driver_; +} +const ::vss::VehicleExterior& +Vehicle::_Internal::exterior(const Vehicle* msg) { + return *msg->_impl_.exterior_; +} +const ::vss::VehicleService& +Vehicle::_Internal::service(const Vehicle* msg) { + return *msg->_impl_.service_; +} +const ::vss::VehicleConnectivity& +Vehicle::_Internal::connectivity(const Vehicle* msg) { + return *msg->_impl_.connectivity_; +} +Vehicle::Vehicle(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.Vehicle) +} +Vehicle::Vehicle(const Vehicle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Vehicle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lowvoltagesystemstate_) {} + + , decltype(_impl_.versionvss_){nullptr} + , decltype(_impl_.vehicleidentification_){nullptr} + , decltype(_impl_.lowvoltagebattery_){nullptr} + , decltype(_impl_.acceleration_){nullptr} + , decltype(_impl_.angularvelocity_){nullptr} + , decltype(_impl_.trailer_){nullptr} + , decltype(_impl_.currentlocation_){nullptr} + , decltype(_impl_.powertrain_){nullptr} + , decltype(_impl_.body_){nullptr} + , decltype(_impl_.cabin_){nullptr} + , decltype(_impl_.adas_){nullptr} + , decltype(_impl_.chassis_){nullptr} + , decltype(_impl_.obd_){nullptr} + , decltype(_impl_.driver_){nullptr} + , decltype(_impl_.exterior_){nullptr} + , decltype(_impl_.service_){nullptr} + , decltype(_impl_.connectivity_){nullptr} + , decltype(_impl_.speed_) {} + + , decltype(_impl_.travelleddistance_) {} + + , decltype(_impl_.tripmeterreading_) {} + + , decltype(_impl_.isbrokendown_) {} + + , decltype(_impl_.ismoving_) {} + + , decltype(_impl_.averagespeed_) {} + + , decltype(_impl_.roofload_) {} + + , decltype(_impl_.cargovolume_) {} + + , decltype(_impl_.emissionsco2_) {} + + , decltype(_impl_.currentoverallweight_) {} + + , decltype(_impl_.curbweight_) {} + + , decltype(_impl_.grossweight_) {} + + , decltype(_impl_.maxtowweight_) {} + + , decltype(_impl_.maxtowballweight_) {} + + , decltype(_impl_.length_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.width_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.lowvoltagesystemstate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.lowvoltagesystemstate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_lowvoltagesystemstate().empty()) { + _this->_impl_.lowvoltagesystemstate_.Set(from._internal_lowvoltagesystemstate(), _this->GetArenaForAllocation()); + } + if (from._internal_has_versionvss()) { + _this->_impl_.versionvss_ = new ::vss::VehicleVersionVSS(*from._impl_.versionvss_); + } + if (from._internal_has_vehicleidentification()) { + _this->_impl_.vehicleidentification_ = new ::vss::VehicleVehicleIdentification(*from._impl_.vehicleidentification_); + } + if (from._internal_has_lowvoltagebattery()) { + _this->_impl_.lowvoltagebattery_ = new ::vss::VehicleLowVoltageBattery(*from._impl_.lowvoltagebattery_); + } + if (from._internal_has_acceleration()) { + _this->_impl_.acceleration_ = new ::vss::VehicleAcceleration(*from._impl_.acceleration_); + } + if (from._internal_has_angularvelocity()) { + _this->_impl_.angularvelocity_ = new ::vss::VehicleAngularVelocity(*from._impl_.angularvelocity_); + } + if (from._internal_has_trailer()) { + _this->_impl_.trailer_ = new ::vss::VehicleTrailer(*from._impl_.trailer_); + } + if (from._internal_has_currentlocation()) { + _this->_impl_.currentlocation_ = new ::vss::VehicleCurrentLocation(*from._impl_.currentlocation_); + } + if (from._internal_has_powertrain()) { + _this->_impl_.powertrain_ = new ::vss::VehiclePowertrain(*from._impl_.powertrain_); + } + if (from._internal_has_body()) { + _this->_impl_.body_ = new ::vss::VehicleBody(*from._impl_.body_); + } + if (from._internal_has_cabin()) { + _this->_impl_.cabin_ = new ::vss::VehicleCabin(*from._impl_.cabin_); + } + if (from._internal_has_adas()) { + _this->_impl_.adas_ = new ::vss::VehicleADAS(*from._impl_.adas_); + } + if (from._internal_has_chassis()) { + _this->_impl_.chassis_ = new ::vss::VehicleChassis(*from._impl_.chassis_); + } + if (from._internal_has_obd()) { + _this->_impl_.obd_ = new ::vss::VehicleOBD(*from._impl_.obd_); + } + if (from._internal_has_driver()) { + _this->_impl_.driver_ = new ::vss::VehicleDriver(*from._impl_.driver_); + } + if (from._internal_has_exterior()) { + _this->_impl_.exterior_ = new ::vss::VehicleExterior(*from._impl_.exterior_); + } + if (from._internal_has_service()) { + _this->_impl_.service_ = new ::vss::VehicleService(*from._impl_.service_); + } + if (from._internal_has_connectivity()) { + _this->_impl_.connectivity_ = new ::vss::VehicleConnectivity(*from._impl_.connectivity_); + } + ::memcpy(&_impl_.speed_, &from._impl_.speed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.width_) - + reinterpret_cast(&_impl_.speed_)) + sizeof(_impl_.width_)); + // @@protoc_insertion_point(copy_constructor:vss.Vehicle) +} + +inline void Vehicle::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lowvoltagesystemstate_) {} + + , decltype(_impl_.versionvss_){nullptr} + , decltype(_impl_.vehicleidentification_){nullptr} + , decltype(_impl_.lowvoltagebattery_){nullptr} + , decltype(_impl_.acceleration_){nullptr} + , decltype(_impl_.angularvelocity_){nullptr} + , decltype(_impl_.trailer_){nullptr} + , decltype(_impl_.currentlocation_){nullptr} + , decltype(_impl_.powertrain_){nullptr} + , decltype(_impl_.body_){nullptr} + , decltype(_impl_.cabin_){nullptr} + , decltype(_impl_.adas_){nullptr} + , decltype(_impl_.chassis_){nullptr} + , decltype(_impl_.obd_){nullptr} + , decltype(_impl_.driver_){nullptr} + , decltype(_impl_.exterior_){nullptr} + , decltype(_impl_.service_){nullptr} + , decltype(_impl_.connectivity_){nullptr} + , decltype(_impl_.speed_) { 0 } + + , decltype(_impl_.travelleddistance_) { 0 } + + , decltype(_impl_.tripmeterreading_) { 0 } + + , decltype(_impl_.isbrokendown_) { false } + + , decltype(_impl_.ismoving_) { false } + + , decltype(_impl_.averagespeed_) { 0 } + + , decltype(_impl_.roofload_) { 0 } + + , decltype(_impl_.cargovolume_) { 0 } + + , decltype(_impl_.emissionsco2_) { 0 } + + , decltype(_impl_.currentoverallweight_) { 0u } + + , decltype(_impl_.curbweight_) { 0u } + + , decltype(_impl_.grossweight_) { 0u } + + , decltype(_impl_.maxtowweight_) { 0u } + + , decltype(_impl_.maxtowballweight_) { 0u } + + , decltype(_impl_.length_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.width_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.lowvoltagesystemstate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.lowvoltagesystemstate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +Vehicle::~Vehicle() { + // @@protoc_insertion_point(destructor:vss.Vehicle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Vehicle::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.lowvoltagesystemstate_.Destroy(); + if (this != internal_default_instance()) delete _impl_.versionvss_; + if (this != internal_default_instance()) delete _impl_.vehicleidentification_; + if (this != internal_default_instance()) delete _impl_.lowvoltagebattery_; + if (this != internal_default_instance()) delete _impl_.acceleration_; + if (this != internal_default_instance()) delete _impl_.angularvelocity_; + if (this != internal_default_instance()) delete _impl_.trailer_; + if (this != internal_default_instance()) delete _impl_.currentlocation_; + if (this != internal_default_instance()) delete _impl_.powertrain_; + if (this != internal_default_instance()) delete _impl_.body_; + if (this != internal_default_instance()) delete _impl_.cabin_; + if (this != internal_default_instance()) delete _impl_.adas_; + if (this != internal_default_instance()) delete _impl_.chassis_; + if (this != internal_default_instance()) delete _impl_.obd_; + if (this != internal_default_instance()) delete _impl_.driver_; + if (this != internal_default_instance()) delete _impl_.exterior_; + if (this != internal_default_instance()) delete _impl_.service_; + if (this != internal_default_instance()) delete _impl_.connectivity_; +} + +void Vehicle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Vehicle::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.Vehicle) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.lowvoltagesystemstate_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.versionvss_ != nullptr) { + delete _impl_.versionvss_; + } + _impl_.versionvss_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.vehicleidentification_ != nullptr) { + delete _impl_.vehicleidentification_; + } + _impl_.vehicleidentification_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.lowvoltagebattery_ != nullptr) { + delete _impl_.lowvoltagebattery_; + } + _impl_.lowvoltagebattery_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.acceleration_ != nullptr) { + delete _impl_.acceleration_; + } + _impl_.acceleration_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.angularvelocity_ != nullptr) { + delete _impl_.angularvelocity_; + } + _impl_.angularvelocity_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.trailer_ != nullptr) { + delete _impl_.trailer_; + } + _impl_.trailer_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.currentlocation_ != nullptr) { + delete _impl_.currentlocation_; + } + _impl_.currentlocation_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.powertrain_ != nullptr) { + delete _impl_.powertrain_; + } + _impl_.powertrain_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.body_ != nullptr) { + delete _impl_.body_; + } + _impl_.body_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.cabin_ != nullptr) { + delete _impl_.cabin_; + } + _impl_.cabin_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.adas_ != nullptr) { + delete _impl_.adas_; + } + _impl_.adas_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.chassis_ != nullptr) { + delete _impl_.chassis_; + } + _impl_.chassis_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.obd_ != nullptr) { + delete _impl_.obd_; + } + _impl_.obd_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.driver_ != nullptr) { + delete _impl_.driver_; + } + _impl_.driver_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.exterior_ != nullptr) { + delete _impl_.exterior_; + } + _impl_.exterior_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.service_ != nullptr) { + delete _impl_.service_; + } + _impl_.service_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.connectivity_ != nullptr) { + delete _impl_.connectivity_; + } + _impl_.connectivity_ = nullptr; + ::memset(&_impl_.speed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.width_) - + reinterpret_cast(&_impl_.speed_)) + sizeof(_impl_.width_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Vehicle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleVersionVSS VersionVSS = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_versionvss(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleVehicleIdentification VehicleIdentification = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_lowvoltagesystemstate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.Vehicle.LowVoltageSystemState")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleLowVoltageBattery LowVoltageBattery = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 45)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TravelledDistance = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.travelleddistance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TripMeterReading = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) { + _impl_.tripmeterreading_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // bool IsBrokenDown = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.isbrokendown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsMoving = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.ismoving_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float AverageSpeed = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 85)) { + _impl_.averagespeed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleAcceleration Acceleration = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_acceleration(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleAngularVelocity AngularVelocity = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 104)) { + _impl_.roofload_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float CargoVolume = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) { + _impl_.cargovolume_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // int32 EmissionsCO2 = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) { + _impl_.emissionsco2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 CurrentOverallWeight = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) { + _impl_.currentoverallweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 CurbWeight = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) { + _impl_.curbweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 GrossWeight = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) { + _impl_.grossweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxTowWeight = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) { + _impl_.maxtowweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxTowBallWeight = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) { + _impl_.maxtowballweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Length = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 168)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 176)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Width = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 184)) { + _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleTrailer Trailer = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 194)) { + ptr = ctx->ParseMessage(_internal_mutable_trailer(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCurrentLocation CurrentLocation = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 202)) { + ptr = ctx->ParseMessage(_internal_mutable_currentlocation(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrain Powertrain = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 210)) { + ptr = ctx->ParseMessage(_internal_mutable_powertrain(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBody Body = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 218)) { + ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabin Cabin = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 226)) { + ptr = ctx->ParseMessage(_internal_mutable_cabin(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADAS ADAS = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 234)) { + ptr = ctx->ParseMessage(_internal_mutable_adas(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassis Chassis = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 242)) { + ptr = ctx->ParseMessage(_internal_mutable_chassis(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBD OBD = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 250)) { + ptr = ctx->ParseMessage(_internal_mutable_obd(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleDriver Driver = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 2)) { + ptr = ctx->ParseMessage(_internal_mutable_driver(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleExterior Exterior = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_exterior(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleService Service = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_service(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleConnectivity Connectivity = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_connectivity(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* Vehicle::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.Vehicle) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleVersionVSS VersionVSS = 1; + if (this->_internal_has_versionvss()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::versionvss(this), + _Internal::versionvss(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleVehicleIdentification VehicleIdentification = 2; + if (this->_internal_has_vehicleidentification()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::vehicleidentification(this), + _Internal::vehicleidentification(this).GetCachedSize(), target, stream); + } + + // string LowVoltageSystemState = 3; + if (!this->_internal_lowvoltagesystemstate().empty()) { + const std::string& _s = this->_internal_lowvoltagesystemstate(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.Vehicle.LowVoltageSystemState"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // .vss.VehicleLowVoltageBattery LowVoltageBattery = 4; + if (this->_internal_has_lowvoltagebattery()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::lowvoltagebattery(this), + _Internal::lowvoltagebattery(this).GetCachedSize(), target, stream); + } + + // float Speed = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this->_internal_speed(), target); + } + + // float TravelledDistance = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = this->_internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this->_internal_travelleddistance(), target); + } + + // float TripMeterReading = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tripmeterreading = this->_internal_tripmeterreading(); + ::uint32_t raw_tripmeterreading; + memcpy(&raw_tripmeterreading, &tmp_tripmeterreading, sizeof(tmp_tripmeterreading)); + if (raw_tripmeterreading != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 7, this->_internal_tripmeterreading(), target); + } + + // bool IsBrokenDown = 8; + if (this->_internal_isbrokendown() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_isbrokendown(), target); + } + + // bool IsMoving = 9; + if (this->_internal_ismoving() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this->_internal_ismoving(), target); + } + + // float AverageSpeed = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averagespeed = this->_internal_averagespeed(); + ::uint32_t raw_averagespeed; + memcpy(&raw_averagespeed, &tmp_averagespeed, sizeof(tmp_averagespeed)); + if (raw_averagespeed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 10, this->_internal_averagespeed(), target); + } + + // .vss.VehicleAcceleration Acceleration = 11; + if (this->_internal_has_acceleration()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::acceleration(this), + _Internal::acceleration(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleAngularVelocity AngularVelocity = 12; + if (this->_internal_has_angularvelocity()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::angularvelocity(this), + _Internal::angularvelocity(this).GetCachedSize(), target, stream); + } + + // int32 RoofLoad = 13; + if (this->_internal_roofload() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 13, this->_internal_roofload(), target); + } + + // float CargoVolume = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_cargovolume = this->_internal_cargovolume(); + ::uint32_t raw_cargovolume; + memcpy(&raw_cargovolume, &tmp_cargovolume, sizeof(tmp_cargovolume)); + if (raw_cargovolume != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 14, this->_internal_cargovolume(), target); + } + + // int32 EmissionsCO2 = 15; + if (this->_internal_emissionsco2() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 15, this->_internal_emissionsco2(), target); + } + + // uint32 CurrentOverallWeight = 16; + if (this->_internal_currentoverallweight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 16, this->_internal_currentoverallweight(), target); + } + + // uint32 CurbWeight = 17; + if (this->_internal_curbweight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 17, this->_internal_curbweight(), target); + } + + // uint32 GrossWeight = 18; + if (this->_internal_grossweight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 18, this->_internal_grossweight(), target); + } + + // uint32 MaxTowWeight = 19; + if (this->_internal_maxtowweight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 19, this->_internal_maxtowweight(), target); + } + + // uint32 MaxTowBallWeight = 20; + if (this->_internal_maxtowballweight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 20, this->_internal_maxtowballweight(), target); + } + + // uint32 Length = 21; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 21, this->_internal_length(), target); + } + + // uint32 Height = 22; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 22, this->_internal_height(), target); + } + + // uint32 Width = 23; + if (this->_internal_width() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 23, this->_internal_width(), target); + } + + // .vss.VehicleTrailer Trailer = 24; + if (this->_internal_has_trailer()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(24, _Internal::trailer(this), + _Internal::trailer(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCurrentLocation CurrentLocation = 25; + if (this->_internal_has_currentlocation()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(25, _Internal::currentlocation(this), + _Internal::currentlocation(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrain Powertrain = 26; + if (this->_internal_has_powertrain()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(26, _Internal::powertrain(this), + _Internal::powertrain(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBody Body = 27; + if (this->_internal_has_body()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(27, _Internal::body(this), + _Internal::body(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabin Cabin = 28; + if (this->_internal_has_cabin()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(28, _Internal::cabin(this), + _Internal::cabin(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADAS ADAS = 29; + if (this->_internal_has_adas()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(29, _Internal::adas(this), + _Internal::adas(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassis Chassis = 30; + if (this->_internal_has_chassis()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(30, _Internal::chassis(this), + _Internal::chassis(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBD OBD = 31; + if (this->_internal_has_obd()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(31, _Internal::obd(this), + _Internal::obd(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleDriver Driver = 32; + if (this->_internal_has_driver()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(32, _Internal::driver(this), + _Internal::driver(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleExterior Exterior = 33; + if (this->_internal_has_exterior()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(33, _Internal::exterior(this), + _Internal::exterior(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleService Service = 34; + if (this->_internal_has_service()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(34, _Internal::service(this), + _Internal::service(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleConnectivity Connectivity = 35; + if (this->_internal_has_connectivity()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(35, _Internal::connectivity(this), + _Internal::connectivity(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.Vehicle) + return target; +} + +::size_t Vehicle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.Vehicle) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string LowVoltageSystemState = 3; + if (!this->_internal_lowvoltagesystemstate().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_lowvoltagesystemstate()); + } + + // .vss.VehicleVersionVSS VersionVSS = 1; + if (this->_internal_has_versionvss()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.versionvss_); + } + + // .vss.VehicleVehicleIdentification VehicleIdentification = 2; + if (this->_internal_has_vehicleidentification()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.vehicleidentification_); + } + + // .vss.VehicleLowVoltageBattery LowVoltageBattery = 4; + if (this->_internal_has_lowvoltagebattery()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lowvoltagebattery_); + } + + // .vss.VehicleAcceleration Acceleration = 11; + if (this->_internal_has_acceleration()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.acceleration_); + } + + // .vss.VehicleAngularVelocity AngularVelocity = 12; + if (this->_internal_has_angularvelocity()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angularvelocity_); + } + + // .vss.VehicleTrailer Trailer = 24; + if (this->_internal_has_trailer()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.trailer_); + } + + // .vss.VehicleCurrentLocation CurrentLocation = 25; + if (this->_internal_has_currentlocation()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.currentlocation_); + } + + // .vss.VehiclePowertrain Powertrain = 26; + if (this->_internal_has_powertrain()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.powertrain_); + } + + // .vss.VehicleBody Body = 27; + if (this->_internal_has_body()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.body_); + } + + // .vss.VehicleCabin Cabin = 28; + if (this->_internal_has_cabin()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cabin_); + } + + // .vss.VehicleADAS ADAS = 29; + if (this->_internal_has_adas()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.adas_); + } + + // .vss.VehicleChassis Chassis = 30; + if (this->_internal_has_chassis()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.chassis_); + } + + // .vss.VehicleOBD OBD = 31; + if (this->_internal_has_obd()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.obd_); + } + + // .vss.VehicleDriver Driver = 32; + if (this->_internal_has_driver()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.driver_); + } + + // .vss.VehicleExterior Exterior = 33; + if (this->_internal_has_exterior()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.exterior_); + } + + // .vss.VehicleService Service = 34; + if (this->_internal_has_service()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.service_); + } + + // .vss.VehicleConnectivity Connectivity = 35; + if (this->_internal_has_connectivity()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.connectivity_); + } + + // float Speed = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + // float TravelledDistance = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = this->_internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + total_size += 5; + } + + // float TripMeterReading = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tripmeterreading = this->_internal_tripmeterreading(); + ::uint32_t raw_tripmeterreading; + memcpy(&raw_tripmeterreading, &tmp_tripmeterreading, sizeof(tmp_tripmeterreading)); + if (raw_tripmeterreading != 0) { + total_size += 5; + } + + // bool IsBrokenDown = 8; + if (this->_internal_isbrokendown() != 0) { + total_size += 2; + } + + // bool IsMoving = 9; + if (this->_internal_ismoving() != 0) { + total_size += 2; + } + + // float AverageSpeed = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averagespeed = this->_internal_averagespeed(); + ::uint32_t raw_averagespeed; + memcpy(&raw_averagespeed, &tmp_averagespeed, sizeof(tmp_averagespeed)); + if (raw_averagespeed != 0) { + total_size += 5; + } + + // int32 RoofLoad = 13; + if (this->_internal_roofload() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_roofload()); + } + + // float CargoVolume = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_cargovolume = this->_internal_cargovolume(); + ::uint32_t raw_cargovolume; + memcpy(&raw_cargovolume, &tmp_cargovolume, sizeof(tmp_cargovolume)); + if (raw_cargovolume != 0) { + total_size += 5; + } + + // int32 EmissionsCO2 = 15; + if (this->_internal_emissionsco2() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_emissionsco2()); + } + + // uint32 CurrentOverallWeight = 16; + if (this->_internal_currentoverallweight() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_currentoverallweight()); + } + + // uint32 CurbWeight = 17; + if (this->_internal_curbweight() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_curbweight()); + } + + // uint32 GrossWeight = 18; + if (this->_internal_grossweight() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_grossweight()); + } + + // uint32 MaxTowWeight = 19; + if (this->_internal_maxtowweight() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_maxtowweight()); + } + + // uint32 MaxTowBallWeight = 20; + if (this->_internal_maxtowballweight() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_maxtowballweight()); + } + + // uint32 Length = 21; + if (this->_internal_length() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + // uint32 Height = 22; + if (this->_internal_height() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // uint32 Width = 23; + if (this->_internal_width() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_width()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Vehicle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Vehicle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Vehicle::GetClassData() const { return &_class_data_; } + + +void Vehicle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.Vehicle) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_lowvoltagesystemstate().empty()) { + _this->_internal_set_lowvoltagesystemstate(from._internal_lowvoltagesystemstate()); + } + if (from._internal_has_versionvss()) { + _this->_internal_mutable_versionvss()->::vss::VehicleVersionVSS::MergeFrom( + from._internal_versionvss()); + } + if (from._internal_has_vehicleidentification()) { + _this->_internal_mutable_vehicleidentification()->::vss::VehicleVehicleIdentification::MergeFrom( + from._internal_vehicleidentification()); + } + if (from._internal_has_lowvoltagebattery()) { + _this->_internal_mutable_lowvoltagebattery()->::vss::VehicleLowVoltageBattery::MergeFrom( + from._internal_lowvoltagebattery()); + } + if (from._internal_has_acceleration()) { + _this->_internal_mutable_acceleration()->::vss::VehicleAcceleration::MergeFrom( + from._internal_acceleration()); + } + if (from._internal_has_angularvelocity()) { + _this->_internal_mutable_angularvelocity()->::vss::VehicleAngularVelocity::MergeFrom( + from._internal_angularvelocity()); + } + if (from._internal_has_trailer()) { + _this->_internal_mutable_trailer()->::vss::VehicleTrailer::MergeFrom( + from._internal_trailer()); + } + if (from._internal_has_currentlocation()) { + _this->_internal_mutable_currentlocation()->::vss::VehicleCurrentLocation::MergeFrom( + from._internal_currentlocation()); + } + if (from._internal_has_powertrain()) { + _this->_internal_mutable_powertrain()->::vss::VehiclePowertrain::MergeFrom( + from._internal_powertrain()); + } + if (from._internal_has_body()) { + _this->_internal_mutable_body()->::vss::VehicleBody::MergeFrom( + from._internal_body()); + } + if (from._internal_has_cabin()) { + _this->_internal_mutable_cabin()->::vss::VehicleCabin::MergeFrom( + from._internal_cabin()); + } + if (from._internal_has_adas()) { + _this->_internal_mutable_adas()->::vss::VehicleADAS::MergeFrom( + from._internal_adas()); + } + if (from._internal_has_chassis()) { + _this->_internal_mutable_chassis()->::vss::VehicleChassis::MergeFrom( + from._internal_chassis()); + } + if (from._internal_has_obd()) { + _this->_internal_mutable_obd()->::vss::VehicleOBD::MergeFrom( + from._internal_obd()); + } + if (from._internal_has_driver()) { + _this->_internal_mutable_driver()->::vss::VehicleDriver::MergeFrom( + from._internal_driver()); + } + if (from._internal_has_exterior()) { + _this->_internal_mutable_exterior()->::vss::VehicleExterior::MergeFrom( + from._internal_exterior()); + } + if (from._internal_has_service()) { + _this->_internal_mutable_service()->::vss::VehicleService::MergeFrom( + from._internal_service()); + } + if (from._internal_has_connectivity()) { + _this->_internal_mutable_connectivity()->::vss::VehicleConnectivity::MergeFrom( + from._internal_connectivity()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = from._internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + _this->_internal_set_travelleddistance(from._internal_travelleddistance()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tripmeterreading = from._internal_tripmeterreading(); + ::uint32_t raw_tripmeterreading; + memcpy(&raw_tripmeterreading, &tmp_tripmeterreading, sizeof(tmp_tripmeterreading)); + if (raw_tripmeterreading != 0) { + _this->_internal_set_tripmeterreading(from._internal_tripmeterreading()); + } + if (from._internal_isbrokendown() != 0) { + _this->_internal_set_isbrokendown(from._internal_isbrokendown()); + } + if (from._internal_ismoving() != 0) { + _this->_internal_set_ismoving(from._internal_ismoving()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averagespeed = from._internal_averagespeed(); + ::uint32_t raw_averagespeed; + memcpy(&raw_averagespeed, &tmp_averagespeed, sizeof(tmp_averagespeed)); + if (raw_averagespeed != 0) { + _this->_internal_set_averagespeed(from._internal_averagespeed()); + } + if (from._internal_roofload() != 0) { + _this->_internal_set_roofload(from._internal_roofload()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_cargovolume = from._internal_cargovolume(); + ::uint32_t raw_cargovolume; + memcpy(&raw_cargovolume, &tmp_cargovolume, sizeof(tmp_cargovolume)); + if (raw_cargovolume != 0) { + _this->_internal_set_cargovolume(from._internal_cargovolume()); + } + if (from._internal_emissionsco2() != 0) { + _this->_internal_set_emissionsco2(from._internal_emissionsco2()); + } + if (from._internal_currentoverallweight() != 0) { + _this->_internal_set_currentoverallweight(from._internal_currentoverallweight()); + } + if (from._internal_curbweight() != 0) { + _this->_internal_set_curbweight(from._internal_curbweight()); + } + if (from._internal_grossweight() != 0) { + _this->_internal_set_grossweight(from._internal_grossweight()); + } + if (from._internal_maxtowweight() != 0) { + _this->_internal_set_maxtowweight(from._internal_maxtowweight()); + } + if (from._internal_maxtowballweight() != 0) { + _this->_internal_set_maxtowballweight(from._internal_maxtowballweight()); + } + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + if (from._internal_width() != 0) { + _this->_internal_set_width(from._internal_width()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Vehicle::CopyFrom(const Vehicle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.Vehicle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Vehicle::IsInitialized() const { + return true; +} + +void Vehicle::InternalSwap(Vehicle* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lowvoltagesystemstate_, lhs_arena, + &other->_impl_.lowvoltagesystemstate_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Vehicle, _impl_.width_) + + sizeof(Vehicle::_impl_.width_) + - PROTOBUF_FIELD_OFFSET(Vehicle, _impl_.versionvss_)>( + reinterpret_cast(&_impl_.versionvss_), + reinterpret_cast(&other->_impl_.versionvss_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Vehicle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[0]); +} +// =================================================================== + +class VehicleVersionVSS::_Internal { + public: +}; + +VehicleVersionVSS::VehicleVersionVSS(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleVersionVSS) +} +VehicleVersionVSS::VehicleVersionVSS(const VehicleVersionVSS& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleVersionVSS* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.label_) {} + + , decltype(_impl_.major_) {} + + , decltype(_impl_.minor_) {} + + , decltype(_impl_.patch_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.label_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.label_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_label().empty()) { + _this->_impl_.label_.Set(from._internal_label(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.major_, &from._impl_.major_, + static_cast<::size_t>(reinterpret_cast(&_impl_.patch_) - + reinterpret_cast(&_impl_.major_)) + sizeof(_impl_.patch_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleVersionVSS) +} + +inline void VehicleVersionVSS::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.label_) {} + + , decltype(_impl_.major_) { 0u } + + , decltype(_impl_.minor_) { 0u } + + , decltype(_impl_.patch_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.label_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.label_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleVersionVSS::~VehicleVersionVSS() { + // @@protoc_insertion_point(destructor:vss.VehicleVersionVSS) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleVersionVSS::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.label_.Destroy(); +} + +void VehicleVersionVSS::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleVersionVSS::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleVersionVSS) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.label_.ClearToEmpty(); + ::memset(&_impl_.major_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.patch_) - + reinterpret_cast(&_impl_.major_)) + sizeof(_impl_.patch_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleVersionVSS::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Major = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.major_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Minor = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.minor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Patch = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.patch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Label = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_label(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVersionVSS.Label")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleVersionVSS::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleVersionVSS) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Major = 1; + if (this->_internal_major() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_major(), target); + } + + // uint32 Minor = 2; + if (this->_internal_minor() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_minor(), target); + } + + // uint32 Patch = 3; + if (this->_internal_patch() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_patch(), target); + } + + // string Label = 4; + if (!this->_internal_label().empty()) { + const std::string& _s = this->_internal_label(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVersionVSS.Label"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleVersionVSS) + return target; +} + +::size_t VehicleVersionVSS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleVersionVSS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Label = 4; + if (!this->_internal_label().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_label()); + } + + // uint32 Major = 1; + if (this->_internal_major() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_major()); + } + + // uint32 Minor = 2; + if (this->_internal_minor() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_minor()); + } + + // uint32 Patch = 3; + if (this->_internal_patch() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_patch()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleVersionVSS::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleVersionVSS::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleVersionVSS::GetClassData() const { return &_class_data_; } + + +void VehicleVersionVSS::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleVersionVSS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_label().empty()) { + _this->_internal_set_label(from._internal_label()); + } + if (from._internal_major() != 0) { + _this->_internal_set_major(from._internal_major()); + } + if (from._internal_minor() != 0) { + _this->_internal_set_minor(from._internal_minor()); + } + if (from._internal_patch() != 0) { + _this->_internal_set_patch(from._internal_patch()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleVersionVSS::CopyFrom(const VehicleVersionVSS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleVersionVSS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleVersionVSS::IsInitialized() const { + return true; +} + +void VehicleVersionVSS::InternalSwap(VehicleVersionVSS* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.label_, lhs_arena, + &other->_impl_.label_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleVersionVSS, _impl_.patch_) + + sizeof(VehicleVersionVSS::_impl_.patch_) + - PROTOBUF_FIELD_OFFSET(VehicleVersionVSS, _impl_.major_)>( + reinterpret_cast(&_impl_.major_), + reinterpret_cast(&other->_impl_.major_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleVersionVSS::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[1]); +} +// =================================================================== + +class VehicleVehicleIdentification::_Internal { + public: +}; + +VehicleVehicleIdentification::VehicleVehicleIdentification(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleVehicleIdentification) +} +VehicleVehicleIdentification::VehicleVehicleIdentification(const VehicleVehicleIdentification& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleVehicleIdentification* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.vin_) {} + + , decltype(_impl_.wmi_) {} + + , decltype(_impl_.brand_) {} + + , decltype(_impl_.model_) {} + + , decltype(_impl_.acrisscode_) {} + + , decltype(_impl_.bodytype_) {} + + , decltype(_impl_.datevehiclefirstregistered_) {} + + , decltype(_impl_.meetsemissionstandard_) {} + + , decltype(_impl_.productiondate_) {} + + , decltype(_impl_.purchasedate_) {} + + , decltype(_impl_.vehiclemodeldate_) {} + + , decltype(_impl_.vehicleconfiguration_) {} + + , decltype(_impl_.vehiclespecialusage_) {} + + , decltype(_impl_.vehicleinteriorcolor_) {} + + , decltype(_impl_.vehicleinteriortype_) {} + + , decltype(_impl_.knownvehicledamages_) {} + + , decltype(_impl_.year_) {} + + , decltype(_impl_.vehicleseatingcapacity_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.vin_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vin_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vin().empty()) { + _this->_impl_.vin_.Set(from._internal_vin(), _this->GetArenaForAllocation()); + } + _impl_.wmi_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.wmi_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_wmi().empty()) { + _this->_impl_.wmi_.Set(from._internal_wmi(), _this->GetArenaForAllocation()); + } + _impl_.brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_brand().empty()) { + _this->_impl_.brand_.Set(from._internal_brand(), _this->GetArenaForAllocation()); + } + _impl_.model_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_model().empty()) { + _this->_impl_.model_.Set(from._internal_model(), _this->GetArenaForAllocation()); + } + _impl_.acrisscode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.acrisscode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_acrisscode().empty()) { + _this->_impl_.acrisscode_.Set(from._internal_acrisscode(), _this->GetArenaForAllocation()); + } + _impl_.bodytype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bodytype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_bodytype().empty()) { + _this->_impl_.bodytype_.Set(from._internal_bodytype(), _this->GetArenaForAllocation()); + } + _impl_.datevehiclefirstregistered_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.datevehiclefirstregistered_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_datevehiclefirstregistered().empty()) { + _this->_impl_.datevehiclefirstregistered_.Set(from._internal_datevehiclefirstregistered(), _this->GetArenaForAllocation()); + } + _impl_.meetsemissionstandard_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.meetsemissionstandard_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_meetsemissionstandard().empty()) { + _this->_impl_.meetsemissionstandard_.Set(from._internal_meetsemissionstandard(), _this->GetArenaForAllocation()); + } + _impl_.productiondate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_productiondate().empty()) { + _this->_impl_.productiondate_.Set(from._internal_productiondate(), _this->GetArenaForAllocation()); + } + _impl_.purchasedate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.purchasedate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_purchasedate().empty()) { + _this->_impl_.purchasedate_.Set(from._internal_purchasedate(), _this->GetArenaForAllocation()); + } + _impl_.vehiclemodeldate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclemodeldate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vehiclemodeldate().empty()) { + _this->_impl_.vehiclemodeldate_.Set(from._internal_vehiclemodeldate(), _this->GetArenaForAllocation()); + } + _impl_.vehicleconfiguration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleconfiguration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vehicleconfiguration().empty()) { + _this->_impl_.vehicleconfiguration_.Set(from._internal_vehicleconfiguration(), _this->GetArenaForAllocation()); + } + _impl_.vehiclespecialusage_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclespecialusage_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vehiclespecialusage().empty()) { + _this->_impl_.vehiclespecialusage_.Set(from._internal_vehiclespecialusage(), _this->GetArenaForAllocation()); + } + _impl_.vehicleinteriorcolor_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriorcolor_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vehicleinteriorcolor().empty()) { + _this->_impl_.vehicleinteriorcolor_.Set(from._internal_vehicleinteriorcolor(), _this->GetArenaForAllocation()); + } + _impl_.vehicleinteriortype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriortype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_vehicleinteriortype().empty()) { + _this->_impl_.vehicleinteriortype_.Set(from._internal_vehicleinteriortype(), _this->GetArenaForAllocation()); + } + _impl_.knownvehicledamages_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.knownvehicledamages_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_knownvehicledamages().empty()) { + _this->_impl_.knownvehicledamages_.Set(from._internal_knownvehicledamages(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.year_, &from._impl_.year_, + static_cast<::size_t>(reinterpret_cast(&_impl_.vehicleseatingcapacity_) - + reinterpret_cast(&_impl_.year_)) + sizeof(_impl_.vehicleseatingcapacity_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleVehicleIdentification) +} + +inline void VehicleVehicleIdentification::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.vin_) {} + + , decltype(_impl_.wmi_) {} + + , decltype(_impl_.brand_) {} + + , decltype(_impl_.model_) {} + + , decltype(_impl_.acrisscode_) {} + + , decltype(_impl_.bodytype_) {} + + , decltype(_impl_.datevehiclefirstregistered_) {} + + , decltype(_impl_.meetsemissionstandard_) {} + + , decltype(_impl_.productiondate_) {} + + , decltype(_impl_.purchasedate_) {} + + , decltype(_impl_.vehiclemodeldate_) {} + + , decltype(_impl_.vehicleconfiguration_) {} + + , decltype(_impl_.vehiclespecialusage_) {} + + , decltype(_impl_.vehicleinteriorcolor_) {} + + , decltype(_impl_.vehicleinteriortype_) {} + + , decltype(_impl_.knownvehicledamages_) {} + + , decltype(_impl_.year_) { 0u } + + , decltype(_impl_.vehicleseatingcapacity_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.vin_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vin_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.wmi_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.wmi_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.brand_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.brand_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.model_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.acrisscode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.acrisscode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bodytype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bodytype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.datevehiclefirstregistered_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.datevehiclefirstregistered_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.meetsemissionstandard_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.meetsemissionstandard_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.purchasedate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.purchasedate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclemodeldate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclemodeldate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleconfiguration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleconfiguration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclespecialusage_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehiclespecialusage_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriorcolor_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriorcolor_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriortype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.vehicleinteriortype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.knownvehicledamages_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.knownvehicledamages_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleVehicleIdentification::~VehicleVehicleIdentification() { + // @@protoc_insertion_point(destructor:vss.VehicleVehicleIdentification) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleVehicleIdentification::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.vin_.Destroy(); + _impl_.wmi_.Destroy(); + _impl_.brand_.Destroy(); + _impl_.model_.Destroy(); + _impl_.acrisscode_.Destroy(); + _impl_.bodytype_.Destroy(); + _impl_.datevehiclefirstregistered_.Destroy(); + _impl_.meetsemissionstandard_.Destroy(); + _impl_.productiondate_.Destroy(); + _impl_.purchasedate_.Destroy(); + _impl_.vehiclemodeldate_.Destroy(); + _impl_.vehicleconfiguration_.Destroy(); + _impl_.vehiclespecialusage_.Destroy(); + _impl_.vehicleinteriorcolor_.Destroy(); + _impl_.vehicleinteriortype_.Destroy(); + _impl_.knownvehicledamages_.Destroy(); +} + +void VehicleVehicleIdentification::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleVehicleIdentification::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleVehicleIdentification) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.vin_.ClearToEmpty(); + _impl_.wmi_.ClearToEmpty(); + _impl_.brand_.ClearToEmpty(); + _impl_.model_.ClearToEmpty(); + _impl_.acrisscode_.ClearToEmpty(); + _impl_.bodytype_.ClearToEmpty(); + _impl_.datevehiclefirstregistered_.ClearToEmpty(); + _impl_.meetsemissionstandard_.ClearToEmpty(); + _impl_.productiondate_.ClearToEmpty(); + _impl_.purchasedate_.ClearToEmpty(); + _impl_.vehiclemodeldate_.ClearToEmpty(); + _impl_.vehicleconfiguration_.ClearToEmpty(); + _impl_.vehiclespecialusage_.ClearToEmpty(); + _impl_.vehicleinteriorcolor_.ClearToEmpty(); + _impl_.vehicleinteriortype_.ClearToEmpty(); + _impl_.knownvehicledamages_.ClearToEmpty(); + ::memset(&_impl_.year_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.vehicleseatingcapacity_) - + reinterpret_cast(&_impl_.year_)) + sizeof(_impl_.vehicleseatingcapacity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleVehicleIdentification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string VIN = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_vin(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VIN")); + } else { + goto handle_unusual; + } + continue; + // string WMI = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_wmi(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.WMI")); + } else { + goto handle_unusual; + } + continue; + // string Brand = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_brand(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.Brand")); + } else { + goto handle_unusual; + } + continue; + // string Model = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_model(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.Model")); + } else { + goto handle_unusual; + } + continue; + // uint32 Year = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.year_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AcrissCode = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + auto str = _internal_mutable_acrisscode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.AcrissCode")); + } else { + goto handle_unusual; + } + continue; + // string BodyType = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + auto str = _internal_mutable_bodytype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.BodyType")); + } else { + goto handle_unusual; + } + continue; + // string DateVehicleFirstRegistered = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + auto str = _internal_mutable_datevehiclefirstregistered(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.DateVehicleFirstRegistered")); + } else { + goto handle_unusual; + } + continue; + // string MeetsEmissionStandard = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + auto str = _internal_mutable_meetsemissionstandard(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.MeetsEmissionStandard")); + } else { + goto handle_unusual; + } + continue; + // string ProductionDate = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + auto str = _internal_mutable_productiondate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.ProductionDate")); + } else { + goto handle_unusual; + } + continue; + // string PurchaseDate = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + auto str = _internal_mutable_purchasedate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.PurchaseDate")); + } else { + goto handle_unusual; + } + continue; + // string VehicleModelDate = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + auto str = _internal_mutable_vehiclemodeldate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VehicleModelDate")); + } else { + goto handle_unusual; + } + continue; + // string VehicleConfiguration = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + auto str = _internal_mutable_vehicleconfiguration(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VehicleConfiguration")); + } else { + goto handle_unusual; + } + continue; + // uint32 VehicleSeatingCapacity = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) { + _impl_.vehicleseatingcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string VehicleSpecialUsage = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 122)) { + auto str = _internal_mutable_vehiclespecialusage(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VehicleSpecialUsage")); + } else { + goto handle_unusual; + } + continue; + // string VehicleInteriorColor = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 130)) { + auto str = _internal_mutable_vehicleinteriorcolor(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VehicleInteriorColor")); + } else { + goto handle_unusual; + } + continue; + // string VehicleInteriorType = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 138)) { + auto str = _internal_mutable_vehicleinteriortype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.VehicleInteriorType")); + } else { + goto handle_unusual; + } + continue; + // string KnownVehicleDamages = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 146)) { + auto str = _internal_mutable_knownvehicledamages(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleVehicleIdentification.KnownVehicleDamages")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleVehicleIdentification::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleVehicleIdentification) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string VIN = 1; + if (!this->_internal_vin().empty()) { + const std::string& _s = this->_internal_vin(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VIN"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string WMI = 2; + if (!this->_internal_wmi().empty()) { + const std::string& _s = this->_internal_wmi(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.WMI"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // string Brand = 3; + if (!this->_internal_brand().empty()) { + const std::string& _s = this->_internal_brand(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.Brand"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string Model = 4; + if (!this->_internal_model().empty()) { + const std::string& _s = this->_internal_model(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.Model"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // uint32 Year = 5; + if (this->_internal_year() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_year(), target); + } + + // string AcrissCode = 6; + if (!this->_internal_acrisscode().empty()) { + const std::string& _s = this->_internal_acrisscode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.AcrissCode"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + // string BodyType = 7; + if (!this->_internal_bodytype().empty()) { + const std::string& _s = this->_internal_bodytype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.BodyType"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + // string DateVehicleFirstRegistered = 8; + if (!this->_internal_datevehiclefirstregistered().empty()) { + const std::string& _s = this->_internal_datevehiclefirstregistered(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.DateVehicleFirstRegistered"); + target = stream->WriteStringMaybeAliased(8, _s, target); + } + + // string MeetsEmissionStandard = 9; + if (!this->_internal_meetsemissionstandard().empty()) { + const std::string& _s = this->_internal_meetsemissionstandard(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.MeetsEmissionStandard"); + target = stream->WriteStringMaybeAliased(9, _s, target); + } + + // string ProductionDate = 10; + if (!this->_internal_productiondate().empty()) { + const std::string& _s = this->_internal_productiondate(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.ProductionDate"); + target = stream->WriteStringMaybeAliased(10, _s, target); + } + + // string PurchaseDate = 11; + if (!this->_internal_purchasedate().empty()) { + const std::string& _s = this->_internal_purchasedate(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.PurchaseDate"); + target = stream->WriteStringMaybeAliased(11, _s, target); + } + + // string VehicleModelDate = 12; + if (!this->_internal_vehiclemodeldate().empty()) { + const std::string& _s = this->_internal_vehiclemodeldate(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VehicleModelDate"); + target = stream->WriteStringMaybeAliased(12, _s, target); + } + + // string VehicleConfiguration = 13; + if (!this->_internal_vehicleconfiguration().empty()) { + const std::string& _s = this->_internal_vehicleconfiguration(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VehicleConfiguration"); + target = stream->WriteStringMaybeAliased(13, _s, target); + } + + // uint32 VehicleSeatingCapacity = 14; + if (this->_internal_vehicleseatingcapacity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 14, this->_internal_vehicleseatingcapacity(), target); + } + + // string VehicleSpecialUsage = 15; + if (!this->_internal_vehiclespecialusage().empty()) { + const std::string& _s = this->_internal_vehiclespecialusage(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VehicleSpecialUsage"); + target = stream->WriteStringMaybeAliased(15, _s, target); + } + + // string VehicleInteriorColor = 16; + if (!this->_internal_vehicleinteriorcolor().empty()) { + const std::string& _s = this->_internal_vehicleinteriorcolor(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VehicleInteriorColor"); + target = stream->WriteStringMaybeAliased(16, _s, target); + } + + // string VehicleInteriorType = 17; + if (!this->_internal_vehicleinteriortype().empty()) { + const std::string& _s = this->_internal_vehicleinteriortype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.VehicleInteriorType"); + target = stream->WriteStringMaybeAliased(17, _s, target); + } + + // string KnownVehicleDamages = 18; + if (!this->_internal_knownvehicledamages().empty()) { + const std::string& _s = this->_internal_knownvehicledamages(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleVehicleIdentification.KnownVehicleDamages"); + target = stream->WriteStringMaybeAliased(18, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleVehicleIdentification) + return target; +} + +::size_t VehicleVehicleIdentification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleVehicleIdentification) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string VIN = 1; + if (!this->_internal_vin().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vin()); + } + + // string WMI = 2; + if (!this->_internal_wmi().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_wmi()); + } + + // string Brand = 3; + if (!this->_internal_brand().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_brand()); + } + + // string Model = 4; + if (!this->_internal_model().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_model()); + } + + // string AcrissCode = 6; + if (!this->_internal_acrisscode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_acrisscode()); + } + + // string BodyType = 7; + if (!this->_internal_bodytype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_bodytype()); + } + + // string DateVehicleFirstRegistered = 8; + if (!this->_internal_datevehiclefirstregistered().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_datevehiclefirstregistered()); + } + + // string MeetsEmissionStandard = 9; + if (!this->_internal_meetsemissionstandard().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_meetsemissionstandard()); + } + + // string ProductionDate = 10; + if (!this->_internal_productiondate().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_productiondate()); + } + + // string PurchaseDate = 11; + if (!this->_internal_purchasedate().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_purchasedate()); + } + + // string VehicleModelDate = 12; + if (!this->_internal_vehiclemodeldate().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehiclemodeldate()); + } + + // string VehicleConfiguration = 13; + if (!this->_internal_vehicleconfiguration().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleconfiguration()); + } + + // string VehicleSpecialUsage = 15; + if (!this->_internal_vehiclespecialusage().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehiclespecialusage()); + } + + // string VehicleInteriorColor = 16; + if (!this->_internal_vehicleinteriorcolor().empty()) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleinteriorcolor()); + } + + // string VehicleInteriorType = 17; + if (!this->_internal_vehicleinteriortype().empty()) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleinteriortype()); + } + + // string KnownVehicleDamages = 18; + if (!this->_internal_knownvehicledamages().empty()) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_knownvehicledamages()); + } + + // uint32 Year = 5; + if (this->_internal_year() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_year()); + } + + // uint32 VehicleSeatingCapacity = 14; + if (this->_internal_vehicleseatingcapacity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_vehicleseatingcapacity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleVehicleIdentification::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleVehicleIdentification::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleVehicleIdentification::GetClassData() const { return &_class_data_; } + + +void VehicleVehicleIdentification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleVehicleIdentification) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_vin().empty()) { + _this->_internal_set_vin(from._internal_vin()); + } + if (!from._internal_wmi().empty()) { + _this->_internal_set_wmi(from._internal_wmi()); + } + if (!from._internal_brand().empty()) { + _this->_internal_set_brand(from._internal_brand()); + } + if (!from._internal_model().empty()) { + _this->_internal_set_model(from._internal_model()); + } + if (!from._internal_acrisscode().empty()) { + _this->_internal_set_acrisscode(from._internal_acrisscode()); + } + if (!from._internal_bodytype().empty()) { + _this->_internal_set_bodytype(from._internal_bodytype()); + } + if (!from._internal_datevehiclefirstregistered().empty()) { + _this->_internal_set_datevehiclefirstregistered(from._internal_datevehiclefirstregistered()); + } + if (!from._internal_meetsemissionstandard().empty()) { + _this->_internal_set_meetsemissionstandard(from._internal_meetsemissionstandard()); + } + if (!from._internal_productiondate().empty()) { + _this->_internal_set_productiondate(from._internal_productiondate()); + } + if (!from._internal_purchasedate().empty()) { + _this->_internal_set_purchasedate(from._internal_purchasedate()); + } + if (!from._internal_vehiclemodeldate().empty()) { + _this->_internal_set_vehiclemodeldate(from._internal_vehiclemodeldate()); + } + if (!from._internal_vehicleconfiguration().empty()) { + _this->_internal_set_vehicleconfiguration(from._internal_vehicleconfiguration()); + } + if (!from._internal_vehiclespecialusage().empty()) { + _this->_internal_set_vehiclespecialusage(from._internal_vehiclespecialusage()); + } + if (!from._internal_vehicleinteriorcolor().empty()) { + _this->_internal_set_vehicleinteriorcolor(from._internal_vehicleinteriorcolor()); + } + if (!from._internal_vehicleinteriortype().empty()) { + _this->_internal_set_vehicleinteriortype(from._internal_vehicleinteriortype()); + } + if (!from._internal_knownvehicledamages().empty()) { + _this->_internal_set_knownvehicledamages(from._internal_knownvehicledamages()); + } + if (from._internal_year() != 0) { + _this->_internal_set_year(from._internal_year()); + } + if (from._internal_vehicleseatingcapacity() != 0) { + _this->_internal_set_vehicleseatingcapacity(from._internal_vehicleseatingcapacity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleVehicleIdentification::CopyFrom(const VehicleVehicleIdentification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleVehicleIdentification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleVehicleIdentification::IsInitialized() const { + return true; +} + +void VehicleVehicleIdentification::InternalSwap(VehicleVehicleIdentification* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vin_, lhs_arena, + &other->_impl_.vin_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.wmi_, lhs_arena, + &other->_impl_.wmi_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.brand_, lhs_arena, + &other->_impl_.brand_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.model_, lhs_arena, + &other->_impl_.model_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.acrisscode_, lhs_arena, + &other->_impl_.acrisscode_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bodytype_, lhs_arena, + &other->_impl_.bodytype_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.datevehiclefirstregistered_, lhs_arena, + &other->_impl_.datevehiclefirstregistered_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.meetsemissionstandard_, lhs_arena, + &other->_impl_.meetsemissionstandard_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.productiondate_, lhs_arena, + &other->_impl_.productiondate_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.purchasedate_, lhs_arena, + &other->_impl_.purchasedate_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vehiclemodeldate_, lhs_arena, + &other->_impl_.vehiclemodeldate_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vehicleconfiguration_, lhs_arena, + &other->_impl_.vehicleconfiguration_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vehiclespecialusage_, lhs_arena, + &other->_impl_.vehiclespecialusage_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vehicleinteriorcolor_, lhs_arena, + &other->_impl_.vehicleinteriorcolor_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.vehicleinteriortype_, lhs_arena, + &other->_impl_.vehicleinteriortype_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.knownvehicledamages_, lhs_arena, + &other->_impl_.knownvehicledamages_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleVehicleIdentification, _impl_.vehicleseatingcapacity_) + + sizeof(VehicleVehicleIdentification::_impl_.vehicleseatingcapacity_) + - PROTOBUF_FIELD_OFFSET(VehicleVehicleIdentification, _impl_.year_)>( + reinterpret_cast(&_impl_.year_), + reinterpret_cast(&other->_impl_.year_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleVehicleIdentification::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[2]); +} +// =================================================================== + +class VehicleLowVoltageBattery::_Internal { + public: +}; + +VehicleLowVoltageBattery::VehicleLowVoltageBattery(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleLowVoltageBattery) +} +VehicleLowVoltageBattery::VehicleLowVoltageBattery(const VehicleLowVoltageBattery& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleLowVoltageBattery) +} + +inline void VehicleLowVoltageBattery::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.nominalvoltage_) { 0u } + + , decltype(_impl_.nominalcapacity_) { 0u } + + , decltype(_impl_.currentvoltage_) { 0 } + + , decltype(_impl_.currentcurrent_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleLowVoltageBattery::~VehicleLowVoltageBattery() { + // @@protoc_insertion_point(destructor:vss.VehicleLowVoltageBattery) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleLowVoltageBattery::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleLowVoltageBattery::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleLowVoltageBattery::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleLowVoltageBattery) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.nominalvoltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.currentcurrent_) - + reinterpret_cast(&_impl_.nominalvoltage_)) + sizeof(_impl_.currentcurrent_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleLowVoltageBattery::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 NominalVoltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.nominalvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 NominalCapacity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.nominalcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float CurrentVoltage = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.currentvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CurrentCurrent = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.currentcurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleLowVoltageBattery::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleLowVoltageBattery) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 NominalVoltage = 1; + if (this->_internal_nominalvoltage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_nominalvoltage(), target); + } + + // uint32 NominalCapacity = 2; + if (this->_internal_nominalcapacity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_nominalcapacity(), target); + } + + // float CurrentVoltage = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = this->_internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_currentvoltage(), target); + } + + // float CurrentCurrent = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = this->_internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_currentcurrent(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleLowVoltageBattery) + return target; +} + +::size_t VehicleLowVoltageBattery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleLowVoltageBattery) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 NominalVoltage = 1; + if (this->_internal_nominalvoltage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_nominalvoltage()); + } + + // uint32 NominalCapacity = 2; + if (this->_internal_nominalcapacity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_nominalcapacity()); + } + + // float CurrentVoltage = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = this->_internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + total_size += 5; + } + + // float CurrentCurrent = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = this->_internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleLowVoltageBattery::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleLowVoltageBattery::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleLowVoltageBattery::GetClassData() const { return &_class_data_; } + + +void VehicleLowVoltageBattery::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleLowVoltageBattery) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_nominalvoltage() != 0) { + _this->_internal_set_nominalvoltage(from._internal_nominalvoltage()); + } + if (from._internal_nominalcapacity() != 0) { + _this->_internal_set_nominalcapacity(from._internal_nominalcapacity()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = from._internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + _this->_internal_set_currentvoltage(from._internal_currentvoltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = from._internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + _this->_internal_set_currentcurrent(from._internal_currentcurrent()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleLowVoltageBattery::CopyFrom(const VehicleLowVoltageBattery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleLowVoltageBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleLowVoltageBattery::IsInitialized() const { + return true; +} + +void VehicleLowVoltageBattery::InternalSwap(VehicleLowVoltageBattery* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleLowVoltageBattery, _impl_.currentcurrent_) + + sizeof(VehicleLowVoltageBattery::_impl_.currentcurrent_) + - PROTOBUF_FIELD_OFFSET(VehicleLowVoltageBattery, _impl_.nominalvoltage_)>( + reinterpret_cast(&_impl_.nominalvoltage_), + reinterpret_cast(&other->_impl_.nominalvoltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleLowVoltageBattery::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[3]); +} +// =================================================================== + +class VehicleAcceleration::_Internal { + public: +}; + +VehicleAcceleration::VehicleAcceleration(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleAcceleration) +} +VehicleAcceleration::VehicleAcceleration(const VehicleAcceleration& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleAcceleration) +} + +inline void VehicleAcceleration::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.longitudinal_) { 0 } + + , decltype(_impl_.lateral_) { 0 } + + , decltype(_impl_.vertical_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleAcceleration::~VehicleAcceleration() { + // @@protoc_insertion_point(destructor:vss.VehicleAcceleration) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleAcceleration::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleAcceleration::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleAcceleration::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleAcceleration) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.longitudinal_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.vertical_) - + reinterpret_cast(&_impl_.longitudinal_)) + sizeof(_impl_.vertical_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleAcceleration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Longitudinal = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.longitudinal_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Lateral = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.lateral_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Vertical = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.vertical_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleAcceleration::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleAcceleration) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Longitudinal = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longitudinal = this->_internal_longitudinal(); + ::uint32_t raw_longitudinal; + memcpy(&raw_longitudinal, &tmp_longitudinal, sizeof(tmp_longitudinal)); + if (raw_longitudinal != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_longitudinal(), target); + } + + // float Lateral = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lateral = this->_internal_lateral(); + ::uint32_t raw_lateral; + memcpy(&raw_lateral, &tmp_lateral, sizeof(tmp_lateral)); + if (raw_lateral != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_lateral(), target); + } + + // float Vertical = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_vertical = this->_internal_vertical(); + ::uint32_t raw_vertical; + memcpy(&raw_vertical, &tmp_vertical, sizeof(tmp_vertical)); + if (raw_vertical != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_vertical(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleAcceleration) + return target; +} + +::size_t VehicleAcceleration::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleAcceleration) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Longitudinal = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longitudinal = this->_internal_longitudinal(); + ::uint32_t raw_longitudinal; + memcpy(&raw_longitudinal, &tmp_longitudinal, sizeof(tmp_longitudinal)); + if (raw_longitudinal != 0) { + total_size += 5; + } + + // float Lateral = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lateral = this->_internal_lateral(); + ::uint32_t raw_lateral; + memcpy(&raw_lateral, &tmp_lateral, sizeof(tmp_lateral)); + if (raw_lateral != 0) { + total_size += 5; + } + + // float Vertical = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_vertical = this->_internal_vertical(); + ::uint32_t raw_vertical; + memcpy(&raw_vertical, &tmp_vertical, sizeof(tmp_vertical)); + if (raw_vertical != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleAcceleration::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleAcceleration::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleAcceleration::GetClassData() const { return &_class_data_; } + + +void VehicleAcceleration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleAcceleration) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longitudinal = from._internal_longitudinal(); + ::uint32_t raw_longitudinal; + memcpy(&raw_longitudinal, &tmp_longitudinal, sizeof(tmp_longitudinal)); + if (raw_longitudinal != 0) { + _this->_internal_set_longitudinal(from._internal_longitudinal()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lateral = from._internal_lateral(); + ::uint32_t raw_lateral; + memcpy(&raw_lateral, &tmp_lateral, sizeof(tmp_lateral)); + if (raw_lateral != 0) { + _this->_internal_set_lateral(from._internal_lateral()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_vertical = from._internal_vertical(); + ::uint32_t raw_vertical; + memcpy(&raw_vertical, &tmp_vertical, sizeof(tmp_vertical)); + if (raw_vertical != 0) { + _this->_internal_set_vertical(from._internal_vertical()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleAcceleration::CopyFrom(const VehicleAcceleration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleAcceleration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleAcceleration::IsInitialized() const { + return true; +} + +void VehicleAcceleration::InternalSwap(VehicleAcceleration* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleAcceleration, _impl_.vertical_) + + sizeof(VehicleAcceleration::_impl_.vertical_) + - PROTOBUF_FIELD_OFFSET(VehicleAcceleration, _impl_.longitudinal_)>( + reinterpret_cast(&_impl_.longitudinal_), + reinterpret_cast(&other->_impl_.longitudinal_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleAcceleration::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[4]); +} +// =================================================================== + +class VehicleAngularVelocity::_Internal { + public: +}; + +VehicleAngularVelocity::VehicleAngularVelocity(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleAngularVelocity) +} +VehicleAngularVelocity::VehicleAngularVelocity(const VehicleAngularVelocity& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleAngularVelocity) +} + +inline void VehicleAngularVelocity::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.roll_) { 0 } + + , decltype(_impl_.pitch_) { 0 } + + , decltype(_impl_.yaw_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleAngularVelocity::~VehicleAngularVelocity() { + // @@protoc_insertion_point(destructor:vss.VehicleAngularVelocity) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleAngularVelocity::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleAngularVelocity::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleAngularVelocity::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleAngularVelocity) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.roll_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.yaw_) - + reinterpret_cast(&_impl_.roll_)) + sizeof(_impl_.yaw_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleAngularVelocity::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Roll = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.roll_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Pitch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Yaw = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.yaw_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleAngularVelocity::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleAngularVelocity) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Roll = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_roll = this->_internal_roll(); + ::uint32_t raw_roll; + memcpy(&raw_roll, &tmp_roll, sizeof(tmp_roll)); + if (raw_roll != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_roll(), target); + } + + // float Pitch = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_pitch = this->_internal_pitch(); + ::uint32_t raw_pitch; + memcpy(&raw_pitch, &tmp_pitch, sizeof(tmp_pitch)); + if (raw_pitch != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_pitch(), target); + } + + // float Yaw = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_yaw = this->_internal_yaw(); + ::uint32_t raw_yaw; + memcpy(&raw_yaw, &tmp_yaw, sizeof(tmp_yaw)); + if (raw_yaw != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_yaw(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleAngularVelocity) + return target; +} + +::size_t VehicleAngularVelocity::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleAngularVelocity) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Roll = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_roll = this->_internal_roll(); + ::uint32_t raw_roll; + memcpy(&raw_roll, &tmp_roll, sizeof(tmp_roll)); + if (raw_roll != 0) { + total_size += 5; + } + + // float Pitch = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_pitch = this->_internal_pitch(); + ::uint32_t raw_pitch; + memcpy(&raw_pitch, &tmp_pitch, sizeof(tmp_pitch)); + if (raw_pitch != 0) { + total_size += 5; + } + + // float Yaw = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_yaw = this->_internal_yaw(); + ::uint32_t raw_yaw; + memcpy(&raw_yaw, &tmp_yaw, sizeof(tmp_yaw)); + if (raw_yaw != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleAngularVelocity::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleAngularVelocity::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleAngularVelocity::GetClassData() const { return &_class_data_; } + + +void VehicleAngularVelocity::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleAngularVelocity) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_roll = from._internal_roll(); + ::uint32_t raw_roll; + memcpy(&raw_roll, &tmp_roll, sizeof(tmp_roll)); + if (raw_roll != 0) { + _this->_internal_set_roll(from._internal_roll()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_pitch = from._internal_pitch(); + ::uint32_t raw_pitch; + memcpy(&raw_pitch, &tmp_pitch, sizeof(tmp_pitch)); + if (raw_pitch != 0) { + _this->_internal_set_pitch(from._internal_pitch()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_yaw = from._internal_yaw(); + ::uint32_t raw_yaw; + memcpy(&raw_yaw, &tmp_yaw, sizeof(tmp_yaw)); + if (raw_yaw != 0) { + _this->_internal_set_yaw(from._internal_yaw()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleAngularVelocity::CopyFrom(const VehicleAngularVelocity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleAngularVelocity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleAngularVelocity::IsInitialized() const { + return true; +} + +void VehicleAngularVelocity::InternalSwap(VehicleAngularVelocity* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleAngularVelocity, _impl_.yaw_) + + sizeof(VehicleAngularVelocity::_impl_.yaw_) + - PROTOBUF_FIELD_OFFSET(VehicleAngularVelocity, _impl_.roll_)>( + reinterpret_cast(&_impl_.roll_), + reinterpret_cast(&other->_impl_.roll_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleAngularVelocity::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[5]); +} +// =================================================================== + +class VehicleTrailer::_Internal { + public: +}; + +VehicleTrailer::VehicleTrailer(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleTrailer) +} +VehicleTrailer::VehicleTrailer(const VehicleTrailer& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleTrailer) +} + +inline void VehicleTrailer::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isconnected_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleTrailer::~VehicleTrailer() { + // @@protoc_insertion_point(destructor:vss.VehicleTrailer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleTrailer::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleTrailer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleTrailer::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleTrailer) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isconnected_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleTrailer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsConnected = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleTrailer::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleTrailer) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsConnected = 1; + if (this->_internal_isconnected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isconnected(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleTrailer) + return target; +} + +::size_t VehicleTrailer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleTrailer) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsConnected = 1; + if (this->_internal_isconnected() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleTrailer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleTrailer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleTrailer::GetClassData() const { return &_class_data_; } + + +void VehicleTrailer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleTrailer) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isconnected() != 0) { + _this->_internal_set_isconnected(from._internal_isconnected()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleTrailer::CopyFrom(const VehicleTrailer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleTrailer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleTrailer::IsInitialized() const { + return true; +} + +void VehicleTrailer::InternalSwap(VehicleTrailer* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isconnected_, other->_impl_.isconnected_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleTrailer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[6]); +} +// =================================================================== + +class VehicleCurrentLocation::_Internal { + public: + static const ::vss::VehicleCurrentLocationGNSSReceiver& gnssreceiver(const VehicleCurrentLocation* msg); +}; + +const ::vss::VehicleCurrentLocationGNSSReceiver& +VehicleCurrentLocation::_Internal::gnssreceiver(const VehicleCurrentLocation* msg) { + return *msg->_impl_.gnssreceiver_; +} +VehicleCurrentLocation::VehicleCurrentLocation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCurrentLocation) +} +VehicleCurrentLocation::VehicleCurrentLocation(const VehicleCurrentLocation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCurrentLocation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.timestamp_) {} + + , decltype(_impl_.gnssreceiver_){nullptr} + , decltype(_impl_.latitude_) {} + + , decltype(_impl_.longitude_) {} + + , decltype(_impl_.heading_) {} + + , decltype(_impl_.horizontalaccuracy_) {} + + , decltype(_impl_.altitude_) {} + + , decltype(_impl_.verticalaccuracy_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.timestamp_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.timestamp_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_timestamp().empty()) { + _this->_impl_.timestamp_.Set(from._internal_timestamp(), _this->GetArenaForAllocation()); + } + if (from._internal_has_gnssreceiver()) { + _this->_impl_.gnssreceiver_ = new ::vss::VehicleCurrentLocationGNSSReceiver(*from._impl_.gnssreceiver_); + } + ::memcpy(&_impl_.latitude_, &from._impl_.latitude_, + static_cast<::size_t>(reinterpret_cast(&_impl_.verticalaccuracy_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.verticalaccuracy_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCurrentLocation) +} + +inline void VehicleCurrentLocation::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.timestamp_) {} + + , decltype(_impl_.gnssreceiver_){nullptr} + , decltype(_impl_.latitude_) { 0 } + + , decltype(_impl_.longitude_) { 0 } + + , decltype(_impl_.heading_) { 0 } + + , decltype(_impl_.horizontalaccuracy_) { 0 } + + , decltype(_impl_.altitude_) { 0 } + + , decltype(_impl_.verticalaccuracy_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.timestamp_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.timestamp_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCurrentLocation::~VehicleCurrentLocation() { + // @@protoc_insertion_point(destructor:vss.VehicleCurrentLocation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCurrentLocation::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.timestamp_.Destroy(); + if (this != internal_default_instance()) delete _impl_.gnssreceiver_; +} + +void VehicleCurrentLocation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCurrentLocation::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCurrentLocation) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.timestamp_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.gnssreceiver_ != nullptr) { + delete _impl_.gnssreceiver_; + } + _impl_.gnssreceiver_ = nullptr; + ::memset(&_impl_.latitude_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.verticalaccuracy_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.verticalaccuracy_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCurrentLocation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_timestamp(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCurrentLocation.Timestamp")); + } else { + goto handle_unusual; + } + continue; + // double Latitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 17)) { + _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double Longitude = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 25)) { + _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double Heading = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 33)) { + _impl_.heading_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double HorizontalAccuracy = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 41)) { + _impl_.horizontalaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double Altitude = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 49)) { + _impl_.altitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double VerticalAccuracy = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 57)) { + _impl_.verticalaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_gnssreceiver(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCurrentLocation::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCurrentLocation) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Timestamp = 1; + if (!this->_internal_timestamp().empty()) { + const std::string& _s = this->_internal_timestamp(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCurrentLocation.Timestamp"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // double Latitude = 2; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = this->_internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 2, this->_internal_latitude(), target); + } + + // double Longitude = 3; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = this->_internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 3, this->_internal_longitude(), target); + } + + // double Heading = 4; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_heading = this->_internal_heading(); + ::uint64_t raw_heading; + memcpy(&raw_heading, &tmp_heading, sizeof(tmp_heading)); + if (raw_heading != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 4, this->_internal_heading(), target); + } + + // double HorizontalAccuracy = 5; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_horizontalaccuracy = this->_internal_horizontalaccuracy(); + ::uint64_t raw_horizontalaccuracy; + memcpy(&raw_horizontalaccuracy, &tmp_horizontalaccuracy, sizeof(tmp_horizontalaccuracy)); + if (raw_horizontalaccuracy != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 5, this->_internal_horizontalaccuracy(), target); + } + + // double Altitude = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_altitude = this->_internal_altitude(); + ::uint64_t raw_altitude; + memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude)); + if (raw_altitude != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 6, this->_internal_altitude(), target); + } + + // double VerticalAccuracy = 7; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_verticalaccuracy = this->_internal_verticalaccuracy(); + ::uint64_t raw_verticalaccuracy; + memcpy(&raw_verticalaccuracy, &tmp_verticalaccuracy, sizeof(tmp_verticalaccuracy)); + if (raw_verticalaccuracy != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 7, this->_internal_verticalaccuracy(), target); + } + + // .vss.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + if (this->_internal_has_gnssreceiver()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::gnssreceiver(this), + _Internal::gnssreceiver(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCurrentLocation) + return target; +} + +::size_t VehicleCurrentLocation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCurrentLocation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Timestamp = 1; + if (!this->_internal_timestamp().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_timestamp()); + } + + // .vss.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + if (this->_internal_has_gnssreceiver()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.gnssreceiver_); + } + + // double Latitude = 2; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = this->_internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + total_size += 9; + } + + // double Longitude = 3; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = this->_internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + total_size += 9; + } + + // double Heading = 4; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_heading = this->_internal_heading(); + ::uint64_t raw_heading; + memcpy(&raw_heading, &tmp_heading, sizeof(tmp_heading)); + if (raw_heading != 0) { + total_size += 9; + } + + // double HorizontalAccuracy = 5; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_horizontalaccuracy = this->_internal_horizontalaccuracy(); + ::uint64_t raw_horizontalaccuracy; + memcpy(&raw_horizontalaccuracy, &tmp_horizontalaccuracy, sizeof(tmp_horizontalaccuracy)); + if (raw_horizontalaccuracy != 0) { + total_size += 9; + } + + // double Altitude = 6; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_altitude = this->_internal_altitude(); + ::uint64_t raw_altitude; + memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude)); + if (raw_altitude != 0) { + total_size += 9; + } + + // double VerticalAccuracy = 7; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_verticalaccuracy = this->_internal_verticalaccuracy(); + ::uint64_t raw_verticalaccuracy; + memcpy(&raw_verticalaccuracy, &tmp_verticalaccuracy, sizeof(tmp_verticalaccuracy)); + if (raw_verticalaccuracy != 0) { + total_size += 9; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCurrentLocation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCurrentLocation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCurrentLocation::GetClassData() const { return &_class_data_; } + + +void VehicleCurrentLocation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCurrentLocation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_timestamp().empty()) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_has_gnssreceiver()) { + _this->_internal_mutable_gnssreceiver()->::vss::VehicleCurrentLocationGNSSReceiver::MergeFrom( + from._internal_gnssreceiver()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = from._internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + _this->_internal_set_latitude(from._internal_latitude()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = from._internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + _this->_internal_set_longitude(from._internal_longitude()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_heading = from._internal_heading(); + ::uint64_t raw_heading; + memcpy(&raw_heading, &tmp_heading, sizeof(tmp_heading)); + if (raw_heading != 0) { + _this->_internal_set_heading(from._internal_heading()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_horizontalaccuracy = from._internal_horizontalaccuracy(); + ::uint64_t raw_horizontalaccuracy; + memcpy(&raw_horizontalaccuracy, &tmp_horizontalaccuracy, sizeof(tmp_horizontalaccuracy)); + if (raw_horizontalaccuracy != 0) { + _this->_internal_set_horizontalaccuracy(from._internal_horizontalaccuracy()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_altitude = from._internal_altitude(); + ::uint64_t raw_altitude; + memcpy(&raw_altitude, &tmp_altitude, sizeof(tmp_altitude)); + if (raw_altitude != 0) { + _this->_internal_set_altitude(from._internal_altitude()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_verticalaccuracy = from._internal_verticalaccuracy(); + ::uint64_t raw_verticalaccuracy; + memcpy(&raw_verticalaccuracy, &tmp_verticalaccuracy, sizeof(tmp_verticalaccuracy)); + if (raw_verticalaccuracy != 0) { + _this->_internal_set_verticalaccuracy(from._internal_verticalaccuracy()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCurrentLocation::CopyFrom(const VehicleCurrentLocation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCurrentLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocation::IsInitialized() const { + return true; +} + +void VehicleCurrentLocation::InternalSwap(VehicleCurrentLocation* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.timestamp_, lhs_arena, + &other->_impl_.timestamp_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCurrentLocation, _impl_.verticalaccuracy_) + + sizeof(VehicleCurrentLocation::_impl_.verticalaccuracy_) + - PROTOBUF_FIELD_OFFSET(VehicleCurrentLocation, _impl_.gnssreceiver_)>( + reinterpret_cast(&_impl_.gnssreceiver_), + reinterpret_cast(&other->_impl_.gnssreceiver_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[7]); +} +// =================================================================== + +class VehicleCurrentLocationGNSSReceiver::_Internal { + public: + static const ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition& mountingposition(const VehicleCurrentLocationGNSSReceiver* msg); +}; + +const ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition& +VehicleCurrentLocationGNSSReceiver::_Internal::mountingposition(const VehicleCurrentLocationGNSSReceiver* msg) { + return *msg->_impl_.mountingposition_; +} +VehicleCurrentLocationGNSSReceiver::VehicleCurrentLocationGNSSReceiver(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCurrentLocationGNSSReceiver) +} +VehicleCurrentLocationGNSSReceiver::VehicleCurrentLocationGNSSReceiver(const VehicleCurrentLocationGNSSReceiver& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCurrentLocationGNSSReceiver* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.fixtype_) {} + + , decltype(_impl_.mountingposition_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.fixtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fixtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fixtype().empty()) { + _this->_impl_.fixtype_.Set(from._internal_fixtype(), _this->GetArenaForAllocation()); + } + if (from._internal_has_mountingposition()) { + _this->_impl_.mountingposition_ = new ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition(*from._impl_.mountingposition_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCurrentLocationGNSSReceiver) +} + +inline void VehicleCurrentLocationGNSSReceiver::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.fixtype_) {} + + , decltype(_impl_.mountingposition_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.fixtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fixtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCurrentLocationGNSSReceiver::~VehicleCurrentLocationGNSSReceiver() { + // @@protoc_insertion_point(destructor:vss.VehicleCurrentLocationGNSSReceiver) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCurrentLocationGNSSReceiver::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.fixtype_.Destroy(); + if (this != internal_default_instance()) delete _impl_.mountingposition_; +} + +void VehicleCurrentLocationGNSSReceiver::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCurrentLocationGNSSReceiver::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCurrentLocationGNSSReceiver) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.fixtype_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.mountingposition_ != nullptr) { + delete _impl_.mountingposition_; + } + _impl_.mountingposition_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCurrentLocationGNSSReceiver::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string FixType = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_fixtype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCurrentLocationGNSSReceiver.FixType")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_mountingposition(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCurrentLocationGNSSReceiver::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCurrentLocationGNSSReceiver) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string FixType = 1; + if (!this->_internal_fixtype().empty()) { + const std::string& _s = this->_internal_fixtype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCurrentLocationGNSSReceiver.FixType"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .vss.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + if (this->_internal_has_mountingposition()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::mountingposition(this), + _Internal::mountingposition(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCurrentLocationGNSSReceiver) + return target; +} + +::size_t VehicleCurrentLocationGNSSReceiver::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCurrentLocationGNSSReceiver) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string FixType = 1; + if (!this->_internal_fixtype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fixtype()); + } + + // .vss.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + if (this->_internal_has_mountingposition()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.mountingposition_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCurrentLocationGNSSReceiver::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCurrentLocationGNSSReceiver::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCurrentLocationGNSSReceiver::GetClassData() const { return &_class_data_; } + + +void VehicleCurrentLocationGNSSReceiver::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCurrentLocationGNSSReceiver) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_fixtype().empty()) { + _this->_internal_set_fixtype(from._internal_fixtype()); + } + if (from._internal_has_mountingposition()) { + _this->_internal_mutable_mountingposition()->::vss::VehicleCurrentLocationGNSSReceiverMountingPosition::MergeFrom( + from._internal_mountingposition()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCurrentLocationGNSSReceiver::CopyFrom(const VehicleCurrentLocationGNSSReceiver& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCurrentLocationGNSSReceiver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocationGNSSReceiver::IsInitialized() const { + return true; +} + +void VehicleCurrentLocationGNSSReceiver::InternalSwap(VehicleCurrentLocationGNSSReceiver* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fixtype_, lhs_arena, + &other->_impl_.fixtype_, rhs_arena); + swap(_impl_.mountingposition_, other->_impl_.mountingposition_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocationGNSSReceiver::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[8]); +} +// =================================================================== + +class VehicleCurrentLocationGNSSReceiverMountingPosition::_Internal { + public: +}; + +VehicleCurrentLocationGNSSReceiverMountingPosition::VehicleCurrentLocationGNSSReceiverMountingPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) +} +VehicleCurrentLocationGNSSReceiverMountingPosition::VehicleCurrentLocationGNSSReceiverMountingPosition(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) +} + +inline void VehicleCurrentLocationGNSSReceiverMountingPosition::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.x_) { 0 } + + , decltype(_impl_.y_) { 0 } + + , decltype(_impl_.z_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCurrentLocationGNSSReceiverMountingPosition::~VehicleCurrentLocationGNSSReceiverMountingPosition() { + // @@protoc_insertion_point(destructor:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCurrentLocationGNSSReceiverMountingPosition::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.x_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.z_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCurrentLocationGNSSReceiverMountingPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 X = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCurrentLocationGNSSReceiverMountingPosition::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 X = 1; + if (this->_internal_x() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_x(), target); + } + + // int32 Y = 2; + if (this->_internal_y() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_y(), target); + } + + // int32 Z = 3; + if (this->_internal_z() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 3, this->_internal_z(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + return target; +} + +::size_t VehicleCurrentLocationGNSSReceiverMountingPosition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 X = 1; + if (this->_internal_x() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_x()); + } + + // int32 Y = 2; + if (this->_internal_y() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_y()); + } + + // int32 Z = 3; + if (this->_internal_z() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_z()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCurrentLocationGNSSReceiverMountingPosition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCurrentLocationGNSSReceiverMountingPosition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCurrentLocationGNSSReceiverMountingPosition::GetClassData() const { return &_class_data_; } + + +void VehicleCurrentLocationGNSSReceiverMountingPosition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_x() != 0) { + _this->_internal_set_x(from._internal_x()); + } + if (from._internal_y() != 0) { + _this->_internal_set_y(from._internal_y()); + } + if (from._internal_z() != 0) { + _this->_internal_set_z(from._internal_z()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::CopyFrom(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCurrentLocationGNSSReceiverMountingPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocationGNSSReceiverMountingPosition::IsInitialized() const { + return true; +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::InternalSwap(VehicleCurrentLocationGNSSReceiverMountingPosition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCurrentLocationGNSSReceiverMountingPosition, _impl_.z_) + + sizeof(VehicleCurrentLocationGNSSReceiverMountingPosition::_impl_.z_) + - PROTOBUF_FIELD_OFFSET(VehicleCurrentLocationGNSSReceiverMountingPosition, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocationGNSSReceiverMountingPosition::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[9]); +} +// =================================================================== + +class VehiclePowertrain::_Internal { + public: + static const ::vss::VehiclePowertrainCombustionEngine& combustionengine(const VehiclePowertrain* msg); + static const ::vss::VehiclePowertrainTransmission& transmission(const VehiclePowertrain* msg); + static const ::vss::VehiclePowertrainElectricMotor& electricmotor(const VehiclePowertrain* msg); + static const ::vss::VehiclePowertrainTractionBattery& tractionbattery(const VehiclePowertrain* msg); + static const ::vss::VehiclePowertrainFuelSystem& fuelsystem(const VehiclePowertrain* msg); +}; + +const ::vss::VehiclePowertrainCombustionEngine& +VehiclePowertrain::_Internal::combustionengine(const VehiclePowertrain* msg) { + return *msg->_impl_.combustionengine_; +} +const ::vss::VehiclePowertrainTransmission& +VehiclePowertrain::_Internal::transmission(const VehiclePowertrain* msg) { + return *msg->_impl_.transmission_; +} +const ::vss::VehiclePowertrainElectricMotor& +VehiclePowertrain::_Internal::electricmotor(const VehiclePowertrain* msg) { + return *msg->_impl_.electricmotor_; +} +const ::vss::VehiclePowertrainTractionBattery& +VehiclePowertrain::_Internal::tractionbattery(const VehiclePowertrain* msg) { + return *msg->_impl_.tractionbattery_; +} +const ::vss::VehiclePowertrainFuelSystem& +VehiclePowertrain::_Internal::fuelsystem(const VehiclePowertrain* msg) { + return *msg->_impl_.fuelsystem_; +} +VehiclePowertrain::VehiclePowertrain(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrain) +} +VehiclePowertrain::VehiclePowertrain(const VehiclePowertrain& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrain* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.type_) {} + + , decltype(_impl_.combustionengine_){nullptr} + , decltype(_impl_.transmission_){nullptr} + , decltype(_impl_.electricmotor_){nullptr} + , decltype(_impl_.tractionbattery_){nullptr} + , decltype(_impl_.fuelsystem_){nullptr} + , decltype(_impl_.accumulatedbrakingenergy_) {} + + , decltype(_impl_.range_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_type().empty()) { + _this->_impl_.type_.Set(from._internal_type(), _this->GetArenaForAllocation()); + } + if (from._internal_has_combustionengine()) { + _this->_impl_.combustionengine_ = new ::vss::VehiclePowertrainCombustionEngine(*from._impl_.combustionengine_); + } + if (from._internal_has_transmission()) { + _this->_impl_.transmission_ = new ::vss::VehiclePowertrainTransmission(*from._impl_.transmission_); + } + if (from._internal_has_electricmotor()) { + _this->_impl_.electricmotor_ = new ::vss::VehiclePowertrainElectricMotor(*from._impl_.electricmotor_); + } + if (from._internal_has_tractionbattery()) { + _this->_impl_.tractionbattery_ = new ::vss::VehiclePowertrainTractionBattery(*from._impl_.tractionbattery_); + } + if (from._internal_has_fuelsystem()) { + _this->_impl_.fuelsystem_ = new ::vss::VehiclePowertrainFuelSystem(*from._impl_.fuelsystem_); + } + ::memcpy(&_impl_.accumulatedbrakingenergy_, &from._impl_.accumulatedbrakingenergy_, + static_cast<::size_t>(reinterpret_cast(&_impl_.range_) - + reinterpret_cast(&_impl_.accumulatedbrakingenergy_)) + sizeof(_impl_.range_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrain) +} + +inline void VehiclePowertrain::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.type_) {} + + , decltype(_impl_.combustionengine_){nullptr} + , decltype(_impl_.transmission_){nullptr} + , decltype(_impl_.electricmotor_){nullptr} + , decltype(_impl_.tractionbattery_){nullptr} + , decltype(_impl_.fuelsystem_){nullptr} + , decltype(_impl_.accumulatedbrakingenergy_) { 0 } + + , decltype(_impl_.range_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrain::~VehiclePowertrain() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrain) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrain::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.type_.Destroy(); + if (this != internal_default_instance()) delete _impl_.combustionengine_; + if (this != internal_default_instance()) delete _impl_.transmission_; + if (this != internal_default_instance()) delete _impl_.electricmotor_; + if (this != internal_default_instance()) delete _impl_.tractionbattery_; + if (this != internal_default_instance()) delete _impl_.fuelsystem_; +} + +void VehiclePowertrain::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrain::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrain) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.type_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.combustionengine_ != nullptr) { + delete _impl_.combustionengine_; + } + _impl_.combustionengine_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.transmission_ != nullptr) { + delete _impl_.transmission_; + } + _impl_.transmission_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.electricmotor_ != nullptr) { + delete _impl_.electricmotor_; + } + _impl_.electricmotor_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tractionbattery_ != nullptr) { + delete _impl_.tractionbattery_; + } + _impl_.tractionbattery_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.fuelsystem_ != nullptr) { + delete _impl_.fuelsystem_; + } + _impl_.fuelsystem_ = nullptr; + ::memset(&_impl_.accumulatedbrakingenergy_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.range_) - + reinterpret_cast(&_impl_.accumulatedbrakingenergy_)) + sizeof(_impl_.range_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrain::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float AccumulatedBrakingEnergy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.accumulatedbrakingenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Range = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrain.Type")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainCombustionEngine CombustionEngine = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_combustionengine(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTransmission Transmission = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_transmission(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainElectricMotor ElectricMotor = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_electricmotor(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBattery TractionBattery = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_tractionbattery(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainFuelSystem FuelSystem = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_fuelsystem(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrain::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrain) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float AccumulatedBrakingEnergy = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedbrakingenergy = this->_internal_accumulatedbrakingenergy(); + ::uint32_t raw_accumulatedbrakingenergy; + memcpy(&raw_accumulatedbrakingenergy, &tmp_accumulatedbrakingenergy, sizeof(tmp_accumulatedbrakingenergy)); + if (raw_accumulatedbrakingenergy != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_accumulatedbrakingenergy(), target); + } + + // uint32 Range = 2; + if (this->_internal_range() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_range(), target); + } + + // string Type = 3; + if (!this->_internal_type().empty()) { + const std::string& _s = this->_internal_type(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrain.Type"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // .vss.VehiclePowertrainCombustionEngine CombustionEngine = 4; + if (this->_internal_has_combustionengine()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::combustionengine(this), + _Internal::combustionengine(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainTransmission Transmission = 5; + if (this->_internal_has_transmission()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::transmission(this), + _Internal::transmission(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainElectricMotor ElectricMotor = 6; + if (this->_internal_has_electricmotor()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::electricmotor(this), + _Internal::electricmotor(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainTractionBattery TractionBattery = 7; + if (this->_internal_has_tractionbattery()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::tractionbattery(this), + _Internal::tractionbattery(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainFuelSystem FuelSystem = 8; + if (this->_internal_has_fuelsystem()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::fuelsystem(this), + _Internal::fuelsystem(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrain) + return target; +} + +::size_t VehiclePowertrain::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrain) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Type = 3; + if (!this->_internal_type().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // .vss.VehiclePowertrainCombustionEngine CombustionEngine = 4; + if (this->_internal_has_combustionengine()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.combustionengine_); + } + + // .vss.VehiclePowertrainTransmission Transmission = 5; + if (this->_internal_has_transmission()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.transmission_); + } + + // .vss.VehiclePowertrainElectricMotor ElectricMotor = 6; + if (this->_internal_has_electricmotor()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.electricmotor_); + } + + // .vss.VehiclePowertrainTractionBattery TractionBattery = 7; + if (this->_internal_has_tractionbattery()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tractionbattery_); + } + + // .vss.VehiclePowertrainFuelSystem FuelSystem = 8; + if (this->_internal_has_fuelsystem()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fuelsystem_); + } + + // float AccumulatedBrakingEnergy = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedbrakingenergy = this->_internal_accumulatedbrakingenergy(); + ::uint32_t raw_accumulatedbrakingenergy; + memcpy(&raw_accumulatedbrakingenergy, &tmp_accumulatedbrakingenergy, sizeof(tmp_accumulatedbrakingenergy)); + if (raw_accumulatedbrakingenergy != 0) { + total_size += 5; + } + + // uint32 Range = 2; + if (this->_internal_range() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_range()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrain::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrain::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrain::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrain::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrain) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_type().empty()) { + _this->_internal_set_type(from._internal_type()); + } + if (from._internal_has_combustionengine()) { + _this->_internal_mutable_combustionengine()->::vss::VehiclePowertrainCombustionEngine::MergeFrom( + from._internal_combustionengine()); + } + if (from._internal_has_transmission()) { + _this->_internal_mutable_transmission()->::vss::VehiclePowertrainTransmission::MergeFrom( + from._internal_transmission()); + } + if (from._internal_has_electricmotor()) { + _this->_internal_mutable_electricmotor()->::vss::VehiclePowertrainElectricMotor::MergeFrom( + from._internal_electricmotor()); + } + if (from._internal_has_tractionbattery()) { + _this->_internal_mutable_tractionbattery()->::vss::VehiclePowertrainTractionBattery::MergeFrom( + from._internal_tractionbattery()); + } + if (from._internal_has_fuelsystem()) { + _this->_internal_mutable_fuelsystem()->::vss::VehiclePowertrainFuelSystem::MergeFrom( + from._internal_fuelsystem()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedbrakingenergy = from._internal_accumulatedbrakingenergy(); + ::uint32_t raw_accumulatedbrakingenergy; + memcpy(&raw_accumulatedbrakingenergy, &tmp_accumulatedbrakingenergy, sizeof(tmp_accumulatedbrakingenergy)); + if (raw_accumulatedbrakingenergy != 0) { + _this->_internal_set_accumulatedbrakingenergy(from._internal_accumulatedbrakingenergy()); + } + if (from._internal_range() != 0) { + _this->_internal_set_range(from._internal_range()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrain::CopyFrom(const VehiclePowertrain& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrain) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrain::IsInitialized() const { + return true; +} + +void VehiclePowertrain::InternalSwap(VehiclePowertrain* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, lhs_arena, + &other->_impl_.type_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrain, _impl_.range_) + + sizeof(VehiclePowertrain::_impl_.range_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrain, _impl_.combustionengine_)>( + reinterpret_cast(&_impl_.combustionengine_), + reinterpret_cast(&other->_impl_.combustionengine_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrain::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[10]); +} +// =================================================================== + +class VehiclePowertrainCombustionEngine::_Internal { + public: + static const ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid& dieselexhaustfluid(const VehiclePowertrainCombustionEngine* msg); + static const ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter& dieselparticulatefilter(const VehiclePowertrainCombustionEngine* msg); +}; + +const ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid& +VehiclePowertrainCombustionEngine::_Internal::dieselexhaustfluid(const VehiclePowertrainCombustionEngine* msg) { + return *msg->_impl_.dieselexhaustfluid_; +} +const ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter& +VehiclePowertrainCombustionEngine::_Internal::dieselparticulatefilter(const VehiclePowertrainCombustionEngine* msg) { + return *msg->_impl_.dieselparticulatefilter_; +} +VehiclePowertrainCombustionEngine::VehiclePowertrainCombustionEngine(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainCombustionEngine) +} +VehiclePowertrainCombustionEngine::VehiclePowertrainCombustionEngine(const VehiclePowertrainCombustionEngine& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainCombustionEngine* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.enginecode_) {} + + , decltype(_impl_.configuration_) {} + + , decltype(_impl_.compressionratio_) {} + + , decltype(_impl_.aspirationtype_) {} + + , decltype(_impl_.engineoillevel_) {} + + , decltype(_impl_.dieselexhaustfluid_){nullptr} + , decltype(_impl_.dieselparticulatefilter_){nullptr} + , decltype(_impl_.displacement_) {} + + , decltype(_impl_.strokelength_) {} + + , decltype(_impl_.bore_) {} + + , decltype(_impl_.numberofcylinders_) {} + + , decltype(_impl_.numberofvalvespercylinder_) {} + + , decltype(_impl_.engineoilcapacity_) {} + + , decltype(_impl_.enginecoolantcapacity_) {} + + , decltype(_impl_.maxpower_) {} + + , decltype(_impl_.maxtorque_) {} + + , decltype(_impl_.oilliferemaining_) {} + + , decltype(_impl_.isrunning_) {} + + , decltype(_impl_.speed_) {} + + , decltype(_impl_.enginehours_) {} + + , decltype(_impl_.idlehours_) {} + + , decltype(_impl_.ect_) {} + + , decltype(_impl_.eot_) {} + + , decltype(_impl_.map_) {} + + , decltype(_impl_.maf_) {} + + , decltype(_impl_.tps_) {} + + , decltype(_impl_.eop_) {} + + , decltype(_impl_.power_) {} + + , decltype(_impl_.torque_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.enginecode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.enginecode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_enginecode().empty()) { + _this->_impl_.enginecode_.Set(from._internal_enginecode(), _this->GetArenaForAllocation()); + } + _impl_.configuration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.configuration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_configuration().empty()) { + _this->_impl_.configuration_.Set(from._internal_configuration(), _this->GetArenaForAllocation()); + } + _impl_.compressionratio_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.compressionratio_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_compressionratio().empty()) { + _this->_impl_.compressionratio_.Set(from._internal_compressionratio(), _this->GetArenaForAllocation()); + } + _impl_.aspirationtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.aspirationtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_aspirationtype().empty()) { + _this->_impl_.aspirationtype_.Set(from._internal_aspirationtype(), _this->GetArenaForAllocation()); + } + _impl_.engineoillevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.engineoillevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_engineoillevel().empty()) { + _this->_impl_.engineoillevel_.Set(from._internal_engineoillevel(), _this->GetArenaForAllocation()); + } + if (from._internal_has_dieselexhaustfluid()) { + _this->_impl_.dieselexhaustfluid_ = new ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid(*from._impl_.dieselexhaustfluid_); + } + if (from._internal_has_dieselparticulatefilter()) { + _this->_impl_.dieselparticulatefilter_ = new ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter(*from._impl_.dieselparticulatefilter_); + } + ::memcpy(&_impl_.displacement_, &from._impl_.displacement_, + static_cast<::size_t>(reinterpret_cast(&_impl_.torque_) - + reinterpret_cast(&_impl_.displacement_)) + sizeof(_impl_.torque_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainCombustionEngine) +} + +inline void VehiclePowertrainCombustionEngine::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.enginecode_) {} + + , decltype(_impl_.configuration_) {} + + , decltype(_impl_.compressionratio_) {} + + , decltype(_impl_.aspirationtype_) {} + + , decltype(_impl_.engineoillevel_) {} + + , decltype(_impl_.dieselexhaustfluid_){nullptr} + , decltype(_impl_.dieselparticulatefilter_){nullptr} + , decltype(_impl_.displacement_) { 0u } + + , decltype(_impl_.strokelength_) { 0 } + + , decltype(_impl_.bore_) { 0 } + + , decltype(_impl_.numberofcylinders_) { 0u } + + , decltype(_impl_.numberofvalvespercylinder_) { 0u } + + , decltype(_impl_.engineoilcapacity_) { 0 } + + , decltype(_impl_.enginecoolantcapacity_) { 0 } + + , decltype(_impl_.maxpower_) { 0u } + + , decltype(_impl_.maxtorque_) { 0u } + + , decltype(_impl_.oilliferemaining_) { 0 } + + , decltype(_impl_.isrunning_) { false } + + , decltype(_impl_.speed_) { 0u } + + , decltype(_impl_.enginehours_) { 0 } + + , decltype(_impl_.idlehours_) { 0 } + + , decltype(_impl_.ect_) { 0 } + + , decltype(_impl_.eot_) { 0 } + + , decltype(_impl_.map_) { 0u } + + , decltype(_impl_.maf_) { 0u } + + , decltype(_impl_.tps_) { 0u } + + , decltype(_impl_.eop_) { 0u } + + , decltype(_impl_.power_) { 0u } + + , decltype(_impl_.torque_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.enginecode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.enginecode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.configuration_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.configuration_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.compressionratio_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.compressionratio_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.aspirationtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.aspirationtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.engineoillevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.engineoillevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainCombustionEngine::~VehiclePowertrainCombustionEngine() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainCombustionEngine) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainCombustionEngine::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.enginecode_.Destroy(); + _impl_.configuration_.Destroy(); + _impl_.compressionratio_.Destroy(); + _impl_.aspirationtype_.Destroy(); + _impl_.engineoillevel_.Destroy(); + if (this != internal_default_instance()) delete _impl_.dieselexhaustfluid_; + if (this != internal_default_instance()) delete _impl_.dieselparticulatefilter_; +} + +void VehiclePowertrainCombustionEngine::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainCombustionEngine::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainCombustionEngine) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.enginecode_.ClearToEmpty(); + _impl_.configuration_.ClearToEmpty(); + _impl_.compressionratio_.ClearToEmpty(); + _impl_.aspirationtype_.ClearToEmpty(); + _impl_.engineoillevel_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.dieselexhaustfluid_ != nullptr) { + delete _impl_.dieselexhaustfluid_; + } + _impl_.dieselexhaustfluid_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.dieselparticulatefilter_ != nullptr) { + delete _impl_.dieselparticulatefilter_; + } + _impl_.dieselparticulatefilter_ = nullptr; + ::memset(&_impl_.displacement_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.torque_) - + reinterpret_cast(&_impl_.displacement_)) + sizeof(_impl_.torque_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainCombustionEngine::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string EngineCode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_enginecode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainCombustionEngine.EngineCode")); + } else { + goto handle_unusual; + } + continue; + // uint32 Displacement = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.displacement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float StrokeLength = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.strokelength_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Bore = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.bore_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // string Configuration = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + auto str = _internal_mutable_configuration(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainCombustionEngine.Configuration")); + } else { + goto handle_unusual; + } + continue; + // uint32 NumberOfCylinders = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.numberofcylinders_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 NumberOfValvesPerCylinder = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.numberofvalvespercylinder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string CompressionRatio = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + auto str = _internal_mutable_compressionratio(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainCombustionEngine.CompressionRatio")); + } else { + goto handle_unusual; + } + continue; + // float EngineOilCapacity = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 77)) { + _impl_.engineoilcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EngineCoolantCapacity = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 85)) { + _impl_.enginecoolantcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxPower = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.maxpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxTorque = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) { + _impl_.maxtorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AspirationType = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + auto str = _internal_mutable_aspirationtype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainCombustionEngine.AspirationType")); + } else { + goto handle_unusual; + } + continue; + // string EngineOilLevel = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 114)) { + auto str = _internal_mutable_engineoillevel(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainCombustionEngine.EngineOilLevel")); + } else { + goto handle_unusual; + } + continue; + // int32 OilLifeRemaining = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) { + _impl_.oilliferemaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRunning = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) { + _impl_.isrunning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Speed = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float EngineHours = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 149)) { + _impl_.enginehours_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float IdleHours = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 157)) { + _impl_.idlehours_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // int32 ECT = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) { + _impl_.ect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 EOT = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 168)) { + _impl_.eot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MAP = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 176)) { + _impl_.map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MAF = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 184)) { + _impl_.maf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 TPS = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 192)) { + _impl_.tps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 EOP = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 200)) { + _impl_.eop_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Power = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 208)) { + _impl_.power_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Torque = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 216)) { + _impl_.torque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 226)) { + ptr = ctx->ParseMessage(_internal_mutable_dieselexhaustfluid(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 234)) { + ptr = ctx->ParseMessage(_internal_mutable_dieselparticulatefilter(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainCombustionEngine::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainCombustionEngine) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string EngineCode = 1; + if (!this->_internal_enginecode().empty()) { + const std::string& _s = this->_internal_enginecode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainCombustionEngine.EngineCode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Displacement = 2; + if (this->_internal_displacement() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_displacement(), target); + } + + // float StrokeLength = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_strokelength = this->_internal_strokelength(); + ::uint32_t raw_strokelength; + memcpy(&raw_strokelength, &tmp_strokelength, sizeof(tmp_strokelength)); + if (raw_strokelength != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_strokelength(), target); + } + + // float Bore = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_bore = this->_internal_bore(); + ::uint32_t raw_bore; + memcpy(&raw_bore, &tmp_bore, sizeof(tmp_bore)); + if (raw_bore != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_bore(), target); + } + + // string Configuration = 5; + if (!this->_internal_configuration().empty()) { + const std::string& _s = this->_internal_configuration(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainCombustionEngine.Configuration"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + // uint32 NumberOfCylinders = 6; + if (this->_internal_numberofcylinders() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_numberofcylinders(), target); + } + + // uint32 NumberOfValvesPerCylinder = 7; + if (this->_internal_numberofvalvespercylinder() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_numberofvalvespercylinder(), target); + } + + // string CompressionRatio = 8; + if (!this->_internal_compressionratio().empty()) { + const std::string& _s = this->_internal_compressionratio(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainCombustionEngine.CompressionRatio"); + target = stream->WriteStringMaybeAliased(8, _s, target); + } + + // float EngineOilCapacity = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineoilcapacity = this->_internal_engineoilcapacity(); + ::uint32_t raw_engineoilcapacity; + memcpy(&raw_engineoilcapacity, &tmp_engineoilcapacity, sizeof(tmp_engineoilcapacity)); + if (raw_engineoilcapacity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 9, this->_internal_engineoilcapacity(), target); + } + + // float EngineCoolantCapacity = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginecoolantcapacity = this->_internal_enginecoolantcapacity(); + ::uint32_t raw_enginecoolantcapacity; + memcpy(&raw_enginecoolantcapacity, &tmp_enginecoolantcapacity, sizeof(tmp_enginecoolantcapacity)); + if (raw_enginecoolantcapacity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 10, this->_internal_enginecoolantcapacity(), target); + } + + // uint32 MaxPower = 11; + if (this->_internal_maxpower() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 11, this->_internal_maxpower(), target); + } + + // uint32 MaxTorque = 12; + if (this->_internal_maxtorque() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 12, this->_internal_maxtorque(), target); + } + + // string AspirationType = 13; + if (!this->_internal_aspirationtype().empty()) { + const std::string& _s = this->_internal_aspirationtype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainCombustionEngine.AspirationType"); + target = stream->WriteStringMaybeAliased(13, _s, target); + } + + // string EngineOilLevel = 14; + if (!this->_internal_engineoillevel().empty()) { + const std::string& _s = this->_internal_engineoillevel(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainCombustionEngine.EngineOilLevel"); + target = stream->WriteStringMaybeAliased(14, _s, target); + } + + // int32 OilLifeRemaining = 15; + if (this->_internal_oilliferemaining() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 15, this->_internal_oilliferemaining(), target); + } + + // bool IsRunning = 16; + if (this->_internal_isrunning() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 16, this->_internal_isrunning(), target); + } + + // uint32 Speed = 17; + if (this->_internal_speed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 17, this->_internal_speed(), target); + } + + // float EngineHours = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginehours = this->_internal_enginehours(); + ::uint32_t raw_enginehours; + memcpy(&raw_enginehours, &tmp_enginehours, sizeof(tmp_enginehours)); + if (raw_enginehours != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 18, this->_internal_enginehours(), target); + } + + // float IdleHours = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_idlehours = this->_internal_idlehours(); + ::uint32_t raw_idlehours; + memcpy(&raw_idlehours, &tmp_idlehours, sizeof(tmp_idlehours)); + if (raw_idlehours != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 19, this->_internal_idlehours(), target); + } + + // int32 ECT = 20; + if (this->_internal_ect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 20, this->_internal_ect(), target); + } + + // int32 EOT = 21; + if (this->_internal_eot() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 21, this->_internal_eot(), target); + } + + // uint32 MAP = 22; + if (this->_internal_map() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 22, this->_internal_map(), target); + } + + // uint32 MAF = 23; + if (this->_internal_maf() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 23, this->_internal_maf(), target); + } + + // uint32 TPS = 24; + if (this->_internal_tps() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 24, this->_internal_tps(), target); + } + + // uint32 EOP = 25; + if (this->_internal_eop() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 25, this->_internal_eop(), target); + } + + // uint32 Power = 26; + if (this->_internal_power() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 26, this->_internal_power(), target); + } + + // uint32 Torque = 27; + if (this->_internal_torque() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 27, this->_internal_torque(), target); + } + + // .vss.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + if (this->_internal_has_dieselexhaustfluid()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(28, _Internal::dieselexhaustfluid(this), + _Internal::dieselexhaustfluid(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + if (this->_internal_has_dieselparticulatefilter()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(29, _Internal::dieselparticulatefilter(this), + _Internal::dieselparticulatefilter(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainCombustionEngine) + return target; +} + +::size_t VehiclePowertrainCombustionEngine::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainCombustionEngine) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string EngineCode = 1; + if (!this->_internal_enginecode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_enginecode()); + } + + // string Configuration = 5; + if (!this->_internal_configuration().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_configuration()); + } + + // string CompressionRatio = 8; + if (!this->_internal_compressionratio().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_compressionratio()); + } + + // string AspirationType = 13; + if (!this->_internal_aspirationtype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_aspirationtype()); + } + + // string EngineOilLevel = 14; + if (!this->_internal_engineoillevel().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_engineoillevel()); + } + + // .vss.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + if (this->_internal_has_dieselexhaustfluid()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dieselexhaustfluid_); + } + + // .vss.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + if (this->_internal_has_dieselparticulatefilter()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dieselparticulatefilter_); + } + + // uint32 Displacement = 2; + if (this->_internal_displacement() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_displacement()); + } + + // float StrokeLength = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_strokelength = this->_internal_strokelength(); + ::uint32_t raw_strokelength; + memcpy(&raw_strokelength, &tmp_strokelength, sizeof(tmp_strokelength)); + if (raw_strokelength != 0) { + total_size += 5; + } + + // float Bore = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_bore = this->_internal_bore(); + ::uint32_t raw_bore; + memcpy(&raw_bore, &tmp_bore, sizeof(tmp_bore)); + if (raw_bore != 0) { + total_size += 5; + } + + // uint32 NumberOfCylinders = 6; + if (this->_internal_numberofcylinders() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_numberofcylinders()); + } + + // uint32 NumberOfValvesPerCylinder = 7; + if (this->_internal_numberofvalvespercylinder() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_numberofvalvespercylinder()); + } + + // float EngineOilCapacity = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineoilcapacity = this->_internal_engineoilcapacity(); + ::uint32_t raw_engineoilcapacity; + memcpy(&raw_engineoilcapacity, &tmp_engineoilcapacity, sizeof(tmp_engineoilcapacity)); + if (raw_engineoilcapacity != 0) { + total_size += 5; + } + + // float EngineCoolantCapacity = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginecoolantcapacity = this->_internal_enginecoolantcapacity(); + ::uint32_t raw_enginecoolantcapacity; + memcpy(&raw_enginecoolantcapacity, &tmp_enginecoolantcapacity, sizeof(tmp_enginecoolantcapacity)); + if (raw_enginecoolantcapacity != 0) { + total_size += 5; + } + + // uint32 MaxPower = 11; + if (this->_internal_maxpower() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxpower()); + } + + // uint32 MaxTorque = 12; + if (this->_internal_maxtorque() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxtorque()); + } + + // int32 OilLifeRemaining = 15; + if (this->_internal_oilliferemaining() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_oilliferemaining()); + } + + // bool IsRunning = 16; + if (this->_internal_isrunning() != 0) { + total_size += 3; + } + + // uint32 Speed = 17; + if (this->_internal_speed() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_speed()); + } + + // float EngineHours = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginehours = this->_internal_enginehours(); + ::uint32_t raw_enginehours; + memcpy(&raw_enginehours, &tmp_enginehours, sizeof(tmp_enginehours)); + if (raw_enginehours != 0) { + total_size += 6; + } + + // float IdleHours = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_idlehours = this->_internal_idlehours(); + ::uint32_t raw_idlehours; + memcpy(&raw_idlehours, &tmp_idlehours, sizeof(tmp_idlehours)); + if (raw_idlehours != 0) { + total_size += 6; + } + + // int32 ECT = 20; + if (this->_internal_ect() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::Int32Size( + this->_internal_ect()); + } + + // int32 EOT = 21; + if (this->_internal_eot() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::Int32Size( + this->_internal_eot()); + } + + // uint32 MAP = 22; + if (this->_internal_map() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_map()); + } + + // uint32 MAF = 23; + if (this->_internal_maf() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_maf()); + } + + // uint32 TPS = 24; + if (this->_internal_tps() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_tps()); + } + + // uint32 EOP = 25; + if (this->_internal_eop() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_eop()); + } + + // uint32 Power = 26; + if (this->_internal_power() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_power()); + } + + // uint32 Torque = 27; + if (this->_internal_torque() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_torque()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainCombustionEngine::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainCombustionEngine::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainCombustionEngine::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainCombustionEngine::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainCombustionEngine) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_enginecode().empty()) { + _this->_internal_set_enginecode(from._internal_enginecode()); + } + if (!from._internal_configuration().empty()) { + _this->_internal_set_configuration(from._internal_configuration()); + } + if (!from._internal_compressionratio().empty()) { + _this->_internal_set_compressionratio(from._internal_compressionratio()); + } + if (!from._internal_aspirationtype().empty()) { + _this->_internal_set_aspirationtype(from._internal_aspirationtype()); + } + if (!from._internal_engineoillevel().empty()) { + _this->_internal_set_engineoillevel(from._internal_engineoillevel()); + } + if (from._internal_has_dieselexhaustfluid()) { + _this->_internal_mutable_dieselexhaustfluid()->::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeFrom( + from._internal_dieselexhaustfluid()); + } + if (from._internal_has_dieselparticulatefilter()) { + _this->_internal_mutable_dieselparticulatefilter()->::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeFrom( + from._internal_dieselparticulatefilter()); + } + if (from._internal_displacement() != 0) { + _this->_internal_set_displacement(from._internal_displacement()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_strokelength = from._internal_strokelength(); + ::uint32_t raw_strokelength; + memcpy(&raw_strokelength, &tmp_strokelength, sizeof(tmp_strokelength)); + if (raw_strokelength != 0) { + _this->_internal_set_strokelength(from._internal_strokelength()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_bore = from._internal_bore(); + ::uint32_t raw_bore; + memcpy(&raw_bore, &tmp_bore, sizeof(tmp_bore)); + if (raw_bore != 0) { + _this->_internal_set_bore(from._internal_bore()); + } + if (from._internal_numberofcylinders() != 0) { + _this->_internal_set_numberofcylinders(from._internal_numberofcylinders()); + } + if (from._internal_numberofvalvespercylinder() != 0) { + _this->_internal_set_numberofvalvespercylinder(from._internal_numberofvalvespercylinder()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineoilcapacity = from._internal_engineoilcapacity(); + ::uint32_t raw_engineoilcapacity; + memcpy(&raw_engineoilcapacity, &tmp_engineoilcapacity, sizeof(tmp_engineoilcapacity)); + if (raw_engineoilcapacity != 0) { + _this->_internal_set_engineoilcapacity(from._internal_engineoilcapacity()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginecoolantcapacity = from._internal_enginecoolantcapacity(); + ::uint32_t raw_enginecoolantcapacity; + memcpy(&raw_enginecoolantcapacity, &tmp_enginecoolantcapacity, sizeof(tmp_enginecoolantcapacity)); + if (raw_enginecoolantcapacity != 0) { + _this->_internal_set_enginecoolantcapacity(from._internal_enginecoolantcapacity()); + } + if (from._internal_maxpower() != 0) { + _this->_internal_set_maxpower(from._internal_maxpower()); + } + if (from._internal_maxtorque() != 0) { + _this->_internal_set_maxtorque(from._internal_maxtorque()); + } + if (from._internal_oilliferemaining() != 0) { + _this->_internal_set_oilliferemaining(from._internal_oilliferemaining()); + } + if (from._internal_isrunning() != 0) { + _this->_internal_set_isrunning(from._internal_isrunning()); + } + if (from._internal_speed() != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginehours = from._internal_enginehours(); + ::uint32_t raw_enginehours; + memcpy(&raw_enginehours, &tmp_enginehours, sizeof(tmp_enginehours)); + if (raw_enginehours != 0) { + _this->_internal_set_enginehours(from._internal_enginehours()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_idlehours = from._internal_idlehours(); + ::uint32_t raw_idlehours; + memcpy(&raw_idlehours, &tmp_idlehours, sizeof(tmp_idlehours)); + if (raw_idlehours != 0) { + _this->_internal_set_idlehours(from._internal_idlehours()); + } + if (from._internal_ect() != 0) { + _this->_internal_set_ect(from._internal_ect()); + } + if (from._internal_eot() != 0) { + _this->_internal_set_eot(from._internal_eot()); + } + if (from._internal_map() != 0) { + _this->_internal_set_map(from._internal_map()); + } + if (from._internal_maf() != 0) { + _this->_internal_set_maf(from._internal_maf()); + } + if (from._internal_tps() != 0) { + _this->_internal_set_tps(from._internal_tps()); + } + if (from._internal_eop() != 0) { + _this->_internal_set_eop(from._internal_eop()); + } + if (from._internal_power() != 0) { + _this->_internal_set_power(from._internal_power()); + } + if (from._internal_torque() != 0) { + _this->_internal_set_torque(from._internal_torque()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainCombustionEngine::CopyFrom(const VehiclePowertrainCombustionEngine& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainCombustionEngine) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngine::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngine::InternalSwap(VehiclePowertrainCombustionEngine* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.enginecode_, lhs_arena, + &other->_impl_.enginecode_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.configuration_, lhs_arena, + &other->_impl_.configuration_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.compressionratio_, lhs_arena, + &other->_impl_.compressionratio_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.aspirationtype_, lhs_arena, + &other->_impl_.aspirationtype_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.engineoillevel_, lhs_arena, + &other->_impl_.engineoillevel_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngine, _impl_.torque_) + + sizeof(VehiclePowertrainCombustionEngine::_impl_.torque_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngine, _impl_.dieselexhaustfluid_)>( + reinterpret_cast(&_impl_.dieselexhaustfluid_), + reinterpret_cast(&other->_impl_.dieselexhaustfluid_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngine::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[11]); +} +// =================================================================== + +class VehiclePowertrainCombustionEngineDieselExhaustFluid::_Internal { + public: +}; + +VehiclePowertrainCombustionEngineDieselExhaustFluid::VehiclePowertrainCombustionEngineDieselExhaustFluid(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) +} +VehiclePowertrainCombustionEngineDieselExhaustFluid::VehiclePowertrainCombustionEngineDieselExhaustFluid(const VehiclePowertrainCombustionEngineDieselExhaustFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) +} + +inline void VehiclePowertrainCombustionEngineDieselExhaustFluid::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.capacity_) { 0 } + + , decltype(_impl_.level_) { 0u } + + , decltype(_impl_.range_) { 0u } + + , decltype(_impl_.islevellow_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainCombustionEngineDieselExhaustFluid::~VehiclePowertrainCombustionEngineDieselExhaustFluid() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainCombustionEngineDieselExhaustFluid::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.capacity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islevellow_) - + reinterpret_cast(&_impl_.capacity_)) + sizeof(_impl_.islevellow_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainCombustionEngineDieselExhaustFluid::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Capacity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.capacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Range = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLevelLow = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainCombustionEngineDieselExhaustFluid::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Capacity = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_capacity = this->_internal_capacity(); + ::uint32_t raw_capacity; + memcpy(&raw_capacity, &tmp_capacity, sizeof(tmp_capacity)); + if (raw_capacity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_capacity(), target); + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_level(), target); + } + + // uint32 Range = 3; + if (this->_internal_range() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_range(), target); + } + + // bool IsLevelLow = 4; + if (this->_internal_islevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_islevellow(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + return target; +} + +::size_t VehiclePowertrainCombustionEngineDieselExhaustFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Capacity = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_capacity = this->_internal_capacity(); + ::uint32_t raw_capacity; + memcpy(&raw_capacity, &tmp_capacity, sizeof(tmp_capacity)); + if (raw_capacity != 0) { + total_size += 5; + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_level()); + } + + // uint32 Range = 3; + if (this->_internal_range() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_range()); + } + + // bool IsLevelLow = 4; + if (this->_internal_islevellow() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainCombustionEngineDieselExhaustFluid::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainCombustionEngineDieselExhaustFluid::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_capacity = from._internal_capacity(); + ::uint32_t raw_capacity; + memcpy(&raw_capacity, &tmp_capacity, sizeof(tmp_capacity)); + if (raw_capacity != 0) { + _this->_internal_set_capacity(from._internal_capacity()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + if (from._internal_range() != 0) { + _this->_internal_set_range(from._internal_range()); + } + if (from._internal_islevellow() != 0) { + _this->_internal_set_islevellow(from._internal_islevellow()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::CopyFrom(const VehiclePowertrainCombustionEngineDieselExhaustFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainCombustionEngineDieselExhaustFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngineDieselExhaustFluid::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::InternalSwap(VehiclePowertrainCombustionEngineDieselExhaustFluid* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.islevellow_) + + sizeof(VehiclePowertrainCombustionEngineDieselExhaustFluid::_impl_.islevellow_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngineDieselExhaustFluid, _impl_.capacity_)>( + reinterpret_cast(&_impl_.capacity_), + reinterpret_cast(&other->_impl_.capacity_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngineDieselExhaustFluid::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[12]); +} +// =================================================================== + +class VehiclePowertrainCombustionEngineDieselParticulateFilter::_Internal { + public: +}; + +VehiclePowertrainCombustionEngineDieselParticulateFilter::VehiclePowertrainCombustionEngineDieselParticulateFilter(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) +} +VehiclePowertrainCombustionEngineDieselParticulateFilter::VehiclePowertrainCombustionEngineDieselParticulateFilter(const VehiclePowertrainCombustionEngineDieselParticulateFilter& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) +} + +inline void VehiclePowertrainCombustionEngineDieselParticulateFilter::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.inlettemperature_) { 0 } + + , decltype(_impl_.outlettemperature_) { 0 } + + , decltype(_impl_.deltapressure_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainCombustionEngineDieselParticulateFilter::~VehiclePowertrainCombustionEngineDieselParticulateFilter() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainCombustionEngineDieselParticulateFilter::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.inlettemperature_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.deltapressure_) - + reinterpret_cast(&_impl_.inlettemperature_)) + sizeof(_impl_.deltapressure_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainCombustionEngineDieselParticulateFilter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float InletTemperature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.inlettemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float OutletTemperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.outlettemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float DeltaPressure = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.deltapressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainCombustionEngineDieselParticulateFilter::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float InletTemperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_inlettemperature = this->_internal_inlettemperature(); + ::uint32_t raw_inlettemperature; + memcpy(&raw_inlettemperature, &tmp_inlettemperature, sizeof(tmp_inlettemperature)); + if (raw_inlettemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_inlettemperature(), target); + } + + // float OutletTemperature = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_outlettemperature = this->_internal_outlettemperature(); + ::uint32_t raw_outlettemperature; + memcpy(&raw_outlettemperature, &tmp_outlettemperature, sizeof(tmp_outlettemperature)); + if (raw_outlettemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_outlettemperature(), target); + } + + // float DeltaPressure = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_deltapressure = this->_internal_deltapressure(); + ::uint32_t raw_deltapressure; + memcpy(&raw_deltapressure, &tmp_deltapressure, sizeof(tmp_deltapressure)); + if (raw_deltapressure != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_deltapressure(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + return target; +} + +::size_t VehiclePowertrainCombustionEngineDieselParticulateFilter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float InletTemperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_inlettemperature = this->_internal_inlettemperature(); + ::uint32_t raw_inlettemperature; + memcpy(&raw_inlettemperature, &tmp_inlettemperature, sizeof(tmp_inlettemperature)); + if (raw_inlettemperature != 0) { + total_size += 5; + } + + // float OutletTemperature = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_outlettemperature = this->_internal_outlettemperature(); + ::uint32_t raw_outlettemperature; + memcpy(&raw_outlettemperature, &tmp_outlettemperature, sizeof(tmp_outlettemperature)); + if (raw_outlettemperature != 0) { + total_size += 5; + } + + // float DeltaPressure = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_deltapressure = this->_internal_deltapressure(); + ::uint32_t raw_deltapressure; + memcpy(&raw_deltapressure, &tmp_deltapressure, sizeof(tmp_deltapressure)); + if (raw_deltapressure != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainCombustionEngineDieselParticulateFilter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainCombustionEngineDieselParticulateFilter::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_inlettemperature = from._internal_inlettemperature(); + ::uint32_t raw_inlettemperature; + memcpy(&raw_inlettemperature, &tmp_inlettemperature, sizeof(tmp_inlettemperature)); + if (raw_inlettemperature != 0) { + _this->_internal_set_inlettemperature(from._internal_inlettemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_outlettemperature = from._internal_outlettemperature(); + ::uint32_t raw_outlettemperature; + memcpy(&raw_outlettemperature, &tmp_outlettemperature, sizeof(tmp_outlettemperature)); + if (raw_outlettemperature != 0) { + _this->_internal_set_outlettemperature(from._internal_outlettemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_deltapressure = from._internal_deltapressure(); + ::uint32_t raw_deltapressure; + memcpy(&raw_deltapressure, &tmp_deltapressure, sizeof(tmp_deltapressure)); + if (raw_deltapressure != 0) { + _this->_internal_set_deltapressure(from._internal_deltapressure()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::CopyFrom(const VehiclePowertrainCombustionEngineDieselParticulateFilter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainCombustionEngineDieselParticulateFilter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngineDieselParticulateFilter::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::InternalSwap(VehiclePowertrainCombustionEngineDieselParticulateFilter* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngineDieselParticulateFilter, _impl_.deltapressure_) + + sizeof(VehiclePowertrainCombustionEngineDieselParticulateFilter::_impl_.deltapressure_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainCombustionEngineDieselParticulateFilter, _impl_.inlettemperature_)>( + reinterpret_cast(&_impl_.inlettemperature_), + reinterpret_cast(&other->_impl_.inlettemperature_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngineDieselParticulateFilter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[13]); +} +// =================================================================== + +class VehiclePowertrainTransmission::_Internal { + public: +}; + +VehiclePowertrainTransmission::VehiclePowertrainTransmission(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTransmission) +} +VehiclePowertrainTransmission::VehiclePowertrainTransmission(const VehiclePowertrainTransmission& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainTransmission* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.type_) {} + + , decltype(_impl_.drivetype_) {} + + , decltype(_impl_.performancemode_) {} + + , decltype(_impl_.gearchangemode_) {} + + , decltype(_impl_.gearcount_) {} + + , decltype(_impl_.travelleddistance_) {} + + , decltype(_impl_.currentgear_) {} + + , decltype(_impl_.selectedgear_) {} + + , decltype(_impl_.isparklockengaged_) {} + + , decltype(_impl_.islowrangeengaged_) {} + + , decltype(_impl_.iselectricalpowertrainengaged_) {} + + , decltype(_impl_.temperature_) {} + + , decltype(_impl_.clutchengagement_) {} + + , decltype(_impl_.clutchwear_) {} + + , decltype(_impl_.difflockfrontengagement_) {} + + , decltype(_impl_.difflockrearengagement_) {} + + , decltype(_impl_.torquedistribution_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_type().empty()) { + _this->_impl_.type_.Set(from._internal_type(), _this->GetArenaForAllocation()); + } + _impl_.drivetype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.drivetype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_drivetype().empty()) { + _this->_impl_.drivetype_.Set(from._internal_drivetype(), _this->GetArenaForAllocation()); + } + _impl_.performancemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.performancemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_performancemode().empty()) { + _this->_impl_.performancemode_.Set(from._internal_performancemode(), _this->GetArenaForAllocation()); + } + _impl_.gearchangemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gearchangemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_gearchangemode().empty()) { + _this->_impl_.gearchangemode_.Set(from._internal_gearchangemode(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.gearcount_, &from._impl_.gearcount_, + static_cast<::size_t>(reinterpret_cast(&_impl_.torquedistribution_) - + reinterpret_cast(&_impl_.gearcount_)) + sizeof(_impl_.torquedistribution_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTransmission) +} + +inline void VehiclePowertrainTransmission::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.type_) {} + + , decltype(_impl_.drivetype_) {} + + , decltype(_impl_.performancemode_) {} + + , decltype(_impl_.gearchangemode_) {} + + , decltype(_impl_.gearcount_) { 0 } + + , decltype(_impl_.travelleddistance_) { 0 } + + , decltype(_impl_.currentgear_) { 0 } + + , decltype(_impl_.selectedgear_) { 0 } + + , decltype(_impl_.isparklockengaged_) { false } + + , decltype(_impl_.islowrangeengaged_) { false } + + , decltype(_impl_.iselectricalpowertrainengaged_) { false } + + , decltype(_impl_.temperature_) { 0 } + + , decltype(_impl_.clutchengagement_) { 0 } + + , decltype(_impl_.clutchwear_) { 0u } + + , decltype(_impl_.difflockfrontengagement_) { 0 } + + , decltype(_impl_.difflockrearengagement_) { 0 } + + , decltype(_impl_.torquedistribution_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.type_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.type_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.drivetype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.drivetype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.performancemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.performancemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gearchangemode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gearchangemode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainTransmission::~VehiclePowertrainTransmission() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTransmission) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTransmission::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.type_.Destroy(); + _impl_.drivetype_.Destroy(); + _impl_.performancemode_.Destroy(); + _impl_.gearchangemode_.Destroy(); +} + +void VehiclePowertrainTransmission::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTransmission::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTransmission) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.type_.ClearToEmpty(); + _impl_.drivetype_.ClearToEmpty(); + _impl_.performancemode_.ClearToEmpty(); + _impl_.gearchangemode_.ClearToEmpty(); + ::memset(&_impl_.gearcount_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.torquedistribution_) - + reinterpret_cast(&_impl_.gearcount_)) + sizeof(_impl_.torquedistribution_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTransmission::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_type(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTransmission.Type")); + } else { + goto handle_unusual; + } + continue; + // int32 GearCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.gearcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string DriveType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_drivetype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTransmission.DriveType")); + } else { + goto handle_unusual; + } + continue; + // float TravelledDistance = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.travelleddistance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // int32 CurrentGear = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.currentgear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 SelectedGear = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.selectedgear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsParkLockEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.isparklockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLowRangeEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.islowrangeengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsElectricalPowertrainEngaged = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.iselectricalpowertrainengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string PerformanceMode = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + auto str = _internal_mutable_performancemode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTransmission.PerformanceMode")); + } else { + goto handle_unusual; + } + continue; + // string GearChangeMode = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + auto str = _internal_mutable_gearchangemode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTransmission.GearChangeMode")); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float ClutchEngagement = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) { + _impl_.clutchengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 ClutchWear = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) { + _impl_.clutchwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float DiffLockFrontEngagement = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 125)) { + _impl_.difflockfrontengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float DiffLockRearEngagement = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 133)) { + _impl_.difflockrearengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TorqueDistribution = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 141)) { + _impl_.torquedistribution_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTransmission::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTransmission) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Type = 1; + if (!this->_internal_type().empty()) { + const std::string& _s = this->_internal_type(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTransmission.Type"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // int32 GearCount = 2; + if (this->_internal_gearcount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_gearcount(), target); + } + + // string DriveType = 3; + if (!this->_internal_drivetype().empty()) { + const std::string& _s = this->_internal_drivetype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTransmission.DriveType"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // float TravelledDistance = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = this->_internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_travelleddistance(), target); + } + + // int32 CurrentGear = 5; + if (this->_internal_currentgear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 5, this->_internal_currentgear(), target); + } + + // int32 SelectedGear = 6; + if (this->_internal_selectedgear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 6, this->_internal_selectedgear(), target); + } + + // bool IsParkLockEngaged = 7; + if (this->_internal_isparklockengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_isparklockengaged(), target); + } + + // bool IsLowRangeEngaged = 8; + if (this->_internal_islowrangeengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_islowrangeengaged(), target); + } + + // bool IsElectricalPowertrainEngaged = 9; + if (this->_internal_iselectricalpowertrainengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this->_internal_iselectricalpowertrainengaged(), target); + } + + // string PerformanceMode = 10; + if (!this->_internal_performancemode().empty()) { + const std::string& _s = this->_internal_performancemode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTransmission.PerformanceMode"); + target = stream->WriteStringMaybeAliased(10, _s, target); + } + + // string GearChangeMode = 11; + if (!this->_internal_gearchangemode().empty()) { + const std::string& _s = this->_internal_gearchangemode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTransmission.GearChangeMode"); + target = stream->WriteStringMaybeAliased(11, _s, target); + } + + // int32 Temperature = 12; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 12, this->_internal_temperature(), target); + } + + // float ClutchEngagement = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_clutchengagement = this->_internal_clutchengagement(); + ::uint32_t raw_clutchengagement; + memcpy(&raw_clutchengagement, &tmp_clutchengagement, sizeof(tmp_clutchengagement)); + if (raw_clutchengagement != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 13, this->_internal_clutchengagement(), target); + } + + // uint32 ClutchWear = 14; + if (this->_internal_clutchwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 14, this->_internal_clutchwear(), target); + } + + // float DiffLockFrontEngagement = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockfrontengagement = this->_internal_difflockfrontengagement(); + ::uint32_t raw_difflockfrontengagement; + memcpy(&raw_difflockfrontengagement, &tmp_difflockfrontengagement, sizeof(tmp_difflockfrontengagement)); + if (raw_difflockfrontengagement != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 15, this->_internal_difflockfrontengagement(), target); + } + + // float DiffLockRearEngagement = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockrearengagement = this->_internal_difflockrearengagement(); + ::uint32_t raw_difflockrearengagement; + memcpy(&raw_difflockrearengagement, &tmp_difflockrearengagement, sizeof(tmp_difflockrearengagement)); + if (raw_difflockrearengagement != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 16, this->_internal_difflockrearengagement(), target); + } + + // float TorqueDistribution = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_torquedistribution = this->_internal_torquedistribution(); + ::uint32_t raw_torquedistribution; + memcpy(&raw_torquedistribution, &tmp_torquedistribution, sizeof(tmp_torquedistribution)); + if (raw_torquedistribution != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 17, this->_internal_torquedistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTransmission) + return target; +} + +::size_t VehiclePowertrainTransmission::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTransmission) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Type = 1; + if (!this->_internal_type().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // string DriveType = 3; + if (!this->_internal_drivetype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_drivetype()); + } + + // string PerformanceMode = 10; + if (!this->_internal_performancemode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_performancemode()); + } + + // string GearChangeMode = 11; + if (!this->_internal_gearchangemode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gearchangemode()); + } + + // int32 GearCount = 2; + if (this->_internal_gearcount() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_gearcount()); + } + + // float TravelledDistance = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = this->_internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + total_size += 5; + } + + // int32 CurrentGear = 5; + if (this->_internal_currentgear() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_currentgear()); + } + + // int32 SelectedGear = 6; + if (this->_internal_selectedgear() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_selectedgear()); + } + + // bool IsParkLockEngaged = 7; + if (this->_internal_isparklockengaged() != 0) { + total_size += 2; + } + + // bool IsLowRangeEngaged = 8; + if (this->_internal_islowrangeengaged() != 0) { + total_size += 2; + } + + // bool IsElectricalPowertrainEngaged = 9; + if (this->_internal_iselectricalpowertrainengaged() != 0) { + total_size += 2; + } + + // int32 Temperature = 12; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + // float ClutchEngagement = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_clutchengagement = this->_internal_clutchengagement(); + ::uint32_t raw_clutchengagement; + memcpy(&raw_clutchengagement, &tmp_clutchengagement, sizeof(tmp_clutchengagement)); + if (raw_clutchengagement != 0) { + total_size += 5; + } + + // uint32 ClutchWear = 14; + if (this->_internal_clutchwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_clutchwear()); + } + + // float DiffLockFrontEngagement = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockfrontengagement = this->_internal_difflockfrontengagement(); + ::uint32_t raw_difflockfrontengagement; + memcpy(&raw_difflockfrontengagement, &tmp_difflockfrontengagement, sizeof(tmp_difflockfrontengagement)); + if (raw_difflockfrontengagement != 0) { + total_size += 5; + } + + // float DiffLockRearEngagement = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockrearengagement = this->_internal_difflockrearengagement(); + ::uint32_t raw_difflockrearengagement; + memcpy(&raw_difflockrearengagement, &tmp_difflockrearengagement, sizeof(tmp_difflockrearengagement)); + if (raw_difflockrearengagement != 0) { + total_size += 6; + } + + // float TorqueDistribution = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_torquedistribution = this->_internal_torquedistribution(); + ::uint32_t raw_torquedistribution; + memcpy(&raw_torquedistribution, &tmp_torquedistribution, sizeof(tmp_torquedistribution)); + if (raw_torquedistribution != 0) { + total_size += 6; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTransmission::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTransmission::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTransmission::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTransmission::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTransmission) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_type().empty()) { + _this->_internal_set_type(from._internal_type()); + } + if (!from._internal_drivetype().empty()) { + _this->_internal_set_drivetype(from._internal_drivetype()); + } + if (!from._internal_performancemode().empty()) { + _this->_internal_set_performancemode(from._internal_performancemode()); + } + if (!from._internal_gearchangemode().empty()) { + _this->_internal_set_gearchangemode(from._internal_gearchangemode()); + } + if (from._internal_gearcount() != 0) { + _this->_internal_set_gearcount(from._internal_gearcount()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_travelleddistance = from._internal_travelleddistance(); + ::uint32_t raw_travelleddistance; + memcpy(&raw_travelleddistance, &tmp_travelleddistance, sizeof(tmp_travelleddistance)); + if (raw_travelleddistance != 0) { + _this->_internal_set_travelleddistance(from._internal_travelleddistance()); + } + if (from._internal_currentgear() != 0) { + _this->_internal_set_currentgear(from._internal_currentgear()); + } + if (from._internal_selectedgear() != 0) { + _this->_internal_set_selectedgear(from._internal_selectedgear()); + } + if (from._internal_isparklockengaged() != 0) { + _this->_internal_set_isparklockengaged(from._internal_isparklockengaged()); + } + if (from._internal_islowrangeengaged() != 0) { + _this->_internal_set_islowrangeengaged(from._internal_islowrangeengaged()); + } + if (from._internal_iselectricalpowertrainengaged() != 0) { + _this->_internal_set_iselectricalpowertrainengaged(from._internal_iselectricalpowertrainengaged()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_clutchengagement = from._internal_clutchengagement(); + ::uint32_t raw_clutchengagement; + memcpy(&raw_clutchengagement, &tmp_clutchengagement, sizeof(tmp_clutchengagement)); + if (raw_clutchengagement != 0) { + _this->_internal_set_clutchengagement(from._internal_clutchengagement()); + } + if (from._internal_clutchwear() != 0) { + _this->_internal_set_clutchwear(from._internal_clutchwear()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockfrontengagement = from._internal_difflockfrontengagement(); + ::uint32_t raw_difflockfrontengagement; + memcpy(&raw_difflockfrontengagement, &tmp_difflockfrontengagement, sizeof(tmp_difflockfrontengagement)); + if (raw_difflockfrontengagement != 0) { + _this->_internal_set_difflockfrontengagement(from._internal_difflockfrontengagement()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_difflockrearengagement = from._internal_difflockrearengagement(); + ::uint32_t raw_difflockrearengagement; + memcpy(&raw_difflockrearengagement, &tmp_difflockrearengagement, sizeof(tmp_difflockrearengagement)); + if (raw_difflockrearengagement != 0) { + _this->_internal_set_difflockrearengagement(from._internal_difflockrearengagement()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_torquedistribution = from._internal_torquedistribution(); + ::uint32_t raw_torquedistribution; + memcpy(&raw_torquedistribution, &tmp_torquedistribution, sizeof(tmp_torquedistribution)); + if (raw_torquedistribution != 0) { + _this->_internal_set_torquedistribution(from._internal_torquedistribution()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTransmission::CopyFrom(const VehiclePowertrainTransmission& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTransmission) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTransmission::IsInitialized() const { + return true; +} + +void VehiclePowertrainTransmission::InternalSwap(VehiclePowertrainTransmission* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, lhs_arena, + &other->_impl_.type_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.drivetype_, lhs_arena, + &other->_impl_.drivetype_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.performancemode_, lhs_arena, + &other->_impl_.performancemode_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.gearchangemode_, lhs_arena, + &other->_impl_.gearchangemode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTransmission, _impl_.torquedistribution_) + + sizeof(VehiclePowertrainTransmission::_impl_.torquedistribution_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTransmission, _impl_.gearcount_)>( + reinterpret_cast(&_impl_.gearcount_), + reinterpret_cast(&other->_impl_.gearcount_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTransmission::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[14]); +} +// =================================================================== + +class VehiclePowertrainElectricMotor::_Internal { + public: +}; + +VehiclePowertrainElectricMotor::VehiclePowertrainElectricMotor(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainElectricMotor) +} +VehiclePowertrainElectricMotor::VehiclePowertrainElectricMotor(const VehiclePowertrainElectricMotor& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainElectricMotor* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.enginecode_) {} + + , decltype(_impl_.maxpower_) {} + + , decltype(_impl_.maxtorque_) {} + + , decltype(_impl_.maxregenpower_) {} + + , decltype(_impl_.maxregentorque_) {} + + , decltype(_impl_.speed_) {} + + , decltype(_impl_.temperature_) {} + + , decltype(_impl_.coolanttemperature_) {} + + , decltype(_impl_.power_) {} + + , decltype(_impl_.torque_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.enginecode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.enginecode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_enginecode().empty()) { + _this->_impl_.enginecode_.Set(from._internal_enginecode(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.maxpower_, &from._impl_.maxpower_, + static_cast<::size_t>(reinterpret_cast(&_impl_.torque_) - + reinterpret_cast(&_impl_.maxpower_)) + sizeof(_impl_.torque_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainElectricMotor) +} + +inline void VehiclePowertrainElectricMotor::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.enginecode_) {} + + , decltype(_impl_.maxpower_) { 0u } + + , decltype(_impl_.maxtorque_) { 0u } + + , decltype(_impl_.maxregenpower_) { 0u } + + , decltype(_impl_.maxregentorque_) { 0u } + + , decltype(_impl_.speed_) { 0 } + + , decltype(_impl_.temperature_) { 0 } + + , decltype(_impl_.coolanttemperature_) { 0 } + + , decltype(_impl_.power_) { 0 } + + , decltype(_impl_.torque_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.enginecode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.enginecode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainElectricMotor::~VehiclePowertrainElectricMotor() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainElectricMotor) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainElectricMotor::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.enginecode_.Destroy(); +} + +void VehiclePowertrainElectricMotor::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainElectricMotor::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainElectricMotor) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.enginecode_.ClearToEmpty(); + ::memset(&_impl_.maxpower_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.torque_) - + reinterpret_cast(&_impl_.maxpower_)) + sizeof(_impl_.torque_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainElectricMotor::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string EngineCode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_enginecode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainElectricMotor.EngineCode")); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxPower = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.maxpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxTorque = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.maxtorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxRegenPower = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.maxregenpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxRegenTorque = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.maxregentorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Speed = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 CoolantTemperature = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.coolanttemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Power = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.power_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Torque = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.torque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainElectricMotor::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainElectricMotor) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string EngineCode = 1; + if (!this->_internal_enginecode().empty()) { + const std::string& _s = this->_internal_enginecode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainElectricMotor.EngineCode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 MaxPower = 2; + if (this->_internal_maxpower() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_maxpower(), target); + } + + // uint32 MaxTorque = 3; + if (this->_internal_maxtorque() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_maxtorque(), target); + } + + // uint32 MaxRegenPower = 4; + if (this->_internal_maxregenpower() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this->_internal_maxregenpower(), target); + } + + // uint32 MaxRegenTorque = 5; + if (this->_internal_maxregentorque() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_maxregentorque(), target); + } + + // int32 Speed = 6; + if (this->_internal_speed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 6, this->_internal_speed(), target); + } + + // int32 Temperature = 7; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 7, this->_internal_temperature(), target); + } + + // int32 CoolantTemperature = 8; + if (this->_internal_coolanttemperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 8, this->_internal_coolanttemperature(), target); + } + + // int32 Power = 9; + if (this->_internal_power() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 9, this->_internal_power(), target); + } + + // int32 Torque = 10; + if (this->_internal_torque() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 10, this->_internal_torque(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainElectricMotor) + return target; +} + +::size_t VehiclePowertrainElectricMotor::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainElectricMotor) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string EngineCode = 1; + if (!this->_internal_enginecode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_enginecode()); + } + + // uint32 MaxPower = 2; + if (this->_internal_maxpower() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxpower()); + } + + // uint32 MaxTorque = 3; + if (this->_internal_maxtorque() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxtorque()); + } + + // uint32 MaxRegenPower = 4; + if (this->_internal_maxregenpower() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxregenpower()); + } + + // uint32 MaxRegenTorque = 5; + if (this->_internal_maxregentorque() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxregentorque()); + } + + // int32 Speed = 6; + if (this->_internal_speed() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_speed()); + } + + // int32 Temperature = 7; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + // int32 CoolantTemperature = 8; + if (this->_internal_coolanttemperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_coolanttemperature()); + } + + // int32 Power = 9; + if (this->_internal_power() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_power()); + } + + // int32 Torque = 10; + if (this->_internal_torque() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_torque()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainElectricMotor::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainElectricMotor::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainElectricMotor::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainElectricMotor::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainElectricMotor) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_enginecode().empty()) { + _this->_internal_set_enginecode(from._internal_enginecode()); + } + if (from._internal_maxpower() != 0) { + _this->_internal_set_maxpower(from._internal_maxpower()); + } + if (from._internal_maxtorque() != 0) { + _this->_internal_set_maxtorque(from._internal_maxtorque()); + } + if (from._internal_maxregenpower() != 0) { + _this->_internal_set_maxregenpower(from._internal_maxregenpower()); + } + if (from._internal_maxregentorque() != 0) { + _this->_internal_set_maxregentorque(from._internal_maxregentorque()); + } + if (from._internal_speed() != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + if (from._internal_coolanttemperature() != 0) { + _this->_internal_set_coolanttemperature(from._internal_coolanttemperature()); + } + if (from._internal_power() != 0) { + _this->_internal_set_power(from._internal_power()); + } + if (from._internal_torque() != 0) { + _this->_internal_set_torque(from._internal_torque()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainElectricMotor::CopyFrom(const VehiclePowertrainElectricMotor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainElectricMotor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainElectricMotor::IsInitialized() const { + return true; +} + +void VehiclePowertrainElectricMotor::InternalSwap(VehiclePowertrainElectricMotor* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.enginecode_, lhs_arena, + &other->_impl_.enginecode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainElectricMotor, _impl_.torque_) + + sizeof(VehiclePowertrainElectricMotor::_impl_.torque_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainElectricMotor, _impl_.maxpower_)>( + reinterpret_cast(&_impl_.maxpower_), + reinterpret_cast(&other->_impl_.maxpower_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainElectricMotor::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[15]); +} +// =================================================================== + +class VehiclePowertrainTractionBattery::_Internal { + public: + static const ::vss::VehiclePowertrainTractionBatteryTemperature& temperature(const VehiclePowertrainTractionBattery* msg); + static const ::vss::VehiclePowertrainTractionBatteryStateOfCharge& stateofcharge(const VehiclePowertrainTractionBattery* msg); + static const ::vss::VehiclePowertrainTractionBatteryCharging& charging(const VehiclePowertrainTractionBattery* msg); + static const ::vss::VehiclePowertrainTractionBatteryDCDC& dcdc(const VehiclePowertrainTractionBattery* msg); +}; + +const ::vss::VehiclePowertrainTractionBatteryTemperature& +VehiclePowertrainTractionBattery::_Internal::temperature(const VehiclePowertrainTractionBattery* msg) { + return *msg->_impl_.temperature_; +} +const ::vss::VehiclePowertrainTractionBatteryStateOfCharge& +VehiclePowertrainTractionBattery::_Internal::stateofcharge(const VehiclePowertrainTractionBattery* msg) { + return *msg->_impl_.stateofcharge_; +} +const ::vss::VehiclePowertrainTractionBatteryCharging& +VehiclePowertrainTractionBattery::_Internal::charging(const VehiclePowertrainTractionBattery* msg) { + return *msg->_impl_.charging_; +} +const ::vss::VehiclePowertrainTractionBatteryDCDC& +VehiclePowertrainTractionBattery::_Internal::dcdc(const VehiclePowertrainTractionBattery* msg) { + return *msg->_impl_.dcdc_; +} +VehiclePowertrainTractionBattery::VehiclePowertrainTractionBattery(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBattery) +} +VehiclePowertrainTractionBattery::VehiclePowertrainTractionBattery(const VehiclePowertrainTractionBattery& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainTractionBattery* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.id_) {} + + , decltype(_impl_.productiondate_) {} + + , decltype(_impl_.temperature_){nullptr} + , decltype(_impl_.stateofcharge_){nullptr} + , decltype(_impl_.charging_){nullptr} + , decltype(_impl_.dcdc_){nullptr} + , decltype(_impl_.ispowerconnected_) {} + + , decltype(_impl_.isgroundconnected_) {} + + , decltype(_impl_.grosscapacity_) {} + + , decltype(_impl_.netcapacity_) {} + + , decltype(_impl_.stateofhealth_) {} + + , decltype(_impl_.nominalvoltage_) {} + + , decltype(_impl_.maxvoltage_) {} + + , decltype(_impl_.currentvoltage_) {} + + , decltype(_impl_.currentcurrent_) {} + + , decltype(_impl_.currentpower_) {} + + , decltype(_impl_.accumulatedchargedenergy_) {} + + , decltype(_impl_.accumulatedconsumedenergy_) {} + + , decltype(_impl_.accumulatedchargedthroughput_) {} + + , decltype(_impl_.accumulatedconsumedthroughput_) {} + + , decltype(_impl_.powerloss_) {} + + , decltype(_impl_.range_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_id().empty()) { + _this->_impl_.id_.Set(from._internal_id(), _this->GetArenaForAllocation()); + } + _impl_.productiondate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_productiondate().empty()) { + _this->_impl_.productiondate_.Set(from._internal_productiondate(), _this->GetArenaForAllocation()); + } + if (from._internal_has_temperature()) { + _this->_impl_.temperature_ = new ::vss::VehiclePowertrainTractionBatteryTemperature(*from._impl_.temperature_); + } + if (from._internal_has_stateofcharge()) { + _this->_impl_.stateofcharge_ = new ::vss::VehiclePowertrainTractionBatteryStateOfCharge(*from._impl_.stateofcharge_); + } + if (from._internal_has_charging()) { + _this->_impl_.charging_ = new ::vss::VehiclePowertrainTractionBatteryCharging(*from._impl_.charging_); + } + if (from._internal_has_dcdc()) { + _this->_impl_.dcdc_ = new ::vss::VehiclePowertrainTractionBatteryDCDC(*from._impl_.dcdc_); + } + ::memcpy(&_impl_.ispowerconnected_, &from._impl_.ispowerconnected_, + static_cast<::size_t>(reinterpret_cast(&_impl_.range_) - + reinterpret_cast(&_impl_.ispowerconnected_)) + sizeof(_impl_.range_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBattery) +} + +inline void VehiclePowertrainTractionBattery::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.id_) {} + + , decltype(_impl_.productiondate_) {} + + , decltype(_impl_.temperature_){nullptr} + , decltype(_impl_.stateofcharge_){nullptr} + , decltype(_impl_.charging_){nullptr} + , decltype(_impl_.dcdc_){nullptr} + , decltype(_impl_.ispowerconnected_) { false } + + , decltype(_impl_.isgroundconnected_) { false } + + , decltype(_impl_.grosscapacity_) { 0u } + + , decltype(_impl_.netcapacity_) { 0u } + + , decltype(_impl_.stateofhealth_) { 0 } + + , decltype(_impl_.nominalvoltage_) { 0u } + + , decltype(_impl_.maxvoltage_) { 0u } + + , decltype(_impl_.currentvoltage_) { 0 } + + , decltype(_impl_.currentcurrent_) { 0 } + + , decltype(_impl_.currentpower_) { 0 } + + , decltype(_impl_.accumulatedchargedenergy_) { 0 } + + , decltype(_impl_.accumulatedconsumedenergy_) { 0 } + + , decltype(_impl_.accumulatedchargedthroughput_) { 0 } + + , decltype(_impl_.accumulatedconsumedthroughput_) { 0 } + + , decltype(_impl_.powerloss_) { 0 } + + , decltype(_impl_.range_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.id_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.id_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.productiondate_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainTractionBattery::~VehiclePowertrainTractionBattery() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBattery) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBattery::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.id_.Destroy(); + _impl_.productiondate_.Destroy(); + if (this != internal_default_instance()) delete _impl_.temperature_; + if (this != internal_default_instance()) delete _impl_.stateofcharge_; + if (this != internal_default_instance()) delete _impl_.charging_; + if (this != internal_default_instance()) delete _impl_.dcdc_; +} + +void VehiclePowertrainTractionBattery::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBattery::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBattery) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.id_.ClearToEmpty(); + _impl_.productiondate_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.temperature_ != nullptr) { + delete _impl_.temperature_; + } + _impl_.temperature_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.stateofcharge_ != nullptr) { + delete _impl_.stateofcharge_; + } + _impl_.stateofcharge_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.charging_ != nullptr) { + delete _impl_.charging_; + } + _impl_.charging_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.dcdc_ != nullptr) { + delete _impl_.dcdc_; + } + _impl_.dcdc_ = nullptr; + ::memset(&_impl_.ispowerconnected_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.range_) - + reinterpret_cast(&_impl_.ispowerconnected_)) + sizeof(_impl_.range_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBattery::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_id(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBattery.Id")); + } else { + goto handle_unusual; + } + continue; + // string ProductionDate = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_productiondate(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBattery.ProductionDate")); + } else { + goto handle_unusual; + } + continue; + // bool IsPowerConnected = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.ispowerconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsGroundConnected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isgroundconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 48)) { + _impl_.grosscapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 NetCapacity = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.netcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float StateOfHealth = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.stateofhealth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 80)) { + _impl_.nominalvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 MaxVoltage = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.maxvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float CurrentVoltage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 101)) { + _impl_.currentvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CurrentCurrent = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) { + _impl_.currentcurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CurrentPower = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) { + _impl_.currentpower_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AccumulatedChargedEnergy = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 125)) { + _impl_.accumulatedchargedenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AccumulatedConsumedEnergy = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 133)) { + _impl_.accumulatedconsumedenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AccumulatedChargedThroughput = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 141)) { + _impl_.accumulatedchargedthroughput_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AccumulatedConsumedThroughput = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 149)) { + _impl_.accumulatedconsumedthroughput_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float PowerLoss = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 157)) { + _impl_.powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Range = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) { + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryCharging Charging = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 170)) { + ptr = ctx->ParseMessage(_internal_mutable_charging(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 178)) { + ptr = ctx->ParseMessage(_internal_mutable_dcdc(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBattery::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBattery) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Id = 1; + if (!this->_internal_id().empty()) { + const std::string& _s = this->_internal_id(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBattery.Id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string ProductionDate = 2; + if (!this->_internal_productiondate().empty()) { + const std::string& _s = this->_internal_productiondate(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBattery.ProductionDate"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // bool IsPowerConnected = 3; + if (this->_internal_ispowerconnected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_ispowerconnected(), target); + } + + // bool IsGroundConnected = 4; + if (this->_internal_isgroundconnected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isgroundconnected(), target); + } + + // .vss.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + if (this->_internal_has_temperature()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::temperature(this), + _Internal::temperature(this).GetCachedSize(), target, stream); + } + + // uint32 GrossCapacity = 6; + if (this->_internal_grosscapacity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_grosscapacity(), target); + } + + // uint32 NetCapacity = 7; + if (this->_internal_netcapacity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_netcapacity(), target); + } + + // float StateOfHealth = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stateofhealth = this->_internal_stateofhealth(); + ::uint32_t raw_stateofhealth; + memcpy(&raw_stateofhealth, &tmp_stateofhealth, sizeof(tmp_stateofhealth)); + if (raw_stateofhealth != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_stateofhealth(), target); + } + + // .vss.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + if (this->_internal_has_stateofcharge()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::stateofcharge(this), + _Internal::stateofcharge(this).GetCachedSize(), target, stream); + } + + // uint32 NominalVoltage = 10; + if (this->_internal_nominalvoltage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 10, this->_internal_nominalvoltage(), target); + } + + // uint32 MaxVoltage = 11; + if (this->_internal_maxvoltage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 11, this->_internal_maxvoltage(), target); + } + + // float CurrentVoltage = 12; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = this->_internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 12, this->_internal_currentvoltage(), target); + } + + // float CurrentCurrent = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = this->_internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 13, this->_internal_currentcurrent(), target); + } + + // float CurrentPower = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentpower = this->_internal_currentpower(); + ::uint32_t raw_currentpower; + memcpy(&raw_currentpower, &tmp_currentpower, sizeof(tmp_currentpower)); + if (raw_currentpower != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 14, this->_internal_currentpower(), target); + } + + // float AccumulatedChargedEnergy = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedenergy = this->_internal_accumulatedchargedenergy(); + ::uint32_t raw_accumulatedchargedenergy; + memcpy(&raw_accumulatedchargedenergy, &tmp_accumulatedchargedenergy, sizeof(tmp_accumulatedchargedenergy)); + if (raw_accumulatedchargedenergy != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 15, this->_internal_accumulatedchargedenergy(), target); + } + + // float AccumulatedConsumedEnergy = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedenergy = this->_internal_accumulatedconsumedenergy(); + ::uint32_t raw_accumulatedconsumedenergy; + memcpy(&raw_accumulatedconsumedenergy, &tmp_accumulatedconsumedenergy, sizeof(tmp_accumulatedconsumedenergy)); + if (raw_accumulatedconsumedenergy != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 16, this->_internal_accumulatedconsumedenergy(), target); + } + + // float AccumulatedChargedThroughput = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedthroughput = this->_internal_accumulatedchargedthroughput(); + ::uint32_t raw_accumulatedchargedthroughput; + memcpy(&raw_accumulatedchargedthroughput, &tmp_accumulatedchargedthroughput, sizeof(tmp_accumulatedchargedthroughput)); + if (raw_accumulatedchargedthroughput != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 17, this->_internal_accumulatedchargedthroughput(), target); + } + + // float AccumulatedConsumedThroughput = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedthroughput = this->_internal_accumulatedconsumedthroughput(); + ::uint32_t raw_accumulatedconsumedthroughput; + memcpy(&raw_accumulatedconsumedthroughput, &tmp_accumulatedconsumedthroughput, sizeof(tmp_accumulatedconsumedthroughput)); + if (raw_accumulatedconsumedthroughput != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 18, this->_internal_accumulatedconsumedthroughput(), target); + } + + // float PowerLoss = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 19, this->_internal_powerloss(), target); + } + + // uint32 Range = 20; + if (this->_internal_range() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 20, this->_internal_range(), target); + } + + // .vss.VehiclePowertrainTractionBatteryCharging Charging = 21; + if (this->_internal_has_charging()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(21, _Internal::charging(this), + _Internal::charging(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + if (this->_internal_has_dcdc()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(22, _Internal::dcdc(this), + _Internal::dcdc(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBattery) + return target; +} + +::size_t VehiclePowertrainTractionBattery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBattery) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Id = 1; + if (!this->_internal_id().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // string ProductionDate = 2; + if (!this->_internal_productiondate().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_productiondate()); + } + + // .vss.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + if (this->_internal_has_temperature()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.temperature_); + } + + // .vss.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + if (this->_internal_has_stateofcharge()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.stateofcharge_); + } + + // .vss.VehiclePowertrainTractionBatteryCharging Charging = 21; + if (this->_internal_has_charging()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.charging_); + } + + // .vss.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + if (this->_internal_has_dcdc()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.dcdc_); + } + + // bool IsPowerConnected = 3; + if (this->_internal_ispowerconnected() != 0) { + total_size += 2; + } + + // bool IsGroundConnected = 4; + if (this->_internal_isgroundconnected() != 0) { + total_size += 2; + } + + // uint32 GrossCapacity = 6; + if (this->_internal_grosscapacity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_grosscapacity()); + } + + // uint32 NetCapacity = 7; + if (this->_internal_netcapacity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_netcapacity()); + } + + // float StateOfHealth = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stateofhealth = this->_internal_stateofhealth(); + ::uint32_t raw_stateofhealth; + memcpy(&raw_stateofhealth, &tmp_stateofhealth, sizeof(tmp_stateofhealth)); + if (raw_stateofhealth != 0) { + total_size += 5; + } + + // uint32 NominalVoltage = 10; + if (this->_internal_nominalvoltage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_nominalvoltage()); + } + + // uint32 MaxVoltage = 11; + if (this->_internal_maxvoltage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_maxvoltage()); + } + + // float CurrentVoltage = 12; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = this->_internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + total_size += 5; + } + + // float CurrentCurrent = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = this->_internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + total_size += 5; + } + + // float CurrentPower = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentpower = this->_internal_currentpower(); + ::uint32_t raw_currentpower; + memcpy(&raw_currentpower, &tmp_currentpower, sizeof(tmp_currentpower)); + if (raw_currentpower != 0) { + total_size += 5; + } + + // float AccumulatedChargedEnergy = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedenergy = this->_internal_accumulatedchargedenergy(); + ::uint32_t raw_accumulatedchargedenergy; + memcpy(&raw_accumulatedchargedenergy, &tmp_accumulatedchargedenergy, sizeof(tmp_accumulatedchargedenergy)); + if (raw_accumulatedchargedenergy != 0) { + total_size += 5; + } + + // float AccumulatedConsumedEnergy = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedenergy = this->_internal_accumulatedconsumedenergy(); + ::uint32_t raw_accumulatedconsumedenergy; + memcpy(&raw_accumulatedconsumedenergy, &tmp_accumulatedconsumedenergy, sizeof(tmp_accumulatedconsumedenergy)); + if (raw_accumulatedconsumedenergy != 0) { + total_size += 6; + } + + // float AccumulatedChargedThroughput = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedthroughput = this->_internal_accumulatedchargedthroughput(); + ::uint32_t raw_accumulatedchargedthroughput; + memcpy(&raw_accumulatedchargedthroughput, &tmp_accumulatedchargedthroughput, sizeof(tmp_accumulatedchargedthroughput)); + if (raw_accumulatedchargedthroughput != 0) { + total_size += 6; + } + + // float AccumulatedConsumedThroughput = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedthroughput = this->_internal_accumulatedconsumedthroughput(); + ::uint32_t raw_accumulatedconsumedthroughput; + memcpy(&raw_accumulatedconsumedthroughput, &tmp_accumulatedconsumedthroughput, sizeof(tmp_accumulatedconsumedthroughput)); + if (raw_accumulatedconsumedthroughput != 0) { + total_size += 6; + } + + // float PowerLoss = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + total_size += 6; + } + + // uint32 Range = 20; + if (this->_internal_range() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_range()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBattery::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBattery::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBattery::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBattery::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBattery) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } + if (!from._internal_productiondate().empty()) { + _this->_internal_set_productiondate(from._internal_productiondate()); + } + if (from._internal_has_temperature()) { + _this->_internal_mutable_temperature()->::vss::VehiclePowertrainTractionBatteryTemperature::MergeFrom( + from._internal_temperature()); + } + if (from._internal_has_stateofcharge()) { + _this->_internal_mutable_stateofcharge()->::vss::VehiclePowertrainTractionBatteryStateOfCharge::MergeFrom( + from._internal_stateofcharge()); + } + if (from._internal_has_charging()) { + _this->_internal_mutable_charging()->::vss::VehiclePowertrainTractionBatteryCharging::MergeFrom( + from._internal_charging()); + } + if (from._internal_has_dcdc()) { + _this->_internal_mutable_dcdc()->::vss::VehiclePowertrainTractionBatteryDCDC::MergeFrom( + from._internal_dcdc()); + } + if (from._internal_ispowerconnected() != 0) { + _this->_internal_set_ispowerconnected(from._internal_ispowerconnected()); + } + if (from._internal_isgroundconnected() != 0) { + _this->_internal_set_isgroundconnected(from._internal_isgroundconnected()); + } + if (from._internal_grosscapacity() != 0) { + _this->_internal_set_grosscapacity(from._internal_grosscapacity()); + } + if (from._internal_netcapacity() != 0) { + _this->_internal_set_netcapacity(from._internal_netcapacity()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_stateofhealth = from._internal_stateofhealth(); + ::uint32_t raw_stateofhealth; + memcpy(&raw_stateofhealth, &tmp_stateofhealth, sizeof(tmp_stateofhealth)); + if (raw_stateofhealth != 0) { + _this->_internal_set_stateofhealth(from._internal_stateofhealth()); + } + if (from._internal_nominalvoltage() != 0) { + _this->_internal_set_nominalvoltage(from._internal_nominalvoltage()); + } + if (from._internal_maxvoltage() != 0) { + _this->_internal_set_maxvoltage(from._internal_maxvoltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentvoltage = from._internal_currentvoltage(); + ::uint32_t raw_currentvoltage; + memcpy(&raw_currentvoltage, &tmp_currentvoltage, sizeof(tmp_currentvoltage)); + if (raw_currentvoltage != 0) { + _this->_internal_set_currentvoltage(from._internal_currentvoltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentcurrent = from._internal_currentcurrent(); + ::uint32_t raw_currentcurrent; + memcpy(&raw_currentcurrent, &tmp_currentcurrent, sizeof(tmp_currentcurrent)); + if (raw_currentcurrent != 0) { + _this->_internal_set_currentcurrent(from._internal_currentcurrent()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_currentpower = from._internal_currentpower(); + ::uint32_t raw_currentpower; + memcpy(&raw_currentpower, &tmp_currentpower, sizeof(tmp_currentpower)); + if (raw_currentpower != 0) { + _this->_internal_set_currentpower(from._internal_currentpower()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedenergy = from._internal_accumulatedchargedenergy(); + ::uint32_t raw_accumulatedchargedenergy; + memcpy(&raw_accumulatedchargedenergy, &tmp_accumulatedchargedenergy, sizeof(tmp_accumulatedchargedenergy)); + if (raw_accumulatedchargedenergy != 0) { + _this->_internal_set_accumulatedchargedenergy(from._internal_accumulatedchargedenergy()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedenergy = from._internal_accumulatedconsumedenergy(); + ::uint32_t raw_accumulatedconsumedenergy; + memcpy(&raw_accumulatedconsumedenergy, &tmp_accumulatedconsumedenergy, sizeof(tmp_accumulatedconsumedenergy)); + if (raw_accumulatedconsumedenergy != 0) { + _this->_internal_set_accumulatedconsumedenergy(from._internal_accumulatedconsumedenergy()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedchargedthroughput = from._internal_accumulatedchargedthroughput(); + ::uint32_t raw_accumulatedchargedthroughput; + memcpy(&raw_accumulatedchargedthroughput, &tmp_accumulatedchargedthroughput, sizeof(tmp_accumulatedchargedthroughput)); + if (raw_accumulatedchargedthroughput != 0) { + _this->_internal_set_accumulatedchargedthroughput(from._internal_accumulatedchargedthroughput()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_accumulatedconsumedthroughput = from._internal_accumulatedconsumedthroughput(); + ::uint32_t raw_accumulatedconsumedthroughput; + memcpy(&raw_accumulatedconsumedthroughput, &tmp_accumulatedconsumedthroughput, sizeof(tmp_accumulatedconsumedthroughput)); + if (raw_accumulatedconsumedthroughput != 0) { + _this->_internal_set_accumulatedconsumedthroughput(from._internal_accumulatedconsumedthroughput()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = from._internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + _this->_internal_set_powerloss(from._internal_powerloss()); + } + if (from._internal_range() != 0) { + _this->_internal_set_range(from._internal_range()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBattery::CopyFrom(const VehiclePowertrainTractionBattery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBattery::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBattery::InternalSwap(VehiclePowertrainTractionBattery* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, lhs_arena, + &other->_impl_.id_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.productiondate_, lhs_arena, + &other->_impl_.productiondate_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBattery, _impl_.range_) + + sizeof(VehiclePowertrainTractionBattery::_impl_.range_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBattery, _impl_.temperature_)>( + reinterpret_cast(&_impl_.temperature_), + reinterpret_cast(&other->_impl_.temperature_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBattery::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[16]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryTemperature::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryTemperature::VehiclePowertrainTractionBatteryTemperature(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryTemperature) +} +VehiclePowertrainTractionBatteryTemperature::VehiclePowertrainTractionBatteryTemperature(const VehiclePowertrainTractionBatteryTemperature& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryTemperature) +} + +inline void VehiclePowertrainTractionBatteryTemperature::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.average_) { 0 } + + , decltype(_impl_.min_) { 0 } + + , decltype(_impl_.max_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryTemperature::~VehiclePowertrainTractionBatteryTemperature() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryTemperature) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryTemperature::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryTemperature::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryTemperature::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryTemperature) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.average_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.max_) - + reinterpret_cast(&_impl_.average_)) + sizeof(_impl_.max_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryTemperature::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Average = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.average_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Min = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.min_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Max = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.max_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryTemperature::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryTemperature) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Average = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_average = this->_internal_average(); + ::uint32_t raw_average; + memcpy(&raw_average, &tmp_average, sizeof(tmp_average)); + if (raw_average != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_average(), target); + } + + // float Min = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_min = this->_internal_min(); + ::uint32_t raw_min; + memcpy(&raw_min, &tmp_min, sizeof(tmp_min)); + if (raw_min != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_min(), target); + } + + // float Max = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_max = this->_internal_max(); + ::uint32_t raw_max; + memcpy(&raw_max, &tmp_max, sizeof(tmp_max)); + if (raw_max != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_max(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryTemperature) + return target; +} + +::size_t VehiclePowertrainTractionBatteryTemperature::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryTemperature) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Average = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_average = this->_internal_average(); + ::uint32_t raw_average; + memcpy(&raw_average, &tmp_average, sizeof(tmp_average)); + if (raw_average != 0) { + total_size += 5; + } + + // float Min = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_min = this->_internal_min(); + ::uint32_t raw_min; + memcpy(&raw_min, &tmp_min, sizeof(tmp_min)); + if (raw_min != 0) { + total_size += 5; + } + + // float Max = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_max = this->_internal_max(); + ::uint32_t raw_max; + memcpy(&raw_max, &tmp_max, sizeof(tmp_max)); + if (raw_max != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryTemperature::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryTemperature::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryTemperature::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryTemperature::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryTemperature) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_average = from._internal_average(); + ::uint32_t raw_average; + memcpy(&raw_average, &tmp_average, sizeof(tmp_average)); + if (raw_average != 0) { + _this->_internal_set_average(from._internal_average()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_min = from._internal_min(); + ::uint32_t raw_min; + memcpy(&raw_min, &tmp_min, sizeof(tmp_min)); + if (raw_min != 0) { + _this->_internal_set_min(from._internal_min()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_max = from._internal_max(); + ::uint32_t raw_max; + memcpy(&raw_max, &tmp_max, sizeof(tmp_max)); + if (raw_max != 0) { + _this->_internal_set_max(from._internal_max()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryTemperature::CopyFrom(const VehiclePowertrainTractionBatteryTemperature& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryTemperature) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryTemperature::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryTemperature::InternalSwap(VehiclePowertrainTractionBatteryTemperature* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryTemperature, _impl_.max_) + + sizeof(VehiclePowertrainTractionBatteryTemperature::_impl_.max_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryTemperature, _impl_.average_)>( + reinterpret_cast(&_impl_.average_), + reinterpret_cast(&other->_impl_.average_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryTemperature::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[17]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryStateOfCharge::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryStateOfCharge::VehiclePowertrainTractionBatteryStateOfCharge(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryStateOfCharge) +} +VehiclePowertrainTractionBatteryStateOfCharge::VehiclePowertrainTractionBatteryStateOfCharge(const VehiclePowertrainTractionBatteryStateOfCharge& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryStateOfCharge) +} + +inline void VehiclePowertrainTractionBatteryStateOfCharge::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.current_) { 0 } + + , decltype(_impl_.displayed_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryStateOfCharge::~VehiclePowertrainTractionBatteryStateOfCharge() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryStateOfCharge) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryStateOfCharge::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryStateOfCharge::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryStateOfCharge::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryStateOfCharge) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.current_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.displayed_) - + reinterpret_cast(&_impl_.current_)) + sizeof(_impl_.displayed_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryStateOfCharge::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Current = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Displayed = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.displayed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryStateOfCharge::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryStateOfCharge) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Current = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_current(), target); + } + + // float Displayed = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_displayed = this->_internal_displayed(); + ::uint32_t raw_displayed; + memcpy(&raw_displayed, &tmp_displayed, sizeof(tmp_displayed)); + if (raw_displayed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_displayed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryStateOfCharge) + return target; +} + +::size_t VehiclePowertrainTractionBatteryStateOfCharge::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryStateOfCharge) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Current = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + // float Displayed = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_displayed = this->_internal_displayed(); + ::uint32_t raw_displayed; + memcpy(&raw_displayed, &tmp_displayed, sizeof(tmp_displayed)); + if (raw_displayed != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryStateOfCharge::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryStateOfCharge::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryStateOfCharge::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryStateOfCharge::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryStateOfCharge) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_displayed = from._internal_displayed(); + ::uint32_t raw_displayed; + memcpy(&raw_displayed, &tmp_displayed, sizeof(tmp_displayed)); + if (raw_displayed != 0) { + _this->_internal_set_displayed(from._internal_displayed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryStateOfCharge::CopyFrom(const VehiclePowertrainTractionBatteryStateOfCharge& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryStateOfCharge) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryStateOfCharge::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryStateOfCharge::InternalSwap(VehiclePowertrainTractionBatteryStateOfCharge* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryStateOfCharge, _impl_.displayed_) + + sizeof(VehiclePowertrainTractionBatteryStateOfCharge::_impl_.displayed_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryStateOfCharge, _impl_.current_)>( + reinterpret_cast(&_impl_.current_), + reinterpret_cast(&other->_impl_.current_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryStateOfCharge::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[18]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryCharging::_Internal { + public: + static const ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& maximumchargingcurrent(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent& chargecurrent(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage& chargevoltage(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::vss::VehiclePowertrainTractionBatteryChargingTimer& timer(const VehiclePowertrainTractionBatteryCharging* msg); +}; + +const ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& +VehiclePowertrainTractionBatteryCharging::_Internal::maximumchargingcurrent(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->_impl_.maximumchargingcurrent_; +} +const ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent& +VehiclePowertrainTractionBatteryCharging::_Internal::chargecurrent(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->_impl_.chargecurrent_; +} +const ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage& +VehiclePowertrainTractionBatteryCharging::_Internal::chargevoltage(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->_impl_.chargevoltage_; +} +const ::vss::VehiclePowertrainTractionBatteryChargingTimer& +VehiclePowertrainTractionBatteryCharging::_Internal::timer(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->_impl_.timer_; +} +VehiclePowertrainTractionBatteryCharging::VehiclePowertrainTractionBatteryCharging(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryCharging) +} +VehiclePowertrainTractionBatteryCharging::VehiclePowertrainTractionBatteryCharging(const VehiclePowertrainTractionBatteryCharging& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainTractionBatteryCharging* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.chargeplugtype_){from._impl_.chargeplugtype_} + , decltype(_impl_.chargeportflap_) {} + + , decltype(_impl_.mode_) {} + + , decltype(_impl_.startstopcharging_) {} + + , decltype(_impl_.maximumchargingcurrent_){nullptr} + , decltype(_impl_.chargecurrent_){nullptr} + , decltype(_impl_.chargevoltage_){nullptr} + , decltype(_impl_.timer_){nullptr} + , decltype(_impl_.chargelimit_) {} + + , decltype(_impl_.ischargingcableconnected_) {} + + , decltype(_impl_.ischargingcablelocked_) {} + + , decltype(_impl_.ischarging_) {} + + , decltype(_impl_.isdischarging_) {} + + , decltype(_impl_.powerloss_) {} + + , decltype(_impl_.temperature_) {} + + , decltype(_impl_.chargerate_) {} + + , decltype(_impl_.timetocomplete_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.chargeportflap_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.chargeportflap_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_chargeportflap().empty()) { + _this->_impl_.chargeportflap_.Set(from._internal_chargeportflap(), _this->GetArenaForAllocation()); + } + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + _impl_.startstopcharging_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.startstopcharging_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_startstopcharging().empty()) { + _this->_impl_.startstopcharging_.Set(from._internal_startstopcharging(), _this->GetArenaForAllocation()); + } + if (from._internal_has_maximumchargingcurrent()) { + _this->_impl_.maximumchargingcurrent_ = new ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(*from._impl_.maximumchargingcurrent_); + } + if (from._internal_has_chargecurrent()) { + _this->_impl_.chargecurrent_ = new ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent(*from._impl_.chargecurrent_); + } + if (from._internal_has_chargevoltage()) { + _this->_impl_.chargevoltage_ = new ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage(*from._impl_.chargevoltage_); + } + if (from._internal_has_timer()) { + _this->_impl_.timer_ = new ::vss::VehiclePowertrainTractionBatteryChargingTimer(*from._impl_.timer_); + } + ::memcpy(&_impl_.chargelimit_, &from._impl_.chargelimit_, + static_cast<::size_t>(reinterpret_cast(&_impl_.timetocomplete_) - + reinterpret_cast(&_impl_.chargelimit_)) + sizeof(_impl_.timetocomplete_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryCharging) +} + +inline void VehiclePowertrainTractionBatteryCharging::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.chargeplugtype_){arena} + , decltype(_impl_.chargeportflap_) {} + + , decltype(_impl_.mode_) {} + + , decltype(_impl_.startstopcharging_) {} + + , decltype(_impl_.maximumchargingcurrent_){nullptr} + , decltype(_impl_.chargecurrent_){nullptr} + , decltype(_impl_.chargevoltage_){nullptr} + , decltype(_impl_.timer_){nullptr} + , decltype(_impl_.chargelimit_) { 0u } + + , decltype(_impl_.ischargingcableconnected_) { false } + + , decltype(_impl_.ischargingcablelocked_) { false } + + , decltype(_impl_.ischarging_) { false } + + , decltype(_impl_.isdischarging_) { false } + + , decltype(_impl_.powerloss_) { 0 } + + , decltype(_impl_.temperature_) { 0 } + + , decltype(_impl_.chargerate_) { 0 } + + , decltype(_impl_.timetocomplete_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.chargeportflap_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.chargeportflap_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.startstopcharging_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.startstopcharging_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainTractionBatteryCharging::~VehiclePowertrainTractionBatteryCharging() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryCharging) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryCharging::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.chargeplugtype_.~RepeatedPtrField(); + _impl_.chargeportflap_.Destroy(); + _impl_.mode_.Destroy(); + _impl_.startstopcharging_.Destroy(); + if (this != internal_default_instance()) delete _impl_.maximumchargingcurrent_; + if (this != internal_default_instance()) delete _impl_.chargecurrent_; + if (this != internal_default_instance()) delete _impl_.chargevoltage_; + if (this != internal_default_instance()) delete _impl_.timer_; +} + +void VehiclePowertrainTractionBatteryCharging::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryCharging::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryCharging) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.chargeplugtype_.Clear(); + _impl_.chargeportflap_.ClearToEmpty(); + _impl_.mode_.ClearToEmpty(); + _impl_.startstopcharging_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.maximumchargingcurrent_ != nullptr) { + delete _impl_.maximumchargingcurrent_; + } + _impl_.maximumchargingcurrent_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.chargecurrent_ != nullptr) { + delete _impl_.chargecurrent_; + } + _impl_.chargecurrent_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.chargevoltage_ != nullptr) { + delete _impl_.chargevoltage_; + } + _impl_.chargevoltage_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.timer_ != nullptr) { + delete _impl_.timer_; + } + _impl_.timer_ = nullptr; + ::memset(&_impl_.chargelimit_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.timetocomplete_) - + reinterpret_cast(&_impl_.chargelimit_)) + sizeof(_impl_.timetocomplete_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryCharging::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 ChargeLimit = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.chargelimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_chargeportflap(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryCharging.ChargePortFlap")); + } else { + goto handle_unusual; + } + continue; + // bool IsChargingCableConnected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.ischargingcableconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsChargingCableLocked = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.ischargingcablelocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // repeated string ChargePlugType = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_chargeplugtype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryCharging.ChargePlugType")); + 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<::uint8_t>(tag) == 58)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryCharging.Mode")); + } else { + goto handle_unusual; + } + continue; + // bool IsCharging = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.ischarging_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDischarging = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.isdischarging_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string StartStopCharging = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + auto str = _internal_mutable_startstopcharging(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryCharging.StartStopCharging")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_chargecurrent(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 109)) { + _impl_.powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ChargeRate = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 125)) { + _impl_.chargerate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 TimeToComplete = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) { + _impl_.timetocomplete_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 138)) { + ptr = ctx->ParseMessage(_internal_mutable_timer(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryCharging::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryCharging) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 ChargeLimit = 1; + if (this->_internal_chargelimit() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_chargelimit(), target); + } + + // .vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + if (this->_internal_has_maximumchargingcurrent()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::maximumchargingcurrent(this), + _Internal::maximumchargingcurrent(this).GetCachedSize(), target, stream); + } + + // string ChargePortFlap = 3; + if (!this->_internal_chargeportflap().empty()) { + const std::string& _s = this->_internal_chargeportflap(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryCharging.ChargePortFlap"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // bool IsChargingCableConnected = 4; + if (this->_internal_ischargingcableconnected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_ischargingcableconnected(), target); + } + + // bool IsChargingCableLocked = 5; + if (this->_internal_ischargingcablelocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::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(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryCharging.ChargePlugType"); + target = stream->WriteString(6, s, target); + } + + // string Mode = 7; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryCharging.Mode"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + // bool IsCharging = 8; + if (this->_internal_ischarging() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_ischarging(), target); + } + + // bool IsDischarging = 9; + if (this->_internal_isdischarging() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this->_internal_isdischarging(), target); + } + + // string StartStopCharging = 10; + if (!this->_internal_startstopcharging().empty()) { + const std::string& _s = this->_internal_startstopcharging(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryCharging.StartStopCharging"); + target = stream->WriteStringMaybeAliased(10, _s, target); + } + + // .vss.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + if (this->_internal_has_chargecurrent()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::chargecurrent(this), + _Internal::chargecurrent(this).GetCachedSize(), target, stream); + } + + // .vss.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + if (this->_internal_has_chargevoltage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::chargevoltage(this), + _Internal::chargevoltage(this).GetCachedSize(), target, stream); + } + + // float PowerLoss = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 13, this->_internal_powerloss(), target); + } + + // float Temperature = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 14, this->_internal_temperature(), target); + } + + // float ChargeRate = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_chargerate = this->_internal_chargerate(); + ::uint32_t raw_chargerate; + memcpy(&raw_chargerate, &tmp_chargerate, sizeof(tmp_chargerate)); + if (raw_chargerate != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 15, this->_internal_chargerate(), target); + } + + // uint32 TimeToComplete = 16; + if (this->_internal_timetocomplete() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 16, this->_internal_timetocomplete(), target); + } + + // .vss.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + if (this->_internal_has_timer()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(17, _Internal::timer(this), + _Internal::timer(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryCharging) + return target; +} + +::size_t VehiclePowertrainTractionBatteryCharging::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryCharging) + ::size_t total_size = 0; + + ::uint32_t 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(_impl_.chargeplugtype_.size()); + for (int i = 0, n = _impl_.chargeplugtype_.size(); i < n; ++i) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.chargeplugtype_.Get(i)); + } + + // string ChargePortFlap = 3; + if (!this->_internal_chargeportflap().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_chargeportflap()); + } + + // string Mode = 7; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // string StartStopCharging = 10; + if (!this->_internal_startstopcharging().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_startstopcharging()); + } + + // .vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + if (this->_internal_has_maximumchargingcurrent()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.maximumchargingcurrent_); + } + + // .vss.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + if (this->_internal_has_chargecurrent()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.chargecurrent_); + } + + // .vss.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + if (this->_internal_has_chargevoltage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.chargevoltage_); + } + + // .vss.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + if (this->_internal_has_timer()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.timer_); + } + + // uint32 ChargeLimit = 1; + if (this->_internal_chargelimit() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_chargelimit()); + } + + // bool IsChargingCableConnected = 4; + if (this->_internal_ischargingcableconnected() != 0) { + total_size += 2; + } + + // bool IsChargingCableLocked = 5; + if (this->_internal_ischargingcablelocked() != 0) { + total_size += 2; + } + + // bool IsCharging = 8; + if (this->_internal_ischarging() != 0) { + total_size += 2; + } + + // bool IsDischarging = 9; + if (this->_internal_isdischarging() != 0) { + total_size += 2; + } + + // float PowerLoss = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + total_size += 5; + } + + // float Temperature = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + // float ChargeRate = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_chargerate = this->_internal_chargerate(); + ::uint32_t raw_chargerate; + memcpy(&raw_chargerate, &tmp_chargerate, sizeof(tmp_chargerate)); + if (raw_chargerate != 0) { + total_size += 5; + } + + // uint32 TimeToComplete = 16; + if (this->_internal_timetocomplete() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_timetocomplete()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryCharging::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryCharging::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryCharging::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryCharging::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryCharging) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.chargeplugtype_.MergeFrom(from._impl_.chargeplugtype_); + if (!from._internal_chargeportflap().empty()) { + _this->_internal_set_chargeportflap(from._internal_chargeportflap()); + } + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (!from._internal_startstopcharging().empty()) { + _this->_internal_set_startstopcharging(from._internal_startstopcharging()); + } + if (from._internal_has_maximumchargingcurrent()) { + _this->_internal_mutable_maximumchargingcurrent()->::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeFrom( + from._internal_maximumchargingcurrent()); + } + if (from._internal_has_chargecurrent()) { + _this->_internal_mutable_chargecurrent()->::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeFrom( + from._internal_chargecurrent()); + } + if (from._internal_has_chargevoltage()) { + _this->_internal_mutable_chargevoltage()->::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeFrom( + from._internal_chargevoltage()); + } + if (from._internal_has_timer()) { + _this->_internal_mutable_timer()->::vss::VehiclePowertrainTractionBatteryChargingTimer::MergeFrom( + from._internal_timer()); + } + if (from._internal_chargelimit() != 0) { + _this->_internal_set_chargelimit(from._internal_chargelimit()); + } + if (from._internal_ischargingcableconnected() != 0) { + _this->_internal_set_ischargingcableconnected(from._internal_ischargingcableconnected()); + } + if (from._internal_ischargingcablelocked() != 0) { + _this->_internal_set_ischargingcablelocked(from._internal_ischargingcablelocked()); + } + if (from._internal_ischarging() != 0) { + _this->_internal_set_ischarging(from._internal_ischarging()); + } + if (from._internal_isdischarging() != 0) { + _this->_internal_set_isdischarging(from._internal_isdischarging()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = from._internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + _this->_internal_set_powerloss(from._internal_powerloss()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_chargerate = from._internal_chargerate(); + ::uint32_t raw_chargerate; + memcpy(&raw_chargerate, &tmp_chargerate, sizeof(tmp_chargerate)); + if (raw_chargerate != 0) { + _this->_internal_set_chargerate(from._internal_chargerate()); + } + if (from._internal_timetocomplete() != 0) { + _this->_internal_set_timetocomplete(from._internal_timetocomplete()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryCharging::CopyFrom(const VehiclePowertrainTractionBatteryCharging& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryCharging) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryCharging::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryCharging::InternalSwap(VehiclePowertrainTractionBatteryCharging* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.chargeplugtype_.InternalSwap(&other->_impl_.chargeplugtype_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.chargeportflap_, lhs_arena, + &other->_impl_.chargeportflap_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.startstopcharging_, lhs_arena, + &other->_impl_.startstopcharging_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryCharging, _impl_.timetocomplete_) + + sizeof(VehiclePowertrainTractionBatteryCharging::_impl_.timetocomplete_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryCharging, _impl_.maximumchargingcurrent_)>( + reinterpret_cast(&_impl_.maximumchargingcurrent_), + reinterpret_cast(&other->_impl_.maximumchargingcurrent_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryCharging::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[19]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) +} +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) +} + +inline void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.dc_) { 0 } + + , decltype(_impl_.phase1_) { 0 } + + , decltype(_impl_.phase2_) { 0 } + + , decltype(_impl_.phase3_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::~VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.dc_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.phase3_) - + reinterpret_cast(&_impl_.dc_)) + sizeof(_impl_.phase3_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + return target; +} + +::size_t VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + total_size += 5; + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + total_size += 5; + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + total_size += 5; + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = from._internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + _this->_internal_set_dc(from._internal_dc()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = from._internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + _this->_internal_set_phase1(from._internal_phase1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = from._internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + _this->_internal_set_phase2(from._internal_phase2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = from._internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + _this->_internal_set_phase3(from._internal_phase3()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::CopyFrom(const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::InternalSwap(VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.phase3_) + + sizeof(VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_impl_.phase3_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _impl_.dc_)>( + reinterpret_cast(&_impl_.dc_), + reinterpret_cast(&other->_impl_.dc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[20]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryChargingChargeCurrent::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingChargeCurrent::VehiclePowertrainTractionBatteryChargingChargeCurrent(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) +} +VehiclePowertrainTractionBatteryChargingChargeCurrent::VehiclePowertrainTractionBatteryChargingChargeCurrent(const VehiclePowertrainTractionBatteryChargingChargeCurrent& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) +} + +inline void VehiclePowertrainTractionBatteryChargingChargeCurrent::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.dc_) { 0 } + + , decltype(_impl_.phase1_) { 0 } + + , decltype(_impl_.phase2_) { 0 } + + , decltype(_impl_.phase3_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryChargingChargeCurrent::~VehiclePowertrainTractionBatteryChargingChargeCurrent() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryChargingChargeCurrent::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.dc_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.phase3_) - + reinterpret_cast(&_impl_.dc_)) + sizeof(_impl_.phase3_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryChargingChargeCurrent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryChargingChargeCurrent::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + return target; +} + +::size_t VehiclePowertrainTractionBatteryChargingChargeCurrent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + total_size += 5; + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + total_size += 5; + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + total_size += 5; + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryChargingChargeCurrent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryChargingChargeCurrent::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = from._internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + _this->_internal_set_dc(from._internal_dc()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = from._internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + _this->_internal_set_phase1(from._internal_phase1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = from._internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + _this->_internal_set_phase2(from._internal_phase2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = from._internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + _this->_internal_set_phase3(from._internal_phase3()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::CopyFrom(const VehiclePowertrainTractionBatteryChargingChargeCurrent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryChargingChargeCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingChargeCurrent::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::InternalSwap(VehiclePowertrainTractionBatteryChargingChargeCurrent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.phase3_) + + sizeof(VehiclePowertrainTractionBatteryChargingChargeCurrent::_impl_.phase3_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingChargeCurrent, _impl_.dc_)>( + reinterpret_cast(&_impl_.dc_), + reinterpret_cast(&other->_impl_.dc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingChargeCurrent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[21]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryChargingChargeVoltage::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingChargeVoltage::VehiclePowertrainTractionBatteryChargingChargeVoltage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) +} +VehiclePowertrainTractionBatteryChargingChargeVoltage::VehiclePowertrainTractionBatteryChargingChargeVoltage(const VehiclePowertrainTractionBatteryChargingChargeVoltage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) +} + +inline void VehiclePowertrainTractionBatteryChargingChargeVoltage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.dc_) { 0 } + + , decltype(_impl_.phase1_) { 0 } + + , decltype(_impl_.phase2_) { 0 } + + , decltype(_impl_.phase3_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryChargingChargeVoltage::~VehiclePowertrainTractionBatteryChargingChargeVoltage() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryChargingChargeVoltage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.dc_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.phase3_) - + reinterpret_cast(&_impl_.dc_)) + sizeof(_impl_.phase3_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryChargingChargeVoltage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryChargingChargeVoltage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + return target; +} + +::size_t VehiclePowertrainTractionBatteryChargingChargeVoltage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = this->_internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + total_size += 5; + } + + // float Phase1 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = this->_internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + total_size += 5; + } + + // float Phase2 = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = this->_internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + total_size += 5; + } + + // float Phase3 = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = this->_internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryChargingChargeVoltage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryChargingChargeVoltage::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_dc = from._internal_dc(); + ::uint32_t raw_dc; + memcpy(&raw_dc, &tmp_dc, sizeof(tmp_dc)); + if (raw_dc != 0) { + _this->_internal_set_dc(from._internal_dc()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase1 = from._internal_phase1(); + ::uint32_t raw_phase1; + memcpy(&raw_phase1, &tmp_phase1, sizeof(tmp_phase1)); + if (raw_phase1 != 0) { + _this->_internal_set_phase1(from._internal_phase1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase2 = from._internal_phase2(); + ::uint32_t raw_phase2; + memcpy(&raw_phase2, &tmp_phase2, sizeof(tmp_phase2)); + if (raw_phase2 != 0) { + _this->_internal_set_phase2(from._internal_phase2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_phase3 = from._internal_phase3(); + ::uint32_t raw_phase3; + memcpy(&raw_phase3, &tmp_phase3, sizeof(tmp_phase3)); + if (raw_phase3 != 0) { + _this->_internal_set_phase3(from._internal_phase3()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::CopyFrom(const VehiclePowertrainTractionBatteryChargingChargeVoltage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryChargingChargeVoltage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingChargeVoltage::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::InternalSwap(VehiclePowertrainTractionBatteryChargingChargeVoltage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.phase3_) + + sizeof(VehiclePowertrainTractionBatteryChargingChargeVoltage::_impl_.phase3_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryChargingChargeVoltage, _impl_.dc_)>( + reinterpret_cast(&_impl_.dc_), + reinterpret_cast(&other->_impl_.dc_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingChargeVoltage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[22]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryChargingTimer::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingTimer::VehiclePowertrainTractionBatteryChargingTimer(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryChargingTimer) +} +VehiclePowertrainTractionBatteryChargingTimer::VehiclePowertrainTractionBatteryChargingTimer(const VehiclePowertrainTractionBatteryChargingTimer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainTractionBatteryChargingTimer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.time_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + _impl_.time_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.time_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_time().empty()) { + _this->_impl_.time_.Set(from._internal_time(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryChargingTimer) +} + +inline void VehiclePowertrainTractionBatteryChargingTimer::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.time_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.time_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.time_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainTractionBatteryChargingTimer::~VehiclePowertrainTractionBatteryChargingTimer() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryChargingTimer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryChargingTimer::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mode_.Destroy(); + _impl_.time_.Destroy(); +} + +void VehiclePowertrainTractionBatteryChargingTimer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryChargingTimer::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryChargingTimer) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_.ClearToEmpty(); + _impl_.time_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryChargingTimer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryChargingTimer.Mode")); + } else { + goto handle_unusual; + } + continue; + // string Time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_time(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainTractionBatteryChargingTimer.Time")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryChargingTimer::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryChargingTimer) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryChargingTimer.Mode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Time = 2; + if (!this->_internal_time().empty()) { + const std::string& _s = this->_internal_time(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainTractionBatteryChargingTimer.Time"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryChargingTimer) + return target; +} + +::size_t VehiclePowertrainTractionBatteryChargingTimer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryChargingTimer) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // string Time = 2; + if (!this->_internal_time().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_time()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryChargingTimer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryChargingTimer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryChargingTimer::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryChargingTimer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryChargingTimer) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (!from._internal_time().empty()) { + _this->_internal_set_time(from._internal_time()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryChargingTimer::CopyFrom(const VehiclePowertrainTractionBatteryChargingTimer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryChargingTimer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingTimer::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingTimer::InternalSwap(VehiclePowertrainTractionBatteryChargingTimer* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.time_, lhs_arena, + &other->_impl_.time_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingTimer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[23]); +} +// =================================================================== + +class VehiclePowertrainTractionBatteryDCDC::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryDCDC::VehiclePowertrainTractionBatteryDCDC(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainTractionBatteryDCDC) +} +VehiclePowertrainTractionBatteryDCDC::VehiclePowertrainTractionBatteryDCDC(const VehiclePowertrainTractionBatteryDCDC& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainTractionBatteryDCDC) +} + +inline void VehiclePowertrainTractionBatteryDCDC::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.powerloss_) { 0 } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehiclePowertrainTractionBatteryDCDC::~VehiclePowertrainTractionBatteryDCDC() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainTractionBatteryDCDC) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainTractionBatteryDCDC::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehiclePowertrainTractionBatteryDCDC::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainTractionBatteryDCDC::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainTractionBatteryDCDC) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.powerloss_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.powerloss_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainTractionBatteryDCDC::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float PowerLoss = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainTractionBatteryDCDC::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainTractionBatteryDCDC) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float PowerLoss = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_powerloss(), target); + } + + // float Temperature = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainTractionBatteryDCDC) + return target; +} + +::size_t VehiclePowertrainTractionBatteryDCDC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainTractionBatteryDCDC) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float PowerLoss = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = this->_internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + total_size += 5; + } + + // float Temperature = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainTractionBatteryDCDC::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainTractionBatteryDCDC::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainTractionBatteryDCDC::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainTractionBatteryDCDC::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainTractionBatteryDCDC) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_powerloss = from._internal_powerloss(); + ::uint32_t raw_powerloss; + memcpy(&raw_powerloss, &tmp_powerloss, sizeof(tmp_powerloss)); + if (raw_powerloss != 0) { + _this->_internal_set_powerloss(from._internal_powerloss()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainTractionBatteryDCDC::CopyFrom(const VehiclePowertrainTractionBatteryDCDC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainTractionBatteryDCDC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryDCDC::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryDCDC::InternalSwap(VehiclePowertrainTractionBatteryDCDC* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryDCDC, _impl_.temperature_) + + sizeof(VehiclePowertrainTractionBatteryDCDC::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainTractionBatteryDCDC, _impl_.powerloss_)>( + reinterpret_cast(&_impl_.powerloss_), + reinterpret_cast(&other->_impl_.powerloss_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryDCDC::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[24]); +} +// =================================================================== + +class VehiclePowertrainFuelSystem::_Internal { + public: +}; + +VehiclePowertrainFuelSystem::VehiclePowertrainFuelSystem(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehiclePowertrainFuelSystem) +} +VehiclePowertrainFuelSystem::VehiclePowertrainFuelSystem(const VehiclePowertrainFuelSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehiclePowertrainFuelSystem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.supportedfueltypes_){from._impl_.supportedfueltypes_} + , decltype(_impl_.supportedfuel_){from._impl_.supportedfuel_} + , decltype(_impl_.hybridtype_) {} + + , decltype(_impl_.tankcapacity_) {} + + , decltype(_impl_.level_) {} + + , decltype(_impl_.range_) {} + + , decltype(_impl_.instantconsumption_) {} + + , decltype(_impl_.averageconsumption_) {} + + , decltype(_impl_.consumptionsincestart_) {} + + , decltype(_impl_.timesincestart_) {} + + , decltype(_impl_.isenginestopstartenabled_) {} + + , decltype(_impl_.isfuellevellow_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.hybridtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hybridtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_hybridtype().empty()) { + _this->_impl_.hybridtype_.Set(from._internal_hybridtype(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.tankcapacity_, &from._impl_.tankcapacity_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isfuellevellow_) - + reinterpret_cast(&_impl_.tankcapacity_)) + sizeof(_impl_.isfuellevellow_)); + // @@protoc_insertion_point(copy_constructor:vss.VehiclePowertrainFuelSystem) +} + +inline void VehiclePowertrainFuelSystem::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.supportedfueltypes_){arena} + , decltype(_impl_.supportedfuel_){arena} + , decltype(_impl_.hybridtype_) {} + + , decltype(_impl_.tankcapacity_) { 0 } + + , decltype(_impl_.level_) { 0u } + + , decltype(_impl_.range_) { 0u } + + , decltype(_impl_.instantconsumption_) { 0 } + + , decltype(_impl_.averageconsumption_) { 0 } + + , decltype(_impl_.consumptionsincestart_) { 0 } + + , decltype(_impl_.timesincestart_) { 0u } + + , decltype(_impl_.isenginestopstartenabled_) { false } + + , decltype(_impl_.isfuellevellow_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.hybridtype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hybridtype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehiclePowertrainFuelSystem::~VehiclePowertrainFuelSystem() { + // @@protoc_insertion_point(destructor:vss.VehiclePowertrainFuelSystem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehiclePowertrainFuelSystem::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.supportedfueltypes_.~RepeatedPtrField(); + _impl_.supportedfuel_.~RepeatedPtrField(); + _impl_.hybridtype_.Destroy(); +} + +void VehiclePowertrainFuelSystem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehiclePowertrainFuelSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehiclePowertrainFuelSystem) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.supportedfueltypes_.Clear(); + _impl_.supportedfuel_.Clear(); + _impl_.hybridtype_.ClearToEmpty(); + ::memset(&_impl_.tankcapacity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isfuellevellow_) - + reinterpret_cast(&_impl_.tankcapacity_)) + sizeof(_impl_.isfuellevellow_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehiclePowertrainFuelSystem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated string SupportedFuelTypes = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_supportedfueltypes(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainFuelSystem.SupportedFuelTypes")); + 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<::uint8_t>(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_supportedfuel(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainFuelSystem.SupportedFuel")); + 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<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_hybridtype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehiclePowertrainFuelSystem.HybridType")); + } else { + goto handle_unusual; + } + continue; + // float TankCapacity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.tankcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Level = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Range = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float InstantConsumption = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) { + _impl_.instantconsumption_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AverageConsumption = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.averageconsumption_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ConsumptionSinceStart = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 77)) { + _impl_.consumptionsincestart_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 TimeSinceStart = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.timesincestart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngineStopStartEnabled = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.isenginestopstartenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFuelLevelLow = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) { + _impl_.isfuellevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehiclePowertrainFuelSystem::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehiclePowertrainFuelSystem) + ::uint32_t 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(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.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(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainFuelSystem.SupportedFuel"); + target = stream->WriteString(2, s, target); + } + + // string HybridType = 3; + if (!this->_internal_hybridtype().empty()) { + const std::string& _s = this->_internal_hybridtype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehiclePowertrainFuelSystem.HybridType"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // float TankCapacity = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tankcapacity = this->_internal_tankcapacity(); + ::uint32_t raw_tankcapacity; + memcpy(&raw_tankcapacity, &tmp_tankcapacity, sizeof(tmp_tankcapacity)); + if (raw_tankcapacity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_tankcapacity(), target); + } + + // uint32 Level = 5; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_level(), target); + } + + // uint32 Range = 6; + if (this->_internal_range() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_range(), target); + } + + // float InstantConsumption = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_instantconsumption = this->_internal_instantconsumption(); + ::uint32_t raw_instantconsumption; + memcpy(&raw_instantconsumption, &tmp_instantconsumption, sizeof(tmp_instantconsumption)); + if (raw_instantconsumption != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 7, this->_internal_instantconsumption(), target); + } + + // float AverageConsumption = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averageconsumption = this->_internal_averageconsumption(); + ::uint32_t raw_averageconsumption; + memcpy(&raw_averageconsumption, &tmp_averageconsumption, sizeof(tmp_averageconsumption)); + if (raw_averageconsumption != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_averageconsumption(), target); + } + + // float ConsumptionSinceStart = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_consumptionsincestart = this->_internal_consumptionsincestart(); + ::uint32_t raw_consumptionsincestart; + memcpy(&raw_consumptionsincestart, &tmp_consumptionsincestart, sizeof(tmp_consumptionsincestart)); + if (raw_consumptionsincestart != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 9, this->_internal_consumptionsincestart(), target); + } + + // uint32 TimeSinceStart = 10; + if (this->_internal_timesincestart() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 10, this->_internal_timesincestart(), target); + } + + // bool IsEngineStopStartEnabled = 11; + if (this->_internal_isenginestopstartenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 11, this->_internal_isenginestopstartenabled(), target); + } + + // bool IsFuelLevelLow = 12; + if (this->_internal_isfuellevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 12, this->_internal_isfuellevellow(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehiclePowertrainFuelSystem) + return target; +} + +::size_t VehiclePowertrainFuelSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehiclePowertrainFuelSystem) + ::size_t total_size = 0; + + ::uint32_t 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(_impl_.supportedfueltypes_.size()); + for (int i = 0, n = _impl_.supportedfueltypes_.size(); i < n; ++i) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.supportedfueltypes_.Get(i)); + } + + // repeated string SupportedFuel = 2; + total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.supportedfuel_.size()); + for (int i = 0, n = _impl_.supportedfuel_.size(); i < n; ++i) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.supportedfuel_.Get(i)); + } + + // string HybridType = 3; + if (!this->_internal_hybridtype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hybridtype()); + } + + // float TankCapacity = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tankcapacity = this->_internal_tankcapacity(); + ::uint32_t raw_tankcapacity; + memcpy(&raw_tankcapacity, &tmp_tankcapacity, sizeof(tmp_tankcapacity)); + if (raw_tankcapacity != 0) { + total_size += 5; + } + + // uint32 Level = 5; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_level()); + } + + // uint32 Range = 6; + if (this->_internal_range() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_range()); + } + + // float InstantConsumption = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_instantconsumption = this->_internal_instantconsumption(); + ::uint32_t raw_instantconsumption; + memcpy(&raw_instantconsumption, &tmp_instantconsumption, sizeof(tmp_instantconsumption)); + if (raw_instantconsumption != 0) { + total_size += 5; + } + + // float AverageConsumption = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averageconsumption = this->_internal_averageconsumption(); + ::uint32_t raw_averageconsumption; + memcpy(&raw_averageconsumption, &tmp_averageconsumption, sizeof(tmp_averageconsumption)); + if (raw_averageconsumption != 0) { + total_size += 5; + } + + // float ConsumptionSinceStart = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_consumptionsincestart = this->_internal_consumptionsincestart(); + ::uint32_t raw_consumptionsincestart; + memcpy(&raw_consumptionsincestart, &tmp_consumptionsincestart, sizeof(tmp_consumptionsincestart)); + if (raw_consumptionsincestart != 0) { + total_size += 5; + } + + // uint32 TimeSinceStart = 10; + if (this->_internal_timesincestart() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_timesincestart()); + } + + // bool IsEngineStopStartEnabled = 11; + if (this->_internal_isenginestopstartenabled() != 0) { + total_size += 2; + } + + // bool IsFuelLevelLow = 12; + if (this->_internal_isfuellevellow() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehiclePowertrainFuelSystem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehiclePowertrainFuelSystem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehiclePowertrainFuelSystem::GetClassData() const { return &_class_data_; } + + +void VehiclePowertrainFuelSystem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehiclePowertrainFuelSystem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.supportedfueltypes_.MergeFrom(from._impl_.supportedfueltypes_); + _this->_impl_.supportedfuel_.MergeFrom(from._impl_.supportedfuel_); + if (!from._internal_hybridtype().empty()) { + _this->_internal_set_hybridtype(from._internal_hybridtype()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tankcapacity = from._internal_tankcapacity(); + ::uint32_t raw_tankcapacity; + memcpy(&raw_tankcapacity, &tmp_tankcapacity, sizeof(tmp_tankcapacity)); + if (raw_tankcapacity != 0) { + _this->_internal_set_tankcapacity(from._internal_tankcapacity()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + if (from._internal_range() != 0) { + _this->_internal_set_range(from._internal_range()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_instantconsumption = from._internal_instantconsumption(); + ::uint32_t raw_instantconsumption; + memcpy(&raw_instantconsumption, &tmp_instantconsumption, sizeof(tmp_instantconsumption)); + if (raw_instantconsumption != 0) { + _this->_internal_set_instantconsumption(from._internal_instantconsumption()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_averageconsumption = from._internal_averageconsumption(); + ::uint32_t raw_averageconsumption; + memcpy(&raw_averageconsumption, &tmp_averageconsumption, sizeof(tmp_averageconsumption)); + if (raw_averageconsumption != 0) { + _this->_internal_set_averageconsumption(from._internal_averageconsumption()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_consumptionsincestart = from._internal_consumptionsincestart(); + ::uint32_t raw_consumptionsincestart; + memcpy(&raw_consumptionsincestart, &tmp_consumptionsincestart, sizeof(tmp_consumptionsincestart)); + if (raw_consumptionsincestart != 0) { + _this->_internal_set_consumptionsincestart(from._internal_consumptionsincestart()); + } + if (from._internal_timesincestart() != 0) { + _this->_internal_set_timesincestart(from._internal_timesincestart()); + } + if (from._internal_isenginestopstartenabled() != 0) { + _this->_internal_set_isenginestopstartenabled(from._internal_isenginestopstartenabled()); + } + if (from._internal_isfuellevellow() != 0) { + _this->_internal_set_isfuellevellow(from._internal_isfuellevellow()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehiclePowertrainFuelSystem::CopyFrom(const VehiclePowertrainFuelSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehiclePowertrainFuelSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainFuelSystem::IsInitialized() const { + return true; +} + +void VehiclePowertrainFuelSystem::InternalSwap(VehiclePowertrainFuelSystem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.supportedfueltypes_.InternalSwap(&other->_impl_.supportedfueltypes_); + _impl_.supportedfuel_.InternalSwap(&other->_impl_.supportedfuel_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.hybridtype_, lhs_arena, + &other->_impl_.hybridtype_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehiclePowertrainFuelSystem, _impl_.isfuellevellow_) + + sizeof(VehiclePowertrainFuelSystem::_impl_.isfuellevellow_) + - PROTOBUF_FIELD_OFFSET(VehiclePowertrainFuelSystem, _impl_.tankcapacity_)>( + reinterpret_cast(&_impl_.tankcapacity_), + reinterpret_cast(&other->_impl_.tankcapacity_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainFuelSystem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[25]); +} +// =================================================================== + +class VehicleBody::_Internal { + public: + static const ::vss::VehicleBodyHood& hood(const VehicleBody* msg); + static const ::vss::VehicleBodyTrunk& trunk(const VehicleBody* msg); + static const ::vss::VehicleBodyHorn& horn(const VehicleBody* msg); + static const ::vss::VehicleBodyRaindetection& raindetection(const VehicleBody* msg); + static const ::vss::VehicleBodyWindshield& windshield(const VehicleBody* msg); + static const ::vss::VehicleBodyLights& lights(const VehicleBody* msg); + static const ::vss::VehicleBodyMirrors& mirrors(const VehicleBody* msg); +}; + +const ::vss::VehicleBodyHood& +VehicleBody::_Internal::hood(const VehicleBody* msg) { + return *msg->_impl_.hood_; +} +const ::vss::VehicleBodyTrunk& +VehicleBody::_Internal::trunk(const VehicleBody* msg) { + return *msg->_impl_.trunk_; +} +const ::vss::VehicleBodyHorn& +VehicleBody::_Internal::horn(const VehicleBody* msg) { + return *msg->_impl_.horn_; +} +const ::vss::VehicleBodyRaindetection& +VehicleBody::_Internal::raindetection(const VehicleBody* msg) { + return *msg->_impl_.raindetection_; +} +const ::vss::VehicleBodyWindshield& +VehicleBody::_Internal::windshield(const VehicleBody* msg) { + return *msg->_impl_.windshield_; +} +const ::vss::VehicleBodyLights& +VehicleBody::_Internal::lights(const VehicleBody* msg) { + return *msg->_impl_.lights_; +} +const ::vss::VehicleBodyMirrors& +VehicleBody::_Internal::mirrors(const VehicleBody* msg) { + return *msg->_impl_.mirrors_; +} +VehicleBody::VehicleBody(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBody) +} +VehicleBody::VehicleBody(const VehicleBody& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBody* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.bodytype_) {} + + , decltype(_impl_.refuelposition_) {} + + , decltype(_impl_.hood_){nullptr} + , decltype(_impl_.trunk_){nullptr} + , decltype(_impl_.horn_){nullptr} + , decltype(_impl_.raindetection_){nullptr} + , decltype(_impl_.windshield_){nullptr} + , decltype(_impl_.lights_){nullptr} + , decltype(_impl_.mirrors_){nullptr} + , decltype(_impl_.rearmainspoilerposition_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.bodytype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bodytype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_bodytype().empty()) { + _this->_impl_.bodytype_.Set(from._internal_bodytype(), _this->GetArenaForAllocation()); + } + _impl_.refuelposition_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.refuelposition_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_refuelposition().empty()) { + _this->_impl_.refuelposition_.Set(from._internal_refuelposition(), _this->GetArenaForAllocation()); + } + if (from._internal_has_hood()) { + _this->_impl_.hood_ = new ::vss::VehicleBodyHood(*from._impl_.hood_); + } + if (from._internal_has_trunk()) { + _this->_impl_.trunk_ = new ::vss::VehicleBodyTrunk(*from._impl_.trunk_); + } + if (from._internal_has_horn()) { + _this->_impl_.horn_ = new ::vss::VehicleBodyHorn(*from._impl_.horn_); + } + if (from._internal_has_raindetection()) { + _this->_impl_.raindetection_ = new ::vss::VehicleBodyRaindetection(*from._impl_.raindetection_); + } + if (from._internal_has_windshield()) { + _this->_impl_.windshield_ = new ::vss::VehicleBodyWindshield(*from._impl_.windshield_); + } + if (from._internal_has_lights()) { + _this->_impl_.lights_ = new ::vss::VehicleBodyLights(*from._impl_.lights_); + } + if (from._internal_has_mirrors()) { + _this->_impl_.mirrors_ = new ::vss::VehicleBodyMirrors(*from._impl_.mirrors_); + } + _this->_impl_.rearmainspoilerposition_ = from._impl_.rearmainspoilerposition_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleBody) +} + +inline void VehicleBody::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.bodytype_) {} + + , decltype(_impl_.refuelposition_) {} + + , decltype(_impl_.hood_){nullptr} + , decltype(_impl_.trunk_){nullptr} + , decltype(_impl_.horn_){nullptr} + , decltype(_impl_.raindetection_){nullptr} + , decltype(_impl_.windshield_){nullptr} + , decltype(_impl_.lights_){nullptr} + , decltype(_impl_.mirrors_){nullptr} + , decltype(_impl_.rearmainspoilerposition_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.bodytype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.bodytype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.refuelposition_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.refuelposition_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBody::~VehicleBody() { + // @@protoc_insertion_point(destructor:vss.VehicleBody) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBody::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.bodytype_.Destroy(); + _impl_.refuelposition_.Destroy(); + if (this != internal_default_instance()) delete _impl_.hood_; + if (this != internal_default_instance()) delete _impl_.trunk_; + if (this != internal_default_instance()) delete _impl_.horn_; + if (this != internal_default_instance()) delete _impl_.raindetection_; + if (this != internal_default_instance()) delete _impl_.windshield_; + if (this != internal_default_instance()) delete _impl_.lights_; + if (this != internal_default_instance()) delete _impl_.mirrors_; +} + +void VehicleBody::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBody::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBody) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.bodytype_.ClearToEmpty(); + _impl_.refuelposition_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.hood_ != nullptr) { + delete _impl_.hood_; + } + _impl_.hood_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.trunk_ != nullptr) { + delete _impl_.trunk_; + } + _impl_.trunk_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.horn_ != nullptr) { + delete _impl_.horn_; + } + _impl_.horn_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.raindetection_ != nullptr) { + delete _impl_.raindetection_; + } + _impl_.raindetection_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.windshield_ != nullptr) { + delete _impl_.windshield_; + } + _impl_.windshield_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.lights_ != nullptr) { + delete _impl_.lights_; + } + _impl_.lights_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.mirrors_ != nullptr) { + delete _impl_.mirrors_; + } + _impl_.mirrors_ = nullptr; + _impl_.rearmainspoilerposition_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string BodyType = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_bodytype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBody.BodyType")); + } else { + goto handle_unusual; + } + continue; + // string RefuelPosition = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_refuelposition(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBody.RefuelPosition")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyHood Hood = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_hood(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyTrunk Trunk = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_trunk(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyHorn Horn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_horn(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyRaindetection Raindetection = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_raindetection(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshield Windshield = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_windshield(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLights Lights = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_lights(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyMirrors Mirrors = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 85)) { + _impl_.rearmainspoilerposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBody::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBody) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string BodyType = 1; + if (!this->_internal_bodytype().empty()) { + const std::string& _s = this->_internal_bodytype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBody.BodyType"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string RefuelPosition = 2; + if (!this->_internal_refuelposition().empty()) { + const std::string& _s = this->_internal_refuelposition(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBody.RefuelPosition"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .vss.VehicleBodyHood Hood = 3; + if (this->_internal_has_hood()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::hood(this), + _Internal::hood(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyTrunk Trunk = 4; + if (this->_internal_has_trunk()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::trunk(this), + _Internal::trunk(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyHorn Horn = 5; + if (this->_internal_has_horn()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::horn(this), + _Internal::horn(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyRaindetection Raindetection = 6; + if (this->_internal_has_raindetection()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::raindetection(this), + _Internal::raindetection(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyWindshield Windshield = 7; + if (this->_internal_has_windshield()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::windshield(this), + _Internal::windshield(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLights Lights = 8; + if (this->_internal_has_lights()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::lights(this), + _Internal::lights(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyMirrors Mirrors = 9; + if (this->_internal_has_mirrors()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::mirrors(this), + _Internal::mirrors(this).GetCachedSize(), target, stream); + } + + // float RearMainSpoilerPosition = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_rearmainspoilerposition = this->_internal_rearmainspoilerposition(); + ::uint32_t raw_rearmainspoilerposition; + memcpy(&raw_rearmainspoilerposition, &tmp_rearmainspoilerposition, sizeof(tmp_rearmainspoilerposition)); + if (raw_rearmainspoilerposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 10, this->_internal_rearmainspoilerposition(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBody) + return target; +} + +::size_t VehicleBody::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBody) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string BodyType = 1; + if (!this->_internal_bodytype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_bodytype()); + } + + // string RefuelPosition = 2; + if (!this->_internal_refuelposition().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_refuelposition()); + } + + // .vss.VehicleBodyHood Hood = 3; + if (this->_internal_has_hood()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.hood_); + } + + // .vss.VehicleBodyTrunk Trunk = 4; + if (this->_internal_has_trunk()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.trunk_); + } + + // .vss.VehicleBodyHorn Horn = 5; + if (this->_internal_has_horn()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.horn_); + } + + // .vss.VehicleBodyRaindetection Raindetection = 6; + if (this->_internal_has_raindetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.raindetection_); + } + + // .vss.VehicleBodyWindshield Windshield = 7; + if (this->_internal_has_windshield()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.windshield_); + } + + // .vss.VehicleBodyLights Lights = 8; + if (this->_internal_has_lights()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lights_); + } + + // .vss.VehicleBodyMirrors Mirrors = 9; + if (this->_internal_has_mirrors()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.mirrors_); + } + + // float RearMainSpoilerPosition = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_rearmainspoilerposition = this->_internal_rearmainspoilerposition(); + ::uint32_t raw_rearmainspoilerposition; + memcpy(&raw_rearmainspoilerposition, &tmp_rearmainspoilerposition, sizeof(tmp_rearmainspoilerposition)); + if (raw_rearmainspoilerposition != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBody::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBody::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBody::GetClassData() const { return &_class_data_; } + + +void VehicleBody::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBody) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_bodytype().empty()) { + _this->_internal_set_bodytype(from._internal_bodytype()); + } + if (!from._internal_refuelposition().empty()) { + _this->_internal_set_refuelposition(from._internal_refuelposition()); + } + if (from._internal_has_hood()) { + _this->_internal_mutable_hood()->::vss::VehicleBodyHood::MergeFrom( + from._internal_hood()); + } + if (from._internal_has_trunk()) { + _this->_internal_mutable_trunk()->::vss::VehicleBodyTrunk::MergeFrom( + from._internal_trunk()); + } + if (from._internal_has_horn()) { + _this->_internal_mutable_horn()->::vss::VehicleBodyHorn::MergeFrom( + from._internal_horn()); + } + if (from._internal_has_raindetection()) { + _this->_internal_mutable_raindetection()->::vss::VehicleBodyRaindetection::MergeFrom( + from._internal_raindetection()); + } + if (from._internal_has_windshield()) { + _this->_internal_mutable_windshield()->::vss::VehicleBodyWindshield::MergeFrom( + from._internal_windshield()); + } + if (from._internal_has_lights()) { + _this->_internal_mutable_lights()->::vss::VehicleBodyLights::MergeFrom( + from._internal_lights()); + } + if (from._internal_has_mirrors()) { + _this->_internal_mutable_mirrors()->::vss::VehicleBodyMirrors::MergeFrom( + from._internal_mirrors()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_rearmainspoilerposition = from._internal_rearmainspoilerposition(); + ::uint32_t raw_rearmainspoilerposition; + memcpy(&raw_rearmainspoilerposition, &tmp_rearmainspoilerposition, sizeof(tmp_rearmainspoilerposition)); + if (raw_rearmainspoilerposition != 0) { + _this->_internal_set_rearmainspoilerposition(from._internal_rearmainspoilerposition()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBody::CopyFrom(const VehicleBody& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBody) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBody::IsInitialized() const { + return true; +} + +void VehicleBody::InternalSwap(VehicleBody* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bodytype_, lhs_arena, + &other->_impl_.bodytype_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.refuelposition_, lhs_arena, + &other->_impl_.refuelposition_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBody, _impl_.rearmainspoilerposition_) + + sizeof(VehicleBody::_impl_.rearmainspoilerposition_) + - PROTOBUF_FIELD_OFFSET(VehicleBody, _impl_.hood_)>( + reinterpret_cast(&_impl_.hood_), + reinterpret_cast(&other->_impl_.hood_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBody::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[26]); +} +// =================================================================== + +class VehicleBodyHood::_Internal { + public: +}; + +VehicleBodyHood::VehicleBodyHood(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyHood) +} +VehicleBodyHood::VehicleBodyHood(const VehicleBodyHood& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyHood) +} + +inline void VehicleBodyHood::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isopen_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyHood::~VehicleBodyHood() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyHood) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyHood::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyHood::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyHood::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyHood) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isopen_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyHood::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyHood::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyHood) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyHood) + return target; +} + +::size_t VehicleBodyHood::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyHood) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyHood::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyHood::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyHood::GetClassData() const { return &_class_data_; } + + +void VehicleBodyHood::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyHood) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyHood::CopyFrom(const VehicleBodyHood& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyHood) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyHood::IsInitialized() const { + return true; +} + +void VehicleBodyHood::InternalSwap(VehicleBodyHood* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isopen_, other->_impl_.isopen_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyHood::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[27]); +} +// =================================================================== + +class VehicleBodyTrunk::_Internal { + public: + static const ::vss::VehicleBodyTrunkFront& front(const VehicleBodyTrunk* msg); + static const ::vss::VehicleBodyTrunkRear& rear(const VehicleBodyTrunk* msg); +}; + +const ::vss::VehicleBodyTrunkFront& +VehicleBodyTrunk::_Internal::front(const VehicleBodyTrunk* msg) { + return *msg->_impl_.front_; +} +const ::vss::VehicleBodyTrunkRear& +VehicleBodyTrunk::_Internal::rear(const VehicleBodyTrunk* msg) { + return *msg->_impl_.rear_; +} +VehicleBodyTrunk::VehicleBodyTrunk(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyTrunk) +} +VehicleBodyTrunk::VehicleBodyTrunk(const VehicleBodyTrunk& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyTrunk* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.front_){nullptr} + , decltype(_impl_.rear_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_front()) { + _this->_impl_.front_ = new ::vss::VehicleBodyTrunkFront(*from._impl_.front_); + } + if (from._internal_has_rear()) { + _this->_impl_.rear_ = new ::vss::VehicleBodyTrunkRear(*from._impl_.rear_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyTrunk) +} + +inline void VehicleBodyTrunk::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.front_){nullptr} + , decltype(_impl_.rear_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyTrunk::~VehicleBodyTrunk() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyTrunk) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyTrunk::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.front_; + if (this != internal_default_instance()) delete _impl_.rear_; +} + +void VehicleBodyTrunk::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyTrunk::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyTrunk) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.front_ != nullptr) { + delete _impl_.front_; + } + _impl_.front_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.rear_ != nullptr) { + delete _impl_.rear_; + } + _impl_.rear_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyTrunk::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyTrunkFront Front = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyTrunkRear Rear = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyTrunk::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyTrunk) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyTrunkFront Front = 1; + if (this->_internal_has_front()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::front(this), + _Internal::front(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyTrunkRear Rear = 2; + if (this->_internal_has_rear()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::rear(this), + _Internal::rear(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyTrunk) + return target; +} + +::size_t VehicleBodyTrunk::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyTrunk) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyTrunkFront Front = 1; + if (this->_internal_has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.front_); + } + + // .vss.VehicleBodyTrunkRear Rear = 2; + if (this->_internal_has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.rear_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyTrunk::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyTrunk::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyTrunk::GetClassData() const { return &_class_data_; } + + +void VehicleBodyTrunk::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyTrunk) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_front()) { + _this->_internal_mutable_front()->::vss::VehicleBodyTrunkFront::MergeFrom( + from._internal_front()); + } + if (from._internal_has_rear()) { + _this->_internal_mutable_rear()->::vss::VehicleBodyTrunkRear::MergeFrom( + from._internal_rear()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyTrunk::CopyFrom(const VehicleBodyTrunk& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyTrunk) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunk::IsInitialized() const { + return true; +} + +void VehicleBodyTrunk::InternalSwap(VehicleBodyTrunk* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyTrunk, _impl_.rear_) + + sizeof(VehicleBodyTrunk::_impl_.rear_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyTrunk, _impl_.front_)>( + reinterpret_cast(&_impl_.front_), + reinterpret_cast(&other->_impl_.front_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunk::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[28]); +} +// =================================================================== + +class VehicleBodyTrunkFront::_Internal { + public: +}; + +VehicleBodyTrunkFront::VehicleBodyTrunkFront(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyTrunkFront) +} +VehicleBodyTrunkFront::VehicleBodyTrunkFront(const VehicleBodyTrunkFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyTrunkFront) +} + +inline void VehicleBodyTrunkFront::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyTrunkFront::~VehicleBodyTrunkFront() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyTrunkFront) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyTrunkFront::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyTrunkFront::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyTrunkFront::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyTrunkFront) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islocked_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.islocked_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyTrunkFront::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyTrunkFront::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyTrunkFront) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyTrunkFront) + return target; +} + +::size_t VehicleBodyTrunkFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyTrunkFront) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyTrunkFront::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyTrunkFront::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyTrunkFront::GetClassData() const { return &_class_data_; } + + +void VehicleBodyTrunkFront::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyTrunkFront) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyTrunkFront::CopyFrom(const VehicleBodyTrunkFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyTrunkFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunkFront::IsInitialized() const { + return true; +} + +void VehicleBodyTrunkFront::InternalSwap(VehicleBodyTrunkFront* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyTrunkFront, _impl_.islocked_) + + sizeof(VehicleBodyTrunkFront::_impl_.islocked_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyTrunkFront, _impl_.isopen_)>( + reinterpret_cast(&_impl_.isopen_), + reinterpret_cast(&other->_impl_.isopen_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunkFront::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[29]); +} +// =================================================================== + +class VehicleBodyTrunkRear::_Internal { + public: +}; + +VehicleBodyTrunkRear::VehicleBodyTrunkRear(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyTrunkRear) +} +VehicleBodyTrunkRear::VehicleBodyTrunkRear(const VehicleBodyTrunkRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyTrunkRear) +} + +inline void VehicleBodyTrunkRear::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyTrunkRear::~VehicleBodyTrunkRear() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyTrunkRear) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyTrunkRear::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyTrunkRear::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyTrunkRear::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyTrunkRear) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islocked_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.islocked_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyTrunkRear::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyTrunkRear::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyTrunkRear) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyTrunkRear) + return target; +} + +::size_t VehicleBodyTrunkRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyTrunkRear) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyTrunkRear::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyTrunkRear::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyTrunkRear::GetClassData() const { return &_class_data_; } + + +void VehicleBodyTrunkRear::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyTrunkRear) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyTrunkRear::CopyFrom(const VehicleBodyTrunkRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyTrunkRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunkRear::IsInitialized() const { + return true; +} + +void VehicleBodyTrunkRear::InternalSwap(VehicleBodyTrunkRear* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyTrunkRear, _impl_.islocked_) + + sizeof(VehicleBodyTrunkRear::_impl_.islocked_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyTrunkRear, _impl_.isopen_)>( + reinterpret_cast(&_impl_.isopen_), + reinterpret_cast(&other->_impl_.isopen_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunkRear::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[30]); +} +// =================================================================== + +class VehicleBodyHorn::_Internal { + public: +}; + +VehicleBodyHorn::VehicleBodyHorn(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyHorn) +} +VehicleBodyHorn::VehicleBodyHorn(const VehicleBodyHorn& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyHorn) +} + +inline void VehicleBodyHorn::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isactive_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyHorn::~VehicleBodyHorn() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyHorn) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyHorn::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyHorn::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyHorn::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyHorn) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isactive_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyHorn::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsActive = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyHorn::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyHorn) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsActive = 1; + if (this->_internal_isactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isactive(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyHorn) + return target; +} + +::size_t VehicleBodyHorn::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyHorn) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsActive = 1; + if (this->_internal_isactive() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyHorn::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyHorn::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyHorn::GetClassData() const { return &_class_data_; } + + +void VehicleBodyHorn::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyHorn) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isactive() != 0) { + _this->_internal_set_isactive(from._internal_isactive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyHorn::CopyFrom(const VehicleBodyHorn& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyHorn) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyHorn::IsInitialized() const { + return true; +} + +void VehicleBodyHorn::InternalSwap(VehicleBodyHorn* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isactive_, other->_impl_.isactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyHorn::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[31]); +} +// =================================================================== + +class VehicleBodyRaindetection::_Internal { + public: +}; + +VehicleBodyRaindetection::VehicleBodyRaindetection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyRaindetection) +} +VehicleBodyRaindetection::VehicleBodyRaindetection(const VehicleBodyRaindetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyRaindetection) +} + +inline void VehicleBodyRaindetection::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.intensity_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyRaindetection::~VehicleBodyRaindetection() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyRaindetection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyRaindetection::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyRaindetection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyRaindetection::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyRaindetection) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.intensity_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyRaindetection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Intensity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyRaindetection::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyRaindetection) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Intensity = 1; + if (this->_internal_intensity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_intensity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyRaindetection) + return target; +} + +::size_t VehicleBodyRaindetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyRaindetection) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Intensity = 1; + if (this->_internal_intensity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_intensity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyRaindetection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyRaindetection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyRaindetection::GetClassData() const { return &_class_data_; } + + +void VehicleBodyRaindetection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyRaindetection) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_intensity() != 0) { + _this->_internal_set_intensity(from._internal_intensity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyRaindetection::CopyFrom(const VehicleBodyRaindetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyRaindetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyRaindetection::IsInitialized() const { + return true; +} + +void VehicleBodyRaindetection::InternalSwap(VehicleBodyRaindetection* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.intensity_, other->_impl_.intensity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyRaindetection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[32]); +} +// =================================================================== + +class VehicleBodyWindshield::_Internal { + public: + static const ::vss::VehicleBodyWindshieldFront& front(const VehicleBodyWindshield* msg); + static const ::vss::VehicleBodyWindshieldRear& rear(const VehicleBodyWindshield* msg); +}; + +const ::vss::VehicleBodyWindshieldFront& +VehicleBodyWindshield::_Internal::front(const VehicleBodyWindshield* msg) { + return *msg->_impl_.front_; +} +const ::vss::VehicleBodyWindshieldRear& +VehicleBodyWindshield::_Internal::rear(const VehicleBodyWindshield* msg) { + return *msg->_impl_.rear_; +} +VehicleBodyWindshield::VehicleBodyWindshield(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshield) +} +VehicleBodyWindshield::VehicleBodyWindshield(const VehicleBodyWindshield& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshield* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.front_){nullptr} + , decltype(_impl_.rear_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_front()) { + _this->_impl_.front_ = new ::vss::VehicleBodyWindshieldFront(*from._impl_.front_); + } + if (from._internal_has_rear()) { + _this->_impl_.rear_ = new ::vss::VehicleBodyWindshieldRear(*from._impl_.rear_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshield) +} + +inline void VehicleBodyWindshield::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.front_){nullptr} + , decltype(_impl_.rear_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyWindshield::~VehicleBodyWindshield() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshield) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshield::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.front_; + if (this != internal_default_instance()) delete _impl_.rear_; +} + +void VehicleBodyWindshield::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshield::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshield) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.front_ != nullptr) { + delete _impl_.front_; + } + _impl_.front_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.rear_ != nullptr) { + delete _impl_.rear_; + } + _impl_.rear_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshield::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyWindshieldFront Front = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshieldRear Rear = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshield::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshield) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldFront Front = 1; + if (this->_internal_has_front()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::front(this), + _Internal::front(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyWindshieldRear Rear = 2; + if (this->_internal_has_rear()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::rear(this), + _Internal::rear(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshield) + return target; +} + +::size_t VehicleBodyWindshield::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshield) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldFront Front = 1; + if (this->_internal_has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.front_); + } + + // .vss.VehicleBodyWindshieldRear Rear = 2; + if (this->_internal_has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.rear_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshield::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshield::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshield::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshield::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshield) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_front()) { + _this->_internal_mutable_front()->::vss::VehicleBodyWindshieldFront::MergeFrom( + from._internal_front()); + } + if (from._internal_has_rear()) { + _this->_internal_mutable_rear()->::vss::VehicleBodyWindshieldRear::MergeFrom( + from._internal_rear()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshield::CopyFrom(const VehicleBodyWindshield& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshield) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshield::IsInitialized() const { + return true; +} + +void VehicleBodyWindshield::InternalSwap(VehicleBodyWindshield* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshield, _impl_.rear_) + + sizeof(VehicleBodyWindshield::_impl_.rear_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshield, _impl_.front_)>( + reinterpret_cast(&_impl_.front_), + reinterpret_cast(&other->_impl_.front_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshield::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[33]); +} +// =================================================================== + +class VehicleBodyWindshieldFront::_Internal { + public: + static const ::vss::VehicleBodyWindshieldFrontWiping& wiping(const VehicleBodyWindshieldFront* msg); + static const ::vss::VehicleBodyWindshieldFrontWasherFluid& washerfluid(const VehicleBodyWindshieldFront* msg); +}; + +const ::vss::VehicleBodyWindshieldFrontWiping& +VehicleBodyWindshieldFront::_Internal::wiping(const VehicleBodyWindshieldFront* msg) { + return *msg->_impl_.wiping_; +} +const ::vss::VehicleBodyWindshieldFrontWasherFluid& +VehicleBodyWindshieldFront::_Internal::washerfluid(const VehicleBodyWindshieldFront* msg) { + return *msg->_impl_.washerfluid_; +} +VehicleBodyWindshieldFront::VehicleBodyWindshieldFront(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldFront) +} +VehicleBodyWindshieldFront::VehicleBodyWindshieldFront(const VehicleBodyWindshieldFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldFront* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.wiping_){nullptr} + , decltype(_impl_.washerfluid_){nullptr} + , decltype(_impl_.isheatingon_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_wiping()) { + _this->_impl_.wiping_ = new ::vss::VehicleBodyWindshieldFrontWiping(*from._impl_.wiping_); + } + if (from._internal_has_washerfluid()) { + _this->_impl_.washerfluid_ = new ::vss::VehicleBodyWindshieldFrontWasherFluid(*from._impl_.washerfluid_); + } + _this->_impl_.isheatingon_ = from._impl_.isheatingon_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldFront) +} + +inline void VehicleBodyWindshieldFront::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.wiping_){nullptr} + , decltype(_impl_.washerfluid_){nullptr} + , decltype(_impl_.isheatingon_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyWindshieldFront::~VehicleBodyWindshieldFront() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldFront) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldFront::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.wiping_; + if (this != internal_default_instance()) delete _impl_.washerfluid_; +} + +void VehicleBodyWindshieldFront::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldFront::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldFront) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.wiping_ != nullptr) { + delete _impl_.wiping_; + } + _impl_.wiping_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.washerfluid_ != nullptr) { + delete _impl_.washerfluid_; + } + _impl_.washerfluid_ = nullptr; + _impl_.isheatingon_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldFront::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyWindshieldFrontWiping Wiping = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 16)) { + _impl_.isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_washerfluid(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldFront::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldFront) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldFrontWiping Wiping = 1; + if (this->_internal_has_wiping()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::wiping(this), + _Internal::wiping(this).GetCachedSize(), target, stream); + } + + // bool IsHeatingOn = 2; + if (this->_internal_isheatingon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isheatingon(), target); + } + + // .vss.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + if (this->_internal_has_washerfluid()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::washerfluid(this), + _Internal::washerfluid(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldFront) + return target; +} + +::size_t VehicleBodyWindshieldFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldFront) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldFrontWiping Wiping = 1; + if (this->_internal_has_wiping()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.wiping_); + } + + // .vss.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + if (this->_internal_has_washerfluid()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.washerfluid_); + } + + // bool IsHeatingOn = 2; + if (this->_internal_isheatingon() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldFront::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldFront::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldFront::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldFront::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldFront) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_wiping()) { + _this->_internal_mutable_wiping()->::vss::VehicleBodyWindshieldFrontWiping::MergeFrom( + from._internal_wiping()); + } + if (from._internal_has_washerfluid()) { + _this->_internal_mutable_washerfluid()->::vss::VehicleBodyWindshieldFrontWasherFluid::MergeFrom( + from._internal_washerfluid()); + } + if (from._internal_isheatingon() != 0) { + _this->_internal_set_isheatingon(from._internal_isheatingon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldFront::CopyFrom(const VehicleBodyWindshieldFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFront::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFront::InternalSwap(VehicleBodyWindshieldFront* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFront, _impl_.isheatingon_) + + sizeof(VehicleBodyWindshieldFront::_impl_.isheatingon_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFront, _impl_.wiping_)>( + reinterpret_cast(&_impl_.wiping_), + reinterpret_cast(&other->_impl_.wiping_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFront::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[34]); +} +// =================================================================== + +class VehicleBodyWindshieldFrontWiping::_Internal { + public: + static const ::vss::VehicleBodyWindshieldFrontWipingSystem& system(const VehicleBodyWindshieldFrontWiping* msg); +}; + +const ::vss::VehicleBodyWindshieldFrontWipingSystem& +VehicleBodyWindshieldFrontWiping::_Internal::system(const VehicleBodyWindshieldFrontWiping* msg) { + return *msg->_impl_.system_; +} +VehicleBodyWindshieldFrontWiping::VehicleBodyWindshieldFrontWiping(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldFrontWiping) +} +VehicleBodyWindshieldFrontWiping::VehicleBodyWindshieldFrontWiping(const VehicleBodyWindshieldFrontWiping& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldFrontWiping* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.system_){nullptr} + , decltype(_impl_.intensity_) {} + + , decltype(_impl_.wiperwear_) {} + + , decltype(_impl_.iswipersworn_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + if (from._internal_has_system()) { + _this->_impl_.system_ = new ::vss::VehicleBodyWindshieldFrontWipingSystem(*from._impl_.system_); + } + ::memcpy(&_impl_.intensity_, &from._impl_.intensity_, + static_cast<::size_t>(reinterpret_cast(&_impl_.iswipersworn_) - + reinterpret_cast(&_impl_.intensity_)) + sizeof(_impl_.iswipersworn_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldFrontWiping) +} + +inline void VehicleBodyWindshieldFrontWiping::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.system_){nullptr} + , decltype(_impl_.intensity_) { 0u } + + , decltype(_impl_.wiperwear_) { 0u } + + , decltype(_impl_.iswipersworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyWindshieldFrontWiping::~VehicleBodyWindshieldFrontWiping() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldFrontWiping) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldFrontWiping::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mode_.Destroy(); + if (this != internal_default_instance()) delete _impl_.system_; +} + +void VehicleBodyWindshieldFrontWiping::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldFrontWiping::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldFrontWiping) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.system_ != nullptr) { + delete _impl_.system_; + } + _impl_.system_ = nullptr; + ::memset(&_impl_.intensity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.iswipersworn_) - + reinterpret_cast(&_impl_.intensity_)) + sizeof(_impl_.iswipersworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldFrontWiping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyWindshieldFrontWiping.Mode")); + } else { + goto handle_unusual; + } + continue; + // uint32 Intensity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshieldFrontWipingSystem System = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.wiperwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWipersWorn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.iswipersworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldFrontWiping::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldFrontWiping) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyWindshieldFrontWiping.Mode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Intensity = 2; + if (this->_internal_intensity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_intensity(), target); + } + + // .vss.VehicleBodyWindshieldFrontWipingSystem System = 3; + if (this->_internal_has_system()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::system(this), + _Internal::system(this).GetCachedSize(), target, stream); + } + + // uint32 WiperWear = 4; + if (this->_internal_wiperwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this->_internal_wiperwear(), target); + } + + // bool IsWipersWorn = 5; + if (this->_internal_iswipersworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_iswipersworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldFrontWiping) + return target; +} + +::size_t VehicleBodyWindshieldFrontWiping::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldFrontWiping) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // .vss.VehicleBodyWindshieldFrontWipingSystem System = 3; + if (this->_internal_has_system()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.system_); + } + + // uint32 Intensity = 2; + if (this->_internal_intensity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_intensity()); + } + + // uint32 WiperWear = 4; + if (this->_internal_wiperwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_wiperwear()); + } + + // bool IsWipersWorn = 5; + if (this->_internal_iswipersworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldFrontWiping::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldFrontWiping::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldFrontWiping::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldFrontWiping::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldFrontWiping) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (from._internal_has_system()) { + _this->_internal_mutable_system()->::vss::VehicleBodyWindshieldFrontWipingSystem::MergeFrom( + from._internal_system()); + } + if (from._internal_intensity() != 0) { + _this->_internal_set_intensity(from._internal_intensity()); + } + if (from._internal_wiperwear() != 0) { + _this->_internal_set_wiperwear(from._internal_wiperwear()); + } + if (from._internal_iswipersworn() != 0) { + _this->_internal_set_iswipersworn(from._internal_iswipersworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldFrontWiping::CopyFrom(const VehicleBodyWindshieldFrontWiping& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldFrontWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWiping::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWiping::InternalSwap(VehicleBodyWindshieldFrontWiping* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWiping, _impl_.iswipersworn_) + + sizeof(VehicleBodyWindshieldFrontWiping::_impl_.iswipersworn_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWiping, _impl_.system_)>( + reinterpret_cast(&_impl_.system_), + reinterpret_cast(&other->_impl_.system_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWiping::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[35]); +} +// =================================================================== + +class VehicleBodyWindshieldFrontWipingSystem::_Internal { + public: +}; + +VehicleBodyWindshieldFrontWipingSystem::VehicleBodyWindshieldFrontWipingSystem(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldFrontWipingSystem) +} +VehicleBodyWindshieldFrontWipingSystem::VehicleBodyWindshieldFrontWipingSystem(const VehicleBodyWindshieldFrontWipingSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldFrontWipingSystem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.frequency_) {} + + , decltype(_impl_.targetposition_) {} + + , decltype(_impl_.actualposition_) {} + + , decltype(_impl_.drivecurrent_) {} + + , decltype(_impl_.iswiping_) {} + + , decltype(_impl_.isendingwipecycle_) {} + + , decltype(_impl_.iswipererror_) {} + + , decltype(_impl_.ispositionreached_) {} + + , decltype(_impl_.isblocked_) {} + + , decltype(_impl_.isoverheated_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.frequency_, &from._impl_.frequency_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isoverheated_) - + reinterpret_cast(&_impl_.frequency_)) + sizeof(_impl_.isoverheated_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldFrontWipingSystem) +} + +inline void VehicleBodyWindshieldFrontWipingSystem::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.frequency_) { 0u } + + , decltype(_impl_.targetposition_) { 0 } + + , decltype(_impl_.actualposition_) { 0 } + + , decltype(_impl_.drivecurrent_) { 0 } + + , decltype(_impl_.iswiping_) { false } + + , decltype(_impl_.isendingwipecycle_) { false } + + , decltype(_impl_.iswipererror_) { false } + + , decltype(_impl_.ispositionreached_) { false } + + , decltype(_impl_.isblocked_) { false } + + , decltype(_impl_.isoverheated_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyWindshieldFrontWipingSystem::~VehicleBodyWindshieldFrontWipingSystem() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldFrontWipingSystem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldFrontWipingSystem::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mode_.Destroy(); +} + +void VehicleBodyWindshieldFrontWipingSystem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldFrontWipingSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldFrontWipingSystem) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_.ClearToEmpty(); + ::memset(&_impl_.frequency_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isoverheated_) - + reinterpret_cast(&_impl_.frequency_)) + sizeof(_impl_.isoverheated_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldFrontWipingSystem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyWindshieldFrontWipingSystem.Mode")); + } else { + goto handle_unusual; + } + continue; + // uint32 Frequency = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float TargetPosition = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.targetposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ActualPosition = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.actualposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float DriveCurrent = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.drivecurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // bool IsWiping = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.iswiping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEndingWipeCycle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.isendingwipecycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWiperError = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.iswipererror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPositionReached = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.ispositionreached_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBlocked = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.isblocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsOverheated = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.isoverheated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldFrontWipingSystem::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldFrontWipingSystem) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyWindshieldFrontWipingSystem.Mode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Frequency = 2; + if (this->_internal_frequency() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_frequency(), target); + } + + // float TargetPosition = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = this->_internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_targetposition(), target); + } + + // float ActualPosition = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = this->_internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_actualposition(), target); + } + + // float DriveCurrent = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = this->_internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this->_internal_drivecurrent(), target); + } + + // bool IsWiping = 6; + if (this->_internal_iswiping() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_iswiping(), target); + } + + // bool IsEndingWipeCycle = 7; + if (this->_internal_isendingwipecycle() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_isendingwipecycle(), target); + } + + // bool IsWiperError = 8; + if (this->_internal_iswipererror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_iswipererror(), target); + } + + // bool IsPositionReached = 9; + if (this->_internal_ispositionreached() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this->_internal_ispositionreached(), target); + } + + // bool IsBlocked = 10; + if (this->_internal_isblocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 10, this->_internal_isblocked(), target); + } + + // bool IsOverheated = 11; + if (this->_internal_isoverheated() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 11, this->_internal_isoverheated(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldFrontWipingSystem) + return target; +} + +::size_t VehicleBodyWindshieldFrontWipingSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldFrontWipingSystem) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // uint32 Frequency = 2; + if (this->_internal_frequency() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_frequency()); + } + + // float TargetPosition = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = this->_internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + total_size += 5; + } + + // float ActualPosition = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = this->_internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + total_size += 5; + } + + // float DriveCurrent = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = this->_internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + total_size += 5; + } + + // bool IsWiping = 6; + if (this->_internal_iswiping() != 0) { + total_size += 2; + } + + // bool IsEndingWipeCycle = 7; + if (this->_internal_isendingwipecycle() != 0) { + total_size += 2; + } + + // bool IsWiperError = 8; + if (this->_internal_iswipererror() != 0) { + total_size += 2; + } + + // bool IsPositionReached = 9; + if (this->_internal_ispositionreached() != 0) { + total_size += 2; + } + + // bool IsBlocked = 10; + if (this->_internal_isblocked() != 0) { + total_size += 2; + } + + // bool IsOverheated = 11; + if (this->_internal_isoverheated() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldFrontWipingSystem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldFrontWipingSystem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldFrontWipingSystem::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldFrontWipingSystem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldFrontWipingSystem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (from._internal_frequency() != 0) { + _this->_internal_set_frequency(from._internal_frequency()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = from._internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + _this->_internal_set_targetposition(from._internal_targetposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = from._internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + _this->_internal_set_actualposition(from._internal_actualposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = from._internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + _this->_internal_set_drivecurrent(from._internal_drivecurrent()); + } + if (from._internal_iswiping() != 0) { + _this->_internal_set_iswiping(from._internal_iswiping()); + } + if (from._internal_isendingwipecycle() != 0) { + _this->_internal_set_isendingwipecycle(from._internal_isendingwipecycle()); + } + if (from._internal_iswipererror() != 0) { + _this->_internal_set_iswipererror(from._internal_iswipererror()); + } + if (from._internal_ispositionreached() != 0) { + _this->_internal_set_ispositionreached(from._internal_ispositionreached()); + } + if (from._internal_isblocked() != 0) { + _this->_internal_set_isblocked(from._internal_isblocked()); + } + if (from._internal_isoverheated() != 0) { + _this->_internal_set_isoverheated(from._internal_isoverheated()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldFrontWipingSystem::CopyFrom(const VehicleBodyWindshieldFrontWipingSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldFrontWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWipingSystem::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWipingSystem::InternalSwap(VehicleBodyWindshieldFrontWipingSystem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWipingSystem, _impl_.isoverheated_) + + sizeof(VehicleBodyWindshieldFrontWipingSystem::_impl_.isoverheated_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWipingSystem, _impl_.frequency_)>( + reinterpret_cast(&_impl_.frequency_), + reinterpret_cast(&other->_impl_.frequency_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWipingSystem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[36]); +} +// =================================================================== + +class VehicleBodyWindshieldFrontWasherFluid::_Internal { + public: +}; + +VehicleBodyWindshieldFrontWasherFluid::VehicleBodyWindshieldFrontWasherFluid(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldFrontWasherFluid) +} +VehicleBodyWindshieldFrontWasherFluid::VehicleBodyWindshieldFrontWasherFluid(const VehicleBodyWindshieldFrontWasherFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldFrontWasherFluid) +} + +inline void VehicleBodyWindshieldFrontWasherFluid::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.islevellow_) { false } + + , decltype(_impl_.level_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyWindshieldFrontWasherFluid::~VehicleBodyWindshieldFrontWasherFluid() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldFrontWasherFluid) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldFrontWasherFluid::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyWindshieldFrontWasherFluid::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldFrontWasherFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldFrontWasherFluid) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.islevellow_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.islevellow_)) + sizeof(_impl_.level_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldFrontWasherFluid::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsLevelLow = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldFrontWasherFluid::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldFrontWasherFluid) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->_internal_islevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_islevellow(), target); + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldFrontWasherFluid) + return target; +} + +::size_t VehicleBodyWindshieldFrontWasherFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldFrontWasherFluid) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->_internal_islevellow() != 0) { + total_size += 2; + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldFrontWasherFluid::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldFrontWasherFluid::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldFrontWasherFluid::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldFrontWasherFluid::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldFrontWasherFluid) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_islevellow() != 0) { + _this->_internal_set_islevellow(from._internal_islevellow()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldFrontWasherFluid::CopyFrom(const VehicleBodyWindshieldFrontWasherFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldFrontWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWasherFluid::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWasherFluid::InternalSwap(VehicleBodyWindshieldFrontWasherFluid* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWasherFluid, _impl_.level_) + + sizeof(VehicleBodyWindshieldFrontWasherFluid::_impl_.level_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldFrontWasherFluid, _impl_.islevellow_)>( + reinterpret_cast(&_impl_.islevellow_), + reinterpret_cast(&other->_impl_.islevellow_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWasherFluid::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[37]); +} +// =================================================================== + +class VehicleBodyWindshieldRear::_Internal { + public: + static const ::vss::VehicleBodyWindshieldRearWiping& wiping(const VehicleBodyWindshieldRear* msg); + static const ::vss::VehicleBodyWindshieldRearWasherFluid& washerfluid(const VehicleBodyWindshieldRear* msg); +}; + +const ::vss::VehicleBodyWindshieldRearWiping& +VehicleBodyWindshieldRear::_Internal::wiping(const VehicleBodyWindshieldRear* msg) { + return *msg->_impl_.wiping_; +} +const ::vss::VehicleBodyWindshieldRearWasherFluid& +VehicleBodyWindshieldRear::_Internal::washerfluid(const VehicleBodyWindshieldRear* msg) { + return *msg->_impl_.washerfluid_; +} +VehicleBodyWindshieldRear::VehicleBodyWindshieldRear(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldRear) +} +VehicleBodyWindshieldRear::VehicleBodyWindshieldRear(const VehicleBodyWindshieldRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldRear* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.wiping_){nullptr} + , decltype(_impl_.washerfluid_){nullptr} + , decltype(_impl_.isheatingon_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_wiping()) { + _this->_impl_.wiping_ = new ::vss::VehicleBodyWindshieldRearWiping(*from._impl_.wiping_); + } + if (from._internal_has_washerfluid()) { + _this->_impl_.washerfluid_ = new ::vss::VehicleBodyWindshieldRearWasherFluid(*from._impl_.washerfluid_); + } + _this->_impl_.isheatingon_ = from._impl_.isheatingon_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldRear) +} + +inline void VehicleBodyWindshieldRear::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.wiping_){nullptr} + , decltype(_impl_.washerfluid_){nullptr} + , decltype(_impl_.isheatingon_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyWindshieldRear::~VehicleBodyWindshieldRear() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldRear) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldRear::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.wiping_; + if (this != internal_default_instance()) delete _impl_.washerfluid_; +} + +void VehicleBodyWindshieldRear::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldRear::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldRear) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.wiping_ != nullptr) { + delete _impl_.wiping_; + } + _impl_.wiping_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.washerfluid_ != nullptr) { + delete _impl_.washerfluid_; + } + _impl_.washerfluid_ = nullptr; + _impl_.isheatingon_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldRear::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyWindshieldRearWiping Wiping = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 16)) { + _impl_.isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_washerfluid(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldRear::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldRear) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldRearWiping Wiping = 1; + if (this->_internal_has_wiping()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::wiping(this), + _Internal::wiping(this).GetCachedSize(), target, stream); + } + + // bool IsHeatingOn = 2; + if (this->_internal_isheatingon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isheatingon(), target); + } + + // .vss.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + if (this->_internal_has_washerfluid()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::washerfluid(this), + _Internal::washerfluid(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldRear) + return target; +} + +::size_t VehicleBodyWindshieldRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldRear) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyWindshieldRearWiping Wiping = 1; + if (this->_internal_has_wiping()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.wiping_); + } + + // .vss.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + if (this->_internal_has_washerfluid()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.washerfluid_); + } + + // bool IsHeatingOn = 2; + if (this->_internal_isheatingon() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldRear::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldRear::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldRear::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldRear::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldRear) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_wiping()) { + _this->_internal_mutable_wiping()->::vss::VehicleBodyWindshieldRearWiping::MergeFrom( + from._internal_wiping()); + } + if (from._internal_has_washerfluid()) { + _this->_internal_mutable_washerfluid()->::vss::VehicleBodyWindshieldRearWasherFluid::MergeFrom( + from._internal_washerfluid()); + } + if (from._internal_isheatingon() != 0) { + _this->_internal_set_isheatingon(from._internal_isheatingon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldRear::CopyFrom(const VehicleBodyWindshieldRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRear::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRear::InternalSwap(VehicleBodyWindshieldRear* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRear, _impl_.isheatingon_) + + sizeof(VehicleBodyWindshieldRear::_impl_.isheatingon_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRear, _impl_.wiping_)>( + reinterpret_cast(&_impl_.wiping_), + reinterpret_cast(&other->_impl_.wiping_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRear::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[38]); +} +// =================================================================== + +class VehicleBodyWindshieldRearWiping::_Internal { + public: + static const ::vss::VehicleBodyWindshieldRearWipingSystem& system(const VehicleBodyWindshieldRearWiping* msg); +}; + +const ::vss::VehicleBodyWindshieldRearWipingSystem& +VehicleBodyWindshieldRearWiping::_Internal::system(const VehicleBodyWindshieldRearWiping* msg) { + return *msg->_impl_.system_; +} +VehicleBodyWindshieldRearWiping::VehicleBodyWindshieldRearWiping(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldRearWiping) +} +VehicleBodyWindshieldRearWiping::VehicleBodyWindshieldRearWiping(const VehicleBodyWindshieldRearWiping& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldRearWiping* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.system_){nullptr} + , decltype(_impl_.intensity_) {} + + , decltype(_impl_.wiperwear_) {} + + , decltype(_impl_.iswipersworn_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + if (from._internal_has_system()) { + _this->_impl_.system_ = new ::vss::VehicleBodyWindshieldRearWipingSystem(*from._impl_.system_); + } + ::memcpy(&_impl_.intensity_, &from._impl_.intensity_, + static_cast<::size_t>(reinterpret_cast(&_impl_.iswipersworn_) - + reinterpret_cast(&_impl_.intensity_)) + sizeof(_impl_.iswipersworn_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldRearWiping) +} + +inline void VehicleBodyWindshieldRearWiping::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.system_){nullptr} + , decltype(_impl_.intensity_) { 0u } + + , decltype(_impl_.wiperwear_) { 0u } + + , decltype(_impl_.iswipersworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyWindshieldRearWiping::~VehicleBodyWindshieldRearWiping() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldRearWiping) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldRearWiping::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mode_.Destroy(); + if (this != internal_default_instance()) delete _impl_.system_; +} + +void VehicleBodyWindshieldRearWiping::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldRearWiping::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldRearWiping) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.system_ != nullptr) { + delete _impl_.system_; + } + _impl_.system_ = nullptr; + ::memset(&_impl_.intensity_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.iswipersworn_) - + reinterpret_cast(&_impl_.intensity_)) + sizeof(_impl_.iswipersworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldRearWiping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyWindshieldRearWiping.Mode")); + } else { + goto handle_unusual; + } + continue; + // uint32 Intensity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyWindshieldRearWipingSystem System = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.wiperwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWipersWorn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.iswipersworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldRearWiping::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldRearWiping) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyWindshieldRearWiping.Mode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Intensity = 2; + if (this->_internal_intensity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_intensity(), target); + } + + // .vss.VehicleBodyWindshieldRearWipingSystem System = 3; + if (this->_internal_has_system()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::system(this), + _Internal::system(this).GetCachedSize(), target, stream); + } + + // uint32 WiperWear = 4; + if (this->_internal_wiperwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this->_internal_wiperwear(), target); + } + + // bool IsWipersWorn = 5; + if (this->_internal_iswipersworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_iswipersworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldRearWiping) + return target; +} + +::size_t VehicleBodyWindshieldRearWiping::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldRearWiping) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // .vss.VehicleBodyWindshieldRearWipingSystem System = 3; + if (this->_internal_has_system()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.system_); + } + + // uint32 Intensity = 2; + if (this->_internal_intensity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_intensity()); + } + + // uint32 WiperWear = 4; + if (this->_internal_wiperwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_wiperwear()); + } + + // bool IsWipersWorn = 5; + if (this->_internal_iswipersworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldRearWiping::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldRearWiping::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldRearWiping::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldRearWiping::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldRearWiping) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (from._internal_has_system()) { + _this->_internal_mutable_system()->::vss::VehicleBodyWindshieldRearWipingSystem::MergeFrom( + from._internal_system()); + } + if (from._internal_intensity() != 0) { + _this->_internal_set_intensity(from._internal_intensity()); + } + if (from._internal_wiperwear() != 0) { + _this->_internal_set_wiperwear(from._internal_wiperwear()); + } + if (from._internal_iswipersworn() != 0) { + _this->_internal_set_iswipersworn(from._internal_iswipersworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldRearWiping::CopyFrom(const VehicleBodyWindshieldRearWiping& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldRearWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWiping::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWiping::InternalSwap(VehicleBodyWindshieldRearWiping* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWiping, _impl_.iswipersworn_) + + sizeof(VehicleBodyWindshieldRearWiping::_impl_.iswipersworn_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWiping, _impl_.system_)>( + reinterpret_cast(&_impl_.system_), + reinterpret_cast(&other->_impl_.system_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWiping::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[39]); +} +// =================================================================== + +class VehicleBodyWindshieldRearWipingSystem::_Internal { + public: +}; + +VehicleBodyWindshieldRearWipingSystem::VehicleBodyWindshieldRearWipingSystem(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldRearWipingSystem) +} +VehicleBodyWindshieldRearWipingSystem::VehicleBodyWindshieldRearWipingSystem(const VehicleBodyWindshieldRearWipingSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyWindshieldRearWipingSystem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.frequency_) {} + + , decltype(_impl_.targetposition_) {} + + , decltype(_impl_.actualposition_) {} + + , decltype(_impl_.drivecurrent_) {} + + , decltype(_impl_.iswiping_) {} + + , decltype(_impl_.isendingwipecycle_) {} + + , decltype(_impl_.iswipererror_) {} + + , decltype(_impl_.ispositionreached_) {} + + , decltype(_impl_.isblocked_) {} + + , decltype(_impl_.isoverheated_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mode().empty()) { + _this->_impl_.mode_.Set(from._internal_mode(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.frequency_, &from._impl_.frequency_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isoverheated_) - + reinterpret_cast(&_impl_.frequency_)) + sizeof(_impl_.isoverheated_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldRearWipingSystem) +} + +inline void VehicleBodyWindshieldRearWipingSystem::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mode_) {} + + , decltype(_impl_.frequency_) { 0u } + + , decltype(_impl_.targetposition_) { 0 } + + , decltype(_impl_.actualposition_) { 0 } + + , decltype(_impl_.drivecurrent_) { 0 } + + , decltype(_impl_.iswiping_) { false } + + , decltype(_impl_.isendingwipecycle_) { false } + + , decltype(_impl_.iswipererror_) { false } + + , decltype(_impl_.ispositionreached_) { false } + + , decltype(_impl_.isblocked_) { false } + + , decltype(_impl_.isoverheated_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyWindshieldRearWipingSystem::~VehicleBodyWindshieldRearWipingSystem() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldRearWipingSystem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldRearWipingSystem::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mode_.Destroy(); +} + +void VehicleBodyWindshieldRearWipingSystem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldRearWipingSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldRearWipingSystem) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_.ClearToEmpty(); + ::memset(&_impl_.frequency_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isoverheated_) - + reinterpret_cast(&_impl_.frequency_)) + sizeof(_impl_.isoverheated_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldRearWipingSystem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_mode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyWindshieldRearWipingSystem.Mode")); + } else { + goto handle_unusual; + } + continue; + // uint32 Frequency = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float TargetPosition = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.targetposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ActualPosition = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.actualposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float DriveCurrent = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.drivecurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // bool IsWiping = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.iswiping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEndingWipeCycle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.isendingwipecycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWiperError = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.iswipererror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPositionReached = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) { + _impl_.ispositionreached_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBlocked = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) { + _impl_.isblocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsOverheated = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.isoverheated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldRearWipingSystem::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldRearWipingSystem) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + const std::string& _s = this->_internal_mode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyWindshieldRearWipingSystem.Mode"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Frequency = 2; + if (this->_internal_frequency() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_frequency(), target); + } + + // float TargetPosition = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = this->_internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_targetposition(), target); + } + + // float ActualPosition = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = this->_internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_actualposition(), target); + } + + // float DriveCurrent = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = this->_internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this->_internal_drivecurrent(), target); + } + + // bool IsWiping = 6; + if (this->_internal_iswiping() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_iswiping(), target); + } + + // bool IsEndingWipeCycle = 7; + if (this->_internal_isendingwipecycle() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_isendingwipecycle(), target); + } + + // bool IsWiperError = 8; + if (this->_internal_iswipererror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_iswipererror(), target); + } + + // bool IsPositionReached = 9; + if (this->_internal_ispositionreached() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 9, this->_internal_ispositionreached(), target); + } + + // bool IsBlocked = 10; + if (this->_internal_isblocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 10, this->_internal_isblocked(), target); + } + + // bool IsOverheated = 11; + if (this->_internal_isoverheated() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 11, this->_internal_isoverheated(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldRearWipingSystem) + return target; +} + +::size_t VehicleBodyWindshieldRearWipingSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldRearWipingSystem) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (!this->_internal_mode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // uint32 Frequency = 2; + if (this->_internal_frequency() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_frequency()); + } + + // float TargetPosition = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = this->_internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + total_size += 5; + } + + // float ActualPosition = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = this->_internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + total_size += 5; + } + + // float DriveCurrent = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = this->_internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + total_size += 5; + } + + // bool IsWiping = 6; + if (this->_internal_iswiping() != 0) { + total_size += 2; + } + + // bool IsEndingWipeCycle = 7; + if (this->_internal_isendingwipecycle() != 0) { + total_size += 2; + } + + // bool IsWiperError = 8; + if (this->_internal_iswipererror() != 0) { + total_size += 2; + } + + // bool IsPositionReached = 9; + if (this->_internal_ispositionreached() != 0) { + total_size += 2; + } + + // bool IsBlocked = 10; + if (this->_internal_isblocked() != 0) { + total_size += 2; + } + + // bool IsOverheated = 11; + if (this->_internal_isoverheated() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldRearWipingSystem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldRearWipingSystem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldRearWipingSystem::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldRearWipingSystem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldRearWipingSystem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mode().empty()) { + _this->_internal_set_mode(from._internal_mode()); + } + if (from._internal_frequency() != 0) { + _this->_internal_set_frequency(from._internal_frequency()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_targetposition = from._internal_targetposition(); + ::uint32_t raw_targetposition; + memcpy(&raw_targetposition, &tmp_targetposition, sizeof(tmp_targetposition)); + if (raw_targetposition != 0) { + _this->_internal_set_targetposition(from._internal_targetposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_actualposition = from._internal_actualposition(); + ::uint32_t raw_actualposition; + memcpy(&raw_actualposition, &tmp_actualposition, sizeof(tmp_actualposition)); + if (raw_actualposition != 0) { + _this->_internal_set_actualposition(from._internal_actualposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_drivecurrent = from._internal_drivecurrent(); + ::uint32_t raw_drivecurrent; + memcpy(&raw_drivecurrent, &tmp_drivecurrent, sizeof(tmp_drivecurrent)); + if (raw_drivecurrent != 0) { + _this->_internal_set_drivecurrent(from._internal_drivecurrent()); + } + if (from._internal_iswiping() != 0) { + _this->_internal_set_iswiping(from._internal_iswiping()); + } + if (from._internal_isendingwipecycle() != 0) { + _this->_internal_set_isendingwipecycle(from._internal_isendingwipecycle()); + } + if (from._internal_iswipererror() != 0) { + _this->_internal_set_iswipererror(from._internal_iswipererror()); + } + if (from._internal_ispositionreached() != 0) { + _this->_internal_set_ispositionreached(from._internal_ispositionreached()); + } + if (from._internal_isblocked() != 0) { + _this->_internal_set_isblocked(from._internal_isblocked()); + } + if (from._internal_isoverheated() != 0) { + _this->_internal_set_isoverheated(from._internal_isoverheated()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldRearWipingSystem::CopyFrom(const VehicleBodyWindshieldRearWipingSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldRearWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWipingSystem::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWipingSystem::InternalSwap(VehicleBodyWindshieldRearWipingSystem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mode_, lhs_arena, + &other->_impl_.mode_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWipingSystem, _impl_.isoverheated_) + + sizeof(VehicleBodyWindshieldRearWipingSystem::_impl_.isoverheated_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWipingSystem, _impl_.frequency_)>( + reinterpret_cast(&_impl_.frequency_), + reinterpret_cast(&other->_impl_.frequency_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWipingSystem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[40]); +} +// =================================================================== + +class VehicleBodyWindshieldRearWasherFluid::_Internal { + public: +}; + +VehicleBodyWindshieldRearWasherFluid::VehicleBodyWindshieldRearWasherFluid(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyWindshieldRearWasherFluid) +} +VehicleBodyWindshieldRearWasherFluid::VehicleBodyWindshieldRearWasherFluid(const VehicleBodyWindshieldRearWasherFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyWindshieldRearWasherFluid) +} + +inline void VehicleBodyWindshieldRearWasherFluid::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.islevellow_) { false } + + , decltype(_impl_.level_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyWindshieldRearWasherFluid::~VehicleBodyWindshieldRearWasherFluid() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyWindshieldRearWasherFluid) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyWindshieldRearWasherFluid::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyWindshieldRearWasherFluid::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyWindshieldRearWasherFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyWindshieldRearWasherFluid) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.islevellow_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.islevellow_)) + sizeof(_impl_.level_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyWindshieldRearWasherFluid::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsLevelLow = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyWindshieldRearWasherFluid::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyWindshieldRearWasherFluid) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->_internal_islevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_islevellow(), target); + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyWindshieldRearWasherFluid) + return target; +} + +::size_t VehicleBodyWindshieldRearWasherFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyWindshieldRearWasherFluid) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->_internal_islevellow() != 0) { + total_size += 2; + } + + // uint32 Level = 2; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyWindshieldRearWasherFluid::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyWindshieldRearWasherFluid::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyWindshieldRearWasherFluid::GetClassData() const { return &_class_data_; } + + +void VehicleBodyWindshieldRearWasherFluid::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyWindshieldRearWasherFluid) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_islevellow() != 0) { + _this->_internal_set_islevellow(from._internal_islevellow()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyWindshieldRearWasherFluid::CopyFrom(const VehicleBodyWindshieldRearWasherFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyWindshieldRearWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWasherFluid::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWasherFluid::InternalSwap(VehicleBodyWindshieldRearWasherFluid* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWasherFluid, _impl_.level_) + + sizeof(VehicleBodyWindshieldRearWasherFluid::_impl_.level_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyWindshieldRearWasherFluid, _impl_.islevellow_)>( + reinterpret_cast(&_impl_.islevellow_), + reinterpret_cast(&other->_impl_.islevellow_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWasherFluid::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[41]); +} +// =================================================================== + +class VehicleBodyLights::_Internal { + public: + static const ::vss::VehicleBodyLightsBeam& beam(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsRunning& running(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsBackup& backup(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsParking& parking(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsFog& fog(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsLicensePlate& licenseplate(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsBrake& brake(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsHazard& hazard(const VehicleBodyLights* msg); + static const ::vss::VehicleBodyLightsDirectionIndicator& directionindicator(const VehicleBodyLights* msg); +}; + +const ::vss::VehicleBodyLightsBeam& +VehicleBodyLights::_Internal::beam(const VehicleBodyLights* msg) { + return *msg->_impl_.beam_; +} +const ::vss::VehicleBodyLightsRunning& +VehicleBodyLights::_Internal::running(const VehicleBodyLights* msg) { + return *msg->_impl_.running_; +} +const ::vss::VehicleBodyLightsBackup& +VehicleBodyLights::_Internal::backup(const VehicleBodyLights* msg) { + return *msg->_impl_.backup_; +} +const ::vss::VehicleBodyLightsParking& +VehicleBodyLights::_Internal::parking(const VehicleBodyLights* msg) { + return *msg->_impl_.parking_; +} +const ::vss::VehicleBodyLightsFog& +VehicleBodyLights::_Internal::fog(const VehicleBodyLights* msg) { + return *msg->_impl_.fog_; +} +const ::vss::VehicleBodyLightsLicensePlate& +VehicleBodyLights::_Internal::licenseplate(const VehicleBodyLights* msg) { + return *msg->_impl_.licenseplate_; +} +const ::vss::VehicleBodyLightsBrake& +VehicleBodyLights::_Internal::brake(const VehicleBodyLights* msg) { + return *msg->_impl_.brake_; +} +const ::vss::VehicleBodyLightsHazard& +VehicleBodyLights::_Internal::hazard(const VehicleBodyLights* msg) { + return *msg->_impl_.hazard_; +} +const ::vss::VehicleBodyLightsDirectionIndicator& +VehicleBodyLights::_Internal::directionindicator(const VehicleBodyLights* msg) { + return *msg->_impl_.directionindicator_; +} +VehicleBodyLights::VehicleBodyLights(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLights) +} +VehicleBodyLights::VehicleBodyLights(const VehicleBodyLights& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyLights* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lightswitch_) {} + + , decltype(_impl_.beam_){nullptr} + , decltype(_impl_.running_){nullptr} + , decltype(_impl_.backup_){nullptr} + , decltype(_impl_.parking_){nullptr} + , decltype(_impl_.fog_){nullptr} + , decltype(_impl_.licenseplate_){nullptr} + , decltype(_impl_.brake_){nullptr} + , decltype(_impl_.hazard_){nullptr} + , decltype(_impl_.directionindicator_){nullptr} + , decltype(_impl_.ishighbeamswitchon_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.lightswitch_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.lightswitch_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_lightswitch().empty()) { + _this->_impl_.lightswitch_.Set(from._internal_lightswitch(), _this->GetArenaForAllocation()); + } + if (from._internal_has_beam()) { + _this->_impl_.beam_ = new ::vss::VehicleBodyLightsBeam(*from._impl_.beam_); + } + if (from._internal_has_running()) { + _this->_impl_.running_ = new ::vss::VehicleBodyLightsRunning(*from._impl_.running_); + } + if (from._internal_has_backup()) { + _this->_impl_.backup_ = new ::vss::VehicleBodyLightsBackup(*from._impl_.backup_); + } + if (from._internal_has_parking()) { + _this->_impl_.parking_ = new ::vss::VehicleBodyLightsParking(*from._impl_.parking_); + } + if (from._internal_has_fog()) { + _this->_impl_.fog_ = new ::vss::VehicleBodyLightsFog(*from._impl_.fog_); + } + if (from._internal_has_licenseplate()) { + _this->_impl_.licenseplate_ = new ::vss::VehicleBodyLightsLicensePlate(*from._impl_.licenseplate_); + } + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleBodyLightsBrake(*from._impl_.brake_); + } + if (from._internal_has_hazard()) { + _this->_impl_.hazard_ = new ::vss::VehicleBodyLightsHazard(*from._impl_.hazard_); + } + if (from._internal_has_directionindicator()) { + _this->_impl_.directionindicator_ = new ::vss::VehicleBodyLightsDirectionIndicator(*from._impl_.directionindicator_); + } + _this->_impl_.ishighbeamswitchon_ = from._impl_.ishighbeamswitchon_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLights) +} + +inline void VehicleBodyLights::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lightswitch_) {} + + , decltype(_impl_.beam_){nullptr} + , decltype(_impl_.running_){nullptr} + , decltype(_impl_.backup_){nullptr} + , decltype(_impl_.parking_){nullptr} + , decltype(_impl_.fog_){nullptr} + , decltype(_impl_.licenseplate_){nullptr} + , decltype(_impl_.brake_){nullptr} + , decltype(_impl_.hazard_){nullptr} + , decltype(_impl_.directionindicator_){nullptr} + , decltype(_impl_.ishighbeamswitchon_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.lightswitch_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.lightswitch_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyLights::~VehicleBodyLights() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLights) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLights::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.lightswitch_.Destroy(); + if (this != internal_default_instance()) delete _impl_.beam_; + if (this != internal_default_instance()) delete _impl_.running_; + if (this != internal_default_instance()) delete _impl_.backup_; + if (this != internal_default_instance()) delete _impl_.parking_; + if (this != internal_default_instance()) delete _impl_.fog_; + if (this != internal_default_instance()) delete _impl_.licenseplate_; + if (this != internal_default_instance()) delete _impl_.brake_; + if (this != internal_default_instance()) delete _impl_.hazard_; + if (this != internal_default_instance()) delete _impl_.directionindicator_; +} + +void VehicleBodyLights::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLights::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLights) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.lightswitch_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.beam_ != nullptr) { + delete _impl_.beam_; + } + _impl_.beam_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.running_ != nullptr) { + delete _impl_.running_; + } + _impl_.running_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backup_ != nullptr) { + delete _impl_.backup_; + } + _impl_.backup_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.parking_ != nullptr) { + delete _impl_.parking_; + } + _impl_.parking_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.fog_ != nullptr) { + delete _impl_.fog_; + } + _impl_.fog_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.licenseplate_ != nullptr) { + delete _impl_.licenseplate_; + } + _impl_.licenseplate_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.hazard_ != nullptr) { + delete _impl_.hazard_; + } + _impl_.hazard_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.directionindicator_ != nullptr) { + delete _impl_.directionindicator_; + } + _impl_.directionindicator_ = nullptr; + _impl_.ishighbeamswitchon_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLights::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string LightSwitch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_lightswitch(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyLights.LightSwitch")); + } else { + goto handle_unusual; + } + continue; + // bool IsHighBeamSwitchOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ishighbeamswitchon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsBeam Beam = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_beam(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsRunning Running = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_running(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsBackup Backup = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_backup(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsParking Parking = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_parking(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsFog Fog = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_fog(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsLicensePlate LicensePlate = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_licenseplate(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsBrake Brake = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsHazard Hazard = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_hazard(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_directionindicator(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLights::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLights) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string LightSwitch = 1; + if (!this->_internal_lightswitch().empty()) { + const std::string& _s = this->_internal_lightswitch(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyLights.LightSwitch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // bool IsHighBeamSwitchOn = 2; + if (this->_internal_ishighbeamswitchon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ishighbeamswitchon(), target); + } + + // .vss.VehicleBodyLightsBeam Beam = 3; + if (this->_internal_has_beam()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::beam(this), + _Internal::beam(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsRunning Running = 4; + if (this->_internal_has_running()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::running(this), + _Internal::running(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsBackup Backup = 5; + if (this->_internal_has_backup()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::backup(this), + _Internal::backup(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsParking Parking = 6; + if (this->_internal_has_parking()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::parking(this), + _Internal::parking(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsFog Fog = 7; + if (this->_internal_has_fog()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::fog(this), + _Internal::fog(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsLicensePlate LicensePlate = 8; + if (this->_internal_has_licenseplate()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::licenseplate(this), + _Internal::licenseplate(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsBrake Brake = 9; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsHazard Hazard = 10; + if (this->_internal_has_hazard()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::hazard(this), + _Internal::hazard(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + if (this->_internal_has_directionindicator()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::directionindicator(this), + _Internal::directionindicator(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLights) + return target; +} + +::size_t VehicleBodyLights::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLights) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string LightSwitch = 1; + if (!this->_internal_lightswitch().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_lightswitch()); + } + + // .vss.VehicleBodyLightsBeam Beam = 3; + if (this->_internal_has_beam()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.beam_); + } + + // .vss.VehicleBodyLightsRunning Running = 4; + if (this->_internal_has_running()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.running_); + } + + // .vss.VehicleBodyLightsBackup Backup = 5; + if (this->_internal_has_backup()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backup_); + } + + // .vss.VehicleBodyLightsParking Parking = 6; + if (this->_internal_has_parking()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.parking_); + } + + // .vss.VehicleBodyLightsFog Fog = 7; + if (this->_internal_has_fog()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.fog_); + } + + // .vss.VehicleBodyLightsLicensePlate LicensePlate = 8; + if (this->_internal_has_licenseplate()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.licenseplate_); + } + + // .vss.VehicleBodyLightsBrake Brake = 9; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // .vss.VehicleBodyLightsHazard Hazard = 10; + if (this->_internal_has_hazard()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.hazard_); + } + + // .vss.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + if (this->_internal_has_directionindicator()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.directionindicator_); + } + + // bool IsHighBeamSwitchOn = 2; + if (this->_internal_ishighbeamswitchon() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLights::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLights::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLights::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLights::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLights) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_lightswitch().empty()) { + _this->_internal_set_lightswitch(from._internal_lightswitch()); + } + if (from._internal_has_beam()) { + _this->_internal_mutable_beam()->::vss::VehicleBodyLightsBeam::MergeFrom( + from._internal_beam()); + } + if (from._internal_has_running()) { + _this->_internal_mutable_running()->::vss::VehicleBodyLightsRunning::MergeFrom( + from._internal_running()); + } + if (from._internal_has_backup()) { + _this->_internal_mutable_backup()->::vss::VehicleBodyLightsBackup::MergeFrom( + from._internal_backup()); + } + if (from._internal_has_parking()) { + _this->_internal_mutable_parking()->::vss::VehicleBodyLightsParking::MergeFrom( + from._internal_parking()); + } + if (from._internal_has_fog()) { + _this->_internal_mutable_fog()->::vss::VehicleBodyLightsFog::MergeFrom( + from._internal_fog()); + } + if (from._internal_has_licenseplate()) { + _this->_internal_mutable_licenseplate()->::vss::VehicleBodyLightsLicensePlate::MergeFrom( + from._internal_licenseplate()); + } + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleBodyLightsBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_has_hazard()) { + _this->_internal_mutable_hazard()->::vss::VehicleBodyLightsHazard::MergeFrom( + from._internal_hazard()); + } + if (from._internal_has_directionindicator()) { + _this->_internal_mutable_directionindicator()->::vss::VehicleBodyLightsDirectionIndicator::MergeFrom( + from._internal_directionindicator()); + } + if (from._internal_ishighbeamswitchon() != 0) { + _this->_internal_set_ishighbeamswitchon(from._internal_ishighbeamswitchon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLights::CopyFrom(const VehicleBodyLights& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLights::IsInitialized() const { + return true; +} + +void VehicleBodyLights::InternalSwap(VehicleBodyLights* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lightswitch_, lhs_arena, + &other->_impl_.lightswitch_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLights, _impl_.ishighbeamswitchon_) + + sizeof(VehicleBodyLights::_impl_.ishighbeamswitchon_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLights, _impl_.beam_)>( + reinterpret_cast(&_impl_.beam_), + reinterpret_cast(&other->_impl_.beam_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLights::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[42]); +} +// =================================================================== + +class VehicleBodyLightsBeam::_Internal { + public: + static const ::vss::VehicleBodyLightsBeamLow& low(const VehicleBodyLightsBeam* msg); + static const ::vss::VehicleBodyLightsBeamHigh& high(const VehicleBodyLightsBeam* msg); +}; + +const ::vss::VehicleBodyLightsBeamLow& +VehicleBodyLightsBeam::_Internal::low(const VehicleBodyLightsBeam* msg) { + return *msg->_impl_.low_; +} +const ::vss::VehicleBodyLightsBeamHigh& +VehicleBodyLightsBeam::_Internal::high(const VehicleBodyLightsBeam* msg) { + return *msg->_impl_.high_; +} +VehicleBodyLightsBeam::VehicleBodyLightsBeam(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsBeam) +} +VehicleBodyLightsBeam::VehicleBodyLightsBeam(const VehicleBodyLightsBeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyLightsBeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.low_){nullptr} + , decltype(_impl_.high_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_low()) { + _this->_impl_.low_ = new ::vss::VehicleBodyLightsBeamLow(*from._impl_.low_); + } + if (from._internal_has_high()) { + _this->_impl_.high_ = new ::vss::VehicleBodyLightsBeamHigh(*from._impl_.high_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsBeam) +} + +inline void VehicleBodyLightsBeam::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.low_){nullptr} + , decltype(_impl_.high_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsBeam::~VehicleBodyLightsBeam() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsBeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsBeam::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.low_; + if (this != internal_default_instance()) delete _impl_.high_; +} + +void VehicleBodyLightsBeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsBeam::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsBeam) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.low_ != nullptr) { + delete _impl_.low_; + } + _impl_.low_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.high_ != nullptr) { + delete _impl_.high_; + } + _impl_.high_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsBeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyLightsBeamLow Low = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_low(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsBeamHigh High = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_high(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsBeam::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsBeam) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyLightsBeamLow Low = 1; + if (this->_internal_has_low()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::low(this), + _Internal::low(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsBeamHigh High = 2; + if (this->_internal_has_high()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::high(this), + _Internal::high(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsBeam) + return target; +} + +::size_t VehicleBodyLightsBeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsBeam) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyLightsBeamLow Low = 1; + if (this->_internal_has_low()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.low_); + } + + // .vss.VehicleBodyLightsBeamHigh High = 2; + if (this->_internal_has_high()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.high_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsBeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsBeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsBeam::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsBeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsBeam) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_low()) { + _this->_internal_mutable_low()->::vss::VehicleBodyLightsBeamLow::MergeFrom( + from._internal_low()); + } + if (from._internal_has_high()) { + _this->_internal_mutable_high()->::vss::VehicleBodyLightsBeamHigh::MergeFrom( + from._internal_high()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsBeam::CopyFrom(const VehicleBodyLightsBeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsBeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeam::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeam::InternalSwap(VehicleBodyLightsBeam* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeam, _impl_.high_) + + sizeof(VehicleBodyLightsBeam::_impl_.high_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeam, _impl_.low_)>( + reinterpret_cast(&_impl_.low_), + reinterpret_cast(&other->_impl_.low_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[43]); +} +// =================================================================== + +class VehicleBodyLightsBeamLow::_Internal { + public: +}; + +VehicleBodyLightsBeamLow::VehicleBodyLightsBeamLow(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsBeamLow) +} +VehicleBodyLightsBeamLow::VehicleBodyLightsBeamLow(const VehicleBodyLightsBeamLow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsBeamLow) +} + +inline void VehicleBodyLightsBeamLow::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsBeamLow::~VehicleBodyLightsBeamLow() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsBeamLow) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsBeamLow::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsBeamLow::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsBeamLow::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsBeamLow) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsBeamLow::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsBeamLow::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsBeamLow) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsBeamLow) + return target; +} + +::size_t VehicleBodyLightsBeamLow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsBeamLow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsBeamLow::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsBeamLow::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsBeamLow::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsBeamLow::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsBeamLow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsBeamLow::CopyFrom(const VehicleBodyLightsBeamLow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsBeamLow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeamLow::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeamLow::InternalSwap(VehicleBodyLightsBeamLow* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeamLow, _impl_.isdefect_) + + sizeof(VehicleBodyLightsBeamLow::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeamLow, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeamLow::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[44]); +} +// =================================================================== + +class VehicleBodyLightsBeamHigh::_Internal { + public: +}; + +VehicleBodyLightsBeamHigh::VehicleBodyLightsBeamHigh(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsBeamHigh) +} +VehicleBodyLightsBeamHigh::VehicleBodyLightsBeamHigh(const VehicleBodyLightsBeamHigh& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsBeamHigh) +} + +inline void VehicleBodyLightsBeamHigh::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsBeamHigh::~VehicleBodyLightsBeamHigh() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsBeamHigh) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsBeamHigh::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsBeamHigh::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsBeamHigh::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsBeamHigh) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsBeamHigh::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsBeamHigh::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsBeamHigh) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsBeamHigh) + return target; +} + +::size_t VehicleBodyLightsBeamHigh::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsBeamHigh) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsBeamHigh::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsBeamHigh::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsBeamHigh::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsBeamHigh::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsBeamHigh) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsBeamHigh::CopyFrom(const VehicleBodyLightsBeamHigh& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsBeamHigh) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeamHigh::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeamHigh::InternalSwap(VehicleBodyLightsBeamHigh* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeamHigh, _impl_.isdefect_) + + sizeof(VehicleBodyLightsBeamHigh::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBeamHigh, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeamHigh::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[45]); +} +// =================================================================== + +class VehicleBodyLightsRunning::_Internal { + public: +}; + +VehicleBodyLightsRunning::VehicleBodyLightsRunning(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsRunning) +} +VehicleBodyLightsRunning::VehicleBodyLightsRunning(const VehicleBodyLightsRunning& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsRunning) +} + +inline void VehicleBodyLightsRunning::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsRunning::~VehicleBodyLightsRunning() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsRunning) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsRunning::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsRunning::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsRunning::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsRunning) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsRunning::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsRunning::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsRunning) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsRunning) + return target; +} + +::size_t VehicleBodyLightsRunning::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsRunning) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsRunning::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsRunning::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsRunning::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsRunning::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsRunning) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsRunning::CopyFrom(const VehicleBodyLightsRunning& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsRunning) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsRunning::IsInitialized() const { + return true; +} + +void VehicleBodyLightsRunning::InternalSwap(VehicleBodyLightsRunning* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsRunning, _impl_.isdefect_) + + sizeof(VehicleBodyLightsRunning::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsRunning, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsRunning::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[46]); +} +// =================================================================== + +class VehicleBodyLightsBackup::_Internal { + public: +}; + +VehicleBodyLightsBackup::VehicleBodyLightsBackup(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsBackup) +} +VehicleBodyLightsBackup::VehicleBodyLightsBackup(const VehicleBodyLightsBackup& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsBackup) +} + +inline void VehicleBodyLightsBackup::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsBackup::~VehicleBodyLightsBackup() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsBackup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsBackup::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsBackup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsBackup::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsBackup) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsBackup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsBackup::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsBackup) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsBackup) + return target; +} + +::size_t VehicleBodyLightsBackup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsBackup) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsBackup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsBackup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsBackup::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsBackup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsBackup) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsBackup::CopyFrom(const VehicleBodyLightsBackup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsBackup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBackup::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBackup::InternalSwap(VehicleBodyLightsBackup* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBackup, _impl_.isdefect_) + + sizeof(VehicleBodyLightsBackup::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsBackup, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBackup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[47]); +} +// =================================================================== + +class VehicleBodyLightsParking::_Internal { + public: +}; + +VehicleBodyLightsParking::VehicleBodyLightsParking(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsParking) +} +VehicleBodyLightsParking::VehicleBodyLightsParking(const VehicleBodyLightsParking& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsParking) +} + +inline void VehicleBodyLightsParking::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsParking::~VehicleBodyLightsParking() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsParking) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsParking::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsParking::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsParking::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsParking) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsParking::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsParking::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsParking) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsParking) + return target; +} + +::size_t VehicleBodyLightsParking::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsParking) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsParking::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsParking::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsParking::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsParking::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsParking) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsParking::CopyFrom(const VehicleBodyLightsParking& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsParking) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsParking::IsInitialized() const { + return true; +} + +void VehicleBodyLightsParking::InternalSwap(VehicleBodyLightsParking* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsParking, _impl_.isdefect_) + + sizeof(VehicleBodyLightsParking::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsParking, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsParking::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[48]); +} +// =================================================================== + +class VehicleBodyLightsFog::_Internal { + public: + static const ::vss::VehicleBodyLightsFogRear& rear(const VehicleBodyLightsFog* msg); + static const ::vss::VehicleBodyLightsFogFront& front(const VehicleBodyLightsFog* msg); +}; + +const ::vss::VehicleBodyLightsFogRear& +VehicleBodyLightsFog::_Internal::rear(const VehicleBodyLightsFog* msg) { + return *msg->_impl_.rear_; +} +const ::vss::VehicleBodyLightsFogFront& +VehicleBodyLightsFog::_Internal::front(const VehicleBodyLightsFog* msg) { + return *msg->_impl_.front_; +} +VehicleBodyLightsFog::VehicleBodyLightsFog(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsFog) +} +VehicleBodyLightsFog::VehicleBodyLightsFog(const VehicleBodyLightsFog& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyLightsFog* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.rear_){nullptr} + , decltype(_impl_.front_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_rear()) { + _this->_impl_.rear_ = new ::vss::VehicleBodyLightsFogRear(*from._impl_.rear_); + } + if (from._internal_has_front()) { + _this->_impl_.front_ = new ::vss::VehicleBodyLightsFogFront(*from._impl_.front_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsFog) +} + +inline void VehicleBodyLightsFog::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.rear_){nullptr} + , decltype(_impl_.front_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsFog::~VehicleBodyLightsFog() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsFog) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsFog::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.rear_; + if (this != internal_default_instance()) delete _impl_.front_; +} + +void VehicleBodyLightsFog::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsFog::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsFog) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.rear_ != nullptr) { + delete _impl_.rear_; + } + _impl_.rear_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.front_ != nullptr) { + delete _impl_.front_; + } + _impl_.front_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsFog::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyLightsFogRear Rear = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsFogFront Front = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsFog::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsFog) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyLightsFogRear Rear = 1; + if (this->_internal_has_rear()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::rear(this), + _Internal::rear(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsFogFront Front = 2; + if (this->_internal_has_front()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::front(this), + _Internal::front(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsFog) + return target; +} + +::size_t VehicleBodyLightsFog::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsFog) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyLightsFogRear Rear = 1; + if (this->_internal_has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.rear_); + } + + // .vss.VehicleBodyLightsFogFront Front = 2; + if (this->_internal_has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.front_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsFog::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsFog::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsFog::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsFog::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsFog) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_rear()) { + _this->_internal_mutable_rear()->::vss::VehicleBodyLightsFogRear::MergeFrom( + from._internal_rear()); + } + if (from._internal_has_front()) { + _this->_internal_mutable_front()->::vss::VehicleBodyLightsFogFront::MergeFrom( + from._internal_front()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsFog::CopyFrom(const VehicleBodyLightsFog& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsFog) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFog::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFog::InternalSwap(VehicleBodyLightsFog* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFog, _impl_.front_) + + sizeof(VehicleBodyLightsFog::_impl_.front_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFog, _impl_.rear_)>( + reinterpret_cast(&_impl_.rear_), + reinterpret_cast(&other->_impl_.rear_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFog::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[49]); +} +// =================================================================== + +class VehicleBodyLightsFogRear::_Internal { + public: +}; + +VehicleBodyLightsFogRear::VehicleBodyLightsFogRear(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsFogRear) +} +VehicleBodyLightsFogRear::VehicleBodyLightsFogRear(const VehicleBodyLightsFogRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsFogRear) +} + +inline void VehicleBodyLightsFogRear::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsFogRear::~VehicleBodyLightsFogRear() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsFogRear) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsFogRear::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsFogRear::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsFogRear::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsFogRear) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsFogRear::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsFogRear::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsFogRear) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsFogRear) + return target; +} + +::size_t VehicleBodyLightsFogRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsFogRear) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsFogRear::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsFogRear::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsFogRear::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsFogRear::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsFogRear) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsFogRear::CopyFrom(const VehicleBodyLightsFogRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsFogRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFogRear::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFogRear::InternalSwap(VehicleBodyLightsFogRear* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFogRear, _impl_.isdefect_) + + sizeof(VehicleBodyLightsFogRear::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFogRear, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFogRear::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[50]); +} +// =================================================================== + +class VehicleBodyLightsFogFront::_Internal { + public: +}; + +VehicleBodyLightsFogFront::VehicleBodyLightsFogFront(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsFogFront) +} +VehicleBodyLightsFogFront::VehicleBodyLightsFogFront(const VehicleBodyLightsFogFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsFogFront) +} + +inline void VehicleBodyLightsFogFront::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsFogFront::~VehicleBodyLightsFogFront() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsFogFront) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsFogFront::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsFogFront::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsFogFront::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsFogFront) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsFogFront::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsFogFront::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsFogFront) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsFogFront) + return target; +} + +::size_t VehicleBodyLightsFogFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsFogFront) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsFogFront::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsFogFront::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsFogFront::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsFogFront::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsFogFront) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsFogFront::CopyFrom(const VehicleBodyLightsFogFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsFogFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFogFront::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFogFront::InternalSwap(VehicleBodyLightsFogFront* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFogFront, _impl_.isdefect_) + + sizeof(VehicleBodyLightsFogFront::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsFogFront, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFogFront::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[51]); +} +// =================================================================== + +class VehicleBodyLightsLicensePlate::_Internal { + public: +}; + +VehicleBodyLightsLicensePlate::VehicleBodyLightsLicensePlate(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsLicensePlate) +} +VehicleBodyLightsLicensePlate::VehicleBodyLightsLicensePlate(const VehicleBodyLightsLicensePlate& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsLicensePlate) +} + +inline void VehicleBodyLightsLicensePlate::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ison_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsLicensePlate::~VehicleBodyLightsLicensePlate() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsLicensePlate) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsLicensePlate::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsLicensePlate::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsLicensePlate::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsLicensePlate) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ison_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.ison_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsLicensePlate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsLicensePlate::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsLicensePlate) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsLicensePlate) + return target; +} + +::size_t VehicleBodyLightsLicensePlate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsLicensePlate) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->_internal_ison() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsLicensePlate::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsLicensePlate::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsLicensePlate::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsLicensePlate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsLicensePlate) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ison() != 0) { + _this->_internal_set_ison(from._internal_ison()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsLicensePlate::CopyFrom(const VehicleBodyLightsLicensePlate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsLicensePlate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsLicensePlate::IsInitialized() const { + return true; +} + +void VehicleBodyLightsLicensePlate::InternalSwap(VehicleBodyLightsLicensePlate* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsLicensePlate, _impl_.isdefect_) + + sizeof(VehicleBodyLightsLicensePlate::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsLicensePlate, _impl_.ison_)>( + reinterpret_cast(&_impl_.ison_), + reinterpret_cast(&other->_impl_.ison_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsLicensePlate::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[52]); +} +// =================================================================== + +class VehicleBodyLightsBrake::_Internal { + public: +}; + +VehicleBodyLightsBrake::VehicleBodyLightsBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsBrake) +} +VehicleBodyLightsBrake::VehicleBodyLightsBrake(const VehicleBodyLightsBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyLightsBrake* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.isactive_) {} + + , decltype(_impl_.isdefect_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.isactive_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.isactive_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_isactive().empty()) { + _this->_impl_.isactive_.Set(from._internal_isactive(), _this->GetArenaForAllocation()); + } + _this->_impl_.isdefect_ = from._impl_.isdefect_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsBrake) +} + +inline void VehicleBodyLightsBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isactive_) {} + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.isactive_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.isactive_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleBodyLightsBrake::~VehicleBodyLightsBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.isactive_.Destroy(); +} + +void VehicleBodyLightsBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isactive_.ClearToEmpty(); + _impl_.isdefect_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string IsActive = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_isactive(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleBodyLightsBrake.IsActive")); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string IsActive = 1; + if (!this->_internal_isactive().empty()) { + const std::string& _s = this->_internal_isactive(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleBodyLightsBrake.IsActive"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsBrake) + return target; +} + +::size_t VehicleBodyLightsBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IsActive = 1; + if (!this->_internal_isactive().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_isactive()); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsBrake::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_isactive().empty()) { + _this->_internal_set_isactive(from._internal_isactive()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsBrake::CopyFrom(const VehicleBodyLightsBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBrake::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBrake::InternalSwap(VehicleBodyLightsBrake* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.isactive_, lhs_arena, + &other->_impl_.isactive_, rhs_arena); + + swap(_impl_.isdefect_, other->_impl_.isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[53]); +} +// =================================================================== + +class VehicleBodyLightsHazard::_Internal { + public: +}; + +VehicleBodyLightsHazard::VehicleBodyLightsHazard(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsHazard) +} +VehicleBodyLightsHazard::VehicleBodyLightsHazard(const VehicleBodyLightsHazard& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsHazard) +} + +inline void VehicleBodyLightsHazard::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issignaling_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsHazard::~VehicleBodyLightsHazard() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsHazard) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsHazard::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsHazard::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsHazard::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsHazard) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issignaling_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.issignaling_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsHazard::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsHazard::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsHazard) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsHazard) + return target; +} + +::size_t VehicleBodyLightsHazard::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsHazard) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsHazard::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsHazard::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsHazard::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsHazard::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsHazard) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issignaling() != 0) { + _this->_internal_set_issignaling(from._internal_issignaling()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsHazard::CopyFrom(const VehicleBodyLightsHazard& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsHazard) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsHazard::IsInitialized() const { + return true; +} + +void VehicleBodyLightsHazard::InternalSwap(VehicleBodyLightsHazard* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsHazard, _impl_.isdefect_) + + sizeof(VehicleBodyLightsHazard::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsHazard, _impl_.issignaling_)>( + reinterpret_cast(&_impl_.issignaling_), + reinterpret_cast(&other->_impl_.issignaling_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsHazard::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[54]); +} +// =================================================================== + +class VehicleBodyLightsDirectionIndicator::_Internal { + public: + static const ::vss::VehicleBodyLightsDirectionIndicatorLeft& left(const VehicleBodyLightsDirectionIndicator* msg); + static const ::vss::VehicleBodyLightsDirectionIndicatorRight& right(const VehicleBodyLightsDirectionIndicator* msg); +}; + +const ::vss::VehicleBodyLightsDirectionIndicatorLeft& +VehicleBodyLightsDirectionIndicator::_Internal::left(const VehicleBodyLightsDirectionIndicator* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleBodyLightsDirectionIndicatorRight& +VehicleBodyLightsDirectionIndicator::_Internal::right(const VehicleBodyLightsDirectionIndicator* msg) { + return *msg->_impl_.right_; +} +VehicleBodyLightsDirectionIndicator::VehicleBodyLightsDirectionIndicator(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsDirectionIndicator) +} +VehicleBodyLightsDirectionIndicator::VehicleBodyLightsDirectionIndicator(const VehicleBodyLightsDirectionIndicator& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyLightsDirectionIndicator* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleBodyLightsDirectionIndicatorLeft(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleBodyLightsDirectionIndicatorRight(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsDirectionIndicator) +} + +inline void VehicleBodyLightsDirectionIndicator::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsDirectionIndicator::~VehicleBodyLightsDirectionIndicator() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsDirectionIndicator) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsDirectionIndicator::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleBodyLightsDirectionIndicator::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsDirectionIndicator::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsDirectionIndicator) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsDirectionIndicator::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyLightsDirectionIndicatorRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsDirectionIndicator::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsDirectionIndicator) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyLightsDirectionIndicatorRight Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsDirectionIndicator) + return target; +} + +::size_t VehicleBodyLightsDirectionIndicator::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsDirectionIndicator) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleBodyLightsDirectionIndicatorRight Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsDirectionIndicator::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsDirectionIndicator::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsDirectionIndicator::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsDirectionIndicator::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsDirectionIndicator) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleBodyLightsDirectionIndicatorLeft::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleBodyLightsDirectionIndicatorRight::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsDirectionIndicator::CopyFrom(const VehicleBodyLightsDirectionIndicator& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsDirectionIndicator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicator::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicator::InternalSwap(VehicleBodyLightsDirectionIndicator* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicator, _impl_.right_) + + sizeof(VehicleBodyLightsDirectionIndicator::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicator, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicator::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[55]); +} +// =================================================================== + +class VehicleBodyLightsDirectionIndicatorLeft::_Internal { + public: +}; + +VehicleBodyLightsDirectionIndicatorLeft::VehicleBodyLightsDirectionIndicatorLeft(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsDirectionIndicatorLeft) +} +VehicleBodyLightsDirectionIndicatorLeft::VehicleBodyLightsDirectionIndicatorLeft(const VehicleBodyLightsDirectionIndicatorLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsDirectionIndicatorLeft) +} + +inline void VehicleBodyLightsDirectionIndicatorLeft::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issignaling_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsDirectionIndicatorLeft::~VehicleBodyLightsDirectionIndicatorLeft() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsDirectionIndicatorLeft) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsDirectionIndicatorLeft::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsDirectionIndicatorLeft::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsDirectionIndicatorLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsDirectionIndicatorLeft) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issignaling_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.issignaling_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsDirectionIndicatorLeft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsDirectionIndicatorLeft::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsDirectionIndicatorLeft) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsDirectionIndicatorLeft) + return target; +} + +::size_t VehicleBodyLightsDirectionIndicatorLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsDirectionIndicatorLeft) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsDirectionIndicatorLeft::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsDirectionIndicatorLeft::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsDirectionIndicatorLeft::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsDirectionIndicatorLeft::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsDirectionIndicatorLeft) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issignaling() != 0) { + _this->_internal_set_issignaling(from._internal_issignaling()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsDirectionIndicatorLeft::CopyFrom(const VehicleBodyLightsDirectionIndicatorLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsDirectionIndicatorLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicatorLeft::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicatorLeft::InternalSwap(VehicleBodyLightsDirectionIndicatorLeft* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicatorLeft, _impl_.isdefect_) + + sizeof(VehicleBodyLightsDirectionIndicatorLeft::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicatorLeft, _impl_.issignaling_)>( + reinterpret_cast(&_impl_.issignaling_), + reinterpret_cast(&other->_impl_.issignaling_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicatorLeft::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[56]); +} +// =================================================================== + +class VehicleBodyLightsDirectionIndicatorRight::_Internal { + public: +}; + +VehicleBodyLightsDirectionIndicatorRight::VehicleBodyLightsDirectionIndicatorRight(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyLightsDirectionIndicatorRight) +} +VehicleBodyLightsDirectionIndicatorRight::VehicleBodyLightsDirectionIndicatorRight(const VehicleBodyLightsDirectionIndicatorRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyLightsDirectionIndicatorRight) +} + +inline void VehicleBodyLightsDirectionIndicatorRight::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issignaling_) { false } + + , decltype(_impl_.isdefect_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyLightsDirectionIndicatorRight::~VehicleBodyLightsDirectionIndicatorRight() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyLightsDirectionIndicatorRight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyLightsDirectionIndicatorRight::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyLightsDirectionIndicatorRight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyLightsDirectionIndicatorRight::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyLightsDirectionIndicatorRight) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issignaling_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdefect_) - + reinterpret_cast(&_impl_.issignaling_)) + sizeof(_impl_.isdefect_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyLightsDirectionIndicatorRight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyLightsDirectionIndicatorRight::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyLightsDirectionIndicatorRight) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyLightsDirectionIndicatorRight) + return target; +} + +::size_t VehicleBodyLightsDirectionIndicatorRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyLightsDirectionIndicatorRight) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->_internal_issignaling() != 0) { + total_size += 2; + } + + // bool IsDefect = 2; + if (this->_internal_isdefect() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyLightsDirectionIndicatorRight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyLightsDirectionIndicatorRight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyLightsDirectionIndicatorRight::GetClassData() const { return &_class_data_; } + + +void VehicleBodyLightsDirectionIndicatorRight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyLightsDirectionIndicatorRight) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issignaling() != 0) { + _this->_internal_set_issignaling(from._internal_issignaling()); + } + if (from._internal_isdefect() != 0) { + _this->_internal_set_isdefect(from._internal_isdefect()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyLightsDirectionIndicatorRight::CopyFrom(const VehicleBodyLightsDirectionIndicatorRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyLightsDirectionIndicatorRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicatorRight::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicatorRight::InternalSwap(VehicleBodyLightsDirectionIndicatorRight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicatorRight, _impl_.isdefect_) + + sizeof(VehicleBodyLightsDirectionIndicatorRight::_impl_.isdefect_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyLightsDirectionIndicatorRight, _impl_.issignaling_)>( + reinterpret_cast(&_impl_.issignaling_), + reinterpret_cast(&other->_impl_.issignaling_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicatorRight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[57]); +} +// =================================================================== + +class VehicleBodyMirrors::_Internal { + public: + static const ::vss::VehicleBodyMirrorsLeft& left(const VehicleBodyMirrors* msg); + static const ::vss::VehicleBodyMirrorsRight& right(const VehicleBodyMirrors* msg); +}; + +const ::vss::VehicleBodyMirrorsLeft& +VehicleBodyMirrors::_Internal::left(const VehicleBodyMirrors* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleBodyMirrorsRight& +VehicleBodyMirrors::_Internal::right(const VehicleBodyMirrors* msg) { + return *msg->_impl_.right_; +} +VehicleBodyMirrors::VehicleBodyMirrors(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyMirrors) +} +VehicleBodyMirrors::VehicleBodyMirrors(const VehicleBodyMirrors& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleBodyMirrors* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleBodyMirrorsLeft(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleBodyMirrorsRight(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyMirrors) +} + +inline void VehicleBodyMirrors::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyMirrors::~VehicleBodyMirrors() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyMirrors) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyMirrors::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleBodyMirrors::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyMirrors::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyMirrors) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyMirrors::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleBodyMirrorsLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleBodyMirrorsRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyMirrors::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyMirrors) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleBodyMirrorsLeft Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleBodyMirrorsRight Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyMirrors) + return target; +} + +::size_t VehicleBodyMirrors::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyMirrors) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleBodyMirrorsLeft Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleBodyMirrorsRight Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyMirrors::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyMirrors::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyMirrors::GetClassData() const { return &_class_data_; } + + +void VehicleBodyMirrors::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyMirrors) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleBodyMirrorsLeft::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleBodyMirrorsRight::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyMirrors::CopyFrom(const VehicleBodyMirrors& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyMirrors) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrors::IsInitialized() const { + return true; +} + +void VehicleBodyMirrors::InternalSwap(VehicleBodyMirrors* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyMirrors, _impl_.right_) + + sizeof(VehicleBodyMirrors::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyMirrors, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrors::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[58]); +} +// =================================================================== + +class VehicleBodyMirrorsLeft::_Internal { + public: +}; + +VehicleBodyMirrorsLeft::VehicleBodyMirrorsLeft(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyMirrorsLeft) +} +VehicleBodyMirrorsLeft::VehicleBodyMirrorsLeft(const VehicleBodyMirrorsLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyMirrorsLeft) +} + +inline void VehicleBodyMirrorsLeft::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.tilt_) { 0 } + + , decltype(_impl_.pan_) { 0 } + + , decltype(_impl_.isheatingon_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyMirrorsLeft::~VehicleBodyMirrorsLeft() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyMirrorsLeft) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyMirrorsLeft::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyMirrorsLeft::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyMirrorsLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyMirrorsLeft) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.tilt_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isheatingon_) - + reinterpret_cast(&_impl_.tilt_)) + sizeof(_impl_.isheatingon_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyMirrorsLeft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 Tilt = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Pan = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.pan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsHeatingOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyMirrorsLeft::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyMirrorsLeft) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->_internal_tilt() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_tilt(), target); + } + + // int32 Pan = 2; + if (this->_internal_pan() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_pan(), target); + } + + // bool IsHeatingOn = 3; + if (this->_internal_isheatingon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isheatingon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyMirrorsLeft) + return target; +} + +::size_t VehicleBodyMirrorsLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyMirrorsLeft) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->_internal_tilt() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_tilt()); + } + + // int32 Pan = 2; + if (this->_internal_pan() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_pan()); + } + + // bool IsHeatingOn = 3; + if (this->_internal_isheatingon() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyMirrorsLeft::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyMirrorsLeft::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyMirrorsLeft::GetClassData() const { return &_class_data_; } + + +void VehicleBodyMirrorsLeft::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyMirrorsLeft) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_tilt() != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + if (from._internal_pan() != 0) { + _this->_internal_set_pan(from._internal_pan()); + } + if (from._internal_isheatingon() != 0) { + _this->_internal_set_isheatingon(from._internal_isheatingon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyMirrorsLeft::CopyFrom(const VehicleBodyMirrorsLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyMirrorsLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrorsLeft::IsInitialized() const { + return true; +} + +void VehicleBodyMirrorsLeft::InternalSwap(VehicleBodyMirrorsLeft* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyMirrorsLeft, _impl_.isheatingon_) + + sizeof(VehicleBodyMirrorsLeft::_impl_.isheatingon_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyMirrorsLeft, _impl_.tilt_)>( + reinterpret_cast(&_impl_.tilt_), + reinterpret_cast(&other->_impl_.tilt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrorsLeft::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[59]); +} +// =================================================================== + +class VehicleBodyMirrorsRight::_Internal { + public: +}; + +VehicleBodyMirrorsRight::VehicleBodyMirrorsRight(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleBodyMirrorsRight) +} +VehicleBodyMirrorsRight::VehicleBodyMirrorsRight(const VehicleBodyMirrorsRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleBodyMirrorsRight) +} + +inline void VehicleBodyMirrorsRight::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.tilt_) { 0 } + + , decltype(_impl_.pan_) { 0 } + + , decltype(_impl_.isheatingon_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleBodyMirrorsRight::~VehicleBodyMirrorsRight() { + // @@protoc_insertion_point(destructor:vss.VehicleBodyMirrorsRight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleBodyMirrorsRight::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleBodyMirrorsRight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleBodyMirrorsRight::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleBodyMirrorsRight) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.tilt_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isheatingon_) - + reinterpret_cast(&_impl_.tilt_)) + sizeof(_impl_.isheatingon_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleBodyMirrorsRight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 Tilt = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Pan = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.pan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsHeatingOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleBodyMirrorsRight::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleBodyMirrorsRight) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->_internal_tilt() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_tilt(), target); + } + + // int32 Pan = 2; + if (this->_internal_pan() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_pan(), target); + } + + // bool IsHeatingOn = 3; + if (this->_internal_isheatingon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isheatingon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleBodyMirrorsRight) + return target; +} + +::size_t VehicleBodyMirrorsRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleBodyMirrorsRight) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->_internal_tilt() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_tilt()); + } + + // int32 Pan = 2; + if (this->_internal_pan() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_pan()); + } + + // bool IsHeatingOn = 3; + if (this->_internal_isheatingon() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleBodyMirrorsRight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleBodyMirrorsRight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleBodyMirrorsRight::GetClassData() const { return &_class_data_; } + + +void VehicleBodyMirrorsRight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleBodyMirrorsRight) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_tilt() != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + if (from._internal_pan() != 0) { + _this->_internal_set_pan(from._internal_pan()); + } + if (from._internal_isheatingon() != 0) { + _this->_internal_set_isheatingon(from._internal_isheatingon()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleBodyMirrorsRight::CopyFrom(const VehicleBodyMirrorsRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleBodyMirrorsRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrorsRight::IsInitialized() const { + return true; +} + +void VehicleBodyMirrorsRight::InternalSwap(VehicleBodyMirrorsRight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleBodyMirrorsRight, _impl_.isheatingon_) + + sizeof(VehicleBodyMirrorsRight::_impl_.isheatingon_) + - PROTOBUF_FIELD_OFFSET(VehicleBodyMirrorsRight, _impl_.tilt_)>( + reinterpret_cast(&_impl_.tilt_), + reinterpret_cast(&other->_impl_.tilt_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrorsRight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[60]); +} +// =================================================================== + +class VehicleCabin::_Internal { + public: + static const ::vss::VehicleCabinRearShade& rearshade(const VehicleCabin* msg); + static const ::vss::VehicleCabinHVAC& hvac(const VehicleCabin* msg); + static const ::vss::VehicleCabinInfotainment& infotainment(const VehicleCabin* msg); + static const ::vss::VehicleCabinSunroof& sunroof(const VehicleCabin* msg); + static const ::vss::VehicleCabinRearviewMirror& rearviewmirror(const VehicleCabin* msg); + static const ::vss::VehicleCabinLights& lights(const VehicleCabin* msg); + static const ::vss::VehicleCabinDoor& door(const VehicleCabin* msg); + static const ::vss::VehicleCabinSeat& seat(const VehicleCabin* msg); + static const ::vss::VehicleCabinConvertible& convertible(const VehicleCabin* msg); +}; + +const ::vss::VehicleCabinRearShade& +VehicleCabin::_Internal::rearshade(const VehicleCabin* msg) { + return *msg->_impl_.rearshade_; +} +const ::vss::VehicleCabinHVAC& +VehicleCabin::_Internal::hvac(const VehicleCabin* msg) { + return *msg->_impl_.hvac_; +} +const ::vss::VehicleCabinInfotainment& +VehicleCabin::_Internal::infotainment(const VehicleCabin* msg) { + return *msg->_impl_.infotainment_; +} +const ::vss::VehicleCabinSunroof& +VehicleCabin::_Internal::sunroof(const VehicleCabin* msg) { + return *msg->_impl_.sunroof_; +} +const ::vss::VehicleCabinRearviewMirror& +VehicleCabin::_Internal::rearviewmirror(const VehicleCabin* msg) { + return *msg->_impl_.rearviewmirror_; +} +const ::vss::VehicleCabinLights& +VehicleCabin::_Internal::lights(const VehicleCabin* msg) { + return *msg->_impl_.lights_; +} +const ::vss::VehicleCabinDoor& +VehicleCabin::_Internal::door(const VehicleCabin* msg) { + return *msg->_impl_.door_; +} +const ::vss::VehicleCabinSeat& +VehicleCabin::_Internal::seat(const VehicleCabin* msg) { + return *msg->_impl_.seat_; +} +const ::vss::VehicleCabinConvertible& +VehicleCabin::_Internal::convertible(const VehicleCabin* msg) { + return *msg->_impl_.convertible_; +} +VehicleCabin::VehicleCabin(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabin) +} +VehicleCabin::VehicleCabin(const VehicleCabin& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabin* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.seatposcount_) { from._impl_.seatposcount_ } + ,/* _impl_._seatposcount_cached_byte_size_ = */ { 0 } + + , decltype(_impl_.rearshade_){nullptr} + , decltype(_impl_.hvac_){nullptr} + , decltype(_impl_.infotainment_){nullptr} + , decltype(_impl_.sunroof_){nullptr} + , decltype(_impl_.rearviewmirror_){nullptr} + , decltype(_impl_.lights_){nullptr} + , decltype(_impl_.door_){nullptr} + , decltype(_impl_.seat_){nullptr} + , decltype(_impl_.convertible_){nullptr} + , decltype(_impl_.doorcount_) {} + + , decltype(_impl_.driverposition_) {} + + , decltype(_impl_.seatrowcount_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_rearshade()) { + _this->_impl_.rearshade_ = new ::vss::VehicleCabinRearShade(*from._impl_.rearshade_); + } + if (from._internal_has_hvac()) { + _this->_impl_.hvac_ = new ::vss::VehicleCabinHVAC(*from._impl_.hvac_); + } + if (from._internal_has_infotainment()) { + _this->_impl_.infotainment_ = new ::vss::VehicleCabinInfotainment(*from._impl_.infotainment_); + } + if (from._internal_has_sunroof()) { + _this->_impl_.sunroof_ = new ::vss::VehicleCabinSunroof(*from._impl_.sunroof_); + } + if (from._internal_has_rearviewmirror()) { + _this->_impl_.rearviewmirror_ = new ::vss::VehicleCabinRearviewMirror(*from._impl_.rearviewmirror_); + } + if (from._internal_has_lights()) { + _this->_impl_.lights_ = new ::vss::VehicleCabinLights(*from._impl_.lights_); + } + if (from._internal_has_door()) { + _this->_impl_.door_ = new ::vss::VehicleCabinDoor(*from._impl_.door_); + } + if (from._internal_has_seat()) { + _this->_impl_.seat_ = new ::vss::VehicleCabinSeat(*from._impl_.seat_); + } + if (from._internal_has_convertible()) { + _this->_impl_.convertible_ = new ::vss::VehicleCabinConvertible(*from._impl_.convertible_); + } + ::memcpy(&_impl_.doorcount_, &from._impl_.doorcount_, + static_cast<::size_t>(reinterpret_cast(&_impl_.seatrowcount_) - + reinterpret_cast(&_impl_.doorcount_)) + sizeof(_impl_.seatrowcount_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabin) +} + +inline void VehicleCabin::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.seatposcount_) { arena } + ,/* _impl_._seatposcount_cached_byte_size_ = */ { 0 } + + , decltype(_impl_.rearshade_){nullptr} + , decltype(_impl_.hvac_){nullptr} + , decltype(_impl_.infotainment_){nullptr} + , decltype(_impl_.sunroof_){nullptr} + , decltype(_impl_.rearviewmirror_){nullptr} + , decltype(_impl_.lights_){nullptr} + , decltype(_impl_.door_){nullptr} + , decltype(_impl_.seat_){nullptr} + , decltype(_impl_.convertible_){nullptr} + , decltype(_impl_.doorcount_) { 0u } + + , decltype(_impl_.driverposition_) { 0u } + + , decltype(_impl_.seatrowcount_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabin::~VehicleCabin() { + // @@protoc_insertion_point(destructor:vss.VehicleCabin) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabin::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.seatposcount_.~RepeatedField(); + if (this != internal_default_instance()) delete _impl_.rearshade_; + if (this != internal_default_instance()) delete _impl_.hvac_; + if (this != internal_default_instance()) delete _impl_.infotainment_; + if (this != internal_default_instance()) delete _impl_.sunroof_; + if (this != internal_default_instance()) delete _impl_.rearviewmirror_; + if (this != internal_default_instance()) delete _impl_.lights_; + if (this != internal_default_instance()) delete _impl_.door_; + if (this != internal_default_instance()) delete _impl_.seat_; + if (this != internal_default_instance()) delete _impl_.convertible_; +} + +void VehicleCabin::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabin::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabin) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.seatposcount_.Clear(); + if (GetArenaForAllocation() == nullptr && _impl_.rearshade_ != nullptr) { + delete _impl_.rearshade_; + } + _impl_.rearshade_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.hvac_ != nullptr) { + delete _impl_.hvac_; + } + _impl_.hvac_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.infotainment_ != nullptr) { + delete _impl_.infotainment_; + } + _impl_.infotainment_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sunroof_ != nullptr) { + delete _impl_.sunroof_; + } + _impl_.sunroof_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.rearviewmirror_ != nullptr) { + delete _impl_.rearviewmirror_; + } + _impl_.rearviewmirror_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.lights_ != nullptr) { + delete _impl_.lights_; + } + _impl_.lights_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.door_ != nullptr) { + delete _impl_.door_; + } + _impl_.door_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seat_ != nullptr) { + delete _impl_.seat_; + } + _impl_.seat_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.convertible_ != nullptr) { + delete _impl_.convertible_; + } + _impl_.convertible_ = nullptr; + ::memset(&_impl_.doorcount_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.seatrowcount_) - + reinterpret_cast(&_impl_.doorcount_)) + sizeof(_impl_.seatrowcount_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinRearShade RearShade = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_rearshade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVAC HVAC = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_hvac(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinInfotainment Infotainment = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_infotainment(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSunroof Sunroof = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sunroof(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinRearviewMirror RearviewMirror = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_rearviewmirror(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinLights Lights = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_lights(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoor Door = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 64)) { + _impl_.doorcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeat Seat = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 80)) { + _impl_.driverposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 SeatRowCount = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) { + _impl_.seatrowcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // repeated uint32 SeatPosCount = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_seatposcount(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::uint8_t>(tag) == 96) { + _internal_add_seatposcount(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinConvertible Convertible = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_convertible(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabin::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabin) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinRearShade RearShade = 1; + if (this->_internal_has_rearshade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::rearshade(this), + _Internal::rearshade(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVAC HVAC = 2; + if (this->_internal_has_hvac()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::hvac(this), + _Internal::hvac(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinInfotainment Infotainment = 3; + if (this->_internal_has_infotainment()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::infotainment(this), + _Internal::infotainment(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSunroof Sunroof = 4; + if (this->_internal_has_sunroof()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sunroof(this), + _Internal::sunroof(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinRearviewMirror RearviewMirror = 5; + if (this->_internal_has_rearviewmirror()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::rearviewmirror(this), + _Internal::rearviewmirror(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinLights Lights = 6; + if (this->_internal_has_lights()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::lights(this), + _Internal::lights(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinDoor Door = 7; + if (this->_internal_has_door()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::door(this), + _Internal::door(this).GetCachedSize(), target, stream); + } + + // uint32 DoorCount = 8; + if (this->_internal_doorcount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 8, this->_internal_doorcount(), target); + } + + // .vss.VehicleCabinSeat Seat = 9; + if (this->_internal_has_seat()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::seat(this), + _Internal::seat(this).GetCachedSize(), target, stream); + } + + // uint32 DriverPosition = 10; + if (this->_internal_driverposition() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 10, this->_internal_driverposition(), target); + } + + // uint32 SeatRowCount = 11; + if (this->_internal_seatrowcount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 11, this->_internal_seatrowcount(), target); + } + + // repeated uint32 SeatPosCount = 12; + { + int byte_size = _impl_._seatposcount_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt32Packed(12, _internal_seatposcount(), + byte_size, target); + } + } + + // .vss.VehicleCabinConvertible Convertible = 13; + if (this->_internal_has_convertible()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::convertible(this), + _Internal::convertible(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabin) + return target; +} + +::size_t VehicleCabin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabin) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated uint32 SeatPosCount = 12; + { + std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(this->_impl_.seatposcount_) + ; + _impl_._seatposcount_cached_byte_size_.Set(::_pbi::ToCachedSize(data_size)); + std::size_t tag_size = data_size == 0 + ? 0 + : 1 + ::_pbi::WireFormatLite::Int32Size( + static_cast(data_size)) + ; + total_size += tag_size + data_size; + } + + // .vss.VehicleCabinRearShade RearShade = 1; + if (this->_internal_has_rearshade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.rearshade_); + } + + // .vss.VehicleCabinHVAC HVAC = 2; + if (this->_internal_has_hvac()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.hvac_); + } + + // .vss.VehicleCabinInfotainment Infotainment = 3; + if (this->_internal_has_infotainment()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.infotainment_); + } + + // .vss.VehicleCabinSunroof Sunroof = 4; + if (this->_internal_has_sunroof()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sunroof_); + } + + // .vss.VehicleCabinRearviewMirror RearviewMirror = 5; + if (this->_internal_has_rearviewmirror()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.rearviewmirror_); + } + + // .vss.VehicleCabinLights Lights = 6; + if (this->_internal_has_lights()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lights_); + } + + // .vss.VehicleCabinDoor Door = 7; + if (this->_internal_has_door()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.door_); + } + + // .vss.VehicleCabinSeat Seat = 9; + if (this->_internal_has_seat()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seat_); + } + + // .vss.VehicleCabinConvertible Convertible = 13; + if (this->_internal_has_convertible()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.convertible_); + } + + // uint32 DoorCount = 8; + if (this->_internal_doorcount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_doorcount()); + } + + // uint32 DriverPosition = 10; + if (this->_internal_driverposition() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_driverposition()); + } + + // uint32 SeatRowCount = 11; + if (this->_internal_seatrowcount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_seatrowcount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabin::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabin::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabin::GetClassData() const { return &_class_data_; } + + +void VehicleCabin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabin) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.seatposcount_.MergeFrom(from._impl_.seatposcount_); + if (from._internal_has_rearshade()) { + _this->_internal_mutable_rearshade()->::vss::VehicleCabinRearShade::MergeFrom( + from._internal_rearshade()); + } + if (from._internal_has_hvac()) { + _this->_internal_mutable_hvac()->::vss::VehicleCabinHVAC::MergeFrom( + from._internal_hvac()); + } + if (from._internal_has_infotainment()) { + _this->_internal_mutable_infotainment()->::vss::VehicleCabinInfotainment::MergeFrom( + from._internal_infotainment()); + } + if (from._internal_has_sunroof()) { + _this->_internal_mutable_sunroof()->::vss::VehicleCabinSunroof::MergeFrom( + from._internal_sunroof()); + } + if (from._internal_has_rearviewmirror()) { + _this->_internal_mutable_rearviewmirror()->::vss::VehicleCabinRearviewMirror::MergeFrom( + from._internal_rearviewmirror()); + } + if (from._internal_has_lights()) { + _this->_internal_mutable_lights()->::vss::VehicleCabinLights::MergeFrom( + from._internal_lights()); + } + if (from._internal_has_door()) { + _this->_internal_mutable_door()->::vss::VehicleCabinDoor::MergeFrom( + from._internal_door()); + } + if (from._internal_has_seat()) { + _this->_internal_mutable_seat()->::vss::VehicleCabinSeat::MergeFrom( + from._internal_seat()); + } + if (from._internal_has_convertible()) { + _this->_internal_mutable_convertible()->::vss::VehicleCabinConvertible::MergeFrom( + from._internal_convertible()); + } + if (from._internal_doorcount() != 0) { + _this->_internal_set_doorcount(from._internal_doorcount()); + } + if (from._internal_driverposition() != 0) { + _this->_internal_set_driverposition(from._internal_driverposition()); + } + if (from._internal_seatrowcount() != 0) { + _this->_internal_set_seatrowcount(from._internal_seatrowcount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabin::CopyFrom(const VehicleCabin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabin::IsInitialized() const { + return true; +} + +void VehicleCabin::InternalSwap(VehicleCabin* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.seatposcount_.InternalSwap(&other->_impl_.seatposcount_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabin, _impl_.seatrowcount_) + + sizeof(VehicleCabin::_impl_.seatrowcount_) + - PROTOBUF_FIELD_OFFSET(VehicleCabin, _impl_.rearshade_)>( + reinterpret_cast(&_impl_.rearshade_), + reinterpret_cast(&other->_impl_.rearshade_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabin::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[61]); +} +// =================================================================== + +class VehicleCabinRearShade::_Internal { + public: +}; + +VehicleCabinRearShade::VehicleCabinRearShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinRearShade) +} +VehicleCabinRearShade::VehicleCabinRearShade(const VehicleCabinRearShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinRearShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinRearShade) +} + +inline void VehicleCabinRearShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinRearShade::~VehicleCabinRearShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinRearShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinRearShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinRearShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinRearShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinRearShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinRearShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinRearShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinRearShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinRearShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinRearShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinRearShade) + return target; +} + +::size_t VehicleCabinRearShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinRearShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinRearShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinRearShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinRearShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinRearShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinRearShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinRearShade::CopyFrom(const VehicleCabinRearShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinRearShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinRearShade::IsInitialized() const { + return true; +} + +void VehicleCabinRearShade::InternalSwap(VehicleCabinRearShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinRearShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[62]); +} +// =================================================================== + +class VehicleCabinHVAC::_Internal { + public: + static const ::vss::VehicleCabinHVACStation& station(const VehicleCabinHVAC* msg); +}; + +const ::vss::VehicleCabinHVACStation& +VehicleCabinHVAC::_Internal::station(const VehicleCabinHVAC* msg) { + return *msg->_impl_.station_; +} +VehicleCabinHVAC::VehicleCabinHVAC(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVAC) +} +VehicleCabinHVAC::VehicleCabinHVAC(const VehicleCabinHVAC& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVAC* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.station_){nullptr} + , decltype(_impl_.isrecirculationactive_) {} + + , decltype(_impl_.isfrontdefrosteractive_) {} + + , decltype(_impl_.isreardefrosteractive_) {} + + , decltype(_impl_.isairconditioningactive_) {} + + , decltype(_impl_.ambientairtemperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_station()) { + _this->_impl_.station_ = new ::vss::VehicleCabinHVACStation(*from._impl_.station_); + } + ::memcpy(&_impl_.isrecirculationactive_, &from._impl_.isrecirculationactive_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ambientairtemperature_) - + reinterpret_cast(&_impl_.isrecirculationactive_)) + sizeof(_impl_.ambientairtemperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVAC) +} + +inline void VehicleCabinHVAC::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.station_){nullptr} + , decltype(_impl_.isrecirculationactive_) { false } + + , decltype(_impl_.isfrontdefrosteractive_) { false } + + , decltype(_impl_.isreardefrosteractive_) { false } + + , decltype(_impl_.isairconditioningactive_) { false } + + , decltype(_impl_.ambientairtemperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVAC::~VehicleCabinHVAC() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVAC) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVAC::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.station_; +} + +void VehicleCabinHVAC::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVAC::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVAC) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.station_ != nullptr) { + delete _impl_.station_; + } + _impl_.station_ = nullptr; + ::memset(&_impl_.isrecirculationactive_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ambientairtemperature_) - + reinterpret_cast(&_impl_.isrecirculationactive_)) + sizeof(_impl_.ambientairtemperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVAC::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStation Station = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 16)) { + _impl_.isrecirculationactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFrontDefrosterActive = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isfrontdefrosteractive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRearDefrosterActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isreardefrosteractive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsAirConditioningActive = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isairconditioningactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float AmbientAirTemperature = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.ambientairtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVAC::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVAC) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStation Station = 1; + if (this->_internal_has_station()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::station(this), + _Internal::station(this).GetCachedSize(), target, stream); + } + + // bool IsRecirculationActive = 2; + if (this->_internal_isrecirculationactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isrecirculationactive(), target); + } + + // bool IsFrontDefrosterActive = 3; + if (this->_internal_isfrontdefrosteractive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isfrontdefrosteractive(), target); + } + + // bool IsRearDefrosterActive = 4; + if (this->_internal_isreardefrosteractive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isreardefrosteractive(), target); + } + + // bool IsAirConditioningActive = 5; + if (this->_internal_isairconditioningactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isairconditioningactive(), target); + } + + // float AmbientAirTemperature = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = this->_internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this->_internal_ambientairtemperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVAC) + return target; +} + +::size_t VehicleCabinHVAC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVAC) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStation Station = 1; + if (this->_internal_has_station()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.station_); + } + + // bool IsRecirculationActive = 2; + if (this->_internal_isrecirculationactive() != 0) { + total_size += 2; + } + + // bool IsFrontDefrosterActive = 3; + if (this->_internal_isfrontdefrosteractive() != 0) { + total_size += 2; + } + + // bool IsRearDefrosterActive = 4; + if (this->_internal_isreardefrosteractive() != 0) { + total_size += 2; + } + + // bool IsAirConditioningActive = 5; + if (this->_internal_isairconditioningactive() != 0) { + total_size += 2; + } + + // float AmbientAirTemperature = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = this->_internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVAC::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVAC::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVAC::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVAC::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVAC) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_station()) { + _this->_internal_mutable_station()->::vss::VehicleCabinHVACStation::MergeFrom( + from._internal_station()); + } + if (from._internal_isrecirculationactive() != 0) { + _this->_internal_set_isrecirculationactive(from._internal_isrecirculationactive()); + } + if (from._internal_isfrontdefrosteractive() != 0) { + _this->_internal_set_isfrontdefrosteractive(from._internal_isfrontdefrosteractive()); + } + if (from._internal_isreardefrosteractive() != 0) { + _this->_internal_set_isreardefrosteractive(from._internal_isreardefrosteractive()); + } + if (from._internal_isairconditioningactive() != 0) { + _this->_internal_set_isairconditioningactive(from._internal_isairconditioningactive()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = from._internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + _this->_internal_set_ambientairtemperature(from._internal_ambientairtemperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVAC::CopyFrom(const VehicleCabinHVAC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVAC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVAC::IsInitialized() const { + return true; +} + +void VehicleCabinHVAC::InternalSwap(VehicleCabinHVAC* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVAC, _impl_.ambientairtemperature_) + + sizeof(VehicleCabinHVAC::_impl_.ambientairtemperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVAC, _impl_.station_)>( + reinterpret_cast(&_impl_.station_), + reinterpret_cast(&other->_impl_.station_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVAC::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[63]); +} +// =================================================================== + +class VehicleCabinHVACStation::_Internal { + public: + static const ::vss::VehicleCabinHVACStationRow1& row1(const VehicleCabinHVACStation* msg); + static const ::vss::VehicleCabinHVACStationRow2& row2(const VehicleCabinHVACStation* msg); + static const ::vss::VehicleCabinHVACStationRow3& row3(const VehicleCabinHVACStation* msg); + static const ::vss::VehicleCabinHVACStationRow4& row4(const VehicleCabinHVACStation* msg); +}; + +const ::vss::VehicleCabinHVACStationRow1& +VehicleCabinHVACStation::_Internal::row1(const VehicleCabinHVACStation* msg) { + return *msg->_impl_.row1_; +} +const ::vss::VehicleCabinHVACStationRow2& +VehicleCabinHVACStation::_Internal::row2(const VehicleCabinHVACStation* msg) { + return *msg->_impl_.row2_; +} +const ::vss::VehicleCabinHVACStationRow3& +VehicleCabinHVACStation::_Internal::row3(const VehicleCabinHVACStation* msg) { + return *msg->_impl_.row3_; +} +const ::vss::VehicleCabinHVACStationRow4& +VehicleCabinHVACStation::_Internal::row4(const VehicleCabinHVACStation* msg) { + return *msg->_impl_.row4_; +} +VehicleCabinHVACStation::VehicleCabinHVACStation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStation) +} +VehicleCabinHVACStation::VehicleCabinHVACStation(const VehicleCabinHVACStation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , decltype(_impl_.row3_){nullptr} + , decltype(_impl_.row4_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_row1()) { + _this->_impl_.row1_ = new ::vss::VehicleCabinHVACStationRow1(*from._impl_.row1_); + } + if (from._internal_has_row2()) { + _this->_impl_.row2_ = new ::vss::VehicleCabinHVACStationRow2(*from._impl_.row2_); + } + if (from._internal_has_row3()) { + _this->_impl_.row3_ = new ::vss::VehicleCabinHVACStationRow3(*from._impl_.row3_); + } + if (from._internal_has_row4()) { + _this->_impl_.row4_ = new ::vss::VehicleCabinHVACStationRow4(*from._impl_.row4_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStation) +} + +inline void VehicleCabinHVACStation::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , decltype(_impl_.row3_){nullptr} + , decltype(_impl_.row4_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVACStation::~VehicleCabinHVACStation() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStation::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.row1_; + if (this != internal_default_instance()) delete _impl_.row2_; + if (this != internal_default_instance()) delete _impl_.row3_; + if (this != internal_default_instance()) delete _impl_.row4_; +} + +void VehicleCabinHVACStation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStation::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStation) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.row1_ != nullptr) { + delete _impl_.row1_; + } + _impl_.row1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row2_ != nullptr) { + delete _impl_.row2_; + } + _impl_.row2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row3_ != nullptr) { + delete _impl_.row3_; + } + _impl_.row3_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row4_ != nullptr) { + delete _impl_.row4_; + } + _impl_.row4_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStationRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow3 Row3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_row3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow4 Row4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_row4(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStation::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStation) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow1 Row1 = 1; + if (this->_internal_has_row1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::row1(this), + _Internal::row1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow2 Row2 = 2; + if (this->_internal_has_row2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::row2(this), + _Internal::row2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow3 Row3 = 3; + if (this->_internal_has_row3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::row3(this), + _Internal::row3(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow4 Row4 = 4; + if (this->_internal_has_row4()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::row4(this), + _Internal::row4(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStation) + return target; +} + +::size_t VehicleCabinHVACStation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow1 Row1 = 1; + if (this->_internal_has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row1_); + } + + // .vss.VehicleCabinHVACStationRow2 Row2 = 2; + if (this->_internal_has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row2_); + } + + // .vss.VehicleCabinHVACStationRow3 Row3 = 3; + if (this->_internal_has_row3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row3_); + } + + // .vss.VehicleCabinHVACStationRow4 Row4 = 4; + if (this->_internal_has_row4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row4_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStation::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_row1()) { + _this->_internal_mutable_row1()->::vss::VehicleCabinHVACStationRow1::MergeFrom( + from._internal_row1()); + } + if (from._internal_has_row2()) { + _this->_internal_mutable_row2()->::vss::VehicleCabinHVACStationRow2::MergeFrom( + from._internal_row2()); + } + if (from._internal_has_row3()) { + _this->_internal_mutable_row3()->::vss::VehicleCabinHVACStationRow3::MergeFrom( + from._internal_row3()); + } + if (from._internal_has_row4()) { + _this->_internal_mutable_row4()->::vss::VehicleCabinHVACStationRow4::MergeFrom( + from._internal_row4()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStation::CopyFrom(const VehicleCabinHVACStation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStation::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStation::InternalSwap(VehicleCabinHVACStation* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStation, _impl_.row4_) + + sizeof(VehicleCabinHVACStation::_impl_.row4_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStation, _impl_.row1_)>( + reinterpret_cast(&_impl_.row1_), + reinterpret_cast(&other->_impl_.row1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[64]); +} +// =================================================================== + +class VehicleCabinHVACStationRow1::_Internal { + public: + static const ::vss::VehicleCabinHVACStationRow1Left& left(const VehicleCabinHVACStationRow1* msg); + static const ::vss::VehicleCabinHVACStationRow1Right& right(const VehicleCabinHVACStationRow1* msg); +}; + +const ::vss::VehicleCabinHVACStationRow1Left& +VehicleCabinHVACStationRow1::_Internal::left(const VehicleCabinHVACStationRow1* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinHVACStationRow1Right& +VehicleCabinHVACStationRow1::_Internal::right(const VehicleCabinHVACStationRow1* msg) { + return *msg->_impl_.right_; +} +VehicleCabinHVACStationRow1::VehicleCabinHVACStationRow1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow1) +} +VehicleCabinHVACStationRow1::VehicleCabinHVACStationRow1(const VehicleCabinHVACStationRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinHVACStationRow1Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinHVACStationRow1Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow1) +} + +inline void VehicleCabinHVACStationRow1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVACStationRow1::~VehicleCabinHVACStationRow1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinHVACStationRow1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStationRow1Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow1Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow1Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow1Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow1) + return target; +} + +::size_t VehicleCabinHVACStationRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow1Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinHVACStationRow1Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinHVACStationRow1Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinHVACStationRow1Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow1::CopyFrom(const VehicleCabinHVACStationRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1::InternalSwap(VehicleCabinHVACStationRow1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1, _impl_.right_) + + sizeof(VehicleCabinHVACStationRow1::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[65]); +} +// =================================================================== + +class VehicleCabinHVACStationRow1Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow1Left::VehicleCabinHVACStationRow1Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow1Left) +} +VehicleCabinHVACStationRow1Left::VehicleCabinHVACStationRow1Left(const VehicleCabinHVACStationRow1Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow1Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow1Left) +} + +inline void VehicleCabinHVACStationRow1Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow1Left::~VehicleCabinHVACStationRow1Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow1Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow1Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow1Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow1Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow1Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow1Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow1Left.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow1Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow1Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow1Left.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow1Left) + return target; +} + +::size_t VehicleCabinHVACStationRow1Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow1Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow1Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow1Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow1Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow1Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow1Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow1Left::CopyFrom(const VehicleCabinHVACStationRow1Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1Left::InternalSwap(VehicleCabinHVACStationRow1Left* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1Left, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow1Left::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1Left, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[66]); +} +// =================================================================== + +class VehicleCabinHVACStationRow1Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow1Right::VehicleCabinHVACStationRow1Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow1Right) +} +VehicleCabinHVACStationRow1Right::VehicleCabinHVACStationRow1Right(const VehicleCabinHVACStationRow1Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow1Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow1Right) +} + +inline void VehicleCabinHVACStationRow1Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow1Right::~VehicleCabinHVACStationRow1Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow1Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow1Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow1Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow1Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow1Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow1Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow1Right.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow1Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow1Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow1Right.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow1Right) + return target; +} + +::size_t VehicleCabinHVACStationRow1Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow1Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow1Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow1Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow1Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow1Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow1Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow1Right::CopyFrom(const VehicleCabinHVACStationRow1Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1Right::InternalSwap(VehicleCabinHVACStationRow1Right* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1Right, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow1Right::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow1Right, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[67]); +} +// =================================================================== + +class VehicleCabinHVACStationRow2::_Internal { + public: + static const ::vss::VehicleCabinHVACStationRow2Left& left(const VehicleCabinHVACStationRow2* msg); + static const ::vss::VehicleCabinHVACStationRow2Right& right(const VehicleCabinHVACStationRow2* msg); +}; + +const ::vss::VehicleCabinHVACStationRow2Left& +VehicleCabinHVACStationRow2::_Internal::left(const VehicleCabinHVACStationRow2* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinHVACStationRow2Right& +VehicleCabinHVACStationRow2::_Internal::right(const VehicleCabinHVACStationRow2* msg) { + return *msg->_impl_.right_; +} +VehicleCabinHVACStationRow2::VehicleCabinHVACStationRow2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow2) +} +VehicleCabinHVACStationRow2::VehicleCabinHVACStationRow2(const VehicleCabinHVACStationRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinHVACStationRow2Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinHVACStationRow2Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow2) +} + +inline void VehicleCabinHVACStationRow2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVACStationRow2::~VehicleCabinHVACStationRow2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinHVACStationRow2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStationRow2Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow2Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow2Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow2Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow2) + return target; +} + +::size_t VehicleCabinHVACStationRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow2Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinHVACStationRow2Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinHVACStationRow2Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinHVACStationRow2Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow2::CopyFrom(const VehicleCabinHVACStationRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2::InternalSwap(VehicleCabinHVACStationRow2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2, _impl_.right_) + + sizeof(VehicleCabinHVACStationRow2::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[68]); +} +// =================================================================== + +class VehicleCabinHVACStationRow2Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow2Left::VehicleCabinHVACStationRow2Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow2Left) +} +VehicleCabinHVACStationRow2Left::VehicleCabinHVACStationRow2Left(const VehicleCabinHVACStationRow2Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow2Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow2Left) +} + +inline void VehicleCabinHVACStationRow2Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow2Left::~VehicleCabinHVACStationRow2Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow2Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow2Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow2Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow2Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow2Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow2Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow2Left.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow2Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow2Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow2Left.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow2Left) + return target; +} + +::size_t VehicleCabinHVACStationRow2Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow2Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow2Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow2Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow2Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow2Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow2Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow2Left::CopyFrom(const VehicleCabinHVACStationRow2Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2Left::InternalSwap(VehicleCabinHVACStationRow2Left* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2Left, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow2Left::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2Left, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[69]); +} +// =================================================================== + +class VehicleCabinHVACStationRow2Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow2Right::VehicleCabinHVACStationRow2Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow2Right) +} +VehicleCabinHVACStationRow2Right::VehicleCabinHVACStationRow2Right(const VehicleCabinHVACStationRow2Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow2Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow2Right) +} + +inline void VehicleCabinHVACStationRow2Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow2Right::~VehicleCabinHVACStationRow2Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow2Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow2Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow2Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow2Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow2Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow2Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow2Right.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow2Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow2Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow2Right.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow2Right) + return target; +} + +::size_t VehicleCabinHVACStationRow2Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow2Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow2Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow2Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow2Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow2Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow2Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow2Right::CopyFrom(const VehicleCabinHVACStationRow2Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2Right::InternalSwap(VehicleCabinHVACStationRow2Right* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2Right, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow2Right::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow2Right, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[70]); +} +// =================================================================== + +class VehicleCabinHVACStationRow3::_Internal { + public: + static const ::vss::VehicleCabinHVACStationRow3Left& left(const VehicleCabinHVACStationRow3* msg); + static const ::vss::VehicleCabinHVACStationRow3Right& right(const VehicleCabinHVACStationRow3* msg); +}; + +const ::vss::VehicleCabinHVACStationRow3Left& +VehicleCabinHVACStationRow3::_Internal::left(const VehicleCabinHVACStationRow3* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinHVACStationRow3Right& +VehicleCabinHVACStationRow3::_Internal::right(const VehicleCabinHVACStationRow3* msg) { + return *msg->_impl_.right_; +} +VehicleCabinHVACStationRow3::VehicleCabinHVACStationRow3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow3) +} +VehicleCabinHVACStationRow3::VehicleCabinHVACStationRow3(const VehicleCabinHVACStationRow3& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow3* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinHVACStationRow3Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinHVACStationRow3Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow3) +} + +inline void VehicleCabinHVACStationRow3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVACStationRow3::~VehicleCabinHVACStationRow3() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinHVACStationRow3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStationRow3Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow3Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow3Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow3Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow3) + return target; +} + +::size_t VehicleCabinHVACStationRow3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow3Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinHVACStationRow3Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow3::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinHVACStationRow3Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinHVACStationRow3Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow3::CopyFrom(const VehicleCabinHVACStationRow3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3::InternalSwap(VehicleCabinHVACStationRow3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3, _impl_.right_) + + sizeof(VehicleCabinHVACStationRow3::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[71]); +} +// =================================================================== + +class VehicleCabinHVACStationRow3Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow3Left::VehicleCabinHVACStationRow3Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow3Left) +} +VehicleCabinHVACStationRow3Left::VehicleCabinHVACStationRow3Left(const VehicleCabinHVACStationRow3Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow3Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow3Left) +} + +inline void VehicleCabinHVACStationRow3Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow3Left::~VehicleCabinHVACStationRow3Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow3Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow3Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow3Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow3Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow3Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow3Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow3Left.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow3Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow3Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow3Left.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow3Left) + return target; +} + +::size_t VehicleCabinHVACStationRow3Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow3Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow3Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow3Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow3Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow3Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow3Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow3Left::CopyFrom(const VehicleCabinHVACStationRow3Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow3Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3Left::InternalSwap(VehicleCabinHVACStationRow3Left* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3Left, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow3Left::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3Left, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[72]); +} +// =================================================================== + +class VehicleCabinHVACStationRow3Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow3Right::VehicleCabinHVACStationRow3Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow3Right) +} +VehicleCabinHVACStationRow3Right::VehicleCabinHVACStationRow3Right(const VehicleCabinHVACStationRow3Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow3Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow3Right) +} + +inline void VehicleCabinHVACStationRow3Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow3Right::~VehicleCabinHVACStationRow3Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow3Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow3Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow3Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow3Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow3Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow3Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow3Right.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow3Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow3Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow3Right.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow3Right) + return target; +} + +::size_t VehicleCabinHVACStationRow3Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow3Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow3Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow3Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow3Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow3Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow3Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow3Right::CopyFrom(const VehicleCabinHVACStationRow3Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow3Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3Right::InternalSwap(VehicleCabinHVACStationRow3Right* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3Right, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow3Right::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow3Right, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[73]); +} +// =================================================================== + +class VehicleCabinHVACStationRow4::_Internal { + public: + static const ::vss::VehicleCabinHVACStationRow4Left& left(const VehicleCabinHVACStationRow4* msg); + static const ::vss::VehicleCabinHVACStationRow4Right& right(const VehicleCabinHVACStationRow4* msg); +}; + +const ::vss::VehicleCabinHVACStationRow4Left& +VehicleCabinHVACStationRow4::_Internal::left(const VehicleCabinHVACStationRow4* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinHVACStationRow4Right& +VehicleCabinHVACStationRow4::_Internal::right(const VehicleCabinHVACStationRow4* msg) { + return *msg->_impl_.right_; +} +VehicleCabinHVACStationRow4::VehicleCabinHVACStationRow4(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow4) +} +VehicleCabinHVACStationRow4::VehicleCabinHVACStationRow4(const VehicleCabinHVACStationRow4& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow4* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinHVACStationRow4Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinHVACStationRow4Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow4) +} + +inline void VehicleCabinHVACStationRow4::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinHVACStationRow4::~VehicleCabinHVACStationRow4() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow4) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow4::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinHVACStationRow4::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow4::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow4) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow4::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinHVACStationRow4Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinHVACStationRow4Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow4::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow4) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow4Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinHVACStationRow4Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow4) + return target; +} + +::size_t VehicleCabinHVACStationRow4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow4) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinHVACStationRow4Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinHVACStationRow4Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow4::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow4::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow4::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow4::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow4) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinHVACStationRow4Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinHVACStationRow4Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow4::CopyFrom(const VehicleCabinHVACStationRow4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4::InternalSwap(VehicleCabinHVACStationRow4* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4, _impl_.right_) + + sizeof(VehicleCabinHVACStationRow4::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[74]); +} +// =================================================================== + +class VehicleCabinHVACStationRow4Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow4Left::VehicleCabinHVACStationRow4Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow4Left) +} +VehicleCabinHVACStationRow4Left::VehicleCabinHVACStationRow4Left(const VehicleCabinHVACStationRow4Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow4Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow4Left) +} + +inline void VehicleCabinHVACStationRow4Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow4Left::~VehicleCabinHVACStationRow4Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow4Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow4Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow4Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow4Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow4Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow4Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow4Left.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow4Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow4Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow4Left.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow4Left) + return target; +} + +::size_t VehicleCabinHVACStationRow4Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow4Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow4Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow4Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow4Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow4Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow4Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow4Left::CopyFrom(const VehicleCabinHVACStationRow4Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow4Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4Left::InternalSwap(VehicleCabinHVACStationRow4Left* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4Left, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow4Left::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4Left, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[75]); +} +// =================================================================== + +class VehicleCabinHVACStationRow4Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow4Right::VehicleCabinHVACStationRow4Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinHVACStationRow4Right) +} +VehicleCabinHVACStationRow4Right::VehicleCabinHVACStationRow4Right(const VehicleCabinHVACStationRow4Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinHVACStationRow4Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) {} + + , decltype(_impl_.temperature_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airdistribution().empty()) { + _this->_impl_.airdistribution_.Set(from._internal_airdistribution(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.fanspeed_, &from._impl_.fanspeed_, + static_cast<::size_t>(reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinHVACStationRow4Right) +} + +inline void VehicleCabinHVACStationRow4Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airdistribution_) {} + + , decltype(_impl_.fanspeed_) { 0u } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.airdistribution_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airdistribution_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinHVACStationRow4Right::~VehicleCabinHVACStationRow4Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinHVACStationRow4Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinHVACStationRow4Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.airdistribution_.Destroy(); +} + +void VehicleCabinHVACStationRow4Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinHVACStationRow4Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinHVACStationRow4Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.airdistribution_.ClearToEmpty(); + ::memset(&_impl_.fanspeed_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.fanspeed_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinHVACStationRow4Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_airdistribution(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinHVACStationRow4Right.AirDistribution")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinHVACStationRow4Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinHVACStationRow4Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + const std::string& _s = this->_internal_airdistribution(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinHVACStationRow4Right.AirDistribution"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinHVACStationRow4Right) + return target; +} + +::size_t VehicleCabinHVACStationRow4Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinHVACStationRow4Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (!this->_internal_airdistribution().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->_internal_fanspeed() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->_internal_temperature() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_temperature()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinHVACStationRow4Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinHVACStationRow4Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinHVACStationRow4Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinHVACStationRow4Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinHVACStationRow4Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_airdistribution().empty()) { + _this->_internal_set_airdistribution(from._internal_airdistribution()); + } + if (from._internal_fanspeed() != 0) { + _this->_internal_set_fanspeed(from._internal_fanspeed()); + } + if (from._internal_temperature() != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinHVACStationRow4Right::CopyFrom(const VehicleCabinHVACStationRow4Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinHVACStationRow4Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4Right::InternalSwap(VehicleCabinHVACStationRow4Right* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airdistribution_, lhs_arena, + &other->_impl_.airdistribution_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4Right, _impl_.temperature_) + + sizeof(VehicleCabinHVACStationRow4Right::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinHVACStationRow4Right, _impl_.fanspeed_)>( + reinterpret_cast(&_impl_.fanspeed_), + reinterpret_cast(&other->_impl_.fanspeed_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[76]); +} +// =================================================================== + +class VehicleCabinInfotainment::_Internal { + public: + static const ::vss::VehicleCabinInfotainmentMedia& media(const VehicleCabinInfotainment* msg); + static const ::vss::VehicleCabinInfotainmentNavigation& navigation(const VehicleCabinInfotainment* msg); + static const ::vss::VehicleCabinInfotainmentHMI& hmi(const VehicleCabinInfotainment* msg); + static const ::vss::VehicleCabinInfotainmentSmartphoneProjection& smartphoneprojection(const VehicleCabinInfotainment* msg); +}; + +const ::vss::VehicleCabinInfotainmentMedia& +VehicleCabinInfotainment::_Internal::media(const VehicleCabinInfotainment* msg) { + return *msg->_impl_.media_; +} +const ::vss::VehicleCabinInfotainmentNavigation& +VehicleCabinInfotainment::_Internal::navigation(const VehicleCabinInfotainment* msg) { + return *msg->_impl_.navigation_; +} +const ::vss::VehicleCabinInfotainmentHMI& +VehicleCabinInfotainment::_Internal::hmi(const VehicleCabinInfotainment* msg) { + return *msg->_impl_.hmi_; +} +const ::vss::VehicleCabinInfotainmentSmartphoneProjection& +VehicleCabinInfotainment::_Internal::smartphoneprojection(const VehicleCabinInfotainment* msg) { + return *msg->_impl_.smartphoneprojection_; +} +VehicleCabinInfotainment::VehicleCabinInfotainment(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainment) +} +VehicleCabinInfotainment::VehicleCabinInfotainment(const VehicleCabinInfotainment& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainment* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.media_){nullptr} + , decltype(_impl_.navigation_){nullptr} + , decltype(_impl_.hmi_){nullptr} + , decltype(_impl_.smartphoneprojection_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_media()) { + _this->_impl_.media_ = new ::vss::VehicleCabinInfotainmentMedia(*from._impl_.media_); + } + if (from._internal_has_navigation()) { + _this->_impl_.navigation_ = new ::vss::VehicleCabinInfotainmentNavigation(*from._impl_.navigation_); + } + if (from._internal_has_hmi()) { + _this->_impl_.hmi_ = new ::vss::VehicleCabinInfotainmentHMI(*from._impl_.hmi_); + } + if (from._internal_has_smartphoneprojection()) { + _this->_impl_.smartphoneprojection_ = new ::vss::VehicleCabinInfotainmentSmartphoneProjection(*from._impl_.smartphoneprojection_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainment) +} + +inline void VehicleCabinInfotainment::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.media_){nullptr} + , decltype(_impl_.navigation_){nullptr} + , decltype(_impl_.hmi_){nullptr} + , decltype(_impl_.smartphoneprojection_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinInfotainment::~VehicleCabinInfotainment() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainment) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainment::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.media_; + if (this != internal_default_instance()) delete _impl_.navigation_; + if (this != internal_default_instance()) delete _impl_.hmi_; + if (this != internal_default_instance()) delete _impl_.smartphoneprojection_; +} + +void VehicleCabinInfotainment::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainment::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainment) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.media_ != nullptr) { + delete _impl_.media_; + } + _impl_.media_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.navigation_ != nullptr) { + delete _impl_.navigation_; + } + _impl_.navigation_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.hmi_ != nullptr) { + delete _impl_.hmi_; + } + _impl_.hmi_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.smartphoneprojection_ != nullptr) { + delete _impl_.smartphoneprojection_; + } + _impl_.smartphoneprojection_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinInfotainmentMedia Media = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_media(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinInfotainmentNavigation Navigation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_navigation(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinInfotainmentHMI HMI = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_hmi(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_smartphoneprojection(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainment::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainment) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinInfotainmentMedia Media = 1; + if (this->_internal_has_media()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::media(this), + _Internal::media(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinInfotainmentNavigation Navigation = 2; + if (this->_internal_has_navigation()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::navigation(this), + _Internal::navigation(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinInfotainmentHMI HMI = 3; + if (this->_internal_has_hmi()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::hmi(this), + _Internal::hmi(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + if (this->_internal_has_smartphoneprojection()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::smartphoneprojection(this), + _Internal::smartphoneprojection(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainment) + return target; +} + +::size_t VehicleCabinInfotainment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainment) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinInfotainmentMedia Media = 1; + if (this->_internal_has_media()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.media_); + } + + // .vss.VehicleCabinInfotainmentNavigation Navigation = 2; + if (this->_internal_has_navigation()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.navigation_); + } + + // .vss.VehicleCabinInfotainmentHMI HMI = 3; + if (this->_internal_has_hmi()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.hmi_); + } + + // .vss.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + if (this->_internal_has_smartphoneprojection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.smartphoneprojection_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainment::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainment::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainment::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainment) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_media()) { + _this->_internal_mutable_media()->::vss::VehicleCabinInfotainmentMedia::MergeFrom( + from._internal_media()); + } + if (from._internal_has_navigation()) { + _this->_internal_mutable_navigation()->::vss::VehicleCabinInfotainmentNavigation::MergeFrom( + from._internal_navigation()); + } + if (from._internal_has_hmi()) { + _this->_internal_mutable_hmi()->::vss::VehicleCabinInfotainmentHMI::MergeFrom( + from._internal_hmi()); + } + if (from._internal_has_smartphoneprojection()) { + _this->_internal_mutable_smartphoneprojection()->::vss::VehicleCabinInfotainmentSmartphoneProjection::MergeFrom( + from._internal_smartphoneprojection()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainment::CopyFrom(const VehicleCabinInfotainment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainment::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainment::InternalSwap(VehicleCabinInfotainment* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainment, _impl_.smartphoneprojection_) + + sizeof(VehicleCabinInfotainment::_impl_.smartphoneprojection_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainment, _impl_.media_)>( + reinterpret_cast(&_impl_.media_), + reinterpret_cast(&other->_impl_.media_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainment::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[77]); +} +// =================================================================== + +class VehicleCabinInfotainmentMedia::_Internal { + public: + static const ::vss::VehicleCabinInfotainmentMediaPlayed& played(const VehicleCabinInfotainmentMedia* msg); +}; + +const ::vss::VehicleCabinInfotainmentMediaPlayed& +VehicleCabinInfotainmentMedia::_Internal::played(const VehicleCabinInfotainmentMedia* msg) { + return *msg->_impl_.played_; +} +VehicleCabinInfotainmentMedia::VehicleCabinInfotainmentMedia(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentMedia) +} +VehicleCabinInfotainmentMedia::VehicleCabinInfotainmentMedia(const VehicleCabinInfotainmentMedia& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainmentMedia* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.action_) {} + + , decltype(_impl_.declineduri_) {} + + , decltype(_impl_.selecteduri_) {} + + , decltype(_impl_.played_){nullptr} + , decltype(_impl_.volume_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.action_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.action_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_action().empty()) { + _this->_impl_.action_.Set(from._internal_action(), _this->GetArenaForAllocation()); + } + _impl_.declineduri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.declineduri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_declineduri().empty()) { + _this->_impl_.declineduri_.Set(from._internal_declineduri(), _this->GetArenaForAllocation()); + } + _impl_.selecteduri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.selecteduri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_selecteduri().empty()) { + _this->_impl_.selecteduri_.Set(from._internal_selecteduri(), _this->GetArenaForAllocation()); + } + if (from._internal_has_played()) { + _this->_impl_.played_ = new ::vss::VehicleCabinInfotainmentMediaPlayed(*from._impl_.played_); + } + _this->_impl_.volume_ = from._impl_.volume_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentMedia) +} + +inline void VehicleCabinInfotainmentMedia::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.action_) {} + + , decltype(_impl_.declineduri_) {} + + , decltype(_impl_.selecteduri_) {} + + , decltype(_impl_.played_){nullptr} + , decltype(_impl_.volume_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.action_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.action_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.declineduri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.declineduri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.selecteduri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.selecteduri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinInfotainmentMedia::~VehicleCabinInfotainmentMedia() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentMedia) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentMedia::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.action_.Destroy(); + _impl_.declineduri_.Destroy(); + _impl_.selecteduri_.Destroy(); + if (this != internal_default_instance()) delete _impl_.played_; +} + +void VehicleCabinInfotainmentMedia::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentMedia::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentMedia) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.action_.ClearToEmpty(); + _impl_.declineduri_.ClearToEmpty(); + _impl_.selecteduri_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.played_ != nullptr) { + delete _impl_.played_; + } + _impl_.played_ = nullptr; + _impl_.volume_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentMedia::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Action = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_action(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMedia.Action")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinInfotainmentMediaPlayed Played = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_declineduri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMedia.DeclinedURI")); + } else { + goto handle_unusual; + } + continue; + // string SelectedURI = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_selecteduri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMedia.SelectedURI")); + } else { + goto handle_unusual; + } + continue; + // uint32 Volume = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentMedia::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentMedia) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Action = 1; + if (!this->_internal_action().empty()) { + const std::string& _s = this->_internal_action(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMedia.Action"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .vss.VehicleCabinInfotainmentMediaPlayed Played = 2; + if (this->_internal_has_played()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::played(this), + _Internal::played(this).GetCachedSize(), target, stream); + } + + // string DeclinedURI = 3; + if (!this->_internal_declineduri().empty()) { + const std::string& _s = this->_internal_declineduri(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMedia.DeclinedURI"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string SelectedURI = 4; + if (!this->_internal_selecteduri().empty()) { + const std::string& _s = this->_internal_selecteduri(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMedia.SelectedURI"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // uint32 Volume = 5; + if (this->_internal_volume() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_volume(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentMedia) + return target; +} + +::size_t VehicleCabinInfotainmentMedia::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentMedia) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Action = 1; + if (!this->_internal_action().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_action()); + } + + // string DeclinedURI = 3; + if (!this->_internal_declineduri().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_declineduri()); + } + + // string SelectedURI = 4; + if (!this->_internal_selecteduri().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_selecteduri()); + } + + // .vss.VehicleCabinInfotainmentMediaPlayed Played = 2; + if (this->_internal_has_played()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.played_); + } + + // uint32 Volume = 5; + if (this->_internal_volume() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_volume()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentMedia::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentMedia::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentMedia::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentMedia::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentMedia) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_action().empty()) { + _this->_internal_set_action(from._internal_action()); + } + if (!from._internal_declineduri().empty()) { + _this->_internal_set_declineduri(from._internal_declineduri()); + } + if (!from._internal_selecteduri().empty()) { + _this->_internal_set_selecteduri(from._internal_selecteduri()); + } + if (from._internal_has_played()) { + _this->_internal_mutable_played()->::vss::VehicleCabinInfotainmentMediaPlayed::MergeFrom( + from._internal_played()); + } + if (from._internal_volume() != 0) { + _this->_internal_set_volume(from._internal_volume()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentMedia::CopyFrom(const VehicleCabinInfotainmentMedia& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentMedia) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentMedia::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentMedia::InternalSwap(VehicleCabinInfotainmentMedia* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.action_, lhs_arena, + &other->_impl_.action_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.declineduri_, lhs_arena, + &other->_impl_.declineduri_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.selecteduri_, lhs_arena, + &other->_impl_.selecteduri_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentMedia, _impl_.volume_) + + sizeof(VehicleCabinInfotainmentMedia::_impl_.volume_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentMedia, _impl_.played_)>( + reinterpret_cast(&_impl_.played_), + reinterpret_cast(&other->_impl_.played_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentMedia::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[78]); +} +// =================================================================== + +class VehicleCabinInfotainmentMediaPlayed::_Internal { + public: +}; + +VehicleCabinInfotainmentMediaPlayed::VehicleCabinInfotainmentMediaPlayed(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentMediaPlayed) +} +VehicleCabinInfotainmentMediaPlayed::VehicleCabinInfotainmentMediaPlayed(const VehicleCabinInfotainmentMediaPlayed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainmentMediaPlayed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.source_) {} + + , decltype(_impl_.artist_) {} + + , decltype(_impl_.album_) {} + + , decltype(_impl_.track_) {} + + , decltype(_impl_.uri_) {} + + , decltype(_impl_.playbackrate_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.source_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.source_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_source().empty()) { + _this->_impl_.source_.Set(from._internal_source(), _this->GetArenaForAllocation()); + } + _impl_.artist_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.artist_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_artist().empty()) { + _this->_impl_.artist_.Set(from._internal_artist(), _this->GetArenaForAllocation()); + } + _impl_.album_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.album_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_album().empty()) { + _this->_impl_.album_.Set(from._internal_album(), _this->GetArenaForAllocation()); + } + _impl_.track_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.track_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_track().empty()) { + _this->_impl_.track_.Set(from._internal_track(), _this->GetArenaForAllocation()); + } + _impl_.uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_uri().empty()) { + _this->_impl_.uri_.Set(from._internal_uri(), _this->GetArenaForAllocation()); + } + _this->_impl_.playbackrate_ = from._impl_.playbackrate_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentMediaPlayed) +} + +inline void VehicleCabinInfotainmentMediaPlayed::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.source_) {} + + , decltype(_impl_.artist_) {} + + , decltype(_impl_.album_) {} + + , decltype(_impl_.track_) {} + + , decltype(_impl_.uri_) {} + + , decltype(_impl_.playbackrate_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.source_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.source_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.artist_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.artist_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.album_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.album_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.track_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.track_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.uri_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.uri_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinInfotainmentMediaPlayed::~VehicleCabinInfotainmentMediaPlayed() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentMediaPlayed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentMediaPlayed::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.source_.Destroy(); + _impl_.artist_.Destroy(); + _impl_.album_.Destroy(); + _impl_.track_.Destroy(); + _impl_.uri_.Destroy(); +} + +void VehicleCabinInfotainmentMediaPlayed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentMediaPlayed::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentMediaPlayed) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.source_.ClearToEmpty(); + _impl_.artist_.ClearToEmpty(); + _impl_.album_.ClearToEmpty(); + _impl_.track_.ClearToEmpty(); + _impl_.uri_.ClearToEmpty(); + _impl_.playbackrate_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentMediaPlayed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Source = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_source(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMediaPlayed.Source")); + } else { + goto handle_unusual; + } + continue; + // string Artist = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_artist(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMediaPlayed.Artist")); + } else { + goto handle_unusual; + } + continue; + // string Album = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_album(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMediaPlayed.Album")); + } else { + goto handle_unusual; + } + continue; + // string Track = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_track(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMediaPlayed.Track")); + } else { + goto handle_unusual; + } + continue; + // string URI = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + auto str = _internal_mutable_uri(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentMediaPlayed.URI")); + } else { + goto handle_unusual; + } + continue; + // float PlaybackRate = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.playbackrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentMediaPlayed::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentMediaPlayed) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Source = 1; + if (!this->_internal_source().empty()) { + const std::string& _s = this->_internal_source(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMediaPlayed.Source"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Artist = 2; + if (!this->_internal_artist().empty()) { + const std::string& _s = this->_internal_artist(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMediaPlayed.Artist"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // string Album = 3; + if (!this->_internal_album().empty()) { + const std::string& _s = this->_internal_album(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMediaPlayed.Album"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string Track = 4; + if (!this->_internal_track().empty()) { + const std::string& _s = this->_internal_track(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMediaPlayed.Track"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // string URI = 5; + if (!this->_internal_uri().empty()) { + const std::string& _s = this->_internal_uri(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentMediaPlayed.URI"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + // float PlaybackRate = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_playbackrate = this->_internal_playbackrate(); + ::uint32_t raw_playbackrate; + memcpy(&raw_playbackrate, &tmp_playbackrate, sizeof(tmp_playbackrate)); + if (raw_playbackrate != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this->_internal_playbackrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentMediaPlayed) + return target; +} + +::size_t VehicleCabinInfotainmentMediaPlayed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentMediaPlayed) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Source = 1; + if (!this->_internal_source().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_source()); + } + + // string Artist = 2; + if (!this->_internal_artist().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_artist()); + } + + // string Album = 3; + if (!this->_internal_album().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_album()); + } + + // string Track = 4; + if (!this->_internal_track().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_track()); + } + + // string URI = 5; + if (!this->_internal_uri().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_uri()); + } + + // float PlaybackRate = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_playbackrate = this->_internal_playbackrate(); + ::uint32_t raw_playbackrate; + memcpy(&raw_playbackrate, &tmp_playbackrate, sizeof(tmp_playbackrate)); + if (raw_playbackrate != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentMediaPlayed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentMediaPlayed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentMediaPlayed::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentMediaPlayed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentMediaPlayed) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_source().empty()) { + _this->_internal_set_source(from._internal_source()); + } + if (!from._internal_artist().empty()) { + _this->_internal_set_artist(from._internal_artist()); + } + if (!from._internal_album().empty()) { + _this->_internal_set_album(from._internal_album()); + } + if (!from._internal_track().empty()) { + _this->_internal_set_track(from._internal_track()); + } + if (!from._internal_uri().empty()) { + _this->_internal_set_uri(from._internal_uri()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_playbackrate = from._internal_playbackrate(); + ::uint32_t raw_playbackrate; + memcpy(&raw_playbackrate, &tmp_playbackrate, sizeof(tmp_playbackrate)); + if (raw_playbackrate != 0) { + _this->_internal_set_playbackrate(from._internal_playbackrate()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentMediaPlayed::CopyFrom(const VehicleCabinInfotainmentMediaPlayed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentMediaPlayed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentMediaPlayed::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentMediaPlayed::InternalSwap(VehicleCabinInfotainmentMediaPlayed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_, lhs_arena, + &other->_impl_.source_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.artist_, lhs_arena, + &other->_impl_.artist_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.album_, lhs_arena, + &other->_impl_.album_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.track_, lhs_arena, + &other->_impl_.track_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uri_, lhs_arena, + &other->_impl_.uri_, rhs_arena); + + swap(_impl_.playbackrate_, other->_impl_.playbackrate_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentMediaPlayed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[79]); +} +// =================================================================== + +class VehicleCabinInfotainmentNavigation::_Internal { + public: + static const ::vss::VehicleCabinInfotainmentNavigationDestinationSet& destinationset(const VehicleCabinInfotainmentNavigation* msg); +}; + +const ::vss::VehicleCabinInfotainmentNavigationDestinationSet& +VehicleCabinInfotainmentNavigation::_Internal::destinationset(const VehicleCabinInfotainmentNavigation* msg) { + return *msg->_impl_.destinationset_; +} +VehicleCabinInfotainmentNavigation::VehicleCabinInfotainmentNavigation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentNavigation) +} +VehicleCabinInfotainmentNavigation::VehicleCabinInfotainmentNavigation(const VehicleCabinInfotainmentNavigation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainmentNavigation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.mute_) {} + + , decltype(_impl_.destinationset_){nullptr} + , decltype(_impl_.volume_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.mute_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mute_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_mute().empty()) { + _this->_impl_.mute_.Set(from._internal_mute(), _this->GetArenaForAllocation()); + } + if (from._internal_has_destinationset()) { + _this->_impl_.destinationset_ = new ::vss::VehicleCabinInfotainmentNavigationDestinationSet(*from._impl_.destinationset_); + } + _this->_impl_.volume_ = from._impl_.volume_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentNavigation) +} + +inline void VehicleCabinInfotainmentNavigation::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mute_) {} + + , decltype(_impl_.destinationset_){nullptr} + , decltype(_impl_.volume_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.mute_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.mute_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinInfotainmentNavigation::~VehicleCabinInfotainmentNavigation() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentNavigation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentNavigation::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.mute_.Destroy(); + if (this != internal_default_instance()) delete _impl_.destinationset_; +} + +void VehicleCabinInfotainmentNavigation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentNavigation::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentNavigation) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mute_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.destinationset_ != nullptr) { + delete _impl_.destinationset_; + } + _impl_.destinationset_ = nullptr; + _impl_.volume_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentNavigation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_mute(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentNavigation.Mute")); + } else { + goto handle_unusual; + } + continue; + // uint32 Volume = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentNavigation::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentNavigation) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + if (this->_internal_has_destinationset()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::destinationset(this), + _Internal::destinationset(this).GetCachedSize(), target, stream); + } + + // string Mute = 2; + if (!this->_internal_mute().empty()) { + const std::string& _s = this->_internal_mute(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentNavigation.Mute"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // uint32 Volume = 3; + if (this->_internal_volume() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_volume(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentNavigation) + return target; +} + +::size_t VehicleCabinInfotainmentNavigation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentNavigation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mute = 2; + if (!this->_internal_mute().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mute()); + } + + // .vss.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + if (this->_internal_has_destinationset()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.destinationset_); + } + + // uint32 Volume = 3; + if (this->_internal_volume() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_volume()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentNavigation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentNavigation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentNavigation::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentNavigation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentNavigation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_mute().empty()) { + _this->_internal_set_mute(from._internal_mute()); + } + if (from._internal_has_destinationset()) { + _this->_internal_mutable_destinationset()->::vss::VehicleCabinInfotainmentNavigationDestinationSet::MergeFrom( + from._internal_destinationset()); + } + if (from._internal_volume() != 0) { + _this->_internal_set_volume(from._internal_volume()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentNavigation::CopyFrom(const VehicleCabinInfotainmentNavigation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentNavigation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentNavigation::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentNavigation::InternalSwap(VehicleCabinInfotainmentNavigation* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mute_, lhs_arena, + &other->_impl_.mute_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentNavigation, _impl_.volume_) + + sizeof(VehicleCabinInfotainmentNavigation::_impl_.volume_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentNavigation, _impl_.destinationset_)>( + reinterpret_cast(&_impl_.destinationset_), + reinterpret_cast(&other->_impl_.destinationset_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentNavigation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[80]); +} +// =================================================================== + +class VehicleCabinInfotainmentNavigationDestinationSet::_Internal { + public: +}; + +VehicleCabinInfotainmentNavigationDestinationSet::VehicleCabinInfotainmentNavigationDestinationSet(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentNavigationDestinationSet) +} +VehicleCabinInfotainmentNavigationDestinationSet::VehicleCabinInfotainmentNavigationDestinationSet(const VehicleCabinInfotainmentNavigationDestinationSet& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentNavigationDestinationSet) +} + +inline void VehicleCabinInfotainmentNavigationDestinationSet::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.latitude_) { 0 } + + , decltype(_impl_.longitude_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinInfotainmentNavigationDestinationSet::~VehicleCabinInfotainmentNavigationDestinationSet() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentNavigationDestinationSet) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentNavigationDestinationSet::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinInfotainmentNavigationDestinationSet::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentNavigationDestinationSet::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentNavigationDestinationSet) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.latitude_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.longitude_) - + reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentNavigationDestinationSet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // double Latitude = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) { + _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + // double Longitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 17)) { + _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(double); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentNavigationDestinationSet::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentNavigationDestinationSet) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // double Latitude = 1; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = this->_internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 1, this->_internal_latitude(), target); + } + + // double Longitude = 2; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = this->_internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 2, this->_internal_longitude(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentNavigationDestinationSet) + return target; +} + +::size_t VehicleCabinInfotainmentNavigationDestinationSet::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentNavigationDestinationSet) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // double Latitude = 1; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = this->_internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + total_size += 9; + } + + // double Longitude = 2; + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = this->_internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + total_size += 9; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentNavigationDestinationSet::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentNavigationDestinationSet::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentNavigationDestinationSet::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentNavigationDestinationSet::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentNavigationDestinationSet) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_latitude = from._internal_latitude(); + ::uint64_t raw_latitude; + memcpy(&raw_latitude, &tmp_latitude, sizeof(tmp_latitude)); + if (raw_latitude != 0) { + _this->_internal_set_latitude(from._internal_latitude()); + } + static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); + double tmp_longitude = from._internal_longitude(); + ::uint64_t raw_longitude; + memcpy(&raw_longitude, &tmp_longitude, sizeof(tmp_longitude)); + if (raw_longitude != 0) { + _this->_internal_set_longitude(from._internal_longitude()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentNavigationDestinationSet::CopyFrom(const VehicleCabinInfotainmentNavigationDestinationSet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentNavigationDestinationSet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentNavigationDestinationSet::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentNavigationDestinationSet::InternalSwap(VehicleCabinInfotainmentNavigationDestinationSet* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentNavigationDestinationSet, _impl_.longitude_) + + sizeof(VehicleCabinInfotainmentNavigationDestinationSet::_impl_.longitude_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinInfotainmentNavigationDestinationSet, _impl_.latitude_)>( + reinterpret_cast(&_impl_.latitude_), + reinterpret_cast(&other->_impl_.latitude_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentNavigationDestinationSet::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[81]); +} +// =================================================================== + +class VehicleCabinInfotainmentHMI::_Internal { + public: +}; + +VehicleCabinInfotainmentHMI::VehicleCabinInfotainmentHMI(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentHMI) +} +VehicleCabinInfotainmentHMI::VehicleCabinInfotainmentHMI(const VehicleCabinInfotainmentHMI& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainmentHMI* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.currentlanguage_) {} + + , decltype(_impl_.dateformat_) {} + + , decltype(_impl_.timeformat_) {} + + , decltype(_impl_.distanceunit_) {} + + , decltype(_impl_.fuelvolumeunit_) {} + + , decltype(_impl_.fueleconomyunits_) {} + + , decltype(_impl_.eveconomyunits_) {} + + , decltype(_impl_.temperatureunit_) {} + + , decltype(_impl_.tirepressureunit_) {} + + , decltype(_impl_.daynightmode_) {} + + , decltype(_impl_.brightness_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.currentlanguage_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.currentlanguage_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_currentlanguage().empty()) { + _this->_impl_.currentlanguage_.Set(from._internal_currentlanguage(), _this->GetArenaForAllocation()); + } + _impl_.dateformat_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dateformat_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_dateformat().empty()) { + _this->_impl_.dateformat_.Set(from._internal_dateformat(), _this->GetArenaForAllocation()); + } + _impl_.timeformat_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.timeformat_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_timeformat().empty()) { + _this->_impl_.timeformat_.Set(from._internal_timeformat(), _this->GetArenaForAllocation()); + } + _impl_.distanceunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.distanceunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_distanceunit().empty()) { + _this->_impl_.distanceunit_.Set(from._internal_distanceunit(), _this->GetArenaForAllocation()); + } + _impl_.fuelvolumeunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelvolumeunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fuelvolumeunit().empty()) { + _this->_impl_.fuelvolumeunit_.Set(from._internal_fuelvolumeunit(), _this->GetArenaForAllocation()); + } + _impl_.fueleconomyunits_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueleconomyunits_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fueleconomyunits().empty()) { + _this->_impl_.fueleconomyunits_.Set(from._internal_fueleconomyunits(), _this->GetArenaForAllocation()); + } + _impl_.eveconomyunits_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.eveconomyunits_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_eveconomyunits().empty()) { + _this->_impl_.eveconomyunits_.Set(from._internal_eveconomyunits(), _this->GetArenaForAllocation()); + } + _impl_.temperatureunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.temperatureunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_temperatureunit().empty()) { + _this->_impl_.temperatureunit_.Set(from._internal_temperatureunit(), _this->GetArenaForAllocation()); + } + _impl_.tirepressureunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tirepressureunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_tirepressureunit().empty()) { + _this->_impl_.tirepressureunit_.Set(from._internal_tirepressureunit(), _this->GetArenaForAllocation()); + } + _impl_.daynightmode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.daynightmode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_daynightmode().empty()) { + _this->_impl_.daynightmode_.Set(from._internal_daynightmode(), _this->GetArenaForAllocation()); + } + _this->_impl_.brightness_ = from._impl_.brightness_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentHMI) +} + +inline void VehicleCabinInfotainmentHMI::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.currentlanguage_) {} + + , decltype(_impl_.dateformat_) {} + + , decltype(_impl_.timeformat_) {} + + , decltype(_impl_.distanceunit_) {} + + , decltype(_impl_.fuelvolumeunit_) {} + + , decltype(_impl_.fueleconomyunits_) {} + + , decltype(_impl_.eveconomyunits_) {} + + , decltype(_impl_.temperatureunit_) {} + + , decltype(_impl_.tirepressureunit_) {} + + , decltype(_impl_.daynightmode_) {} + + , decltype(_impl_.brightness_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.currentlanguage_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.currentlanguage_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dateformat_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.dateformat_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.timeformat_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.timeformat_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.distanceunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.distanceunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelvolumeunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelvolumeunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueleconomyunits_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueleconomyunits_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.eveconomyunits_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.eveconomyunits_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.temperatureunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.temperatureunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tirepressureunit_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.tirepressureunit_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.daynightmode_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.daynightmode_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinInfotainmentHMI::~VehicleCabinInfotainmentHMI() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentHMI) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentHMI::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.currentlanguage_.Destroy(); + _impl_.dateformat_.Destroy(); + _impl_.timeformat_.Destroy(); + _impl_.distanceunit_.Destroy(); + _impl_.fuelvolumeunit_.Destroy(); + _impl_.fueleconomyunits_.Destroy(); + _impl_.eveconomyunits_.Destroy(); + _impl_.temperatureunit_.Destroy(); + _impl_.tirepressureunit_.Destroy(); + _impl_.daynightmode_.Destroy(); +} + +void VehicleCabinInfotainmentHMI::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentHMI::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentHMI) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.currentlanguage_.ClearToEmpty(); + _impl_.dateformat_.ClearToEmpty(); + _impl_.timeformat_.ClearToEmpty(); + _impl_.distanceunit_.ClearToEmpty(); + _impl_.fuelvolumeunit_.ClearToEmpty(); + _impl_.fueleconomyunits_.ClearToEmpty(); + _impl_.eveconomyunits_.ClearToEmpty(); + _impl_.temperatureunit_.ClearToEmpty(); + _impl_.tirepressureunit_.ClearToEmpty(); + _impl_.daynightmode_.ClearToEmpty(); + _impl_.brightness_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentHMI::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string CurrentLanguage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_currentlanguage(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.CurrentLanguage")); + } else { + goto handle_unusual; + } + continue; + // string DateFormat = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_dateformat(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.DateFormat")); + } else { + goto handle_unusual; + } + continue; + // string TimeFormat = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_timeformat(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.TimeFormat")); + } else { + goto handle_unusual; + } + continue; + // string DistanceUnit = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_distanceunit(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.DistanceUnit")); + } else { + goto handle_unusual; + } + continue; + // string FuelVolumeUnit = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + auto str = _internal_mutable_fuelvolumeunit(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.FuelVolumeUnit")); + } else { + goto handle_unusual; + } + continue; + // string FuelEconomyUnits = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + auto str = _internal_mutable_fueleconomyunits(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.FuelEconomyUnits")); + } else { + goto handle_unusual; + } + continue; + // string EVEconomyUnits = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + auto str = _internal_mutable_eveconomyunits(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.EVEconomyUnits")); + } else { + goto handle_unusual; + } + continue; + // string TemperatureUnit = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + auto str = _internal_mutable_temperatureunit(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.TemperatureUnit")); + } else { + goto handle_unusual; + } + continue; + // string TirePressureUnit = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + auto str = _internal_mutable_tirepressureunit(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.TirePressureUnit")); + } else { + goto handle_unusual; + } + continue; + // float Brightness = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 85)) { + _impl_.brightness_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // string DayNightMode = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + auto str = _internal_mutable_daynightmode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentHMI.DayNightMode")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentHMI::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentHMI) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string CurrentLanguage = 1; + if (!this->_internal_currentlanguage().empty()) { + const std::string& _s = this->_internal_currentlanguage(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.CurrentLanguage"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string DateFormat = 2; + if (!this->_internal_dateformat().empty()) { + const std::string& _s = this->_internal_dateformat(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.DateFormat"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // string TimeFormat = 3; + if (!this->_internal_timeformat().empty()) { + const std::string& _s = this->_internal_timeformat(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.TimeFormat"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string DistanceUnit = 4; + if (!this->_internal_distanceunit().empty()) { + const std::string& _s = this->_internal_distanceunit(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.DistanceUnit"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // string FuelVolumeUnit = 5; + if (!this->_internal_fuelvolumeunit().empty()) { + const std::string& _s = this->_internal_fuelvolumeunit(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.FuelVolumeUnit"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + // string FuelEconomyUnits = 6; + if (!this->_internal_fueleconomyunits().empty()) { + const std::string& _s = this->_internal_fueleconomyunits(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.FuelEconomyUnits"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + // string EVEconomyUnits = 7; + if (!this->_internal_eveconomyunits().empty()) { + const std::string& _s = this->_internal_eveconomyunits(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.EVEconomyUnits"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + // string TemperatureUnit = 8; + if (!this->_internal_temperatureunit().empty()) { + const std::string& _s = this->_internal_temperatureunit(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.TemperatureUnit"); + target = stream->WriteStringMaybeAliased(8, _s, target); + } + + // string TirePressureUnit = 9; + if (!this->_internal_tirepressureunit().empty()) { + const std::string& _s = this->_internal_tirepressureunit(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.TirePressureUnit"); + target = stream->WriteStringMaybeAliased(9, _s, target); + } + + // float Brightness = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_brightness = this->_internal_brightness(); + ::uint32_t raw_brightness; + memcpy(&raw_brightness, &tmp_brightness, sizeof(tmp_brightness)); + if (raw_brightness != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 10, this->_internal_brightness(), target); + } + + // string DayNightMode = 11; + if (!this->_internal_daynightmode().empty()) { + const std::string& _s = this->_internal_daynightmode(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentHMI.DayNightMode"); + target = stream->WriteStringMaybeAliased(11, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentHMI) + return target; +} + +::size_t VehicleCabinInfotainmentHMI::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentHMI) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string CurrentLanguage = 1; + if (!this->_internal_currentlanguage().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_currentlanguage()); + } + + // string DateFormat = 2; + if (!this->_internal_dateformat().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dateformat()); + } + + // string TimeFormat = 3; + if (!this->_internal_timeformat().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_timeformat()); + } + + // string DistanceUnit = 4; + if (!this->_internal_distanceunit().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_distanceunit()); + } + + // string FuelVolumeUnit = 5; + if (!this->_internal_fuelvolumeunit().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fuelvolumeunit()); + } + + // string FuelEconomyUnits = 6; + if (!this->_internal_fueleconomyunits().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fueleconomyunits()); + } + + // string EVEconomyUnits = 7; + if (!this->_internal_eveconomyunits().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_eveconomyunits()); + } + + // string TemperatureUnit = 8; + if (!this->_internal_temperatureunit().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_temperatureunit()); + } + + // string TirePressureUnit = 9; + if (!this->_internal_tirepressureunit().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tirepressureunit()); + } + + // string DayNightMode = 11; + if (!this->_internal_daynightmode().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_daynightmode()); + } + + // float Brightness = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_brightness = this->_internal_brightness(); + ::uint32_t raw_brightness; + memcpy(&raw_brightness, &tmp_brightness, sizeof(tmp_brightness)); + if (raw_brightness != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentHMI::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentHMI::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentHMI::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentHMI::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentHMI) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_currentlanguage().empty()) { + _this->_internal_set_currentlanguage(from._internal_currentlanguage()); + } + if (!from._internal_dateformat().empty()) { + _this->_internal_set_dateformat(from._internal_dateformat()); + } + if (!from._internal_timeformat().empty()) { + _this->_internal_set_timeformat(from._internal_timeformat()); + } + if (!from._internal_distanceunit().empty()) { + _this->_internal_set_distanceunit(from._internal_distanceunit()); + } + if (!from._internal_fuelvolumeunit().empty()) { + _this->_internal_set_fuelvolumeunit(from._internal_fuelvolumeunit()); + } + if (!from._internal_fueleconomyunits().empty()) { + _this->_internal_set_fueleconomyunits(from._internal_fueleconomyunits()); + } + if (!from._internal_eveconomyunits().empty()) { + _this->_internal_set_eveconomyunits(from._internal_eveconomyunits()); + } + if (!from._internal_temperatureunit().empty()) { + _this->_internal_set_temperatureunit(from._internal_temperatureunit()); + } + if (!from._internal_tirepressureunit().empty()) { + _this->_internal_set_tirepressureunit(from._internal_tirepressureunit()); + } + if (!from._internal_daynightmode().empty()) { + _this->_internal_set_daynightmode(from._internal_daynightmode()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_brightness = from._internal_brightness(); + ::uint32_t raw_brightness; + memcpy(&raw_brightness, &tmp_brightness, sizeof(tmp_brightness)); + if (raw_brightness != 0) { + _this->_internal_set_brightness(from._internal_brightness()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentHMI::CopyFrom(const VehicleCabinInfotainmentHMI& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentHMI) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentHMI::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentHMI::InternalSwap(VehicleCabinInfotainmentHMI* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.currentlanguage_, lhs_arena, + &other->_impl_.currentlanguage_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.dateformat_, lhs_arena, + &other->_impl_.dateformat_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.timeformat_, lhs_arena, + &other->_impl_.timeformat_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.distanceunit_, lhs_arena, + &other->_impl_.distanceunit_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fuelvolumeunit_, lhs_arena, + &other->_impl_.fuelvolumeunit_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fueleconomyunits_, lhs_arena, + &other->_impl_.fueleconomyunits_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.eveconomyunits_, lhs_arena, + &other->_impl_.eveconomyunits_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.temperatureunit_, lhs_arena, + &other->_impl_.temperatureunit_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.tirepressureunit_, lhs_arena, + &other->_impl_.tirepressureunit_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.daynightmode_, lhs_arena, + &other->_impl_.daynightmode_, rhs_arena); + + swap(_impl_.brightness_, other->_impl_.brightness_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentHMI::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[82]); +} +// =================================================================== + +class VehicleCabinInfotainmentSmartphoneProjection::_Internal { + public: +}; + +VehicleCabinInfotainmentSmartphoneProjection::VehicleCabinInfotainmentSmartphoneProjection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinInfotainmentSmartphoneProjection) +} +VehicleCabinInfotainmentSmartphoneProjection::VehicleCabinInfotainmentSmartphoneProjection(const VehicleCabinInfotainmentSmartphoneProjection& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinInfotainmentSmartphoneProjection* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.supportedmode_){from._impl_.supportedmode_} + , decltype(_impl_.active_) {} + + , decltype(_impl_.source_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.active_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.active_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_active().empty()) { + _this->_impl_.active_.Set(from._internal_active(), _this->GetArenaForAllocation()); + } + _impl_.source_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.source_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_source().empty()) { + _this->_impl_.source_.Set(from._internal_source(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinInfotainmentSmartphoneProjection) +} + +inline void VehicleCabinInfotainmentSmartphoneProjection::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.supportedmode_){arena} + , decltype(_impl_.active_) {} + + , decltype(_impl_.source_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.active_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.active_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.source_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.source_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinInfotainmentSmartphoneProjection::~VehicleCabinInfotainmentSmartphoneProjection() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinInfotainmentSmartphoneProjection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinInfotainmentSmartphoneProjection::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.supportedmode_.~RepeatedPtrField(); + _impl_.active_.Destroy(); + _impl_.source_.Destroy(); +} + +void VehicleCabinInfotainmentSmartphoneProjection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinInfotainmentSmartphoneProjection::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinInfotainmentSmartphoneProjection) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.supportedmode_.Clear(); + _impl_.active_.ClearToEmpty(); + _impl_.source_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinInfotainmentSmartphoneProjection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Active = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_active(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentSmartphoneProjection.Active")); + } else { + goto handle_unusual; + } + continue; + // string Source = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_source(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentSmartphoneProjection.Source")); + } else { + goto handle_unusual; + } + continue; + // repeated string SupportedMode = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_supportedmode(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinInfotainmentSmartphoneProjection.SupportedMode")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinInfotainmentSmartphoneProjection::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinInfotainmentSmartphoneProjection) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Active = 1; + if (!this->_internal_active().empty()) { + const std::string& _s = this->_internal_active(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentSmartphoneProjection.Active"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Source = 2; + if (!this->_internal_source().empty()) { + const std::string& _s = this->_internal_source(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentSmartphoneProjection.Source"); + target = stream->WriteStringMaybeAliased(2, _s, 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(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinInfotainmentSmartphoneProjection.SupportedMode"); + target = stream->WriteString(3, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinInfotainmentSmartphoneProjection) + return target; +} + +::size_t VehicleCabinInfotainmentSmartphoneProjection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinInfotainmentSmartphoneProjection) + ::size_t total_size = 0; + + ::uint32_t 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(_impl_.supportedmode_.size()); + for (int i = 0, n = _impl_.supportedmode_.size(); i < n; ++i) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.supportedmode_.Get(i)); + } + + // string Active = 1; + if (!this->_internal_active().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_active()); + } + + // string Source = 2; + if (!this->_internal_source().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_source()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinInfotainmentSmartphoneProjection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinInfotainmentSmartphoneProjection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinInfotainmentSmartphoneProjection::GetClassData() const { return &_class_data_; } + + +void VehicleCabinInfotainmentSmartphoneProjection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinInfotainmentSmartphoneProjection) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.supportedmode_.MergeFrom(from._impl_.supportedmode_); + if (!from._internal_active().empty()) { + _this->_internal_set_active(from._internal_active()); + } + if (!from._internal_source().empty()) { + _this->_internal_set_source(from._internal_source()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinInfotainmentSmartphoneProjection::CopyFrom(const VehicleCabinInfotainmentSmartphoneProjection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinInfotainmentSmartphoneProjection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentSmartphoneProjection::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentSmartphoneProjection::InternalSwap(VehicleCabinInfotainmentSmartphoneProjection* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.supportedmode_.InternalSwap(&other->_impl_.supportedmode_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.active_, lhs_arena, + &other->_impl_.active_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.source_, lhs_arena, + &other->_impl_.source_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentSmartphoneProjection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[83]); +} +// =================================================================== + +class VehicleCabinSunroof::_Internal { + public: + static const ::vss::VehicleCabinSunroofShade& shade(const VehicleCabinSunroof* msg); +}; + +const ::vss::VehicleCabinSunroofShade& +VehicleCabinSunroof::_Internal::shade(const VehicleCabinSunroof* msg) { + return *msg->_impl_.shade_; +} +VehicleCabinSunroof::VehicleCabinSunroof(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSunroof) +} +VehicleCabinSunroof::VehicleCabinSunroof(const VehicleCabinSunroof& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSunroof* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + if (from._internal_has_shade()) { + _this->_impl_.shade_ = new ::vss::VehicleCabinSunroofShade(*from._impl_.shade_); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSunroof) +} + +inline void VehicleCabinSunroof::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.position_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSunroof::~VehicleCabinSunroof() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSunroof) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSunroof::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); + if (this != internal_default_instance()) delete _impl_.shade_; +} + +void VehicleCabinSunroof::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSunroof::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSunroof) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.shade_ != nullptr) { + delete _impl_.shade_; + } + _impl_.shade_ = nullptr; + _impl_.position_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSunroof::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 Position = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Switch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSunroof.Switch")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSunroofShade Shade = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSunroof::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSunroof) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Position = 1; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_position(), target); + } + + // string Switch = 2; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSunroof.Switch"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .vss.VehicleCabinSunroofShade Shade = 3; + if (this->_internal_has_shade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::shade(this), + _Internal::shade(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSunroof) + return target; +} + +::size_t VehicleCabinSunroof::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSunroof) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 2; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // .vss.VehicleCabinSunroofShade Shade = 3; + if (this->_internal_has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shade_); + } + + // int32 Position = 1; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSunroof::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSunroof::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSunroof::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSunroof::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSunroof) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_has_shade()) { + _this->_internal_mutable_shade()->::vss::VehicleCabinSunroofShade::MergeFrom( + from._internal_shade()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSunroof::CopyFrom(const VehicleCabinSunroof& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSunroof) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSunroof::IsInitialized() const { + return true; +} + +void VehicleCabinSunroof::InternalSwap(VehicleCabinSunroof* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSunroof, _impl_.position_) + + sizeof(VehicleCabinSunroof::_impl_.position_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSunroof, _impl_.shade_)>( + reinterpret_cast(&_impl_.shade_), + reinterpret_cast(&other->_impl_.shade_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSunroof::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[84]); +} +// =================================================================== + +class VehicleCabinSunroofShade::_Internal { + public: +}; + +VehicleCabinSunroofShade::VehicleCabinSunroofShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSunroofShade) +} +VehicleCabinSunroofShade::VehicleCabinSunroofShade(const VehicleCabinSunroofShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSunroofShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSunroofShade) +} + +inline void VehicleCabinSunroofShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSunroofShade::~VehicleCabinSunroofShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSunroofShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSunroofShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinSunroofShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSunroofShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSunroofShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSunroofShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSunroofShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSunroofShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSunroofShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSunroofShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSunroofShade) + return target; +} + +::size_t VehicleCabinSunroofShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSunroofShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSunroofShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSunroofShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSunroofShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSunroofShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSunroofShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSunroofShade::CopyFrom(const VehicleCabinSunroofShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSunroofShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSunroofShade::IsInitialized() const { + return true; +} + +void VehicleCabinSunroofShade::InternalSwap(VehicleCabinSunroofShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSunroofShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[85]); +} +// =================================================================== + +class VehicleCabinRearviewMirror::_Internal { + public: +}; + +VehicleCabinRearviewMirror::VehicleCabinRearviewMirror(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinRearviewMirror) +} +VehicleCabinRearviewMirror::VehicleCabinRearviewMirror(const VehicleCabinRearviewMirror& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinRearviewMirror) +} + +inline void VehicleCabinRearviewMirror::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.dimminglevel_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinRearviewMirror::~VehicleCabinRearviewMirror() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinRearviewMirror) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinRearviewMirror::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinRearviewMirror::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinRearviewMirror::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinRearviewMirror) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dimminglevel_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinRearviewMirror::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 DimmingLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.dimminglevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinRearviewMirror::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinRearviewMirror) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 DimmingLevel = 1; + if (this->_internal_dimminglevel() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_dimminglevel(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinRearviewMirror) + return target; +} + +::size_t VehicleCabinRearviewMirror::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinRearviewMirror) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 DimmingLevel = 1; + if (this->_internal_dimminglevel() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_dimminglevel()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinRearviewMirror::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinRearviewMirror::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinRearviewMirror::GetClassData() const { return &_class_data_; } + + +void VehicleCabinRearviewMirror::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinRearviewMirror) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_dimminglevel() != 0) { + _this->_internal_set_dimminglevel(from._internal_dimminglevel()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinRearviewMirror::CopyFrom(const VehicleCabinRearviewMirror& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinRearviewMirror) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinRearviewMirror::IsInitialized() const { + return true; +} + +void VehicleCabinRearviewMirror::InternalSwap(VehicleCabinRearviewMirror* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.dimminglevel_, other->_impl_.dimminglevel_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinRearviewMirror::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[86]); +} +// =================================================================== + +class VehicleCabinLights::_Internal { + public: + static const ::vss::VehicleCabinLightsSpotlight& spotlight(const VehicleCabinLights* msg); +}; + +const ::vss::VehicleCabinLightsSpotlight& +VehicleCabinLights::_Internal::spotlight(const VehicleCabinLights* msg) { + return *msg->_impl_.spotlight_; +} +VehicleCabinLights::VehicleCabinLights(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLights) +} +VehicleCabinLights::VehicleCabinLights(const VehicleCabinLights& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinLights* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.spotlight_){nullptr} + , decltype(_impl_.isgloveboxon_) {} + + , decltype(_impl_.istrunkon_) {} + + , decltype(_impl_.isdomeon_) {} + + , decltype(_impl_.ambientlight_) {} + + , decltype(_impl_.lightintensity_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_spotlight()) { + _this->_impl_.spotlight_ = new ::vss::VehicleCabinLightsSpotlight(*from._impl_.spotlight_); + } + ::memcpy(&_impl_.isgloveboxon_, &from._impl_.isgloveboxon_, + static_cast<::size_t>(reinterpret_cast(&_impl_.lightintensity_) - + reinterpret_cast(&_impl_.isgloveboxon_)) + sizeof(_impl_.lightintensity_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLights) +} + +inline void VehicleCabinLights::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.spotlight_){nullptr} + , decltype(_impl_.isgloveboxon_) { false } + + , decltype(_impl_.istrunkon_) { false } + + , decltype(_impl_.isdomeon_) { false } + + , decltype(_impl_.ambientlight_) { 0u } + + , decltype(_impl_.lightintensity_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLights::~VehicleCabinLights() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLights) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLights::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.spotlight_; +} + +void VehicleCabinLights::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLights::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLights) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.spotlight_ != nullptr) { + delete _impl_.spotlight_; + } + _impl_.spotlight_ = nullptr; + ::memset(&_impl_.isgloveboxon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.lightintensity_) - + reinterpret_cast(&_impl_.isgloveboxon_)) + sizeof(_impl_.lightintensity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLights::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsGloveBoxOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isgloveboxon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTrunkOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.istrunkon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDomeOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isdomeon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 AmbientLight = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.ambientlight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 LightIntensity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.lightintensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinLightsSpotlight Spotlight = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_spotlight(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLights::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLights) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsGloveBoxOn = 1; + if (this->_internal_isgloveboxon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isgloveboxon(), target); + } + + // bool IsTrunkOn = 2; + if (this->_internal_istrunkon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_istrunkon(), target); + } + + // bool IsDomeOn = 3; + if (this->_internal_isdomeon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isdomeon(), target); + } + + // uint32 AmbientLight = 4; + if (this->_internal_ambientlight() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this->_internal_ambientlight(), target); + } + + // uint32 LightIntensity = 5; + if (this->_internal_lightintensity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_lightintensity(), target); + } + + // .vss.VehicleCabinLightsSpotlight Spotlight = 6; + if (this->_internal_has_spotlight()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::spotlight(this), + _Internal::spotlight(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLights) + return target; +} + +::size_t VehicleCabinLights::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLights) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinLightsSpotlight Spotlight = 6; + if (this->_internal_has_spotlight()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.spotlight_); + } + + // bool IsGloveBoxOn = 1; + if (this->_internal_isgloveboxon() != 0) { + total_size += 2; + } + + // bool IsTrunkOn = 2; + if (this->_internal_istrunkon() != 0) { + total_size += 2; + } + + // bool IsDomeOn = 3; + if (this->_internal_isdomeon() != 0) { + total_size += 2; + } + + // uint32 AmbientLight = 4; + if (this->_internal_ambientlight() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_ambientlight()); + } + + // uint32 LightIntensity = 5; + if (this->_internal_lightintensity() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_lightintensity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLights::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLights::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLights::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLights::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLights) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_spotlight()) { + _this->_internal_mutable_spotlight()->::vss::VehicleCabinLightsSpotlight::MergeFrom( + from._internal_spotlight()); + } + if (from._internal_isgloveboxon() != 0) { + _this->_internal_set_isgloveboxon(from._internal_isgloveboxon()); + } + if (from._internal_istrunkon() != 0) { + _this->_internal_set_istrunkon(from._internal_istrunkon()); + } + if (from._internal_isdomeon() != 0) { + _this->_internal_set_isdomeon(from._internal_isdomeon()); + } + if (from._internal_ambientlight() != 0) { + _this->_internal_set_ambientlight(from._internal_ambientlight()); + } + if (from._internal_lightintensity() != 0) { + _this->_internal_set_lightintensity(from._internal_lightintensity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLights::CopyFrom(const VehicleCabinLights& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLights::IsInitialized() const { + return true; +} + +void VehicleCabinLights::InternalSwap(VehicleCabinLights* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLights, _impl_.lightintensity_) + + sizeof(VehicleCabinLights::_impl_.lightintensity_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLights, _impl_.spotlight_)>( + reinterpret_cast(&_impl_.spotlight_), + reinterpret_cast(&other->_impl_.spotlight_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLights::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[87]); +} +// =================================================================== + +class VehicleCabinLightsSpotlight::_Internal { + public: + static const ::vss::VehicleCabinLightsSpotlightRow1& row1(const VehicleCabinLightsSpotlight* msg); + static const ::vss::VehicleCabinLightsSpotlightRow2& row2(const VehicleCabinLightsSpotlight* msg); + static const ::vss::VehicleCabinLightsSpotlightRow3& row3(const VehicleCabinLightsSpotlight* msg); + static const ::vss::VehicleCabinLightsSpotlightRow4& row4(const VehicleCabinLightsSpotlight* msg); +}; + +const ::vss::VehicleCabinLightsSpotlightRow1& +VehicleCabinLightsSpotlight::_Internal::row1(const VehicleCabinLightsSpotlight* msg) { + return *msg->_impl_.row1_; +} +const ::vss::VehicleCabinLightsSpotlightRow2& +VehicleCabinLightsSpotlight::_Internal::row2(const VehicleCabinLightsSpotlight* msg) { + return *msg->_impl_.row2_; +} +const ::vss::VehicleCabinLightsSpotlightRow3& +VehicleCabinLightsSpotlight::_Internal::row3(const VehicleCabinLightsSpotlight* msg) { + return *msg->_impl_.row3_; +} +const ::vss::VehicleCabinLightsSpotlightRow4& +VehicleCabinLightsSpotlight::_Internal::row4(const VehicleCabinLightsSpotlight* msg) { + return *msg->_impl_.row4_; +} +VehicleCabinLightsSpotlight::VehicleCabinLightsSpotlight(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLightsSpotlight) +} +VehicleCabinLightsSpotlight::VehicleCabinLightsSpotlight(const VehicleCabinLightsSpotlight& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinLightsSpotlight* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , decltype(_impl_.row3_){nullptr} + , decltype(_impl_.row4_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_row1()) { + _this->_impl_.row1_ = new ::vss::VehicleCabinLightsSpotlightRow1(*from._impl_.row1_); + } + if (from._internal_has_row2()) { + _this->_impl_.row2_ = new ::vss::VehicleCabinLightsSpotlightRow2(*from._impl_.row2_); + } + if (from._internal_has_row3()) { + _this->_impl_.row3_ = new ::vss::VehicleCabinLightsSpotlightRow3(*from._impl_.row3_); + } + if (from._internal_has_row4()) { + _this->_impl_.row4_ = new ::vss::VehicleCabinLightsSpotlightRow4(*from._impl_.row4_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLightsSpotlight) +} + +inline void VehicleCabinLightsSpotlight::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , decltype(_impl_.row3_){nullptr} + , decltype(_impl_.row4_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLightsSpotlight::~VehicleCabinLightsSpotlight() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLightsSpotlight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLightsSpotlight::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.row1_; + if (this != internal_default_instance()) delete _impl_.row2_; + if (this != internal_default_instance()) delete _impl_.row3_; + if (this != internal_default_instance()) delete _impl_.row4_; +} + +void VehicleCabinLightsSpotlight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLightsSpotlight::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLightsSpotlight) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.row1_ != nullptr) { + delete _impl_.row1_; + } + _impl_.row1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row2_ != nullptr) { + delete _impl_.row2_; + } + _impl_.row2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row3_ != nullptr) { + delete _impl_.row3_; + } + _impl_.row3_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row4_ != nullptr) { + delete _impl_.row4_; + } + _impl_.row4_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLightsSpotlight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinLightsSpotlightRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinLightsSpotlightRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinLightsSpotlightRow3 Row3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_row3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinLightsSpotlightRow4 Row4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_row4(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLightsSpotlight::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLightsSpotlight) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinLightsSpotlightRow1 Row1 = 1; + if (this->_internal_has_row1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::row1(this), + _Internal::row1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinLightsSpotlightRow2 Row2 = 2; + if (this->_internal_has_row2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::row2(this), + _Internal::row2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinLightsSpotlightRow3 Row3 = 3; + if (this->_internal_has_row3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::row3(this), + _Internal::row3(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinLightsSpotlightRow4 Row4 = 4; + if (this->_internal_has_row4()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::row4(this), + _Internal::row4(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLightsSpotlight) + return target; +} + +::size_t VehicleCabinLightsSpotlight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLightsSpotlight) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinLightsSpotlightRow1 Row1 = 1; + if (this->_internal_has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row1_); + } + + // .vss.VehicleCabinLightsSpotlightRow2 Row2 = 2; + if (this->_internal_has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row2_); + } + + // .vss.VehicleCabinLightsSpotlightRow3 Row3 = 3; + if (this->_internal_has_row3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row3_); + } + + // .vss.VehicleCabinLightsSpotlightRow4 Row4 = 4; + if (this->_internal_has_row4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row4_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLightsSpotlight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLightsSpotlight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLightsSpotlight::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLightsSpotlight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLightsSpotlight) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_row1()) { + _this->_internal_mutable_row1()->::vss::VehicleCabinLightsSpotlightRow1::MergeFrom( + from._internal_row1()); + } + if (from._internal_has_row2()) { + _this->_internal_mutable_row2()->::vss::VehicleCabinLightsSpotlightRow2::MergeFrom( + from._internal_row2()); + } + if (from._internal_has_row3()) { + _this->_internal_mutable_row3()->::vss::VehicleCabinLightsSpotlightRow3::MergeFrom( + from._internal_row3()); + } + if (from._internal_has_row4()) { + _this->_internal_mutable_row4()->::vss::VehicleCabinLightsSpotlightRow4::MergeFrom( + from._internal_row4()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLightsSpotlight::CopyFrom(const VehicleCabinLightsSpotlight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLightsSpotlight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlight::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlight::InternalSwap(VehicleCabinLightsSpotlight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlight, _impl_.row4_) + + sizeof(VehicleCabinLightsSpotlight::_impl_.row4_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlight, _impl_.row1_)>( + reinterpret_cast(&_impl_.row1_), + reinterpret_cast(&other->_impl_.row1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[88]); +} +// =================================================================== + +class VehicleCabinLightsSpotlightRow1::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow1::VehicleCabinLightsSpotlightRow1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLightsSpotlightRow1) +} +VehicleCabinLightsSpotlightRow1::VehicleCabinLightsSpotlightRow1(const VehicleCabinLightsSpotlightRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLightsSpotlightRow1) +} + +inline void VehicleCabinLightsSpotlightRow1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issharedon_) { false } + + , decltype(_impl_.islefton_) { false } + + , decltype(_impl_.isrighton_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLightsSpotlightRow1::~VehicleCabinLightsSpotlightRow1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLightsSpotlightRow1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLightsSpotlightRow1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinLightsSpotlightRow1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLightsSpotlightRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLightsSpotlightRow1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issharedon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isrighton_) - + reinterpret_cast(&_impl_.issharedon_)) + sizeof(_impl_.isrighton_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLightsSpotlightRow1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLightsSpotlightRow1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLightsSpotlightRow1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLightsSpotlightRow1) + return target; +} + +::size_t VehicleCabinLightsSpotlightRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLightsSpotlightRow1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + total_size += 2; + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + total_size += 2; + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLightsSpotlightRow1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLightsSpotlightRow1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLightsSpotlightRow1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLightsSpotlightRow1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLightsSpotlightRow1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issharedon() != 0) { + _this->_internal_set_issharedon(from._internal_issharedon()); + } + if (from._internal_islefton() != 0) { + _this->_internal_set_islefton(from._internal_islefton()); + } + if (from._internal_isrighton() != 0) { + _this->_internal_set_isrighton(from._internal_isrighton()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLightsSpotlightRow1::CopyFrom(const VehicleCabinLightsSpotlightRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLightsSpotlightRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow1::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow1::InternalSwap(VehicleCabinLightsSpotlightRow1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow1, _impl_.isrighton_) + + sizeof(VehicleCabinLightsSpotlightRow1::_impl_.isrighton_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow1, _impl_.issharedon_)>( + reinterpret_cast(&_impl_.issharedon_), + reinterpret_cast(&other->_impl_.issharedon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[89]); +} +// =================================================================== + +class VehicleCabinLightsSpotlightRow2::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow2::VehicleCabinLightsSpotlightRow2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLightsSpotlightRow2) +} +VehicleCabinLightsSpotlightRow2::VehicleCabinLightsSpotlightRow2(const VehicleCabinLightsSpotlightRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLightsSpotlightRow2) +} + +inline void VehicleCabinLightsSpotlightRow2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issharedon_) { false } + + , decltype(_impl_.islefton_) { false } + + , decltype(_impl_.isrighton_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLightsSpotlightRow2::~VehicleCabinLightsSpotlightRow2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLightsSpotlightRow2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLightsSpotlightRow2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinLightsSpotlightRow2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLightsSpotlightRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLightsSpotlightRow2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issharedon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isrighton_) - + reinterpret_cast(&_impl_.issharedon_)) + sizeof(_impl_.isrighton_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLightsSpotlightRow2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLightsSpotlightRow2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLightsSpotlightRow2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLightsSpotlightRow2) + return target; +} + +::size_t VehicleCabinLightsSpotlightRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLightsSpotlightRow2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + total_size += 2; + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + total_size += 2; + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLightsSpotlightRow2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLightsSpotlightRow2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLightsSpotlightRow2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLightsSpotlightRow2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLightsSpotlightRow2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issharedon() != 0) { + _this->_internal_set_issharedon(from._internal_issharedon()); + } + if (from._internal_islefton() != 0) { + _this->_internal_set_islefton(from._internal_islefton()); + } + if (from._internal_isrighton() != 0) { + _this->_internal_set_isrighton(from._internal_isrighton()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLightsSpotlightRow2::CopyFrom(const VehicleCabinLightsSpotlightRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLightsSpotlightRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow2::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow2::InternalSwap(VehicleCabinLightsSpotlightRow2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow2, _impl_.isrighton_) + + sizeof(VehicleCabinLightsSpotlightRow2::_impl_.isrighton_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow2, _impl_.issharedon_)>( + reinterpret_cast(&_impl_.issharedon_), + reinterpret_cast(&other->_impl_.issharedon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[90]); +} +// =================================================================== + +class VehicleCabinLightsSpotlightRow3::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow3::VehicleCabinLightsSpotlightRow3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLightsSpotlightRow3) +} +VehicleCabinLightsSpotlightRow3::VehicleCabinLightsSpotlightRow3(const VehicleCabinLightsSpotlightRow3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLightsSpotlightRow3) +} + +inline void VehicleCabinLightsSpotlightRow3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issharedon_) { false } + + , decltype(_impl_.islefton_) { false } + + , decltype(_impl_.isrighton_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLightsSpotlightRow3::~VehicleCabinLightsSpotlightRow3() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLightsSpotlightRow3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLightsSpotlightRow3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinLightsSpotlightRow3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLightsSpotlightRow3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLightsSpotlightRow3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issharedon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isrighton_) - + reinterpret_cast(&_impl_.issharedon_)) + sizeof(_impl_.isrighton_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLightsSpotlightRow3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLightsSpotlightRow3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLightsSpotlightRow3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLightsSpotlightRow3) + return target; +} + +::size_t VehicleCabinLightsSpotlightRow3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLightsSpotlightRow3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + total_size += 2; + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + total_size += 2; + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLightsSpotlightRow3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLightsSpotlightRow3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLightsSpotlightRow3::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLightsSpotlightRow3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLightsSpotlightRow3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issharedon() != 0) { + _this->_internal_set_issharedon(from._internal_issharedon()); + } + if (from._internal_islefton() != 0) { + _this->_internal_set_islefton(from._internal_islefton()); + } + if (from._internal_isrighton() != 0) { + _this->_internal_set_isrighton(from._internal_isrighton()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLightsSpotlightRow3::CopyFrom(const VehicleCabinLightsSpotlightRow3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLightsSpotlightRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow3::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow3::InternalSwap(VehicleCabinLightsSpotlightRow3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow3, _impl_.isrighton_) + + sizeof(VehicleCabinLightsSpotlightRow3::_impl_.isrighton_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow3, _impl_.issharedon_)>( + reinterpret_cast(&_impl_.issharedon_), + reinterpret_cast(&other->_impl_.issharedon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[91]); +} +// =================================================================== + +class VehicleCabinLightsSpotlightRow4::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow4::VehicleCabinLightsSpotlightRow4(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinLightsSpotlightRow4) +} +VehicleCabinLightsSpotlightRow4::VehicleCabinLightsSpotlightRow4(const VehicleCabinLightsSpotlightRow4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinLightsSpotlightRow4) +} + +inline void VehicleCabinLightsSpotlightRow4::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.issharedon_) { false } + + , decltype(_impl_.islefton_) { false } + + , decltype(_impl_.isrighton_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinLightsSpotlightRow4::~VehicleCabinLightsSpotlightRow4() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinLightsSpotlightRow4) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinLightsSpotlightRow4::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinLightsSpotlightRow4::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinLightsSpotlightRow4::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinLightsSpotlightRow4) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.issharedon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isrighton_) - + reinterpret_cast(&_impl_.issharedon_)) + sizeof(_impl_.isrighton_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinLightsSpotlightRow4::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinLightsSpotlightRow4::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinLightsSpotlightRow4) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinLightsSpotlightRow4) + return target; +} + +::size_t VehicleCabinLightsSpotlightRow4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinLightsSpotlightRow4) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->_internal_issharedon() != 0) { + total_size += 2; + } + + // bool IsLeftOn = 2; + if (this->_internal_islefton() != 0) { + total_size += 2; + } + + // bool IsRightOn = 3; + if (this->_internal_isrighton() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinLightsSpotlightRow4::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinLightsSpotlightRow4::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinLightsSpotlightRow4::GetClassData() const { return &_class_data_; } + + +void VehicleCabinLightsSpotlightRow4::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinLightsSpotlightRow4) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_issharedon() != 0) { + _this->_internal_set_issharedon(from._internal_issharedon()); + } + if (from._internal_islefton() != 0) { + _this->_internal_set_islefton(from._internal_islefton()); + } + if (from._internal_isrighton() != 0) { + _this->_internal_set_isrighton(from._internal_isrighton()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinLightsSpotlightRow4::CopyFrom(const VehicleCabinLightsSpotlightRow4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinLightsSpotlightRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow4::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow4::InternalSwap(VehicleCabinLightsSpotlightRow4* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow4, _impl_.isrighton_) + + sizeof(VehicleCabinLightsSpotlightRow4::_impl_.isrighton_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinLightsSpotlightRow4, _impl_.issharedon_)>( + reinterpret_cast(&_impl_.issharedon_), + reinterpret_cast(&other->_impl_.issharedon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow4::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[92]); +} +// =================================================================== + +class VehicleCabinDoor::_Internal { + public: + static const ::vss::VehicleCabinDoorRow1& row1(const VehicleCabinDoor* msg); + static const ::vss::VehicleCabinDoorRow2& row2(const VehicleCabinDoor* msg); +}; + +const ::vss::VehicleCabinDoorRow1& +VehicleCabinDoor::_Internal::row1(const VehicleCabinDoor* msg) { + return *msg->_impl_.row1_; +} +const ::vss::VehicleCabinDoorRow2& +VehicleCabinDoor::_Internal::row2(const VehicleCabinDoor* msg) { + return *msg->_impl_.row2_; +} +VehicleCabinDoor::VehicleCabinDoor(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoor) +} +VehicleCabinDoor::VehicleCabinDoor(const VehicleCabinDoor& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoor* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_row1()) { + _this->_impl_.row1_ = new ::vss::VehicleCabinDoorRow1(*from._impl_.row1_); + } + if (from._internal_has_row2()) { + _this->_impl_.row2_ = new ::vss::VehicleCabinDoorRow2(*from._impl_.row2_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoor) +} + +inline void VehicleCabinDoor::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoor::~VehicleCabinDoor() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoor) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoor::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.row1_; + if (this != internal_default_instance()) delete _impl_.row2_; +} + +void VehicleCabinDoor::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoor::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoor) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.row1_ != nullptr) { + delete _impl_.row1_; + } + _impl_.row1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row2_ != nullptr) { + delete _impl_.row2_; + } + _impl_.row2_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoor::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinDoorRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoor::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoor) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1 Row1 = 1; + if (this->_internal_has_row1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::row1(this), + _Internal::row1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinDoorRow2 Row2 = 2; + if (this->_internal_has_row2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::row2(this), + _Internal::row2(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoor) + return target; +} + +::size_t VehicleCabinDoor::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoor) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1 Row1 = 1; + if (this->_internal_has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row1_); + } + + // .vss.VehicleCabinDoorRow2 Row2 = 2; + if (this->_internal_has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row2_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoor::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoor::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoor::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoor::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoor) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_row1()) { + _this->_internal_mutable_row1()->::vss::VehicleCabinDoorRow1::MergeFrom( + from._internal_row1()); + } + if (from._internal_has_row2()) { + _this->_internal_mutable_row2()->::vss::VehicleCabinDoorRow2::MergeFrom( + from._internal_row2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoor::CopyFrom(const VehicleCabinDoor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoor::IsInitialized() const { + return true; +} + +void VehicleCabinDoor::InternalSwap(VehicleCabinDoor* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoor, _impl_.row2_) + + sizeof(VehicleCabinDoor::_impl_.row2_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoor, _impl_.row1_)>( + reinterpret_cast(&_impl_.row1_), + reinterpret_cast(&other->_impl_.row1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoor::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[93]); +} +// =================================================================== + +class VehicleCabinDoorRow1::_Internal { + public: + static const ::vss::VehicleCabinDoorRow1Left& left(const VehicleCabinDoorRow1* msg); + static const ::vss::VehicleCabinDoorRow1Right& right(const VehicleCabinDoorRow1* msg); +}; + +const ::vss::VehicleCabinDoorRow1Left& +VehicleCabinDoorRow1::_Internal::left(const VehicleCabinDoorRow1* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinDoorRow1Right& +VehicleCabinDoorRow1::_Internal::right(const VehicleCabinDoorRow1* msg) { + return *msg->_impl_.right_; +} +VehicleCabinDoorRow1::VehicleCabinDoorRow1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1) +} +VehicleCabinDoorRow1::VehicleCabinDoorRow1(const VehicleCabinDoorRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinDoorRow1Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinDoorRow1Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1) +} + +inline void VehicleCabinDoorRow1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow1::~VehicleCabinDoorRow1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinDoorRow1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinDoorRow1Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow1Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinDoorRow1Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1) + return target; +} + +::size_t VehicleCabinDoorRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinDoorRow1Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinDoorRow1Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinDoorRow1Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1::CopyFrom(const VehicleCabinDoorRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1::InternalSwap(VehicleCabinDoorRow1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1, _impl_.right_) + + sizeof(VehicleCabinDoorRow1::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[94]); +} +// =================================================================== + +class VehicleCabinDoorRow1Left::_Internal { + public: + static const ::vss::VehicleCabinDoorRow1LeftWindow& window(const VehicleCabinDoorRow1Left* msg); + static const ::vss::VehicleCabinDoorRow1LeftShade& shade(const VehicleCabinDoorRow1Left* msg); +}; + +const ::vss::VehicleCabinDoorRow1LeftWindow& +VehicleCabinDoorRow1Left::_Internal::window(const VehicleCabinDoorRow1Left* msg) { + return *msg->_impl_.window_; +} +const ::vss::VehicleCabinDoorRow1LeftShade& +VehicleCabinDoorRow1Left::_Internal::shade(const VehicleCabinDoorRow1Left* msg) { + return *msg->_impl_.shade_; +} +VehicleCabinDoorRow1Left::VehicleCabinDoorRow1Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1Left) +} +VehicleCabinDoorRow1Left::VehicleCabinDoorRow1Left(const VehicleCabinDoorRow1Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.islocked_) {} + + , decltype(_impl_.ischildlockactive_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_window()) { + _this->_impl_.window_ = new ::vss::VehicleCabinDoorRow1LeftWindow(*from._impl_.window_); + } + if (from._internal_has_shade()) { + _this->_impl_.shade_ = new ::vss::VehicleCabinDoorRow1LeftShade(*from._impl_.shade_); + } + ::memcpy(&_impl_.isopen_, &from._impl_.isopen_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1Left) +} + +inline void VehicleCabinDoorRow1Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , decltype(_impl_.ischildlockactive_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow1Left::~VehicleCabinDoorRow1Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.window_; + if (this != internal_default_instance()) delete _impl_.shade_; +} + +void VehicleCabinDoorRow1Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.window_ != nullptr) { + delete _impl_.window_; + } + _impl_.window_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.shade_ != nullptr) { + delete _impl_.shade_; + } + _impl_.shade_ = nullptr; + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow1LeftWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow1LeftShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + // .vss.VehicleCabinDoorRow1LeftWindow Window = 3; + if (this->_internal_has_window()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::window(this), + _Internal::window(this).GetCachedSize(), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_ischildlockactive(), target); + } + + // .vss.VehicleCabinDoorRow1LeftShade Shade = 5; + if (this->_internal_has_shade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::shade(this), + _Internal::shade(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1Left) + return target; +} + +::size_t VehicleCabinDoorRow1Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1LeftWindow Window = 3; + if (this->_internal_has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.window_); + } + + // .vss.VehicleCabinDoorRow1LeftShade Shade = 5; + if (this->_internal_has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shade_); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_window()) { + _this->_internal_mutable_window()->::vss::VehicleCabinDoorRow1LeftWindow::MergeFrom( + from._internal_window()); + } + if (from._internal_has_shade()) { + _this->_internal_mutable_shade()->::vss::VehicleCabinDoorRow1LeftShade::MergeFrom( + from._internal_shade()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + if (from._internal_ischildlockactive() != 0) { + _this->_internal_set_ischildlockactive(from._internal_ischildlockactive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1Left::CopyFrom(const VehicleCabinDoorRow1Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1Left::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1Left::InternalSwap(VehicleCabinDoorRow1Left* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1Left, _impl_.ischildlockactive_) + + sizeof(VehicleCabinDoorRow1Left::_impl_.ischildlockactive_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1Left, _impl_.window_)>( + reinterpret_cast(&_impl_.window_), + reinterpret_cast(&other->_impl_.window_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[95]); +} +// =================================================================== + +class VehicleCabinDoorRow1LeftWindow::_Internal { + public: +}; + +VehicleCabinDoorRow1LeftWindow::VehicleCabinDoorRow1LeftWindow(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1LeftWindow) +} +VehicleCabinDoorRow1LeftWindow::VehicleCabinDoorRow1LeftWindow(const VehicleCabinDoorRow1LeftWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1LeftWindow* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.ischildlockengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.position_, &from._impl_.position_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1LeftWindow) +} + +inline void VehicleCabinDoorRow1LeftWindow::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.ischildlockengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow1LeftWindow::~VehicleCabinDoorRow1LeftWindow() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1LeftWindow) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1LeftWindow::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow1LeftWindow::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1LeftWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1LeftWindow) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + ::memset(&_impl_.position_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1LeftWindow::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow1LeftWindow.Switch")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1LeftWindow::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1LeftWindow) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow1LeftWindow.Switch"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1LeftWindow) + return target; +} + +::size_t VehicleCabinDoorRow1LeftWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1LeftWindow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1LeftWindow::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1LeftWindow::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1LeftWindow::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1LeftWindow::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1LeftWindow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_ischildlockengaged() != 0) { + _this->_internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1LeftWindow::CopyFrom(const VehicleCabinDoorRow1LeftWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1LeftWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1LeftWindow::InternalSwap(VehicleCabinDoorRow1LeftWindow* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1LeftWindow, _impl_.ischildlockengaged_) + + sizeof(VehicleCabinDoorRow1LeftWindow::_impl_.ischildlockengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1LeftWindow, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1LeftWindow::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[96]); +} +// =================================================================== + +class VehicleCabinDoorRow1LeftShade::_Internal { + public: +}; + +VehicleCabinDoorRow1LeftShade::VehicleCabinDoorRow1LeftShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1LeftShade) +} +VehicleCabinDoorRow1LeftShade::VehicleCabinDoorRow1LeftShade(const VehicleCabinDoorRow1LeftShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1LeftShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1LeftShade) +} + +inline void VehicleCabinDoorRow1LeftShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow1LeftShade::~VehicleCabinDoorRow1LeftShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1LeftShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1LeftShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow1LeftShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1LeftShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1LeftShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1LeftShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow1LeftShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1LeftShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1LeftShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow1LeftShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1LeftShade) + return target; +} + +::size_t VehicleCabinDoorRow1LeftShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1LeftShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1LeftShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1LeftShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1LeftShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1LeftShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1LeftShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1LeftShade::CopyFrom(const VehicleCabinDoorRow1LeftShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1LeftShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1LeftShade::InternalSwap(VehicleCabinDoorRow1LeftShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1LeftShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[97]); +} +// =================================================================== + +class VehicleCabinDoorRow1Right::_Internal { + public: + static const ::vss::VehicleCabinDoorRow1RightWindow& window(const VehicleCabinDoorRow1Right* msg); + static const ::vss::VehicleCabinDoorRow1RightShade& shade(const VehicleCabinDoorRow1Right* msg); +}; + +const ::vss::VehicleCabinDoorRow1RightWindow& +VehicleCabinDoorRow1Right::_Internal::window(const VehicleCabinDoorRow1Right* msg) { + return *msg->_impl_.window_; +} +const ::vss::VehicleCabinDoorRow1RightShade& +VehicleCabinDoorRow1Right::_Internal::shade(const VehicleCabinDoorRow1Right* msg) { + return *msg->_impl_.shade_; +} +VehicleCabinDoorRow1Right::VehicleCabinDoorRow1Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1Right) +} +VehicleCabinDoorRow1Right::VehicleCabinDoorRow1Right(const VehicleCabinDoorRow1Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.islocked_) {} + + , decltype(_impl_.ischildlockactive_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_window()) { + _this->_impl_.window_ = new ::vss::VehicleCabinDoorRow1RightWindow(*from._impl_.window_); + } + if (from._internal_has_shade()) { + _this->_impl_.shade_ = new ::vss::VehicleCabinDoorRow1RightShade(*from._impl_.shade_); + } + ::memcpy(&_impl_.isopen_, &from._impl_.isopen_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1Right) +} + +inline void VehicleCabinDoorRow1Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , decltype(_impl_.ischildlockactive_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow1Right::~VehicleCabinDoorRow1Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.window_; + if (this != internal_default_instance()) delete _impl_.shade_; +} + +void VehicleCabinDoorRow1Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.window_ != nullptr) { + delete _impl_.window_; + } + _impl_.window_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.shade_ != nullptr) { + delete _impl_.shade_; + } + _impl_.shade_ = nullptr; + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow1RightWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow1RightShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + // .vss.VehicleCabinDoorRow1RightWindow Window = 3; + if (this->_internal_has_window()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::window(this), + _Internal::window(this).GetCachedSize(), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_ischildlockactive(), target); + } + + // .vss.VehicleCabinDoorRow1RightShade Shade = 5; + if (this->_internal_has_shade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::shade(this), + _Internal::shade(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1Right) + return target; +} + +::size_t VehicleCabinDoorRow1Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow1RightWindow Window = 3; + if (this->_internal_has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.window_); + } + + // .vss.VehicleCabinDoorRow1RightShade Shade = 5; + if (this->_internal_has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shade_); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_window()) { + _this->_internal_mutable_window()->::vss::VehicleCabinDoorRow1RightWindow::MergeFrom( + from._internal_window()); + } + if (from._internal_has_shade()) { + _this->_internal_mutable_shade()->::vss::VehicleCabinDoorRow1RightShade::MergeFrom( + from._internal_shade()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + if (from._internal_ischildlockactive() != 0) { + _this->_internal_set_ischildlockactive(from._internal_ischildlockactive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1Right::CopyFrom(const VehicleCabinDoorRow1Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1Right::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1Right::InternalSwap(VehicleCabinDoorRow1Right* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1Right, _impl_.ischildlockactive_) + + sizeof(VehicleCabinDoorRow1Right::_impl_.ischildlockactive_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1Right, _impl_.window_)>( + reinterpret_cast(&_impl_.window_), + reinterpret_cast(&other->_impl_.window_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[98]); +} +// =================================================================== + +class VehicleCabinDoorRow1RightWindow::_Internal { + public: +}; + +VehicleCabinDoorRow1RightWindow::VehicleCabinDoorRow1RightWindow(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1RightWindow) +} +VehicleCabinDoorRow1RightWindow::VehicleCabinDoorRow1RightWindow(const VehicleCabinDoorRow1RightWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1RightWindow* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.ischildlockengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.position_, &from._impl_.position_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1RightWindow) +} + +inline void VehicleCabinDoorRow1RightWindow::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.ischildlockengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow1RightWindow::~VehicleCabinDoorRow1RightWindow() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1RightWindow) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1RightWindow::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow1RightWindow::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1RightWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1RightWindow) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + ::memset(&_impl_.position_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1RightWindow::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow1RightWindow.Switch")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1RightWindow::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1RightWindow) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow1RightWindow.Switch"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1RightWindow) + return target; +} + +::size_t VehicleCabinDoorRow1RightWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1RightWindow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1RightWindow::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1RightWindow::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1RightWindow::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1RightWindow::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1RightWindow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_ischildlockengaged() != 0) { + _this->_internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1RightWindow::CopyFrom(const VehicleCabinDoorRow1RightWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1RightWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1RightWindow::InternalSwap(VehicleCabinDoorRow1RightWindow* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1RightWindow, _impl_.ischildlockengaged_) + + sizeof(VehicleCabinDoorRow1RightWindow::_impl_.ischildlockengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow1RightWindow, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1RightWindow::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[99]); +} +// =================================================================== + +class VehicleCabinDoorRow1RightShade::_Internal { + public: +}; + +VehicleCabinDoorRow1RightShade::VehicleCabinDoorRow1RightShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow1RightShade) +} +VehicleCabinDoorRow1RightShade::VehicleCabinDoorRow1RightShade(const VehicleCabinDoorRow1RightShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow1RightShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow1RightShade) +} + +inline void VehicleCabinDoorRow1RightShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow1RightShade::~VehicleCabinDoorRow1RightShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow1RightShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow1RightShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow1RightShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow1RightShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow1RightShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow1RightShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow1RightShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow1RightShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow1RightShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow1RightShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow1RightShade) + return target; +} + +::size_t VehicleCabinDoorRow1RightShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow1RightShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow1RightShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow1RightShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow1RightShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow1RightShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow1RightShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow1RightShade::CopyFrom(const VehicleCabinDoorRow1RightShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow1RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1RightShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1RightShade::InternalSwap(VehicleCabinDoorRow1RightShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1RightShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[100]); +} +// =================================================================== + +class VehicleCabinDoorRow2::_Internal { + public: + static const ::vss::VehicleCabinDoorRow2Left& left(const VehicleCabinDoorRow2* msg); + static const ::vss::VehicleCabinDoorRow2Right& right(const VehicleCabinDoorRow2* msg); +}; + +const ::vss::VehicleCabinDoorRow2Left& +VehicleCabinDoorRow2::_Internal::left(const VehicleCabinDoorRow2* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleCabinDoorRow2Right& +VehicleCabinDoorRow2::_Internal::right(const VehicleCabinDoorRow2* msg) { + return *msg->_impl_.right_; +} +VehicleCabinDoorRow2::VehicleCabinDoorRow2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2) +} +VehicleCabinDoorRow2::VehicleCabinDoorRow2(const VehicleCabinDoorRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleCabinDoorRow2Left(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleCabinDoorRow2Right(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2) +} + +inline void VehicleCabinDoorRow2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow2::~VehicleCabinDoorRow2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleCabinDoorRow2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinDoorRow2Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow2Left Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinDoorRow2Right Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2) + return target; +} + +::size_t VehicleCabinDoorRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow2Left Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleCabinDoorRow2Right Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleCabinDoorRow2Left::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleCabinDoorRow2Right::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2::CopyFrom(const VehicleCabinDoorRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2::InternalSwap(VehicleCabinDoorRow2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2, _impl_.right_) + + sizeof(VehicleCabinDoorRow2::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[101]); +} +// =================================================================== + +class VehicleCabinDoorRow2Left::_Internal { + public: + static const ::vss::VehicleCabinDoorRow2LeftWindow& window(const VehicleCabinDoorRow2Left* msg); + static const ::vss::VehicleCabinDoorRow2LeftShade& shade(const VehicleCabinDoorRow2Left* msg); +}; + +const ::vss::VehicleCabinDoorRow2LeftWindow& +VehicleCabinDoorRow2Left::_Internal::window(const VehicleCabinDoorRow2Left* msg) { + return *msg->_impl_.window_; +} +const ::vss::VehicleCabinDoorRow2LeftShade& +VehicleCabinDoorRow2Left::_Internal::shade(const VehicleCabinDoorRow2Left* msg) { + return *msg->_impl_.shade_; +} +VehicleCabinDoorRow2Left::VehicleCabinDoorRow2Left(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2Left) +} +VehicleCabinDoorRow2Left::VehicleCabinDoorRow2Left(const VehicleCabinDoorRow2Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2Left* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.islocked_) {} + + , decltype(_impl_.ischildlockactive_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_window()) { + _this->_impl_.window_ = new ::vss::VehicleCabinDoorRow2LeftWindow(*from._impl_.window_); + } + if (from._internal_has_shade()) { + _this->_impl_.shade_ = new ::vss::VehicleCabinDoorRow2LeftShade(*from._impl_.shade_); + } + ::memcpy(&_impl_.isopen_, &from._impl_.isopen_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2Left) +} + +inline void VehicleCabinDoorRow2Left::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , decltype(_impl_.ischildlockactive_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow2Left::~VehicleCabinDoorRow2Left() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2Left) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2Left::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.window_; + if (this != internal_default_instance()) delete _impl_.shade_; +} + +void VehicleCabinDoorRow2Left::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2Left::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2Left) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.window_ != nullptr) { + delete _impl_.window_; + } + _impl_.window_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.shade_ != nullptr) { + delete _impl_.shade_; + } + _impl_.shade_ = nullptr; + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2Left::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2LeftWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2LeftShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2Left::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2Left) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + // .vss.VehicleCabinDoorRow2LeftWindow Window = 3; + if (this->_internal_has_window()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::window(this), + _Internal::window(this).GetCachedSize(), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_ischildlockactive(), target); + } + + // .vss.VehicleCabinDoorRow2LeftShade Shade = 5; + if (this->_internal_has_shade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::shade(this), + _Internal::shade(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2Left) + return target; +} + +::size_t VehicleCabinDoorRow2Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2Left) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow2LeftWindow Window = 3; + if (this->_internal_has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.window_); + } + + // .vss.VehicleCabinDoorRow2LeftShade Shade = 5; + if (this->_internal_has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shade_); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2Left::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2Left::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2Left::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2Left::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2Left) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_window()) { + _this->_internal_mutable_window()->::vss::VehicleCabinDoorRow2LeftWindow::MergeFrom( + from._internal_window()); + } + if (from._internal_has_shade()) { + _this->_internal_mutable_shade()->::vss::VehicleCabinDoorRow2LeftShade::MergeFrom( + from._internal_shade()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + if (from._internal_ischildlockactive() != 0) { + _this->_internal_set_ischildlockactive(from._internal_ischildlockactive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2Left::CopyFrom(const VehicleCabinDoorRow2Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2Left::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2Left::InternalSwap(VehicleCabinDoorRow2Left* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2Left, _impl_.ischildlockactive_) + + sizeof(VehicleCabinDoorRow2Left::_impl_.ischildlockactive_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2Left, _impl_.window_)>( + reinterpret_cast(&_impl_.window_), + reinterpret_cast(&other->_impl_.window_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2Left::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[102]); +} +// =================================================================== + +class VehicleCabinDoorRow2LeftWindow::_Internal { + public: +}; + +VehicleCabinDoorRow2LeftWindow::VehicleCabinDoorRow2LeftWindow(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2LeftWindow) +} +VehicleCabinDoorRow2LeftWindow::VehicleCabinDoorRow2LeftWindow(const VehicleCabinDoorRow2LeftWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2LeftWindow* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.ischildlockengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.position_, &from._impl_.position_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2LeftWindow) +} + +inline void VehicleCabinDoorRow2LeftWindow::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.ischildlockengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow2LeftWindow::~VehicleCabinDoorRow2LeftWindow() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2LeftWindow) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2LeftWindow::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow2LeftWindow::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2LeftWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2LeftWindow) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + ::memset(&_impl_.position_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2LeftWindow::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow2LeftWindow.Switch")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2LeftWindow::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2LeftWindow) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow2LeftWindow.Switch"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2LeftWindow) + return target; +} + +::size_t VehicleCabinDoorRow2LeftWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2LeftWindow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2LeftWindow::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2LeftWindow::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2LeftWindow::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2LeftWindow::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2LeftWindow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_ischildlockengaged() != 0) { + _this->_internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2LeftWindow::CopyFrom(const VehicleCabinDoorRow2LeftWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2LeftWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2LeftWindow::InternalSwap(VehicleCabinDoorRow2LeftWindow* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2LeftWindow, _impl_.ischildlockengaged_) + + sizeof(VehicleCabinDoorRow2LeftWindow::_impl_.ischildlockengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2LeftWindow, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2LeftWindow::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[103]); +} +// =================================================================== + +class VehicleCabinDoorRow2LeftShade::_Internal { + public: +}; + +VehicleCabinDoorRow2LeftShade::VehicleCabinDoorRow2LeftShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2LeftShade) +} +VehicleCabinDoorRow2LeftShade::VehicleCabinDoorRow2LeftShade(const VehicleCabinDoorRow2LeftShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2LeftShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2LeftShade) +} + +inline void VehicleCabinDoorRow2LeftShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow2LeftShade::~VehicleCabinDoorRow2LeftShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2LeftShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2LeftShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow2LeftShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2LeftShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2LeftShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2LeftShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow2LeftShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2LeftShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2LeftShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow2LeftShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2LeftShade) + return target; +} + +::size_t VehicleCabinDoorRow2LeftShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2LeftShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2LeftShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2LeftShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2LeftShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2LeftShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2LeftShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2LeftShade::CopyFrom(const VehicleCabinDoorRow2LeftShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2LeftShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2LeftShade::InternalSwap(VehicleCabinDoorRow2LeftShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2LeftShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[104]); +} +// =================================================================== + +class VehicleCabinDoorRow2Right::_Internal { + public: + static const ::vss::VehicleCabinDoorRow2RightWindow& window(const VehicleCabinDoorRow2Right* msg); + static const ::vss::VehicleCabinDoorRow2RightShade& shade(const VehicleCabinDoorRow2Right* msg); +}; + +const ::vss::VehicleCabinDoorRow2RightWindow& +VehicleCabinDoorRow2Right::_Internal::window(const VehicleCabinDoorRow2Right* msg) { + return *msg->_impl_.window_; +} +const ::vss::VehicleCabinDoorRow2RightShade& +VehicleCabinDoorRow2Right::_Internal::shade(const VehicleCabinDoorRow2Right* msg) { + return *msg->_impl_.shade_; +} +VehicleCabinDoorRow2Right::VehicleCabinDoorRow2Right(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2Right) +} +VehicleCabinDoorRow2Right::VehicleCabinDoorRow2Right(const VehicleCabinDoorRow2Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2Right* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.islocked_) {} + + , decltype(_impl_.ischildlockactive_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_window()) { + _this->_impl_.window_ = new ::vss::VehicleCabinDoorRow2RightWindow(*from._impl_.window_); + } + if (from._internal_has_shade()) { + _this->_impl_.shade_ = new ::vss::VehicleCabinDoorRow2RightShade(*from._impl_.shade_); + } + ::memcpy(&_impl_.isopen_, &from._impl_.isopen_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2Right) +} + +inline void VehicleCabinDoorRow2Right::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.window_){nullptr} + , decltype(_impl_.shade_){nullptr} + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.islocked_) { false } + + , decltype(_impl_.ischildlockactive_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinDoorRow2Right::~VehicleCabinDoorRow2Right() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2Right) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2Right::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.window_; + if (this != internal_default_instance()) delete _impl_.shade_; +} + +void VehicleCabinDoorRow2Right::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2Right::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2Right) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.window_ != nullptr) { + delete _impl_.window_; + } + _impl_.window_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.shade_ != nullptr) { + delete _impl_.shade_; + } + _impl_.shade_ = nullptr; + ::memset(&_impl_.isopen_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockactive_) - + reinterpret_cast(&_impl_.isopen_)) + sizeof(_impl_.ischildlockactive_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2Right::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2RightWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinDoorRow2RightShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2Right::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2Right) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islocked(), target); + } + + // .vss.VehicleCabinDoorRow2RightWindow Window = 3; + if (this->_internal_has_window()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::window(this), + _Internal::window(this).GetCachedSize(), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_ischildlockactive(), target); + } + + // .vss.VehicleCabinDoorRow2RightShade Shade = 5; + if (this->_internal_has_shade()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::shade(this), + _Internal::shade(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2Right) + return target; +} + +::size_t VehicleCabinDoorRow2Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2Right) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinDoorRow2RightWindow Window = 3; + if (this->_internal_has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.window_); + } + + // .vss.VehicleCabinDoorRow2RightShade Shade = 5; + if (this->_internal_has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.shade_); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsLocked = 2; + if (this->_internal_islocked() != 0) { + total_size += 2; + } + + // bool IsChildLockActive = 4; + if (this->_internal_ischildlockactive() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2Right::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2Right::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2Right::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2Right::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2Right) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_window()) { + _this->_internal_mutable_window()->::vss::VehicleCabinDoorRow2RightWindow::MergeFrom( + from._internal_window()); + } + if (from._internal_has_shade()) { + _this->_internal_mutable_shade()->::vss::VehicleCabinDoorRow2RightShade::MergeFrom( + from._internal_shade()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_islocked() != 0) { + _this->_internal_set_islocked(from._internal_islocked()); + } + if (from._internal_ischildlockactive() != 0) { + _this->_internal_set_ischildlockactive(from._internal_ischildlockactive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2Right::CopyFrom(const VehicleCabinDoorRow2Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2Right::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2Right::InternalSwap(VehicleCabinDoorRow2Right* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2Right, _impl_.ischildlockactive_) + + sizeof(VehicleCabinDoorRow2Right::_impl_.ischildlockactive_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2Right, _impl_.window_)>( + reinterpret_cast(&_impl_.window_), + reinterpret_cast(&other->_impl_.window_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2Right::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[105]); +} +// =================================================================== + +class VehicleCabinDoorRow2RightWindow::_Internal { + public: +}; + +VehicleCabinDoorRow2RightWindow::VehicleCabinDoorRow2RightWindow(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2RightWindow) +} +VehicleCabinDoorRow2RightWindow::VehicleCabinDoorRow2RightWindow(const VehicleCabinDoorRow2RightWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2RightWindow* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.isopen_) {} + + , decltype(_impl_.ischildlockengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.position_, &from._impl_.position_, + static_cast<::size_t>(reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2RightWindow) +} + +inline void VehicleCabinDoorRow2RightWindow::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.isopen_) { false } + + , decltype(_impl_.ischildlockengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow2RightWindow::~VehicleCabinDoorRow2RightWindow() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2RightWindow) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2RightWindow::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow2RightWindow::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2RightWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2RightWindow) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + ::memset(&_impl_.position_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.ischildlockengaged_) - + reinterpret_cast(&_impl_.position_)) + sizeof(_impl_.ischildlockengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2RightWindow::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow2RightWindow.Switch")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2RightWindow::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2RightWindow) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow2RightWindow.Switch"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2RightWindow) + return target; +} + +::size_t VehicleCabinDoorRow2RightWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2RightWindow) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->_internal_isopen() != 0) { + total_size += 2; + } + + // bool IsChildLockEngaged = 3; + if (this->_internal_ischildlockengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2RightWindow::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2RightWindow::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2RightWindow::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2RightWindow::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2RightWindow) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_isopen() != 0) { + _this->_internal_set_isopen(from._internal_isopen()); + } + if (from._internal_ischildlockengaged() != 0) { + _this->_internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2RightWindow::CopyFrom(const VehicleCabinDoorRow2RightWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2RightWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2RightWindow::InternalSwap(VehicleCabinDoorRow2RightWindow* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2RightWindow, _impl_.ischildlockengaged_) + + sizeof(VehicleCabinDoorRow2RightWindow::_impl_.ischildlockengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinDoorRow2RightWindow, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2RightWindow::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[106]); +} +// =================================================================== + +class VehicleCabinDoorRow2RightShade::_Internal { + public: +}; + +VehicleCabinDoorRow2RightShade::VehicleCabinDoorRow2RightShade(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinDoorRow2RightShade) +} +VehicleCabinDoorRow2RightShade::VehicleCabinDoorRow2RightShade(const VehicleCabinDoorRow2RightShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinDoorRow2RightShade* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_switch_().empty()) { + _this->_impl_.switch__.Set(from._internal_switch_(), _this->GetArenaForAllocation()); + } + _this->_impl_.position_ = from._impl_.position_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinDoorRow2RightShade) +} + +inline void VehicleCabinDoorRow2RightShade::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.switch__) {} + + , decltype(_impl_.position_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.switch__.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.switch__.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinDoorRow2RightShade::~VehicleCabinDoorRow2RightShade() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinDoorRow2RightShade) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinDoorRow2RightShade::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.switch__.Destroy(); +} + +void VehicleCabinDoorRow2RightShade::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinDoorRow2RightShade::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinDoorRow2RightShade) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.switch__.ClearToEmpty(); + _impl_.position_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinDoorRow2RightShade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_switch_(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinDoorRow2RightShade.Switch")); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinDoorRow2RightShade::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinDoorRow2RightShade) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + const std::string& _s = this->_internal_switch_(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinDoorRow2RightShade.Switch"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinDoorRow2RightShade) + return target; +} + +::size_t VehicleCabinDoorRow2RightShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinDoorRow2RightShade) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (!this->_internal_switch_().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinDoorRow2RightShade::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinDoorRow2RightShade::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinDoorRow2RightShade::GetClassData() const { return &_class_data_; } + + +void VehicleCabinDoorRow2RightShade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinDoorRow2RightShade) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_switch_().empty()) { + _this->_internal_set_switch_(from._internal_switch_()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinDoorRow2RightShade::CopyFrom(const VehicleCabinDoorRow2RightShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinDoorRow2RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2RightShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2RightShade::InternalSwap(VehicleCabinDoorRow2RightShade* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.switch__, lhs_arena, + &other->_impl_.switch__, rhs_arena); + + swap(_impl_.position_, other->_impl_.position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2RightShade::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[107]); +} +// =================================================================== + +class VehicleCabinSeat::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1& row1(const VehicleCabinSeat* msg); + static const ::vss::VehicleCabinSeatRow2& row2(const VehicleCabinSeat* msg); +}; + +const ::vss::VehicleCabinSeatRow1& +VehicleCabinSeat::_Internal::row1(const VehicleCabinSeat* msg) { + return *msg->_impl_.row1_; +} +const ::vss::VehicleCabinSeatRow2& +VehicleCabinSeat::_Internal::row2(const VehicleCabinSeat* msg) { + return *msg->_impl_.row2_; +} +VehicleCabinSeat::VehicleCabinSeat(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeat) +} +VehicleCabinSeat::VehicleCabinSeat(const VehicleCabinSeat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_row1()) { + _this->_impl_.row1_ = new ::vss::VehicleCabinSeatRow1(*from._impl_.row1_); + } + if (from._internal_has_row2()) { + _this->_impl_.row2_ = new ::vss::VehicleCabinSeatRow2(*from._impl_.row2_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeat) +} + +inline void VehicleCabinSeat::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeat::~VehicleCabinSeat() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeat::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.row1_; + if (this != internal_default_instance()) delete _impl_.row2_; +} + +void VehicleCabinSeat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeat::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeat) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.row1_ != nullptr) { + delete _impl_.row1_; + } + _impl_.row1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row2_ != nullptr) { + delete _impl_.row2_; + } + _impl_.row2_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeat::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeat) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1 Row1 = 1; + if (this->_internal_has_row1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::row1(this), + _Internal::row1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2 Row2 = 2; + if (this->_internal_has_row2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::row2(this), + _Internal::row2(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeat) + return target; +} + +::size_t VehicleCabinSeat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeat) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1 Row1 = 1; + if (this->_internal_has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row1_); + } + + // .vss.VehicleCabinSeatRow2 Row2 = 2; + if (this->_internal_has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row2_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeat::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeat) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_row1()) { + _this->_internal_mutable_row1()->::vss::VehicleCabinSeatRow1::MergeFrom( + from._internal_row1()); + } + if (from._internal_has_row2()) { + _this->_internal_mutable_row2()->::vss::VehicleCabinSeatRow2::MergeFrom( + from._internal_row2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeat::CopyFrom(const VehicleCabinSeat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeat::IsInitialized() const { + return true; +} + +void VehicleCabinSeat::InternalSwap(VehicleCabinSeat* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeat, _impl_.row2_) + + sizeof(VehicleCabinSeat::_impl_.row2_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeat, _impl_.row1_)>( + reinterpret_cast(&_impl_.row1_), + reinterpret_cast(&other->_impl_.row1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[108]); +} +// =================================================================== + +class VehicleCabinSeatRow1::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1& pos1(const VehicleCabinSeatRow1* msg); + static const ::vss::VehicleCabinSeatRow1Pos2& pos2(const VehicleCabinSeatRow1* msg); + static const ::vss::VehicleCabinSeatRow1Pos3& pos3(const VehicleCabinSeatRow1* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1& +VehicleCabinSeatRow1::_Internal::pos1(const VehicleCabinSeatRow1* msg) { + return *msg->_impl_.pos1_; +} +const ::vss::VehicleCabinSeatRow1Pos2& +VehicleCabinSeatRow1::_Internal::pos2(const VehicleCabinSeatRow1* msg) { + return *msg->_impl_.pos2_; +} +const ::vss::VehicleCabinSeatRow1Pos3& +VehicleCabinSeatRow1::_Internal::pos3(const VehicleCabinSeatRow1* msg) { + return *msg->_impl_.pos3_; +} +VehicleCabinSeatRow1::VehicleCabinSeatRow1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1) +} +VehicleCabinSeatRow1::VehicleCabinSeatRow1(const VehicleCabinSeatRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.pos1_){nullptr} + , decltype(_impl_.pos2_){nullptr} + , decltype(_impl_.pos3_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos1()) { + _this->_impl_.pos1_ = new ::vss::VehicleCabinSeatRow1Pos1(*from._impl_.pos1_); + } + if (from._internal_has_pos2()) { + _this->_impl_.pos2_ = new ::vss::VehicleCabinSeatRow1Pos2(*from._impl_.pos2_); + } + if (from._internal_has_pos3()) { + _this->_impl_.pos3_ = new ::vss::VehicleCabinSeatRow1Pos3(*from._impl_.pos3_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1) +} + +inline void VehicleCabinSeatRow1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pos1_){nullptr} + , decltype(_impl_.pos2_){nullptr} + , decltype(_impl_.pos3_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1::~VehicleCabinSeatRow1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos1_; + if (this != internal_default_instance()) delete _impl_.pos2_; + if (this != internal_default_instance()) delete _impl_.pos3_; +} + +void VehicleCabinSeatRow1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.pos1_ != nullptr) { + delete _impl_.pos1_; + } + _impl_.pos1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.pos2_ != nullptr) { + delete _impl_.pos2_; + } + _impl_.pos2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.pos3_ != nullptr) { + delete _impl_.pos3_; + } + _impl_.pos3_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow1Pos1 Pos1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2 Pos2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pos2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3 Pos3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_pos3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1 Pos1 = 1; + if (this->_internal_has_pos1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos1(this), + _Internal::pos1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2 Pos2 = 2; + if (this->_internal_has_pos2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::pos2(this), + _Internal::pos2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3 Pos3 = 3; + if (this->_internal_has_pos3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::pos3(this), + _Internal::pos3(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1) + return target; +} + +::size_t VehicleCabinSeatRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1 Pos1 = 1; + if (this->_internal_has_pos1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos1_); + } + + // .vss.VehicleCabinSeatRow1Pos2 Pos2 = 2; + if (this->_internal_has_pos2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos2_); + } + + // .vss.VehicleCabinSeatRow1Pos3 Pos3 = 3; + if (this->_internal_has_pos3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos3_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_pos1()) { + _this->_internal_mutable_pos1()->::vss::VehicleCabinSeatRow1Pos1::MergeFrom( + from._internal_pos1()); + } + if (from._internal_has_pos2()) { + _this->_internal_mutable_pos2()->::vss::VehicleCabinSeatRow1Pos2::MergeFrom( + from._internal_pos2()); + } + if (from._internal_has_pos3()) { + _this->_internal_mutable_pos3()->::vss::VehicleCabinSeatRow1Pos3::MergeFrom( + from._internal_pos3()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1::CopyFrom(const VehicleCabinSeatRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1::InternalSwap(VehicleCabinSeatRow1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1, _impl_.pos3_) + + sizeof(VehicleCabinSeatRow1::_impl_.pos3_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1, _impl_.pos1_)>( + reinterpret_cast(&_impl_.pos1_), + reinterpret_cast(&other->_impl_.pos1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[109]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1Occupant& occupant(const VehicleCabinSeatRow1Pos1* msg); + static const ::vss::VehicleCabinSeatRow1Pos1Backrest& backrest(const VehicleCabinSeatRow1Pos1* msg); + static const ::vss::VehicleCabinSeatRow1Pos1Seating& seating(const VehicleCabinSeatRow1Pos1* msg); + static const ::vss::VehicleCabinSeatRow1Pos1Headrest& headrest(const VehicleCabinSeatRow1Pos1* msg); + static const ::vss::VehicleCabinSeatRow1Pos1Airbag& airbag(const VehicleCabinSeatRow1Pos1* msg); + static const ::vss::VehicleCabinSeatRow1Pos1Switch& switch_(const VehicleCabinSeatRow1Pos1* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1Occupant& +VehicleCabinSeatRow1Pos1::_Internal::occupant(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow1Pos1Backrest& +VehicleCabinSeatRow1Pos1::_Internal::backrest(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos1Seating& +VehicleCabinSeatRow1Pos1::_Internal::seating(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos1Headrest& +VehicleCabinSeatRow1Pos1::_Internal::headrest(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos1Airbag& +VehicleCabinSeatRow1Pos1::_Internal::airbag(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow1Pos1Switch& +VehicleCabinSeatRow1Pos1::_Internal::switch_(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow1Pos1::VehicleCabinSeatRow1Pos1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1) +} +VehicleCabinSeatRow1Pos1::VehicleCabinSeatRow1Pos1(const VehicleCabinSeatRow1Pos1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow1Pos1Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos1Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos1Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos1Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow1Pos1Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow1Pos1Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1) +} + +inline void VehicleCabinSeatRow1Pos1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1::~VehicleCabinSeatRow1Pos1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow1Pos1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos1Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow1Pos1Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow1Pos1Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos1Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos1Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos1Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow1Pos1Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow1Pos1Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1::CopyFrom(const VehicleCabinSeatRow1Pos1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1::InternalSwap(VehicleCabinSeatRow1Pos1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow1Pos1::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[110]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos1Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier& +VehicleCabinSeatRow1Pos1Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos1Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow1Pos1Occupant::VehicleCabinSeatRow1Pos1Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Occupant) +} +VehicleCabinSeatRow1Pos1Occupant::VehicleCabinSeatRow1Pos1Occupant(const VehicleCabinSeatRow1Pos1Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Occupant) +} + +inline void VehicleCabinSeatRow1Pos1Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Occupant::~VehicleCabinSeatRow1Pos1Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow1Pos1Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Occupant) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Occupant::CopyFrom(const VehicleCabinSeatRow1Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Occupant::InternalSwap(VehicleCabinSeatRow1Pos1Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[111]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1OccupantIdentifier::VehicleCabinSeatRow1Pos1OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) +} +VehicleCabinSeatRow1Pos1OccupantIdentifier::VehicleCabinSeatRow1Pos1OccupantIdentifier(const VehicleCabinSeatRow1Pos1OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) +} + +inline void VehicleCabinSeatRow1Pos1OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow1Pos1OccupantIdentifier::~VehicleCabinSeatRow1Pos1OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos1OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos1OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos1OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos1OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos1OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[112]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos1Backrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos1Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar& +VehicleCabinSeatRow1Pos1Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos1Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster& +VehicleCabinSeatRow1Pos1Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos1Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos1Backrest::VehicleCabinSeatRow1Pos1Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Backrest) +} +VehicleCabinSeatRow1Pos1Backrest::VehicleCabinSeatRow1Pos1Backrest(const VehicleCabinSeatRow1Pos1Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Backrest) +} + +inline void VehicleCabinSeatRow1Pos1Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Backrest::~VehicleCabinSeatRow1Pos1Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos1Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Backrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos1BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Backrest::CopyFrom(const VehicleCabinSeatRow1Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Backrest::InternalSwap(VehicleCabinSeatRow1Pos1Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow1Pos1Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[113]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1BackrestLumbar::VehicleCabinSeatRow1Pos1BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) +} +VehicleCabinSeatRow1Pos1BackrestLumbar::VehicleCabinSeatRow1Pos1BackrestLumbar(const VehicleCabinSeatRow1Pos1BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos1BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1BackrestLumbar::~VehicleCabinSeatRow1Pos1BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos1BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow1Pos1BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[114]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1BackrestSideBolster::VehicleCabinSeatRow1Pos1BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) +} +VehicleCabinSeatRow1Pos1BackrestSideBolster::VehicleCabinSeatRow1Pos1BackrestSideBolster(const VehicleCabinSeatRow1Pos1BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos1BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1BackrestSideBolster::~VehicleCabinSeatRow1Pos1BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos1BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[115]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Seating::VehicleCabinSeatRow1Pos1Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Seating) +} +VehicleCabinSeatRow1Pos1Seating::VehicleCabinSeatRow1Pos1Seating(const VehicleCabinSeatRow1Pos1Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Seating) +} + +inline void VehicleCabinSeatRow1Pos1Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Seating::~VehicleCabinSeatRow1Pos1Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Seating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Seating::CopyFrom(const VehicleCabinSeatRow1Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Seating::InternalSwap(VehicleCabinSeatRow1Pos1Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[116]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Headrest::VehicleCabinSeatRow1Pos1Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Headrest) +} +VehicleCabinSeatRow1Pos1Headrest::VehicleCabinSeatRow1Pos1Headrest(const VehicleCabinSeatRow1Pos1Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Headrest) +} + +inline void VehicleCabinSeatRow1Pos1Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Headrest::~VehicleCabinSeatRow1Pos1Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Headrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Headrest::CopyFrom(const VehicleCabinSeatRow1Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Headrest::InternalSwap(VehicleCabinSeatRow1Pos1Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow1Pos1Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[117]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Airbag::VehicleCabinSeatRow1Pos1Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Airbag) +} +VehicleCabinSeatRow1Pos1Airbag::VehicleCabinSeatRow1Pos1Airbag(const VehicleCabinSeatRow1Pos1Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Airbag) +} + +inline void VehicleCabinSeatRow1Pos1Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Airbag::~VehicleCabinSeatRow1Pos1Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Airbag) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Airbag::CopyFrom(const VehicleCabinSeatRow1Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Airbag::InternalSwap(VehicleCabinSeatRow1Pos1Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[118]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos1SwitchSeating& seating(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos1SwitchMassage& massage(const VehicleCabinSeatRow1Pos1Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest& +VehicleCabinSeatRow1Pos1Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos1SwitchSeating& +VehicleCabinSeatRow1Pos1Switch::_Internal::seating(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest& +VehicleCabinSeatRow1Pos1Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos1SwitchMassage& +VehicleCabinSeatRow1Pos1Switch::_Internal::massage(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow1Pos1Switch::VehicleCabinSeatRow1Pos1Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1Switch) +} +VehicleCabinSeatRow1Pos1Switch::VehicleCabinSeatRow1Pos1Switch(const VehicleCabinSeatRow1Pos1Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1Switch) +} + +inline void VehicleCabinSeatRow1Pos1Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1Switch::~VehicleCabinSeatRow1Pos1Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow1Pos1Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1Switch) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos1SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos1SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow1Pos1SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1Switch::CopyFrom(const VehicleCabinSeatRow1Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Switch::InternalSwap(VehicleCabinSeatRow1Pos1Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos1Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[119]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos1SwitchBackrest::VehicleCabinSeatRow1Pos1SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) +} +VehicleCabinSeatRow1Pos1SwitchBackrest::VehicleCabinSeatRow1Pos1SwitchBackrest(const VehicleCabinSeatRow1Pos1SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos1SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchBackrest::~VehicleCabinSeatRow1Pos1SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[120]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos1SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[121]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[122]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchSeating::VehicleCabinSeatRow1Pos1SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchSeating) +} +VehicleCabinSeatRow1Pos1SwitchSeating::VehicleCabinSeatRow1Pos1SwitchSeating(const VehicleCabinSeatRow1Pos1SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchSeating) +} + +inline void VehicleCabinSeatRow1Pos1SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchSeating::~VehicleCabinSeatRow1Pos1SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos1SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[123]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchHeadrest::VehicleCabinSeatRow1Pos1SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) +} +VehicleCabinSeatRow1Pos1SwitchHeadrest::VehicleCabinSeatRow1Pos1SwitchHeadrest(const VehicleCabinSeatRow1Pos1SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) +} + +inline void VehicleCabinSeatRow1Pos1SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchHeadrest::~VehicleCabinSeatRow1Pos1SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos1SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[124]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos1SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchMassage::VehicleCabinSeatRow1Pos1SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos1SwitchMassage) +} +VehicleCabinSeatRow1Pos1SwitchMassage::VehicleCabinSeatRow1Pos1SwitchMassage(const VehicleCabinSeatRow1Pos1SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos1SwitchMassage) +} + +inline void VehicleCabinSeatRow1Pos1SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos1SwitchMassage::~VehicleCabinSeatRow1Pos1SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos1SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos1SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow1Pos1SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos1SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos1SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos1SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos1SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos1SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow1Pos1SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos1SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[125]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos2Occupant& occupant(const VehicleCabinSeatRow1Pos2* msg); + static const ::vss::VehicleCabinSeatRow1Pos2Backrest& backrest(const VehicleCabinSeatRow1Pos2* msg); + static const ::vss::VehicleCabinSeatRow1Pos2Seating& seating(const VehicleCabinSeatRow1Pos2* msg); + static const ::vss::VehicleCabinSeatRow1Pos2Headrest& headrest(const VehicleCabinSeatRow1Pos2* msg); + static const ::vss::VehicleCabinSeatRow1Pos2Airbag& airbag(const VehicleCabinSeatRow1Pos2* msg); + static const ::vss::VehicleCabinSeatRow1Pos2Switch& switch_(const VehicleCabinSeatRow1Pos2* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos2Occupant& +VehicleCabinSeatRow1Pos2::_Internal::occupant(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow1Pos2Backrest& +VehicleCabinSeatRow1Pos2::_Internal::backrest(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos2Seating& +VehicleCabinSeatRow1Pos2::_Internal::seating(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos2Headrest& +VehicleCabinSeatRow1Pos2::_Internal::headrest(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos2Airbag& +VehicleCabinSeatRow1Pos2::_Internal::airbag(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow1Pos2Switch& +VehicleCabinSeatRow1Pos2::_Internal::switch_(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow1Pos2::VehicleCabinSeatRow1Pos2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2) +} +VehicleCabinSeatRow1Pos2::VehicleCabinSeatRow1Pos2(const VehicleCabinSeatRow1Pos2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow1Pos2Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos2Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos2Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos2Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow1Pos2Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow1Pos2Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2) +} + +inline void VehicleCabinSeatRow1Pos2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2::~VehicleCabinSeatRow1Pos2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow1Pos2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos2Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow1Pos2Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow1Pos2Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos2Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos2Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos2Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow1Pos2Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow1Pos2Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2::CopyFrom(const VehicleCabinSeatRow1Pos2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2::InternalSwap(VehicleCabinSeatRow1Pos2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow1Pos2::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[126]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos2Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier& +VehicleCabinSeatRow1Pos2Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos2Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow1Pos2Occupant::VehicleCabinSeatRow1Pos2Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Occupant) +} +VehicleCabinSeatRow1Pos2Occupant::VehicleCabinSeatRow1Pos2Occupant(const VehicleCabinSeatRow1Pos2Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Occupant) +} + +inline void VehicleCabinSeatRow1Pos2Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Occupant::~VehicleCabinSeatRow1Pos2Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow1Pos2Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Occupant) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Occupant::CopyFrom(const VehicleCabinSeatRow1Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Occupant::InternalSwap(VehicleCabinSeatRow1Pos2Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[127]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2OccupantIdentifier::VehicleCabinSeatRow1Pos2OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) +} +VehicleCabinSeatRow1Pos2OccupantIdentifier::VehicleCabinSeatRow1Pos2OccupantIdentifier(const VehicleCabinSeatRow1Pos2OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) +} + +inline void VehicleCabinSeatRow1Pos2OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow1Pos2OccupantIdentifier::~VehicleCabinSeatRow1Pos2OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos2OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos2OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos2OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos2OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos2OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[128]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos2Backrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos2Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar& +VehicleCabinSeatRow1Pos2Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos2Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster& +VehicleCabinSeatRow1Pos2Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos2Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos2Backrest::VehicleCabinSeatRow1Pos2Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Backrest) +} +VehicleCabinSeatRow1Pos2Backrest::VehicleCabinSeatRow1Pos2Backrest(const VehicleCabinSeatRow1Pos2Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Backrest) +} + +inline void VehicleCabinSeatRow1Pos2Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Backrest::~VehicleCabinSeatRow1Pos2Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos2Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Backrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos2BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Backrest::CopyFrom(const VehicleCabinSeatRow1Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Backrest::InternalSwap(VehicleCabinSeatRow1Pos2Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow1Pos2Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[129]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2BackrestLumbar::VehicleCabinSeatRow1Pos2BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) +} +VehicleCabinSeatRow1Pos2BackrestLumbar::VehicleCabinSeatRow1Pos2BackrestLumbar(const VehicleCabinSeatRow1Pos2BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos2BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2BackrestLumbar::~VehicleCabinSeatRow1Pos2BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos2BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow1Pos2BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[130]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2BackrestSideBolster::VehicleCabinSeatRow1Pos2BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) +} +VehicleCabinSeatRow1Pos2BackrestSideBolster::VehicleCabinSeatRow1Pos2BackrestSideBolster(const VehicleCabinSeatRow1Pos2BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos2BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2BackrestSideBolster::~VehicleCabinSeatRow1Pos2BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos2BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[131]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Seating::VehicleCabinSeatRow1Pos2Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Seating) +} +VehicleCabinSeatRow1Pos2Seating::VehicleCabinSeatRow1Pos2Seating(const VehicleCabinSeatRow1Pos2Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Seating) +} + +inline void VehicleCabinSeatRow1Pos2Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Seating::~VehicleCabinSeatRow1Pos2Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Seating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Seating::CopyFrom(const VehicleCabinSeatRow1Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Seating::InternalSwap(VehicleCabinSeatRow1Pos2Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[132]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Headrest::VehicleCabinSeatRow1Pos2Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Headrest) +} +VehicleCabinSeatRow1Pos2Headrest::VehicleCabinSeatRow1Pos2Headrest(const VehicleCabinSeatRow1Pos2Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Headrest) +} + +inline void VehicleCabinSeatRow1Pos2Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Headrest::~VehicleCabinSeatRow1Pos2Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Headrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Headrest::CopyFrom(const VehicleCabinSeatRow1Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Headrest::InternalSwap(VehicleCabinSeatRow1Pos2Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow1Pos2Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[133]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Airbag::VehicleCabinSeatRow1Pos2Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Airbag) +} +VehicleCabinSeatRow1Pos2Airbag::VehicleCabinSeatRow1Pos2Airbag(const VehicleCabinSeatRow1Pos2Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Airbag) +} + +inline void VehicleCabinSeatRow1Pos2Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Airbag::~VehicleCabinSeatRow1Pos2Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Airbag) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Airbag::CopyFrom(const VehicleCabinSeatRow1Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Airbag::InternalSwap(VehicleCabinSeatRow1Pos2Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[134]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos2SwitchSeating& seating(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos2SwitchMassage& massage(const VehicleCabinSeatRow1Pos2Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest& +VehicleCabinSeatRow1Pos2Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos2SwitchSeating& +VehicleCabinSeatRow1Pos2Switch::_Internal::seating(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest& +VehicleCabinSeatRow1Pos2Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos2SwitchMassage& +VehicleCabinSeatRow1Pos2Switch::_Internal::massage(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow1Pos2Switch::VehicleCabinSeatRow1Pos2Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2Switch) +} +VehicleCabinSeatRow1Pos2Switch::VehicleCabinSeatRow1Pos2Switch(const VehicleCabinSeatRow1Pos2Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2Switch) +} + +inline void VehicleCabinSeatRow1Pos2Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2Switch::~VehicleCabinSeatRow1Pos2Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow1Pos2Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2Switch) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos2SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos2SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow1Pos2SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2Switch::CopyFrom(const VehicleCabinSeatRow1Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Switch::InternalSwap(VehicleCabinSeatRow1Pos2Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos2Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[135]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos2SwitchBackrest::VehicleCabinSeatRow1Pos2SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) +} +VehicleCabinSeatRow1Pos2SwitchBackrest::VehicleCabinSeatRow1Pos2SwitchBackrest(const VehicleCabinSeatRow1Pos2SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos2SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchBackrest::~VehicleCabinSeatRow1Pos2SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[136]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos2SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[137]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[138]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchSeating::VehicleCabinSeatRow1Pos2SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchSeating) +} +VehicleCabinSeatRow1Pos2SwitchSeating::VehicleCabinSeatRow1Pos2SwitchSeating(const VehicleCabinSeatRow1Pos2SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchSeating) +} + +inline void VehicleCabinSeatRow1Pos2SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchSeating::~VehicleCabinSeatRow1Pos2SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos2SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[139]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchHeadrest::VehicleCabinSeatRow1Pos2SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) +} +VehicleCabinSeatRow1Pos2SwitchHeadrest::VehicleCabinSeatRow1Pos2SwitchHeadrest(const VehicleCabinSeatRow1Pos2SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) +} + +inline void VehicleCabinSeatRow1Pos2SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchHeadrest::~VehicleCabinSeatRow1Pos2SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos2SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[140]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos2SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchMassage::VehicleCabinSeatRow1Pos2SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos2SwitchMassage) +} +VehicleCabinSeatRow1Pos2SwitchMassage::VehicleCabinSeatRow1Pos2SwitchMassage(const VehicleCabinSeatRow1Pos2SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos2SwitchMassage) +} + +inline void VehicleCabinSeatRow1Pos2SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos2SwitchMassage::~VehicleCabinSeatRow1Pos2SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos2SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos2SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow1Pos2SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos2SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos2SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos2SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos2SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos2SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow1Pos2SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos2SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[141]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos3Occupant& occupant(const VehicleCabinSeatRow1Pos3* msg); + static const ::vss::VehicleCabinSeatRow1Pos3Backrest& backrest(const VehicleCabinSeatRow1Pos3* msg); + static const ::vss::VehicleCabinSeatRow1Pos3Seating& seating(const VehicleCabinSeatRow1Pos3* msg); + static const ::vss::VehicleCabinSeatRow1Pos3Headrest& headrest(const VehicleCabinSeatRow1Pos3* msg); + static const ::vss::VehicleCabinSeatRow1Pos3Airbag& airbag(const VehicleCabinSeatRow1Pos3* msg); + static const ::vss::VehicleCabinSeatRow1Pos3Switch& switch_(const VehicleCabinSeatRow1Pos3* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos3Occupant& +VehicleCabinSeatRow1Pos3::_Internal::occupant(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow1Pos3Backrest& +VehicleCabinSeatRow1Pos3::_Internal::backrest(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos3Seating& +VehicleCabinSeatRow1Pos3::_Internal::seating(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos3Headrest& +VehicleCabinSeatRow1Pos3::_Internal::headrest(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos3Airbag& +VehicleCabinSeatRow1Pos3::_Internal::airbag(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow1Pos3Switch& +VehicleCabinSeatRow1Pos3::_Internal::switch_(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow1Pos3::VehicleCabinSeatRow1Pos3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3) +} +VehicleCabinSeatRow1Pos3::VehicleCabinSeatRow1Pos3(const VehicleCabinSeatRow1Pos3& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow1Pos3Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos3Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos3Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos3Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow1Pos3Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow1Pos3Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3) +} + +inline void VehicleCabinSeatRow1Pos3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3::~VehicleCabinSeatRow1Pos3() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow1Pos3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos3Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow1Pos3Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow1Pos3Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos3Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos3Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos3Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow1Pos3Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow1Pos3Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3::CopyFrom(const VehicleCabinSeatRow1Pos3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3::InternalSwap(VehicleCabinSeatRow1Pos3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow1Pos3::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[142]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos3Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier& +VehicleCabinSeatRow1Pos3Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos3Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow1Pos3Occupant::VehicleCabinSeatRow1Pos3Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Occupant) +} +VehicleCabinSeatRow1Pos3Occupant::VehicleCabinSeatRow1Pos3Occupant(const VehicleCabinSeatRow1Pos3Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Occupant) +} + +inline void VehicleCabinSeatRow1Pos3Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Occupant::~VehicleCabinSeatRow1Pos3Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow1Pos3Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Occupant) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Occupant::CopyFrom(const VehicleCabinSeatRow1Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Occupant::InternalSwap(VehicleCabinSeatRow1Pos3Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[143]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3OccupantIdentifier::VehicleCabinSeatRow1Pos3OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) +} +VehicleCabinSeatRow1Pos3OccupantIdentifier::VehicleCabinSeatRow1Pos3OccupantIdentifier(const VehicleCabinSeatRow1Pos3OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) +} + +inline void VehicleCabinSeatRow1Pos3OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow1Pos3OccupantIdentifier::~VehicleCabinSeatRow1Pos3OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos3OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow1Pos3OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos3OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow1Pos3OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos3OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[144]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos3Backrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos3Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar& +VehicleCabinSeatRow1Pos3Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos3Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster& +VehicleCabinSeatRow1Pos3Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos3Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos3Backrest::VehicleCabinSeatRow1Pos3Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Backrest) +} +VehicleCabinSeatRow1Pos3Backrest::VehicleCabinSeatRow1Pos3Backrest(const VehicleCabinSeatRow1Pos3Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Backrest) +} + +inline void VehicleCabinSeatRow1Pos3Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Backrest::~VehicleCabinSeatRow1Pos3Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos3Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Backrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos3BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Backrest::CopyFrom(const VehicleCabinSeatRow1Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Backrest::InternalSwap(VehicleCabinSeatRow1Pos3Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow1Pos3Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[145]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3BackrestLumbar::VehicleCabinSeatRow1Pos3BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) +} +VehicleCabinSeatRow1Pos3BackrestLumbar::VehicleCabinSeatRow1Pos3BackrestLumbar(const VehicleCabinSeatRow1Pos3BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos3BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3BackrestLumbar::~VehicleCabinSeatRow1Pos3BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos3BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow1Pos3BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[146]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3BackrestSideBolster::VehicleCabinSeatRow1Pos3BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) +} +VehicleCabinSeatRow1Pos3BackrestSideBolster::VehicleCabinSeatRow1Pos3BackrestSideBolster(const VehicleCabinSeatRow1Pos3BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos3BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3BackrestSideBolster::~VehicleCabinSeatRow1Pos3BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos3BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[147]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Seating::VehicleCabinSeatRow1Pos3Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Seating) +} +VehicleCabinSeatRow1Pos3Seating::VehicleCabinSeatRow1Pos3Seating(const VehicleCabinSeatRow1Pos3Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Seating) +} + +inline void VehicleCabinSeatRow1Pos3Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Seating::~VehicleCabinSeatRow1Pos3Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Seating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Seating::CopyFrom(const VehicleCabinSeatRow1Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Seating::InternalSwap(VehicleCabinSeatRow1Pos3Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[148]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Headrest::VehicleCabinSeatRow1Pos3Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Headrest) +} +VehicleCabinSeatRow1Pos3Headrest::VehicleCabinSeatRow1Pos3Headrest(const VehicleCabinSeatRow1Pos3Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Headrest) +} + +inline void VehicleCabinSeatRow1Pos3Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Headrest::~VehicleCabinSeatRow1Pos3Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Headrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Headrest::CopyFrom(const VehicleCabinSeatRow1Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Headrest::InternalSwap(VehicleCabinSeatRow1Pos3Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow1Pos3Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[149]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Airbag::VehicleCabinSeatRow1Pos3Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Airbag) +} +VehicleCabinSeatRow1Pos3Airbag::VehicleCabinSeatRow1Pos3Airbag(const VehicleCabinSeatRow1Pos3Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Airbag) +} + +inline void VehicleCabinSeatRow1Pos3Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Airbag::~VehicleCabinSeatRow1Pos3Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Airbag) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Airbag::CopyFrom(const VehicleCabinSeatRow1Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Airbag::InternalSwap(VehicleCabinSeatRow1Pos3Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[150]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos3SwitchSeating& seating(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow1Pos3SwitchMassage& massage(const VehicleCabinSeatRow1Pos3Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest& +VehicleCabinSeatRow1Pos3Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow1Pos3SwitchSeating& +VehicleCabinSeatRow1Pos3Switch::_Internal::seating(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest& +VehicleCabinSeatRow1Pos3Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow1Pos3SwitchMassage& +VehicleCabinSeatRow1Pos3Switch::_Internal::massage(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow1Pos3Switch::VehicleCabinSeatRow1Pos3Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3Switch) +} +VehicleCabinSeatRow1Pos3Switch::VehicleCabinSeatRow1Pos3Switch(const VehicleCabinSeatRow1Pos3Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3Switch) +} + +inline void VehicleCabinSeatRow1Pos3Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3Switch::~VehicleCabinSeatRow1Pos3Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow1Pos3Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3Switch) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow1Pos3SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow1Pos3SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow1Pos3SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3Switch::CopyFrom(const VehicleCabinSeatRow1Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Switch::InternalSwap(VehicleCabinSeatRow1Pos3Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos3Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[151]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow1Pos3SwitchBackrest::VehicleCabinSeatRow1Pos3SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) +} +VehicleCabinSeatRow1Pos3SwitchBackrest::VehicleCabinSeatRow1Pos3SwitchBackrest(const VehicleCabinSeatRow1Pos3SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow1Pos3SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchBackrest::~VehicleCabinSeatRow1Pos3SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[152]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos3SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[153]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[154]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchSeating::VehicleCabinSeatRow1Pos3SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchSeating) +} +VehicleCabinSeatRow1Pos3SwitchSeating::VehicleCabinSeatRow1Pos3SwitchSeating(const VehicleCabinSeatRow1Pos3SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchSeating) +} + +inline void VehicleCabinSeatRow1Pos3SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchSeating::~VehicleCabinSeatRow1Pos3SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos3SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[155]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchHeadrest::VehicleCabinSeatRow1Pos3SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) +} +VehicleCabinSeatRow1Pos3SwitchHeadrest::VehicleCabinSeatRow1Pos3SwitchHeadrest(const VehicleCabinSeatRow1Pos3SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) +} + +inline void VehicleCabinSeatRow1Pos3SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchHeadrest::~VehicleCabinSeatRow1Pos3SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos3SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[156]); +} +// =================================================================== + +class VehicleCabinSeatRow1Pos3SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchMassage::VehicleCabinSeatRow1Pos3SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow1Pos3SwitchMassage) +} +VehicleCabinSeatRow1Pos3SwitchMassage::VehicleCabinSeatRow1Pos3SwitchMassage(const VehicleCabinSeatRow1Pos3SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow1Pos3SwitchMassage) +} + +inline void VehicleCabinSeatRow1Pos3SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow1Pos3SwitchMassage::~VehicleCabinSeatRow1Pos3SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow1Pos3SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow1Pos3SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow1Pos3SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow1Pos3SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow1Pos3SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow1Pos3SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow1Pos3SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow1Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos3SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow1Pos3SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow1Pos3SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[157]); +} +// =================================================================== + +class VehicleCabinSeatRow2::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1& pos1(const VehicleCabinSeatRow2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2& pos2(const VehicleCabinSeatRow2* msg); + static const ::vss::VehicleCabinSeatRow2Pos3& pos3(const VehicleCabinSeatRow2* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1& +VehicleCabinSeatRow2::_Internal::pos1(const VehicleCabinSeatRow2* msg) { + return *msg->_impl_.pos1_; +} +const ::vss::VehicleCabinSeatRow2Pos2& +VehicleCabinSeatRow2::_Internal::pos2(const VehicleCabinSeatRow2* msg) { + return *msg->_impl_.pos2_; +} +const ::vss::VehicleCabinSeatRow2Pos3& +VehicleCabinSeatRow2::_Internal::pos3(const VehicleCabinSeatRow2* msg) { + return *msg->_impl_.pos3_; +} +VehicleCabinSeatRow2::VehicleCabinSeatRow2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2) +} +VehicleCabinSeatRow2::VehicleCabinSeatRow2(const VehicleCabinSeatRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.pos1_){nullptr} + , decltype(_impl_.pos2_){nullptr} + , decltype(_impl_.pos3_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_pos1()) { + _this->_impl_.pos1_ = new ::vss::VehicleCabinSeatRow2Pos1(*from._impl_.pos1_); + } + if (from._internal_has_pos2()) { + _this->_impl_.pos2_ = new ::vss::VehicleCabinSeatRow2Pos2(*from._impl_.pos2_); + } + if (from._internal_has_pos3()) { + _this->_impl_.pos3_ = new ::vss::VehicleCabinSeatRow2Pos3(*from._impl_.pos3_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2) +} + +inline void VehicleCabinSeatRow2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pos1_){nullptr} + , decltype(_impl_.pos2_){nullptr} + , decltype(_impl_.pos3_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2::~VehicleCabinSeatRow2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.pos1_; + if (this != internal_default_instance()) delete _impl_.pos2_; + if (this != internal_default_instance()) delete _impl_.pos3_; +} + +void VehicleCabinSeatRow2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.pos1_ != nullptr) { + delete _impl_.pos1_; + } + _impl_.pos1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.pos2_ != nullptr) { + delete _impl_.pos2_; + } + _impl_.pos2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.pos3_ != nullptr) { + delete _impl_.pos3_; + } + _impl_.pos3_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow2Pos1 Pos1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2 Pos2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pos2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3 Pos3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_pos3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1 Pos1 = 1; + if (this->_internal_has_pos1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::pos1(this), + _Internal::pos1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2 Pos2 = 2; + if (this->_internal_has_pos2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::pos2(this), + _Internal::pos2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3 Pos3 = 3; + if (this->_internal_has_pos3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::pos3(this), + _Internal::pos3(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2) + return target; +} + +::size_t VehicleCabinSeatRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1 Pos1 = 1; + if (this->_internal_has_pos1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos1_); + } + + // .vss.VehicleCabinSeatRow2Pos2 Pos2 = 2; + if (this->_internal_has_pos2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos2_); + } + + // .vss.VehicleCabinSeatRow2Pos3 Pos3 = 3; + if (this->_internal_has_pos3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos3_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_pos1()) { + _this->_internal_mutable_pos1()->::vss::VehicleCabinSeatRow2Pos1::MergeFrom( + from._internal_pos1()); + } + if (from._internal_has_pos2()) { + _this->_internal_mutable_pos2()->::vss::VehicleCabinSeatRow2Pos2::MergeFrom( + from._internal_pos2()); + } + if (from._internal_has_pos3()) { + _this->_internal_mutable_pos3()->::vss::VehicleCabinSeatRow2Pos3::MergeFrom( + from._internal_pos3()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2::CopyFrom(const VehicleCabinSeatRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2::InternalSwap(VehicleCabinSeatRow2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2, _impl_.pos3_) + + sizeof(VehicleCabinSeatRow2::_impl_.pos3_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2, _impl_.pos1_)>( + reinterpret_cast(&_impl_.pos1_), + reinterpret_cast(&other->_impl_.pos1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[158]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1Occupant& occupant(const VehicleCabinSeatRow2Pos1* msg); + static const ::vss::VehicleCabinSeatRow2Pos1Backrest& backrest(const VehicleCabinSeatRow2Pos1* msg); + static const ::vss::VehicleCabinSeatRow2Pos1Seating& seating(const VehicleCabinSeatRow2Pos1* msg); + static const ::vss::VehicleCabinSeatRow2Pos1Headrest& headrest(const VehicleCabinSeatRow2Pos1* msg); + static const ::vss::VehicleCabinSeatRow2Pos1Airbag& airbag(const VehicleCabinSeatRow2Pos1* msg); + static const ::vss::VehicleCabinSeatRow2Pos1Switch& switch_(const VehicleCabinSeatRow2Pos1* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1Occupant& +VehicleCabinSeatRow2Pos1::_Internal::occupant(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow2Pos1Backrest& +VehicleCabinSeatRow2Pos1::_Internal::backrest(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos1Seating& +VehicleCabinSeatRow2Pos1::_Internal::seating(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos1Headrest& +VehicleCabinSeatRow2Pos1::_Internal::headrest(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos1Airbag& +VehicleCabinSeatRow2Pos1::_Internal::airbag(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow2Pos1Switch& +VehicleCabinSeatRow2Pos1::_Internal::switch_(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow2Pos1::VehicleCabinSeatRow2Pos1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1) +} +VehicleCabinSeatRow2Pos1::VehicleCabinSeatRow2Pos1(const VehicleCabinSeatRow2Pos1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow2Pos1Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos1Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos1Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos1Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow2Pos1Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow2Pos1Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1) +} + +inline void VehicleCabinSeatRow2Pos1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1::~VehicleCabinSeatRow2Pos1() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow2Pos1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos1Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow2Pos1Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow2Pos1Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos1Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos1Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos1Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow2Pos1Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow2Pos1Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1::CopyFrom(const VehicleCabinSeatRow2Pos1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1::InternalSwap(VehicleCabinSeatRow2Pos1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow2Pos1::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[159]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos1Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier& +VehicleCabinSeatRow2Pos1Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos1Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow2Pos1Occupant::VehicleCabinSeatRow2Pos1Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Occupant) +} +VehicleCabinSeatRow2Pos1Occupant::VehicleCabinSeatRow2Pos1Occupant(const VehicleCabinSeatRow2Pos1Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Occupant) +} + +inline void VehicleCabinSeatRow2Pos1Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Occupant::~VehicleCabinSeatRow2Pos1Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow2Pos1Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Occupant) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Occupant::CopyFrom(const VehicleCabinSeatRow2Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Occupant::InternalSwap(VehicleCabinSeatRow2Pos1Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[160]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1OccupantIdentifier::VehicleCabinSeatRow2Pos1OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) +} +VehicleCabinSeatRow2Pos1OccupantIdentifier::VehicleCabinSeatRow2Pos1OccupantIdentifier(const VehicleCabinSeatRow2Pos1OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) +} + +inline void VehicleCabinSeatRow2Pos1OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow2Pos1OccupantIdentifier::~VehicleCabinSeatRow2Pos1OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos1OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos1OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos1OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos1OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos1OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[161]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos1Backrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos1Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar& +VehicleCabinSeatRow2Pos1Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos1Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster& +VehicleCabinSeatRow2Pos1Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos1Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos1Backrest::VehicleCabinSeatRow2Pos1Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Backrest) +} +VehicleCabinSeatRow2Pos1Backrest::VehicleCabinSeatRow2Pos1Backrest(const VehicleCabinSeatRow2Pos1Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Backrest) +} + +inline void VehicleCabinSeatRow2Pos1Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Backrest::~VehicleCabinSeatRow2Pos1Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos1Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Backrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos1BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Backrest::CopyFrom(const VehicleCabinSeatRow2Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Backrest::InternalSwap(VehicleCabinSeatRow2Pos1Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow2Pos1Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[162]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1BackrestLumbar::VehicleCabinSeatRow2Pos1BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) +} +VehicleCabinSeatRow2Pos1BackrestLumbar::VehicleCabinSeatRow2Pos1BackrestLumbar(const VehicleCabinSeatRow2Pos1BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos1BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1BackrestLumbar::~VehicleCabinSeatRow2Pos1BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos1BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow2Pos1BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[163]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1BackrestSideBolster::VehicleCabinSeatRow2Pos1BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) +} +VehicleCabinSeatRow2Pos1BackrestSideBolster::VehicleCabinSeatRow2Pos1BackrestSideBolster(const VehicleCabinSeatRow2Pos1BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos1BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1BackrestSideBolster::~VehicleCabinSeatRow2Pos1BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos1BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[164]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Seating::VehicleCabinSeatRow2Pos1Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Seating) +} +VehicleCabinSeatRow2Pos1Seating::VehicleCabinSeatRow2Pos1Seating(const VehicleCabinSeatRow2Pos1Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Seating) +} + +inline void VehicleCabinSeatRow2Pos1Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Seating::~VehicleCabinSeatRow2Pos1Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Seating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Seating::CopyFrom(const VehicleCabinSeatRow2Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Seating::InternalSwap(VehicleCabinSeatRow2Pos1Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[165]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Headrest::VehicleCabinSeatRow2Pos1Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Headrest) +} +VehicleCabinSeatRow2Pos1Headrest::VehicleCabinSeatRow2Pos1Headrest(const VehicleCabinSeatRow2Pos1Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Headrest) +} + +inline void VehicleCabinSeatRow2Pos1Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Headrest::~VehicleCabinSeatRow2Pos1Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Headrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Headrest::CopyFrom(const VehicleCabinSeatRow2Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Headrest::InternalSwap(VehicleCabinSeatRow2Pos1Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow2Pos1Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[166]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Airbag::VehicleCabinSeatRow2Pos1Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Airbag) +} +VehicleCabinSeatRow2Pos1Airbag::VehicleCabinSeatRow2Pos1Airbag(const VehicleCabinSeatRow2Pos1Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Airbag) +} + +inline void VehicleCabinSeatRow2Pos1Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Airbag::~VehicleCabinSeatRow2Pos1Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Airbag) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Airbag::CopyFrom(const VehicleCabinSeatRow2Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Airbag::InternalSwap(VehicleCabinSeatRow2Pos1Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[167]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos1SwitchSeating& seating(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos1SwitchMassage& massage(const VehicleCabinSeatRow2Pos1Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest& +VehicleCabinSeatRow2Pos1Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos1SwitchSeating& +VehicleCabinSeatRow2Pos1Switch::_Internal::seating(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest& +VehicleCabinSeatRow2Pos1Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos1SwitchMassage& +VehicleCabinSeatRow2Pos1Switch::_Internal::massage(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow2Pos1Switch::VehicleCabinSeatRow2Pos1Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1Switch) +} +VehicleCabinSeatRow2Pos1Switch::VehicleCabinSeatRow2Pos1Switch(const VehicleCabinSeatRow2Pos1Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1Switch) +} + +inline void VehicleCabinSeatRow2Pos1Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1Switch::~VehicleCabinSeatRow2Pos1Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow2Pos1Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1Switch) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos1SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos1SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow2Pos1SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1Switch::CopyFrom(const VehicleCabinSeatRow2Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Switch::InternalSwap(VehicleCabinSeatRow2Pos1Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos1Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[168]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos1SwitchBackrest::VehicleCabinSeatRow2Pos1SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) +} +VehicleCabinSeatRow2Pos1SwitchBackrest::VehicleCabinSeatRow2Pos1SwitchBackrest(const VehicleCabinSeatRow2Pos1SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos1SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchBackrest::~VehicleCabinSeatRow2Pos1SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[169]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos1SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[170]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[171]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchSeating::VehicleCabinSeatRow2Pos1SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchSeating) +} +VehicleCabinSeatRow2Pos1SwitchSeating::VehicleCabinSeatRow2Pos1SwitchSeating(const VehicleCabinSeatRow2Pos1SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchSeating) +} + +inline void VehicleCabinSeatRow2Pos1SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchSeating::~VehicleCabinSeatRow2Pos1SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos1SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[172]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchHeadrest::VehicleCabinSeatRow2Pos1SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) +} +VehicleCabinSeatRow2Pos1SwitchHeadrest::VehicleCabinSeatRow2Pos1SwitchHeadrest(const VehicleCabinSeatRow2Pos1SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) +} + +inline void VehicleCabinSeatRow2Pos1SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchHeadrest::~VehicleCabinSeatRow2Pos1SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos1SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[173]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos1SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchMassage::VehicleCabinSeatRow2Pos1SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos1SwitchMassage) +} +VehicleCabinSeatRow2Pos1SwitchMassage::VehicleCabinSeatRow2Pos1SwitchMassage(const VehicleCabinSeatRow2Pos1SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos1SwitchMassage) +} + +inline void VehicleCabinSeatRow2Pos1SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos1SwitchMassage::~VehicleCabinSeatRow2Pos1SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos1SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos1SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow2Pos1SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos1SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos1SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos1SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos1SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos1SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow2Pos1SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos1SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[174]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos2Occupant& occupant(const VehicleCabinSeatRow2Pos2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2Backrest& backrest(const VehicleCabinSeatRow2Pos2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2Seating& seating(const VehicleCabinSeatRow2Pos2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2Headrest& headrest(const VehicleCabinSeatRow2Pos2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2Airbag& airbag(const VehicleCabinSeatRow2Pos2* msg); + static const ::vss::VehicleCabinSeatRow2Pos2Switch& switch_(const VehicleCabinSeatRow2Pos2* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos2Occupant& +VehicleCabinSeatRow2Pos2::_Internal::occupant(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow2Pos2Backrest& +VehicleCabinSeatRow2Pos2::_Internal::backrest(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos2Seating& +VehicleCabinSeatRow2Pos2::_Internal::seating(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos2Headrest& +VehicleCabinSeatRow2Pos2::_Internal::headrest(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos2Airbag& +VehicleCabinSeatRow2Pos2::_Internal::airbag(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow2Pos2Switch& +VehicleCabinSeatRow2Pos2::_Internal::switch_(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow2Pos2::VehicleCabinSeatRow2Pos2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2) +} +VehicleCabinSeatRow2Pos2::VehicleCabinSeatRow2Pos2(const VehicleCabinSeatRow2Pos2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow2Pos2Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos2Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos2Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos2Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow2Pos2Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow2Pos2Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2) +} + +inline void VehicleCabinSeatRow2Pos2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2::~VehicleCabinSeatRow2Pos2() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow2Pos2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos2Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow2Pos2Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow2Pos2Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos2Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos2Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos2Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow2Pos2Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow2Pos2Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2::CopyFrom(const VehicleCabinSeatRow2Pos2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2::InternalSwap(VehicleCabinSeatRow2Pos2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow2Pos2::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[175]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos2Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier& +VehicleCabinSeatRow2Pos2Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos2Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow2Pos2Occupant::VehicleCabinSeatRow2Pos2Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Occupant) +} +VehicleCabinSeatRow2Pos2Occupant::VehicleCabinSeatRow2Pos2Occupant(const VehicleCabinSeatRow2Pos2Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Occupant) +} + +inline void VehicleCabinSeatRow2Pos2Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Occupant::~VehicleCabinSeatRow2Pos2Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow2Pos2Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Occupant) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Occupant::CopyFrom(const VehicleCabinSeatRow2Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Occupant::InternalSwap(VehicleCabinSeatRow2Pos2Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[176]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2OccupantIdentifier::VehicleCabinSeatRow2Pos2OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) +} +VehicleCabinSeatRow2Pos2OccupantIdentifier::VehicleCabinSeatRow2Pos2OccupantIdentifier(const VehicleCabinSeatRow2Pos2OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) +} + +inline void VehicleCabinSeatRow2Pos2OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow2Pos2OccupantIdentifier::~VehicleCabinSeatRow2Pos2OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos2OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos2OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos2OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos2OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos2OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[177]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos2Backrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos2Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar& +VehicleCabinSeatRow2Pos2Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos2Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster& +VehicleCabinSeatRow2Pos2Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos2Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos2Backrest::VehicleCabinSeatRow2Pos2Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Backrest) +} +VehicleCabinSeatRow2Pos2Backrest::VehicleCabinSeatRow2Pos2Backrest(const VehicleCabinSeatRow2Pos2Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Backrest) +} + +inline void VehicleCabinSeatRow2Pos2Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Backrest::~VehicleCabinSeatRow2Pos2Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos2Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Backrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos2BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Backrest::CopyFrom(const VehicleCabinSeatRow2Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Backrest::InternalSwap(VehicleCabinSeatRow2Pos2Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow2Pos2Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[178]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2BackrestLumbar::VehicleCabinSeatRow2Pos2BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) +} +VehicleCabinSeatRow2Pos2BackrestLumbar::VehicleCabinSeatRow2Pos2BackrestLumbar(const VehicleCabinSeatRow2Pos2BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos2BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2BackrestLumbar::~VehicleCabinSeatRow2Pos2BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos2BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow2Pos2BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[179]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2BackrestSideBolster::VehicleCabinSeatRow2Pos2BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) +} +VehicleCabinSeatRow2Pos2BackrestSideBolster::VehicleCabinSeatRow2Pos2BackrestSideBolster(const VehicleCabinSeatRow2Pos2BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos2BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2BackrestSideBolster::~VehicleCabinSeatRow2Pos2BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos2BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[180]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Seating::VehicleCabinSeatRow2Pos2Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Seating) +} +VehicleCabinSeatRow2Pos2Seating::VehicleCabinSeatRow2Pos2Seating(const VehicleCabinSeatRow2Pos2Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Seating) +} + +inline void VehicleCabinSeatRow2Pos2Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Seating::~VehicleCabinSeatRow2Pos2Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Seating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Seating::CopyFrom(const VehicleCabinSeatRow2Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Seating::InternalSwap(VehicleCabinSeatRow2Pos2Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[181]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Headrest::VehicleCabinSeatRow2Pos2Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Headrest) +} +VehicleCabinSeatRow2Pos2Headrest::VehicleCabinSeatRow2Pos2Headrest(const VehicleCabinSeatRow2Pos2Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Headrest) +} + +inline void VehicleCabinSeatRow2Pos2Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Headrest::~VehicleCabinSeatRow2Pos2Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Headrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Headrest::CopyFrom(const VehicleCabinSeatRow2Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Headrest::InternalSwap(VehicleCabinSeatRow2Pos2Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow2Pos2Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[182]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Airbag::VehicleCabinSeatRow2Pos2Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Airbag) +} +VehicleCabinSeatRow2Pos2Airbag::VehicleCabinSeatRow2Pos2Airbag(const VehicleCabinSeatRow2Pos2Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Airbag) +} + +inline void VehicleCabinSeatRow2Pos2Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Airbag::~VehicleCabinSeatRow2Pos2Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Airbag) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Airbag::CopyFrom(const VehicleCabinSeatRow2Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Airbag::InternalSwap(VehicleCabinSeatRow2Pos2Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[183]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos2SwitchSeating& seating(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos2SwitchMassage& massage(const VehicleCabinSeatRow2Pos2Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest& +VehicleCabinSeatRow2Pos2Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos2SwitchSeating& +VehicleCabinSeatRow2Pos2Switch::_Internal::seating(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest& +VehicleCabinSeatRow2Pos2Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos2SwitchMassage& +VehicleCabinSeatRow2Pos2Switch::_Internal::massage(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow2Pos2Switch::VehicleCabinSeatRow2Pos2Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2Switch) +} +VehicleCabinSeatRow2Pos2Switch::VehicleCabinSeatRow2Pos2Switch(const VehicleCabinSeatRow2Pos2Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2Switch) +} + +inline void VehicleCabinSeatRow2Pos2Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2Switch::~VehicleCabinSeatRow2Pos2Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow2Pos2Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2Switch) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos2SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos2SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow2Pos2SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2Switch::CopyFrom(const VehicleCabinSeatRow2Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Switch::InternalSwap(VehicleCabinSeatRow2Pos2Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos2Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[184]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos2SwitchBackrest::VehicleCabinSeatRow2Pos2SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) +} +VehicleCabinSeatRow2Pos2SwitchBackrest::VehicleCabinSeatRow2Pos2SwitchBackrest(const VehicleCabinSeatRow2Pos2SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos2SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchBackrest::~VehicleCabinSeatRow2Pos2SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[185]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos2SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[186]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[187]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchSeating::VehicleCabinSeatRow2Pos2SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchSeating) +} +VehicleCabinSeatRow2Pos2SwitchSeating::VehicleCabinSeatRow2Pos2SwitchSeating(const VehicleCabinSeatRow2Pos2SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchSeating) +} + +inline void VehicleCabinSeatRow2Pos2SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchSeating::~VehicleCabinSeatRow2Pos2SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos2SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[188]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchHeadrest::VehicleCabinSeatRow2Pos2SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) +} +VehicleCabinSeatRow2Pos2SwitchHeadrest::VehicleCabinSeatRow2Pos2SwitchHeadrest(const VehicleCabinSeatRow2Pos2SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) +} + +inline void VehicleCabinSeatRow2Pos2SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchHeadrest::~VehicleCabinSeatRow2Pos2SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos2SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[189]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos2SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchMassage::VehicleCabinSeatRow2Pos2SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos2SwitchMassage) +} +VehicleCabinSeatRow2Pos2SwitchMassage::VehicleCabinSeatRow2Pos2SwitchMassage(const VehicleCabinSeatRow2Pos2SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos2SwitchMassage) +} + +inline void VehicleCabinSeatRow2Pos2SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos2SwitchMassage::~VehicleCabinSeatRow2Pos2SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos2SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos2SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow2Pos2SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos2SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos2SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos2SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos2SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos2SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow2Pos2SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos2SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[190]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos3Occupant& occupant(const VehicleCabinSeatRow2Pos3* msg); + static const ::vss::VehicleCabinSeatRow2Pos3Backrest& backrest(const VehicleCabinSeatRow2Pos3* msg); + static const ::vss::VehicleCabinSeatRow2Pos3Seating& seating(const VehicleCabinSeatRow2Pos3* msg); + static const ::vss::VehicleCabinSeatRow2Pos3Headrest& headrest(const VehicleCabinSeatRow2Pos3* msg); + static const ::vss::VehicleCabinSeatRow2Pos3Airbag& airbag(const VehicleCabinSeatRow2Pos3* msg); + static const ::vss::VehicleCabinSeatRow2Pos3Switch& switch_(const VehicleCabinSeatRow2Pos3* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos3Occupant& +VehicleCabinSeatRow2Pos3::_Internal::occupant(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.occupant_; +} +const ::vss::VehicleCabinSeatRow2Pos3Backrest& +VehicleCabinSeatRow2Pos3::_Internal::backrest(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos3Seating& +VehicleCabinSeatRow2Pos3::_Internal::seating(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos3Headrest& +VehicleCabinSeatRow2Pos3::_Internal::headrest(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos3Airbag& +VehicleCabinSeatRow2Pos3::_Internal::airbag(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.airbag_; +} +const ::vss::VehicleCabinSeatRow2Pos3Switch& +VehicleCabinSeatRow2Pos3::_Internal::switch_(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->_impl_.switch__; +} +VehicleCabinSeatRow2Pos3::VehicleCabinSeatRow2Pos3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3) +} +VehicleCabinSeatRow2Pos3::VehicleCabinSeatRow2Pos3(const VehicleCabinSeatRow2Pos3& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) {} + + , decltype(_impl_.isbelted_) {} + + , decltype(_impl_.heating_) {} + + , decltype(_impl_.massage_) {} + + , decltype(_impl_.position_) {} + + , decltype(_impl_.height_) {} + + , decltype(_impl_.tilt_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_occupant()) { + _this->_impl_.occupant_ = new ::vss::VehicleCabinSeatRow2Pos3Occupant(*from._impl_.occupant_); + } + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos3Backrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos3Seating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos3Headrest(*from._impl_.headrest_); + } + if (from._internal_has_airbag()) { + _this->_impl_.airbag_ = new ::vss::VehicleCabinSeatRow2Pos3Airbag(*from._impl_.airbag_); + } + if (from._internal_has_switch_()) { + _this->_impl_.switch__ = new ::vss::VehicleCabinSeatRow2Pos3Switch(*from._impl_.switch__); + } + ::memcpy(&_impl_.isoccupied_, &from._impl_.isoccupied_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3) +} + +inline void VehicleCabinSeatRow2Pos3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.occupant_){nullptr} + , decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.airbag_){nullptr} + , decltype(_impl_.switch__){nullptr} + , decltype(_impl_.isoccupied_) { false } + + , decltype(_impl_.isbelted_) { false } + + , decltype(_impl_.heating_) { 0 } + + , decltype(_impl_.massage_) { 0u } + + , decltype(_impl_.position_) { 0u } + + , decltype(_impl_.height_) { 0u } + + , decltype(_impl_.tilt_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3::~VehicleCabinSeatRow2Pos3() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.occupant_; + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.airbag_; + if (this != internal_default_instance()) delete _impl_.switch__; +} + +void VehicleCabinSeatRow2Pos3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.occupant_ != nullptr) { + delete _impl_.occupant_; + } + _impl_.occupant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.airbag_ != nullptr) { + delete _impl_.airbag_; + } + _impl_.airbag_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.switch__ != nullptr) { + delete _impl_.switch__; + } + _impl_.switch__ = nullptr; + ::memset(&_impl_.isoccupied_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tilt_) - + reinterpret_cast(&_impl_.isoccupied_)) + sizeof(_impl_.tilt_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 24)) { + _impl_.isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isoccupied(), target); + } + + // .vss.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::occupant(this), + _Internal::occupant(this).GetCachedSize(), target, stream); + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this->_internal_height(), target); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_tilt(), target); + } + + // .vss.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3Seating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::airbag(this), + _Internal::airbag(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3Switch Switch = 13; + if (this->_internal_has_switch_()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::switch_(this), + _Internal::switch_(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + if (this->_internal_has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.occupant_); + } + + // .vss.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos3Seating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + if (this->_internal_has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.airbag_); + } + + // .vss.VehicleCabinSeatRow2Pos3Switch Switch = 13; + if (this->_internal_has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.switch__); + } + + // bool IsOccupied = 1; + if (this->_internal_isoccupied() != 0) { + total_size += 2; + } + + // bool IsBelted = 3; + if (this->_internal_isbelted() != 0) { + total_size += 2; + } + + // int32 Heating = 4; + if (this->_internal_heating() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->_internal_massage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->_internal_position() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Tilt = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = this->_internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_occupant()) { + _this->_internal_mutable_occupant()->::vss::VehicleCabinSeatRow2Pos3Occupant::MergeFrom( + from._internal_occupant()); + } + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos3Backrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos3Seating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos3Headrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_airbag()) { + _this->_internal_mutable_airbag()->::vss::VehicleCabinSeatRow2Pos3Airbag::MergeFrom( + from._internal_airbag()); + } + if (from._internal_has_switch_()) { + _this->_internal_mutable_switch_()->::vss::VehicleCabinSeatRow2Pos3Switch::MergeFrom( + from._internal_switch_()); + } + if (from._internal_isoccupied() != 0) { + _this->_internal_set_isoccupied(from._internal_isoccupied()); + } + if (from._internal_isbelted() != 0) { + _this->_internal_set_isbelted(from._internal_isbelted()); + } + if (from._internal_heating() != 0) { + _this->_internal_set_heating(from._internal_heating()); + } + if (from._internal_massage() != 0) { + _this->_internal_set_massage(from._internal_massage()); + } + if (from._internal_position() != 0) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tilt = from._internal_tilt(); + ::uint32_t raw_tilt; + memcpy(&raw_tilt, &tmp_tilt, sizeof(tmp_tilt)); + if (raw_tilt != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3::CopyFrom(const VehicleCabinSeatRow2Pos3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3::InternalSwap(VehicleCabinSeatRow2Pos3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3, _impl_.tilt_) + + sizeof(VehicleCabinSeatRow2Pos3::_impl_.tilt_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3, _impl_.occupant_)>( + reinterpret_cast(&_impl_.occupant_), + reinterpret_cast(&other->_impl_.occupant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[191]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Occupant::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos3Occupant* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier& +VehicleCabinSeatRow2Pos3Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos3Occupant* msg) { + return *msg->_impl_.identifier_; +} +VehicleCabinSeatRow2Pos3Occupant::VehicleCabinSeatRow2Pos3Occupant(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Occupant) +} +VehicleCabinSeatRow2Pos3Occupant::VehicleCabinSeatRow2Pos3Occupant(const VehicleCabinSeatRow2Pos3Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3Occupant* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier(*from._impl_.identifier_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Occupant) +} + +inline void VehicleCabinSeatRow2Pos3Occupant::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Occupant::~VehicleCabinSeatRow2Pos3Occupant() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Occupant) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Occupant::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleCabinSeatRow2Pos3Occupant::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Occupant) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Occupant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Occupant::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Occupant) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Occupant) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Occupant) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Occupant::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Occupant::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Occupant::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Occupant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Occupant) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeFrom( + from._internal_identifier()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Occupant::CopyFrom(const VehicleCabinSeatRow2Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Occupant::InternalSwap(VehicleCabinSeatRow2Pos3Occupant* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.identifier_, other->_impl_.identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Occupant::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[192]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3OccupantIdentifier::VehicleCabinSeatRow2Pos3OccupantIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) +} +VehicleCabinSeatRow2Pos3OccupantIdentifier::VehicleCabinSeatRow2Pos3OccupantIdentifier(const VehicleCabinSeatRow2Pos3OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3OccupantIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) +} + +inline void VehicleCabinSeatRow2Pos3OccupantIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinSeatRow2Pos3OccupantIdentifier::~VehicleCabinSeatRow2Pos3OccupantIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3OccupantIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3OccupantIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos3OccupantIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinSeatRow2Pos3OccupantIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3OccupantIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos3OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinSeatRow2Pos3OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3OccupantIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3OccupantIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos3OccupantIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3OccupantIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[193]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Backrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos3Backrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos3Backrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar& +VehicleCabinSeatRow2Pos3Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos3Backrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster& +VehicleCabinSeatRow2Pos3Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos3Backrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos3Backrest::VehicleCabinSeatRow2Pos3Backrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Backrest) +} +VehicleCabinSeatRow2Pos3Backrest::VehicleCabinSeatRow2Pos3Backrest(const VehicleCabinSeatRow2Pos3Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3Backrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster(*from._impl_.sidebolster_); + } + _this->_impl_.recline_ = from._impl_.recline_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Backrest) +} + +inline void VehicleCabinSeatRow2Pos3Backrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.recline_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Backrest::~VehicleCabinSeatRow2Pos3Backrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Backrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Backrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos3Backrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Backrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + _impl_.recline_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Backrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Backrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Backrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_recline(), target); + } + + // .vss.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Backrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Backrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // float Recline = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = this->_internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Backrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Backrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Backrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Backrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Backrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos3BackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_recline = from._internal_recline(); + ::uint32_t raw_recline; + memcpy(&raw_recline, &tmp_recline, sizeof(tmp_recline)); + if (raw_recline != 0) { + _this->_internal_set_recline(from._internal_recline()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Backrest::CopyFrom(const VehicleCabinSeatRow2Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Backrest::InternalSwap(VehicleCabinSeatRow2Pos3Backrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Backrest, _impl_.recline_) + + sizeof(VehicleCabinSeatRow2Pos3Backrest::_impl_.recline_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Backrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Backrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[194]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3BackrestLumbar::VehicleCabinSeatRow2Pos3BackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) +} +VehicleCabinSeatRow2Pos3BackrestLumbar::VehicleCabinSeatRow2Pos3BackrestLumbar(const VehicleCabinSeatRow2Pos3BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos3BackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , decltype(_impl_.height_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3BackrestLumbar::~VehicleCabinSeatRow2Pos3BackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3BackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.support_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.height_) - + reinterpret_cast(&_impl_.support_)) + sizeof(_impl_.height_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3BackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3BackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + // uint32 Height = 2; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3BackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3BackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3BackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3BackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos3BackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3BackrestLumbar, _impl_.height_) + + sizeof(VehicleCabinSeatRow2Pos3BackrestLumbar::_impl_.height_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3BackrestLumbar, _impl_.support_)>( + reinterpret_cast(&_impl_.support_), + reinterpret_cast(&other->_impl_.support_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3BackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[195]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3BackrestSideBolster::VehicleCabinSeatRow2Pos3BackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) +} +VehicleCabinSeatRow2Pos3BackrestSideBolster::VehicleCabinSeatRow2Pos3BackrestSideBolster(const VehicleCabinSeatRow2Pos3BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos3BackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.support_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3BackrestSideBolster::~VehicleCabinSeatRow2Pos3BackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3BackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.support_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3BackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3BackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = this->_internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3BackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3BackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_support = from._internal_support(); + ::uint32_t raw_support; + memcpy(&raw_support, &tmp_support, sizeof(tmp_support)); + if (raw_support != 0) { + _this->_internal_set_support(from._internal_support()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos3BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.support_, other->_impl_.support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3BackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[196]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Seating::VehicleCabinSeatRow2Pos3Seating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Seating) +} +VehicleCabinSeatRow2Pos3Seating::VehicleCabinSeatRow2Pos3Seating(const VehicleCabinSeatRow2Pos3Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Seating) +} + +inline void VehicleCabinSeatRow2Pos3Seating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.length_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Seating::~VehicleCabinSeatRow2Pos3Seating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Seating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Seating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3Seating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Seating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.length_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Seating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Seating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Seating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Seating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Seating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->_internal_length() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_length()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Seating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Seating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Seating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Seating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Seating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_length() != 0) { + _this->_internal_set_length(from._internal_length()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Seating::CopyFrom(const VehicleCabinSeatRow2Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Seating::InternalSwap(VehicleCabinSeatRow2Pos3Seating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.length_, other->_impl_.length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Seating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[197]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Headrest::VehicleCabinSeatRow2Pos3Headrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Headrest) +} +VehicleCabinSeatRow2Pos3Headrest::VehicleCabinSeatRow2Pos3Headrest(const VehicleCabinSeatRow2Pos3Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Headrest) +} + +inline void VehicleCabinSeatRow2Pos3Headrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.height_) { 0u } + + , decltype(_impl_.angle_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Headrest::~VehicleCabinSeatRow2Pos3Headrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Headrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Headrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3Headrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Headrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.height_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.angle_) - + reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.angle_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Headrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Headrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Headrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_height(), target); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Headrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Headrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->_internal_height() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_height()); + } + + // float Angle = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = this->_internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Headrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Headrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Headrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Headrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Headrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_height() != 0) { + _this->_internal_set_height(from._internal_height()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_angle = from._internal_angle(); + ::uint32_t raw_angle; + memcpy(&raw_angle, &tmp_angle, sizeof(tmp_angle)); + if (raw_angle != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Headrest::CopyFrom(const VehicleCabinSeatRow2Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Headrest::InternalSwap(VehicleCabinSeatRow2Pos3Headrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Headrest, _impl_.angle_) + + sizeof(VehicleCabinSeatRow2Pos3Headrest::_impl_.angle_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Headrest, _impl_.height_)>( + reinterpret_cast(&_impl_.height_), + reinterpret_cast(&other->_impl_.height_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Headrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[198]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Airbag::VehicleCabinSeatRow2Pos3Airbag(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Airbag) +} +VehicleCabinSeatRow2Pos3Airbag::VehicleCabinSeatRow2Pos3Airbag(const VehicleCabinSeatRow2Pos3Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Airbag) +} + +inline void VehicleCabinSeatRow2Pos3Airbag::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isdeployed_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Airbag::~VehicleCabinSeatRow2Pos3Airbag() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Airbag) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Airbag::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3Airbag::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Airbag) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isdeployed_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Airbag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Airbag::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Airbag) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Airbag) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Airbag) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->_internal_isdeployed() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Airbag::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Airbag::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Airbag::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Airbag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Airbag) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isdeployed() != 0) { + _this->_internal_set_isdeployed(from._internal_isdeployed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Airbag::CopyFrom(const VehicleCabinSeatRow2Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Airbag::InternalSwap(VehicleCabinSeatRow2Pos3Airbag* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isdeployed_, other->_impl_.isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Airbag::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[199]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3Switch::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos3SwitchSeating& seating(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::vss::VehicleCabinSeatRow2Pos3SwitchMassage& massage(const VehicleCabinSeatRow2Pos3Switch* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest& +VehicleCabinSeatRow2Pos3Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->_impl_.backrest_; +} +const ::vss::VehicleCabinSeatRow2Pos3SwitchSeating& +VehicleCabinSeatRow2Pos3Switch::_Internal::seating(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->_impl_.seating_; +} +const ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest& +VehicleCabinSeatRow2Pos3Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->_impl_.headrest_; +} +const ::vss::VehicleCabinSeatRow2Pos3SwitchMassage& +VehicleCabinSeatRow2Pos3Switch::_Internal::massage(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->_impl_.massage_; +} +VehicleCabinSeatRow2Pos3Switch::VehicleCabinSeatRow2Pos3Switch(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3Switch) +} +VehicleCabinSeatRow2Pos3Switch::VehicleCabinSeatRow2Pos3Switch(const VehicleCabinSeatRow2Pos3Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3Switch* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) {} + + , decltype(_impl_.iscoolerengaged_) {} + + , decltype(_impl_.isforwardengaged_) {} + + , decltype(_impl_.isbackwardengaged_) {} + + , decltype(_impl_.isupengaged_) {} + + , decltype(_impl_.isdownengaged_) {} + + , decltype(_impl_.istiltforwardengaged_) {} + + , decltype(_impl_.istiltbackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_backrest()) { + _this->_impl_.backrest_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest(*from._impl_.backrest_); + } + if (from._internal_has_seating()) { + _this->_impl_.seating_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchSeating(*from._impl_.seating_); + } + if (from._internal_has_headrest()) { + _this->_impl_.headrest_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest(*from._impl_.headrest_); + } + if (from._internal_has_massage()) { + _this->_impl_.massage_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchMassage(*from._impl_.massage_); + } + ::memcpy(&_impl_.iswarmerengaged_, &from._impl_.iswarmerengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3Switch) +} + +inline void VehicleCabinSeatRow2Pos3Switch::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.backrest_){nullptr} + , decltype(_impl_.seating_){nullptr} + , decltype(_impl_.headrest_){nullptr} + , decltype(_impl_.massage_){nullptr} + , decltype(_impl_.iswarmerengaged_) { false } + + , decltype(_impl_.iscoolerengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.istiltforwardengaged_) { false } + + , decltype(_impl_.istiltbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3Switch::~VehicleCabinSeatRow2Pos3Switch() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3Switch) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3Switch::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.backrest_; + if (this != internal_default_instance()) delete _impl_.seating_; + if (this != internal_default_instance()) delete _impl_.headrest_; + if (this != internal_default_instance()) delete _impl_.massage_; +} + +void VehicleCabinSeatRow2Pos3Switch::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3Switch) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.backrest_ != nullptr) { + delete _impl_.backrest_; + } + _impl_.backrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.seating_ != nullptr) { + delete _impl_.seating_; + } + _impl_.seating_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.headrest_ != nullptr) { + delete _impl_.headrest_; + } + _impl_.headrest_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.massage_ != nullptr) { + delete _impl_.massage_; + } + _impl_.massage_ = nullptr; + ::memset(&_impl_.iswarmerengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.istiltbackwardengaged_) - + reinterpret_cast(&_impl_.iswarmerengaged_)) + sizeof(_impl_.istiltbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3Switch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { + _impl_.istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) { + _impl_.istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3Switch::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3Switch) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 8, this->_internal_istiltbackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::backrest(this), + _Internal::backrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::seating(this), + _Internal::seating(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::headrest(this), + _Internal::headrest(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::massage(this), + _Internal::massage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3Switch) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3Switch) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + if (this->_internal_has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.backrest_); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + if (this->_internal_has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.seating_); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + if (this->_internal_has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.headrest_); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + if (this->_internal_has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->_internal_iswarmerengaged() != 0) { + total_size += 2; + } + + // bool IsCoolerEngaged = 2; + if (this->_internal_iscoolerengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 5; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 6; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsTiltForwardEngaged = 7; + if (this->_internal_istiltforwardengaged() != 0) { + total_size += 2; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->_internal_istiltbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3Switch::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3Switch::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3Switch::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3Switch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3Switch) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_backrest()) { + _this->_internal_mutable_backrest()->::vss::VehicleCabinSeatRow2Pos3SwitchBackrest::MergeFrom( + from._internal_backrest()); + } + if (from._internal_has_seating()) { + _this->_internal_mutable_seating()->::vss::VehicleCabinSeatRow2Pos3SwitchSeating::MergeFrom( + from._internal_seating()); + } + if (from._internal_has_headrest()) { + _this->_internal_mutable_headrest()->::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeFrom( + from._internal_headrest()); + } + if (from._internal_has_massage()) { + _this->_internal_mutable_massage()->::vss::VehicleCabinSeatRow2Pos3SwitchMassage::MergeFrom( + from._internal_massage()); + } + if (from._internal_iswarmerengaged() != 0) { + _this->_internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from._internal_iscoolerengaged() != 0) { + _this->_internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_istiltforwardengaged() != 0) { + _this->_internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from._internal_istiltbackwardengaged() != 0) { + _this->_internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3Switch::CopyFrom(const VehicleCabinSeatRow2Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Switch::InternalSwap(VehicleCabinSeatRow2Pos3Switch* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Switch, _impl_.istiltbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos3Switch::_impl_.istiltbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3Switch, _impl_.backrest_)>( + reinterpret_cast(&_impl_.backrest_), + reinterpret_cast(&other->_impl_.backrest_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Switch::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[200]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal { + public: + static const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg); + static const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg); +}; + +const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg) { + return *msg->_impl_.lumbar_; +} +const ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg) { + return *msg->_impl_.sidebolster_; +} +VehicleCabinSeatRow2Pos3SwitchBackrest::VehicleCabinSeatRow2Pos3SwitchBackrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) +} +VehicleCabinSeatRow2Pos3SwitchBackrest::VehicleCabinSeatRow2Pos3SwitchBackrest(const VehicleCabinSeatRow2Pos3SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinSeatRow2Pos3SwitchBackrest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) {} + + , decltype(_impl_.isreclinebackwardengaged_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_lumbar()) { + _this->_impl_.lumbar_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(*from._impl_.lumbar_); + } + if (from._internal_has_sidebolster()) { + _this->_impl_.sidebolster_ = new ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(*from._impl_.sidebolster_); + } + ::memcpy(&_impl_.isreclineforwardengaged_, &from._impl_.isreclineforwardengaged_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lumbar_){nullptr} + , decltype(_impl_.sidebolster_){nullptr} + , decltype(_impl_.isreclineforwardengaged_) { false } + + , decltype(_impl_.isreclinebackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchBackrest::~VehicleCabinSeatRow2Pos3SwitchBackrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.lumbar_; + if (this != internal_default_instance()) delete _impl_.sidebolster_; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.lumbar_ != nullptr) { + delete _impl_.lumbar_; + } + _impl_.lumbar_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sidebolster_ != nullptr) { + delete _impl_.sidebolster_; + } + _impl_.sidebolster_ = nullptr; + ::memset(&_impl_.isreclineforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isreclinebackwardengaged_) - + reinterpret_cast(&_impl_.isreclineforwardengaged_)) + sizeof(_impl_.isreclinebackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchBackrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isreclinebackwardengaged(), target); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::lumbar(this), + _Internal::lumbar(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sidebolster(this), + _Internal::sidebolster(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->_internal_has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lumbar_); + } + + // .vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->_internal_has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->_internal_isreclineforwardengaged() != 0) { + total_size += 2; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->_internal_isreclinebackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchBackrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchBackrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchBackrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchBackrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_lumbar()) { + _this->_internal_mutable_lumbar()->::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeFrom( + from._internal_lumbar()); + } + if (from._internal_has_sidebolster()) { + _this->_internal_mutable_sidebolster()->::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeFrom( + from._internal_sidebolster()); + } + if (from._internal_isreclineforwardengaged() != 0) { + _this->_internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from._internal_isreclinebackwardengaged() != 0) { + _this->_internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.isreclinebackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchBackrest::_impl_.isreclinebackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrest, _impl_.lumbar_)>( + reinterpret_cast(&_impl_.lumbar_), + reinterpret_cast(&other->_impl_.lumbar_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[201]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos3SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdownengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.isdownengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + // bool IsUpEngaged = 3; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 4; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.isdownengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_impl_.isdownengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[202]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ismoresupportengaged_) { false } + + , decltype(_impl_.islesssupportengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.ismoresupportengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.islesssupportengaged_) - + reinterpret_cast(&_impl_.ismoresupportengaged_)) + sizeof(_impl_.islesssupportengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->_internal_ismoresupportengaged() != 0) { + total_size += 2; + } + + // bool IsLessSupportEngaged = 2; + if (this->_internal_islesssupportengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_ismoresupportengaged() != 0) { + _this->_internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from._internal_islesssupportengaged() != 0) { + _this->_internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _impl_.islesssupportengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_impl_.islesssupportengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _impl_.ismoresupportengaged_)>( + reinterpret_cast(&_impl_.ismoresupportengaged_), + reinterpret_cast(&other->_impl_.ismoresupportengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[203]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchSeating::VehicleCabinSeatRow2Pos3SwitchSeating(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchSeating) +} +VehicleCabinSeatRow2Pos3SwitchSeating::VehicleCabinSeatRow2Pos3SwitchSeating(const VehicleCabinSeatRow2Pos3SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchSeating) +} + +inline void VehicleCabinSeatRow2Pos3SwitchSeating::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchSeating::~VehicleCabinSeatRow2Pos3SwitchSeating() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchSeating::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isforwardengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isforwardengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchSeating::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchSeating::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 2; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchSeating::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchSeating::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchSeating::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchSeating::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos3SwitchSeating* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchSeating, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchSeating::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchSeating, _impl_.isforwardengaged_)>( + reinterpret_cast(&_impl_.isforwardengaged_), + reinterpret_cast(&other->_impl_.isforwardengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchSeating::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[204]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchHeadrest::VehicleCabinSeatRow2Pos3SwitchHeadrest(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) +} +VehicleCabinSeatRow2Pos3SwitchHeadrest::VehicleCabinSeatRow2Pos3SwitchHeadrest(const VehicleCabinSeatRow2Pos3SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) +} + +inline void VehicleCabinSeatRow2Pos3SwitchHeadrest::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isupengaged_) { false } + + , decltype(_impl_.isdownengaged_) { false } + + , decltype(_impl_.isforwardengaged_) { false } + + , decltype(_impl_.isbackwardengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchHeadrest::~VehicleCabinSeatRow2Pos3SwitchHeadrest() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchHeadrest::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isupengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbackwardengaged_) - + reinterpret_cast(&_impl_.isupengaged_)) + sizeof(_impl_.isbackwardengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchHeadrest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchHeadrest::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->_internal_isupengaged() != 0) { + total_size += 2; + } + + // bool IsDownEngaged = 2; + if (this->_internal_isdownengaged() != 0) { + total_size += 2; + } + + // bool IsForwardEngaged = 3; + if (this->_internal_isforwardengaged() != 0) { + total_size += 2; + } + + // bool IsBackwardEngaged = 4; + if (this->_internal_isbackwardengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchHeadrest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchHeadrest::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isupengaged() != 0) { + _this->_internal_set_isupengaged(from._internal_isupengaged()); + } + if (from._internal_isdownengaged() != 0) { + _this->_internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from._internal_isforwardengaged() != 0) { + _this->_internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from._internal_isbackwardengaged() != 0) { + _this->_internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos3SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isbackwardengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchHeadrest::_impl_.isbackwardengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchHeadrest, _impl_.isupengaged_)>( + reinterpret_cast(&_impl_.isupengaged_), + reinterpret_cast(&other->_impl_.isupengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchHeadrest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[205]); +} +// =================================================================== + +class VehicleCabinSeatRow2Pos3SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchMassage::VehicleCabinSeatRow2Pos3SwitchMassage(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinSeatRow2Pos3SwitchMassage) +} +VehicleCabinSeatRow2Pos3SwitchMassage::VehicleCabinSeatRow2Pos3SwitchMassage(const VehicleCabinSeatRow2Pos3SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinSeatRow2Pos3SwitchMassage) +} + +inline void VehicleCabinSeatRow2Pos3SwitchMassage::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isincreaseengaged_) { false } + + , decltype(_impl_.isdecreaseengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleCabinSeatRow2Pos3SwitchMassage::~VehicleCabinSeatRow2Pos3SwitchMassage() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinSeatRow2Pos3SwitchMassage::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isincreaseengaged_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdecreaseengaged_) - + reinterpret_cast(&_impl_.isincreaseengaged_)) + sizeof(_impl_.isdecreaseengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchMassage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinSeatRow2Pos3SwitchMassage::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + return target; +} + +::size_t VehicleCabinSeatRow2Pos3SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->_internal_isincreaseengaged() != 0) { + total_size += 2; + } + + // bool IsDecreaseEngaged = 2; + if (this->_internal_isdecreaseengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinSeatRow2Pos3SwitchMassage::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinSeatRow2Pos3SwitchMassage::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinSeatRow2Pos3SwitchMassage::GetClassData() const { return &_class_data_; } + + +void VehicleCabinSeatRow2Pos3SwitchMassage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isincreaseengaged() != 0) { + _this->_internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from._internal_isdecreaseengaged() != 0) { + _this->_internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinSeatRow2Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos3SwitchMassage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchMassage, _impl_.isdecreaseengaged_) + + sizeof(VehicleCabinSeatRow2Pos3SwitchMassage::_impl_.isdecreaseengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleCabinSeatRow2Pos3SwitchMassage, _impl_.isincreaseengaged_)>( + reinterpret_cast(&_impl_.isincreaseengaged_), + reinterpret_cast(&other->_impl_.isincreaseengaged_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchMassage::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[206]); +} +// =================================================================== + +class VehicleCabinConvertible::_Internal { + public: +}; + +VehicleCabinConvertible::VehicleCabinConvertible(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleCabinConvertible) +} +VehicleCabinConvertible::VehicleCabinConvertible(const VehicleCabinConvertible& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleCabinConvertible* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.status_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.status_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_status().empty()) { + _this->_impl_.status_.Set(from._internal_status(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleCabinConvertible) +} + +inline void VehicleCabinConvertible::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.status_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.status_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleCabinConvertible::~VehicleCabinConvertible() { + // @@protoc_insertion_point(destructor:vss.VehicleCabinConvertible) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleCabinConvertible::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.status_.Destroy(); +} + +void VehicleCabinConvertible::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleCabinConvertible::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleCabinConvertible) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.status_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleCabinConvertible::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_status(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleCabinConvertible.Status")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleCabinConvertible::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleCabinConvertible) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Status = 1; + if (!this->_internal_status().empty()) { + const std::string& _s = this->_internal_status(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleCabinConvertible.Status"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleCabinConvertible) + return target; +} + +::size_t VehicleCabinConvertible::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleCabinConvertible) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Status = 1; + if (!this->_internal_status().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleCabinConvertible::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleCabinConvertible::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleCabinConvertible::GetClassData() const { return &_class_data_; } + + +void VehicleCabinConvertible::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleCabinConvertible) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_status().empty()) { + _this->_internal_set_status(from._internal_status()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleCabinConvertible::CopyFrom(const VehicleCabinConvertible& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleCabinConvertible) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinConvertible::IsInitialized() const { + return true; +} + +void VehicleCabinConvertible::InternalSwap(VehicleCabinConvertible* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_, lhs_arena, + &other->_impl_.status_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinConvertible::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[207]); +} +// =================================================================== + +class VehicleADAS::_Internal { + public: + static const ::vss::VehicleADASCruiseControl& cruisecontrol(const VehicleADAS* msg); + static const ::vss::VehicleADASLaneDepartureDetection& lanedeparturedetection(const VehicleADAS* msg); + static const ::vss::VehicleADASObstacleDetection& obstacledetection(const VehicleADAS* msg); + static const ::vss::VehicleADASABS& abs(const VehicleADAS* msg); + static const ::vss::VehicleADASTCS& tcs(const VehicleADAS* msg); + static const ::vss::VehicleADASESC& esc(const VehicleADAS* msg); + static const ::vss::VehicleADASEBD& ebd(const VehicleADAS* msg); + static const ::vss::VehicleADASEBA& eba(const VehicleADAS* msg); +}; + +const ::vss::VehicleADASCruiseControl& +VehicleADAS::_Internal::cruisecontrol(const VehicleADAS* msg) { + return *msg->_impl_.cruisecontrol_; +} +const ::vss::VehicleADASLaneDepartureDetection& +VehicleADAS::_Internal::lanedeparturedetection(const VehicleADAS* msg) { + return *msg->_impl_.lanedeparturedetection_; +} +const ::vss::VehicleADASObstacleDetection& +VehicleADAS::_Internal::obstacledetection(const VehicleADAS* msg) { + return *msg->_impl_.obstacledetection_; +} +const ::vss::VehicleADASABS& +VehicleADAS::_Internal::abs(const VehicleADAS* msg) { + return *msg->_impl_.abs_; +} +const ::vss::VehicleADASTCS& +VehicleADAS::_Internal::tcs(const VehicleADAS* msg) { + return *msg->_impl_.tcs_; +} +const ::vss::VehicleADASESC& +VehicleADAS::_Internal::esc(const VehicleADAS* msg) { + return *msg->_impl_.esc_; +} +const ::vss::VehicleADASEBD& +VehicleADAS::_Internal::ebd(const VehicleADAS* msg) { + return *msg->_impl_.ebd_; +} +const ::vss::VehicleADASEBA& +VehicleADAS::_Internal::eba(const VehicleADAS* msg) { + return *msg->_impl_.eba_; +} +VehicleADAS::VehicleADAS(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADAS) +} +VehicleADAS::VehicleADAS(const VehicleADAS& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleADAS* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.activeautonomylevel_) {} + + , decltype(_impl_.supportedautonomylevel_) {} + + , decltype(_impl_.cruisecontrol_){nullptr} + , decltype(_impl_.lanedeparturedetection_){nullptr} + , decltype(_impl_.obstacledetection_){nullptr} + , decltype(_impl_.abs_){nullptr} + , decltype(_impl_.tcs_){nullptr} + , decltype(_impl_.esc_){nullptr} + , decltype(_impl_.ebd_){nullptr} + , decltype(_impl_.eba_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.activeautonomylevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.activeautonomylevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_activeautonomylevel().empty()) { + _this->_impl_.activeautonomylevel_.Set(from._internal_activeautonomylevel(), _this->GetArenaForAllocation()); + } + _impl_.supportedautonomylevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.supportedautonomylevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_supportedautonomylevel().empty()) { + _this->_impl_.supportedautonomylevel_.Set(from._internal_supportedautonomylevel(), _this->GetArenaForAllocation()); + } + if (from._internal_has_cruisecontrol()) { + _this->_impl_.cruisecontrol_ = new ::vss::VehicleADASCruiseControl(*from._impl_.cruisecontrol_); + } + if (from._internal_has_lanedeparturedetection()) { + _this->_impl_.lanedeparturedetection_ = new ::vss::VehicleADASLaneDepartureDetection(*from._impl_.lanedeparturedetection_); + } + if (from._internal_has_obstacledetection()) { + _this->_impl_.obstacledetection_ = new ::vss::VehicleADASObstacleDetection(*from._impl_.obstacledetection_); + } + if (from._internal_has_abs()) { + _this->_impl_.abs_ = new ::vss::VehicleADASABS(*from._impl_.abs_); + } + if (from._internal_has_tcs()) { + _this->_impl_.tcs_ = new ::vss::VehicleADASTCS(*from._impl_.tcs_); + } + if (from._internal_has_esc()) { + _this->_impl_.esc_ = new ::vss::VehicleADASESC(*from._impl_.esc_); + } + if (from._internal_has_ebd()) { + _this->_impl_.ebd_ = new ::vss::VehicleADASEBD(*from._impl_.ebd_); + } + if (from._internal_has_eba()) { + _this->_impl_.eba_ = new ::vss::VehicleADASEBA(*from._impl_.eba_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleADAS) +} + +inline void VehicleADAS::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.activeautonomylevel_) {} + + , decltype(_impl_.supportedautonomylevel_) {} + + , decltype(_impl_.cruisecontrol_){nullptr} + , decltype(_impl_.lanedeparturedetection_){nullptr} + , decltype(_impl_.obstacledetection_){nullptr} + , decltype(_impl_.abs_){nullptr} + , decltype(_impl_.tcs_){nullptr} + , decltype(_impl_.esc_){nullptr} + , decltype(_impl_.ebd_){nullptr} + , decltype(_impl_.eba_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.activeautonomylevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.activeautonomylevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.supportedautonomylevel_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.supportedautonomylevel_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleADAS::~VehicleADAS() { + // @@protoc_insertion_point(destructor:vss.VehicleADAS) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADAS::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.activeautonomylevel_.Destroy(); + _impl_.supportedautonomylevel_.Destroy(); + if (this != internal_default_instance()) delete _impl_.cruisecontrol_; + if (this != internal_default_instance()) delete _impl_.lanedeparturedetection_; + if (this != internal_default_instance()) delete _impl_.obstacledetection_; + if (this != internal_default_instance()) delete _impl_.abs_; + if (this != internal_default_instance()) delete _impl_.tcs_; + if (this != internal_default_instance()) delete _impl_.esc_; + if (this != internal_default_instance()) delete _impl_.ebd_; + if (this != internal_default_instance()) delete _impl_.eba_; +} + +void VehicleADAS::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADAS::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADAS) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.activeautonomylevel_.ClearToEmpty(); + _impl_.supportedautonomylevel_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.cruisecontrol_ != nullptr) { + delete _impl_.cruisecontrol_; + } + _impl_.cruisecontrol_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.lanedeparturedetection_ != nullptr) { + delete _impl_.lanedeparturedetection_; + } + _impl_.lanedeparturedetection_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.obstacledetection_ != nullptr) { + delete _impl_.obstacledetection_; + } + _impl_.obstacledetection_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.abs_ != nullptr) { + delete _impl_.abs_; + } + _impl_.abs_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tcs_ != nullptr) { + delete _impl_.tcs_; + } + _impl_.tcs_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.esc_ != nullptr) { + delete _impl_.esc_; + } + _impl_.esc_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.ebd_ != nullptr) { + delete _impl_.ebd_; + } + _impl_.ebd_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.eba_ != nullptr) { + delete _impl_.eba_; + } + _impl_.eba_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADAS::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string ActiveAutonomyLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_activeautonomylevel(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleADAS.ActiveAutonomyLevel")); + } else { + goto handle_unusual; + } + continue; + // string SupportedAutonomyLevel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_supportedautonomylevel(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleADAS.SupportedAutonomyLevel")); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASCruiseControl CruiseControl = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_cruisecontrol(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_lanedeparturedetection(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASObstacleDetection ObstacleDetection = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_obstacledetection(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASABS ABS = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_abs(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASTCS TCS = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_tcs(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASESC ESC = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_esc(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASEBD EBD = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_ebd(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASEBA EBA = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_eba(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADAS::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADAS) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string ActiveAutonomyLevel = 1; + if (!this->_internal_activeautonomylevel().empty()) { + const std::string& _s = this->_internal_activeautonomylevel(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleADAS.ActiveAutonomyLevel"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string SupportedAutonomyLevel = 2; + if (!this->_internal_supportedautonomylevel().empty()) { + const std::string& _s = this->_internal_supportedautonomylevel(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleADAS.SupportedAutonomyLevel"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // .vss.VehicleADASCruiseControl CruiseControl = 3; + if (this->_internal_has_cruisecontrol()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::cruisecontrol(this), + _Internal::cruisecontrol(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + if (this->_internal_has_lanedeparturedetection()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::lanedeparturedetection(this), + _Internal::lanedeparturedetection(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASObstacleDetection ObstacleDetection = 5; + if (this->_internal_has_obstacledetection()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::obstacledetection(this), + _Internal::obstacledetection(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASABS ABS = 6; + if (this->_internal_has_abs()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::abs(this), + _Internal::abs(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASTCS TCS = 7; + if (this->_internal_has_tcs()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::tcs(this), + _Internal::tcs(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASESC ESC = 8; + if (this->_internal_has_esc()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::esc(this), + _Internal::esc(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASEBD EBD = 9; + if (this->_internal_has_ebd()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(9, _Internal::ebd(this), + _Internal::ebd(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleADASEBA EBA = 10; + if (this->_internal_has_eba()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::eba(this), + _Internal::eba(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADAS) + return target; +} + +::size_t VehicleADAS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADAS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string ActiveAutonomyLevel = 1; + if (!this->_internal_activeautonomylevel().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_activeautonomylevel()); + } + + // string SupportedAutonomyLevel = 2; + if (!this->_internal_supportedautonomylevel().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_supportedautonomylevel()); + } + + // .vss.VehicleADASCruiseControl CruiseControl = 3; + if (this->_internal_has_cruisecontrol()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.cruisecontrol_); + } + + // .vss.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + if (this->_internal_has_lanedeparturedetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.lanedeparturedetection_); + } + + // .vss.VehicleADASObstacleDetection ObstacleDetection = 5; + if (this->_internal_has_obstacledetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.obstacledetection_); + } + + // .vss.VehicleADASABS ABS = 6; + if (this->_internal_has_abs()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.abs_); + } + + // .vss.VehicleADASTCS TCS = 7; + if (this->_internal_has_tcs()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tcs_); + } + + // .vss.VehicleADASESC ESC = 8; + if (this->_internal_has_esc()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.esc_); + } + + // .vss.VehicleADASEBD EBD = 9; + if (this->_internal_has_ebd()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.ebd_); + } + + // .vss.VehicleADASEBA EBA = 10; + if (this->_internal_has_eba()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.eba_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADAS::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADAS::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADAS::GetClassData() const { return &_class_data_; } + + +void VehicleADAS::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADAS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_activeautonomylevel().empty()) { + _this->_internal_set_activeautonomylevel(from._internal_activeautonomylevel()); + } + if (!from._internal_supportedautonomylevel().empty()) { + _this->_internal_set_supportedautonomylevel(from._internal_supportedautonomylevel()); + } + if (from._internal_has_cruisecontrol()) { + _this->_internal_mutable_cruisecontrol()->::vss::VehicleADASCruiseControl::MergeFrom( + from._internal_cruisecontrol()); + } + if (from._internal_has_lanedeparturedetection()) { + _this->_internal_mutable_lanedeparturedetection()->::vss::VehicleADASLaneDepartureDetection::MergeFrom( + from._internal_lanedeparturedetection()); + } + if (from._internal_has_obstacledetection()) { + _this->_internal_mutable_obstacledetection()->::vss::VehicleADASObstacleDetection::MergeFrom( + from._internal_obstacledetection()); + } + if (from._internal_has_abs()) { + _this->_internal_mutable_abs()->::vss::VehicleADASABS::MergeFrom( + from._internal_abs()); + } + if (from._internal_has_tcs()) { + _this->_internal_mutable_tcs()->::vss::VehicleADASTCS::MergeFrom( + from._internal_tcs()); + } + if (from._internal_has_esc()) { + _this->_internal_mutable_esc()->::vss::VehicleADASESC::MergeFrom( + from._internal_esc()); + } + if (from._internal_has_ebd()) { + _this->_internal_mutable_ebd()->::vss::VehicleADASEBD::MergeFrom( + from._internal_ebd()); + } + if (from._internal_has_eba()) { + _this->_internal_mutable_eba()->::vss::VehicleADASEBA::MergeFrom( + from._internal_eba()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADAS::CopyFrom(const VehicleADAS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADAS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADAS::IsInitialized() const { + return true; +} + +void VehicleADAS::InternalSwap(VehicleADAS* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.activeautonomylevel_, lhs_arena, + &other->_impl_.activeautonomylevel_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.supportedautonomylevel_, lhs_arena, + &other->_impl_.supportedautonomylevel_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADAS, _impl_.eba_) + + sizeof(VehicleADAS::_impl_.eba_) + - PROTOBUF_FIELD_OFFSET(VehicleADAS, _impl_.cruisecontrol_)>( + reinterpret_cast(&_impl_.cruisecontrol_), + reinterpret_cast(&other->_impl_.cruisecontrol_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADAS::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[208]); +} +// =================================================================== + +class VehicleADASCruiseControl::_Internal { + public: +}; + +VehicleADASCruiseControl::VehicleADASCruiseControl(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASCruiseControl) +} +VehicleADASCruiseControl::VehicleADASCruiseControl(const VehicleADASCruiseControl& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASCruiseControl) +} + +inline void VehicleADASCruiseControl::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.isactive_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.speedset_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASCruiseControl::~VehicleADASCruiseControl() { + // @@protoc_insertion_point(destructor:vss.VehicleADASCruiseControl) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASCruiseControl::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASCruiseControl::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASCruiseControl::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASCruiseControl) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.speedset_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.speedset_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASCruiseControl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsActive = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float SpeedSet = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.speedset_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASCruiseControl::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASCruiseControl) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsActive = 2; + if (this->_internal_isactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isactive(), target); + } + + // float SpeedSet = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speedset = this->_internal_speedset(); + ::uint32_t raw_speedset; + memcpy(&raw_speedset, &tmp_speedset, sizeof(tmp_speedset)); + if (raw_speedset != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_speedset(), target); + } + + // bool IsError = 4; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASCruiseControl) + return target; +} + +::size_t VehicleADASCruiseControl::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASCruiseControl) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsActive = 2; + if (this->_internal_isactive() != 0) { + total_size += 2; + } + + // bool IsError = 4; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // float SpeedSet = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speedset = this->_internal_speedset(); + ::uint32_t raw_speedset; + memcpy(&raw_speedset, &tmp_speedset, sizeof(tmp_speedset)); + if (raw_speedset != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASCruiseControl::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASCruiseControl::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASCruiseControl::GetClassData() const { return &_class_data_; } + + +void VehicleADASCruiseControl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASCruiseControl) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_isactive() != 0) { + _this->_internal_set_isactive(from._internal_isactive()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speedset = from._internal_speedset(); + ::uint32_t raw_speedset; + memcpy(&raw_speedset, &tmp_speedset, sizeof(tmp_speedset)); + if (raw_speedset != 0) { + _this->_internal_set_speedset(from._internal_speedset()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASCruiseControl::CopyFrom(const VehicleADASCruiseControl& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASCruiseControl) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASCruiseControl::IsInitialized() const { + return true; +} + +void VehicleADASCruiseControl::InternalSwap(VehicleADASCruiseControl* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASCruiseControl, _impl_.speedset_) + + sizeof(VehicleADASCruiseControl::_impl_.speedset_) + - PROTOBUF_FIELD_OFFSET(VehicleADASCruiseControl, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASCruiseControl::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[209]); +} +// =================================================================== + +class VehicleADASLaneDepartureDetection::_Internal { + public: +}; + +VehicleADASLaneDepartureDetection::VehicleADASLaneDepartureDetection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASLaneDepartureDetection) +} +VehicleADASLaneDepartureDetection::VehicleADASLaneDepartureDetection(const VehicleADASLaneDepartureDetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASLaneDepartureDetection) +} + +inline void VehicleADASLaneDepartureDetection::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iswarning_) { false } + + , decltype(_impl_.iserror_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASLaneDepartureDetection::~VehicleADASLaneDepartureDetection() { + // @@protoc_insertion_point(destructor:vss.VehicleADASLaneDepartureDetection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASLaneDepartureDetection::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASLaneDepartureDetection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASLaneDepartureDetection::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASLaneDepartureDetection) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.iserror_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.iserror_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASLaneDepartureDetection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWarning = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iswarning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASLaneDepartureDetection::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASLaneDepartureDetection) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsWarning = 2; + if (this->_internal_iswarning() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iswarning(), target); + } + + // bool IsError = 3; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASLaneDepartureDetection) + return target; +} + +::size_t VehicleADASLaneDepartureDetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASLaneDepartureDetection) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsWarning = 2; + if (this->_internal_iswarning() != 0) { + total_size += 2; + } + + // bool IsError = 3; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASLaneDepartureDetection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASLaneDepartureDetection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASLaneDepartureDetection::GetClassData() const { return &_class_data_; } + + +void VehicleADASLaneDepartureDetection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASLaneDepartureDetection) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iswarning() != 0) { + _this->_internal_set_iswarning(from._internal_iswarning()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASLaneDepartureDetection::CopyFrom(const VehicleADASLaneDepartureDetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASLaneDepartureDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASLaneDepartureDetection::IsInitialized() const { + return true; +} + +void VehicleADASLaneDepartureDetection::InternalSwap(VehicleADASLaneDepartureDetection* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASLaneDepartureDetection, _impl_.iserror_) + + sizeof(VehicleADASLaneDepartureDetection::_impl_.iserror_) + - PROTOBUF_FIELD_OFFSET(VehicleADASLaneDepartureDetection, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASLaneDepartureDetection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[210]); +} +// =================================================================== + +class VehicleADASObstacleDetection::_Internal { + public: +}; + +VehicleADASObstacleDetection::VehicleADASObstacleDetection(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASObstacleDetection) +} +VehicleADASObstacleDetection::VehicleADASObstacleDetection(const VehicleADASObstacleDetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASObstacleDetection) +} + +inline void VehicleADASObstacleDetection::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iswarning_) { false } + + , decltype(_impl_.iserror_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASObstacleDetection::~VehicleADASObstacleDetection() { + // @@protoc_insertion_point(destructor:vss.VehicleADASObstacleDetection) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASObstacleDetection::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASObstacleDetection::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASObstacleDetection::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASObstacleDetection) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.iserror_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.iserror_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASObstacleDetection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsWarning = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iswarning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASObstacleDetection::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASObstacleDetection) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsWarning = 2; + if (this->_internal_iswarning() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iswarning(), target); + } + + // bool IsError = 3; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASObstacleDetection) + return target; +} + +::size_t VehicleADASObstacleDetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASObstacleDetection) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsWarning = 2; + if (this->_internal_iswarning() != 0) { + total_size += 2; + } + + // bool IsError = 3; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASObstacleDetection::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASObstacleDetection::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASObstacleDetection::GetClassData() const { return &_class_data_; } + + +void VehicleADASObstacleDetection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASObstacleDetection) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iswarning() != 0) { + _this->_internal_set_iswarning(from._internal_iswarning()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASObstacleDetection::CopyFrom(const VehicleADASObstacleDetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASObstacleDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASObstacleDetection::IsInitialized() const { + return true; +} + +void VehicleADASObstacleDetection::InternalSwap(VehicleADASObstacleDetection* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASObstacleDetection, _impl_.iserror_) + + sizeof(VehicleADASObstacleDetection::_impl_.iserror_) + - PROTOBUF_FIELD_OFFSET(VehicleADASObstacleDetection, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASObstacleDetection::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[211]); +} +// =================================================================== + +class VehicleADASABS::_Internal { + public: +}; + +VehicleADASABS::VehicleADASABS(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASABS) +} +VehicleADASABS::VehicleADASABS(const VehicleADASABS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASABS) +} + +inline void VehicleADASABS::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.isengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASABS::~VehicleADASABS() { + // @@protoc_insertion_point(destructor:vss.VehicleADASABS) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASABS::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASABS::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASABS::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASABS) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isengaged_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASABS::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASABS::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASABS) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASABS) + return target; +} + +::size_t VehicleADASABS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASABS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASABS::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASABS::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASABS::GetClassData() const { return &_class_data_; } + + +void VehicleADASABS::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASABS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASABS::CopyFrom(const VehicleADASABS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASABS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASABS::IsInitialized() const { + return true; +} + +void VehicleADASABS::InternalSwap(VehicleADASABS* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASABS, _impl_.isengaged_) + + sizeof(VehicleADASABS::_impl_.isengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleADASABS, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASABS::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[212]); +} +// =================================================================== + +class VehicleADASTCS::_Internal { + public: +}; + +VehicleADASTCS::VehicleADASTCS(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASTCS) +} +VehicleADASTCS::VehicleADASTCS(const VehicleADASTCS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASTCS) +} + +inline void VehicleADASTCS::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.isengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASTCS::~VehicleADASTCS() { + // @@protoc_insertion_point(destructor:vss.VehicleADASTCS) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASTCS::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASTCS::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASTCS::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASTCS) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isengaged_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASTCS::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASTCS::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASTCS) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASTCS) + return target; +} + +::size_t VehicleADASTCS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASTCS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASTCS::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASTCS::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASTCS::GetClassData() const { return &_class_data_; } + + +void VehicleADASTCS::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASTCS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASTCS::CopyFrom(const VehicleADASTCS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASTCS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASTCS::IsInitialized() const { + return true; +} + +void VehicleADASTCS::InternalSwap(VehicleADASTCS* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASTCS, _impl_.isengaged_) + + sizeof(VehicleADASTCS::_impl_.isengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleADASTCS, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASTCS::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[213]); +} +// =================================================================== + +class VehicleADASESC::_Internal { + public: + static const ::vss::VehicleADASESCRoadFriction& roadfriction(const VehicleADASESC* msg); +}; + +const ::vss::VehicleADASESCRoadFriction& +VehicleADASESC::_Internal::roadfriction(const VehicleADASESC* msg) { + return *msg->_impl_.roadfriction_; +} +VehicleADASESC::VehicleADASESC(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASESC) +} +VehicleADASESC::VehicleADASESC(const VehicleADASESC& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleADASESC* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.roadfriction_){nullptr} + , decltype(_impl_.isenabled_) {} + + , decltype(_impl_.iserror_) {} + + , decltype(_impl_.isengaged_) {} + + , decltype(_impl_.isstrongcrosswinddetected_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_roadfriction()) { + _this->_impl_.roadfriction_ = new ::vss::VehicleADASESCRoadFriction(*from._impl_.roadfriction_); + } + ::memcpy(&_impl_.isenabled_, &from._impl_.isenabled_, + static_cast<::size_t>(reinterpret_cast(&_impl_.isstrongcrosswinddetected_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isstrongcrosswinddetected_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASESC) +} + +inline void VehicleADASESC::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.roadfriction_){nullptr} + , decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.isengaged_) { false } + + , decltype(_impl_.isstrongcrosswinddetected_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASESC::~VehicleADASESC() { + // @@protoc_insertion_point(destructor:vss.VehicleADASESC) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASESC::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.roadfriction_; +} + +void VehicleADASESC::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASESC::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASESC) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.roadfriction_ != nullptr) { + delete _impl_.roadfriction_; + } + _impl_.roadfriction_ = nullptr; + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isstrongcrosswinddetected_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isstrongcrosswinddetected_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASESC::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsStrongCrossWindDetected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isstrongcrosswinddetected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleADASESCRoadFriction RoadFriction = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_roadfriction(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASESC::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASESC) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isengaged(), target); + } + + // bool IsStrongCrossWindDetected = 4; + if (this->_internal_isstrongcrosswinddetected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isstrongcrosswinddetected(), target); + } + + // .vss.VehicleADASESCRoadFriction RoadFriction = 5; + if (this->_internal_has_roadfriction()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::roadfriction(this), + _Internal::roadfriction(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASESC) + return target; +} + +::size_t VehicleADASESC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASESC) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleADASESCRoadFriction RoadFriction = 5; + if (this->_internal_has_roadfriction()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.roadfriction_); + } + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + // bool IsStrongCrossWindDetected = 4; + if (this->_internal_isstrongcrosswinddetected() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASESC::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASESC::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASESC::GetClassData() const { return &_class_data_; } + + +void VehicleADASESC::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASESC) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_roadfriction()) { + _this->_internal_mutable_roadfriction()->::vss::VehicleADASESCRoadFriction::MergeFrom( + from._internal_roadfriction()); + } + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + if (from._internal_isstrongcrosswinddetected() != 0) { + _this->_internal_set_isstrongcrosswinddetected(from._internal_isstrongcrosswinddetected()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASESC::CopyFrom(const VehicleADASESC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASESC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASESC::IsInitialized() const { + return true; +} + +void VehicleADASESC::InternalSwap(VehicleADASESC* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASESC, _impl_.isstrongcrosswinddetected_) + + sizeof(VehicleADASESC::_impl_.isstrongcrosswinddetected_) + - PROTOBUF_FIELD_OFFSET(VehicleADASESC, _impl_.roadfriction_)>( + reinterpret_cast(&_impl_.roadfriction_), + reinterpret_cast(&other->_impl_.roadfriction_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASESC::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[214]); +} +// =================================================================== + +class VehicleADASESCRoadFriction::_Internal { + public: +}; + +VehicleADASESCRoadFriction::VehicleADASESCRoadFriction(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASESCRoadFriction) +} +VehicleADASESCRoadFriction::VehicleADASESCRoadFriction(const VehicleADASESCRoadFriction& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASESCRoadFriction) +} + +inline void VehicleADASESCRoadFriction::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.mostprobable_) { 0 } + + , decltype(_impl_.lowerbound_) { 0 } + + , decltype(_impl_.upperbound_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASESCRoadFriction::~VehicleADASESCRoadFriction() { + // @@protoc_insertion_point(destructor:vss.VehicleADASESCRoadFriction) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASESCRoadFriction::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASESCRoadFriction::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASESCRoadFriction::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASESCRoadFriction) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.mostprobable_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.upperbound_) - + reinterpret_cast(&_impl_.mostprobable_)) + sizeof(_impl_.upperbound_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASESCRoadFriction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float MostProbable = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.mostprobable_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LowerBound = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.lowerbound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float UpperBound = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.upperbound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASESCRoadFriction::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASESCRoadFriction) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float MostProbable = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_mostprobable = this->_internal_mostprobable(); + ::uint32_t raw_mostprobable; + memcpy(&raw_mostprobable, &tmp_mostprobable, sizeof(tmp_mostprobable)); + if (raw_mostprobable != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_mostprobable(), target); + } + + // float LowerBound = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lowerbound = this->_internal_lowerbound(); + ::uint32_t raw_lowerbound; + memcpy(&raw_lowerbound, &tmp_lowerbound, sizeof(tmp_lowerbound)); + if (raw_lowerbound != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_lowerbound(), target); + } + + // float UpperBound = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_upperbound = this->_internal_upperbound(); + ::uint32_t raw_upperbound; + memcpy(&raw_upperbound, &tmp_upperbound, sizeof(tmp_upperbound)); + if (raw_upperbound != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_upperbound(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASESCRoadFriction) + return target; +} + +::size_t VehicleADASESCRoadFriction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASESCRoadFriction) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float MostProbable = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_mostprobable = this->_internal_mostprobable(); + ::uint32_t raw_mostprobable; + memcpy(&raw_mostprobable, &tmp_mostprobable, sizeof(tmp_mostprobable)); + if (raw_mostprobable != 0) { + total_size += 5; + } + + // float LowerBound = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lowerbound = this->_internal_lowerbound(); + ::uint32_t raw_lowerbound; + memcpy(&raw_lowerbound, &tmp_lowerbound, sizeof(tmp_lowerbound)); + if (raw_lowerbound != 0) { + total_size += 5; + } + + // float UpperBound = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_upperbound = this->_internal_upperbound(); + ::uint32_t raw_upperbound; + memcpy(&raw_upperbound, &tmp_upperbound, sizeof(tmp_upperbound)); + if (raw_upperbound != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASESCRoadFriction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASESCRoadFriction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASESCRoadFriction::GetClassData() const { return &_class_data_; } + + +void VehicleADASESCRoadFriction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASESCRoadFriction) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_mostprobable = from._internal_mostprobable(); + ::uint32_t raw_mostprobable; + memcpy(&raw_mostprobable, &tmp_mostprobable, sizeof(tmp_mostprobable)); + if (raw_mostprobable != 0) { + _this->_internal_set_mostprobable(from._internal_mostprobable()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lowerbound = from._internal_lowerbound(); + ::uint32_t raw_lowerbound; + memcpy(&raw_lowerbound, &tmp_lowerbound, sizeof(tmp_lowerbound)); + if (raw_lowerbound != 0) { + _this->_internal_set_lowerbound(from._internal_lowerbound()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_upperbound = from._internal_upperbound(); + ::uint32_t raw_upperbound; + memcpy(&raw_upperbound, &tmp_upperbound, sizeof(tmp_upperbound)); + if (raw_upperbound != 0) { + _this->_internal_set_upperbound(from._internal_upperbound()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASESCRoadFriction::CopyFrom(const VehicleADASESCRoadFriction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASESCRoadFriction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASESCRoadFriction::IsInitialized() const { + return true; +} + +void VehicleADASESCRoadFriction::InternalSwap(VehicleADASESCRoadFriction* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASESCRoadFriction, _impl_.upperbound_) + + sizeof(VehicleADASESCRoadFriction::_impl_.upperbound_) + - PROTOBUF_FIELD_OFFSET(VehicleADASESCRoadFriction, _impl_.mostprobable_)>( + reinterpret_cast(&_impl_.mostprobable_), + reinterpret_cast(&other->_impl_.mostprobable_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASESCRoadFriction::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[215]); +} +// =================================================================== + +class VehicleADASEBD::_Internal { + public: +}; + +VehicleADASEBD::VehicleADASEBD(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASEBD) +} +VehicleADASEBD::VehicleADASEBD(const VehicleADASEBD& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASEBD) +} + +inline void VehicleADASEBD::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.isengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASEBD::~VehicleADASEBD() { + // @@protoc_insertion_point(destructor:vss.VehicleADASEBD) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASEBD::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASEBD::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASEBD::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASEBD) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isengaged_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASEBD::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASEBD::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASEBD) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASEBD) + return target; +} + +::size_t VehicleADASEBD::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASEBD) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASEBD::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASEBD::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASEBD::GetClassData() const { return &_class_data_; } + + +void VehicleADASEBD::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASEBD) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASEBD::CopyFrom(const VehicleADASEBD& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASEBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASEBD::IsInitialized() const { + return true; +} + +void VehicleADASEBD::InternalSwap(VehicleADASEBD* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASEBD, _impl_.isengaged_) + + sizeof(VehicleADASEBD::_impl_.isengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleADASEBD, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASEBD::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[216]); +} +// =================================================================== + +class VehicleADASEBA::_Internal { + public: +}; + +VehicleADASEBA::VehicleADASEBA(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleADASEBA) +} +VehicleADASEBA::VehicleADASEBA(const VehicleADASEBA& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleADASEBA) +} + +inline void VehicleADASEBA::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isenabled_) { false } + + , decltype(_impl_.iserror_) { false } + + , decltype(_impl_.isengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleADASEBA::~VehicleADASEBA() { + // @@protoc_insertion_point(destructor:vss.VehicleADASEBA) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleADASEBA::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleADASEBA::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleADASEBA::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleADASEBA) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isenabled_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isengaged_) - + reinterpret_cast(&_impl_.isenabled_)) + sizeof(_impl_.isengaged_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleADASEBA::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleADASEBA::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleADASEBA) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleADASEBA) + return target; +} + +::size_t VehicleADASEBA::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleADASEBA) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->_internal_isenabled() != 0) { + total_size += 2; + } + + // bool IsError = 2; + if (this->_internal_iserror() != 0) { + total_size += 2; + } + + // bool IsEngaged = 3; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleADASEBA::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleADASEBA::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleADASEBA::GetClassData() const { return &_class_data_; } + + +void VehicleADASEBA::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleADASEBA) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isenabled() != 0) { + _this->_internal_set_isenabled(from._internal_isenabled()); + } + if (from._internal_iserror() != 0) { + _this->_internal_set_iserror(from._internal_iserror()); + } + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleADASEBA::CopyFrom(const VehicleADASEBA& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleADASEBA) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASEBA::IsInitialized() const { + return true; +} + +void VehicleADASEBA::InternalSwap(VehicleADASEBA* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleADASEBA, _impl_.isengaged_) + + sizeof(VehicleADASEBA::_impl_.isengaged_) + - PROTOBUF_FIELD_OFFSET(VehicleADASEBA, _impl_.isenabled_)>( + reinterpret_cast(&_impl_.isenabled_), + reinterpret_cast(&other->_impl_.isenabled_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASEBA::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[217]); +} +// =================================================================== + +class VehicleChassis::_Internal { + public: + static const ::vss::VehicleChassisAxle& axle(const VehicleChassis* msg); + static const ::vss::VehicleChassisParkingBrake& parkingbrake(const VehicleChassis* msg); + static const ::vss::VehicleChassisSteeringWheel& steeringwheel(const VehicleChassis* msg); + static const ::vss::VehicleChassisAccelerator& accelerator(const VehicleChassis* msg); + static const ::vss::VehicleChassisBrake& brake(const VehicleChassis* msg); +}; + +const ::vss::VehicleChassisAxle& +VehicleChassis::_Internal::axle(const VehicleChassis* msg) { + return *msg->_impl_.axle_; +} +const ::vss::VehicleChassisParkingBrake& +VehicleChassis::_Internal::parkingbrake(const VehicleChassis* msg) { + return *msg->_impl_.parkingbrake_; +} +const ::vss::VehicleChassisSteeringWheel& +VehicleChassis::_Internal::steeringwheel(const VehicleChassis* msg) { + return *msg->_impl_.steeringwheel_; +} +const ::vss::VehicleChassisAccelerator& +VehicleChassis::_Internal::accelerator(const VehicleChassis* msg) { + return *msg->_impl_.accelerator_; +} +const ::vss::VehicleChassisBrake& +VehicleChassis::_Internal::brake(const VehicleChassis* msg) { + return *msg->_impl_.brake_; +} +VehicleChassis::VehicleChassis(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassis) +} +VehicleChassis::VehicleChassis(const VehicleChassis& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassis* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.axle_){nullptr} + , decltype(_impl_.parkingbrake_){nullptr} + , decltype(_impl_.steeringwheel_){nullptr} + , decltype(_impl_.accelerator_){nullptr} + , decltype(_impl_.brake_){nullptr} + , decltype(_impl_.wheelbase_) {} + + , decltype(_impl_.track_) {} + + , decltype(_impl_.axlecount_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_axle()) { + _this->_impl_.axle_ = new ::vss::VehicleChassisAxle(*from._impl_.axle_); + } + if (from._internal_has_parkingbrake()) { + _this->_impl_.parkingbrake_ = new ::vss::VehicleChassisParkingBrake(*from._impl_.parkingbrake_); + } + if (from._internal_has_steeringwheel()) { + _this->_impl_.steeringwheel_ = new ::vss::VehicleChassisSteeringWheel(*from._impl_.steeringwheel_); + } + if (from._internal_has_accelerator()) { + _this->_impl_.accelerator_ = new ::vss::VehicleChassisAccelerator(*from._impl_.accelerator_); + } + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleChassisBrake(*from._impl_.brake_); + } + ::memcpy(&_impl_.wheelbase_, &from._impl_.wheelbase_, + static_cast<::size_t>(reinterpret_cast(&_impl_.axlecount_) - + reinterpret_cast(&_impl_.wheelbase_)) + sizeof(_impl_.axlecount_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassis) +} + +inline void VehicleChassis::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.axle_){nullptr} + , decltype(_impl_.parkingbrake_){nullptr} + , decltype(_impl_.steeringwheel_){nullptr} + , decltype(_impl_.accelerator_){nullptr} + , decltype(_impl_.brake_){nullptr} + , decltype(_impl_.wheelbase_) { 0u } + + , decltype(_impl_.track_) { 0u } + + , decltype(_impl_.axlecount_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassis::~VehicleChassis() { + // @@protoc_insertion_point(destructor:vss.VehicleChassis) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassis::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.axle_; + if (this != internal_default_instance()) delete _impl_.parkingbrake_; + if (this != internal_default_instance()) delete _impl_.steeringwheel_; + if (this != internal_default_instance()) delete _impl_.accelerator_; + if (this != internal_default_instance()) delete _impl_.brake_; +} + +void VehicleChassis::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassis::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassis) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.axle_ != nullptr) { + delete _impl_.axle_; + } + _impl_.axle_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.parkingbrake_ != nullptr) { + delete _impl_.parkingbrake_; + } + _impl_.parkingbrake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.steeringwheel_ != nullptr) { + delete _impl_.steeringwheel_; + } + _impl_.steeringwheel_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.accelerator_ != nullptr) { + delete _impl_.accelerator_; + } + _impl_.accelerator_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + ::memset(&_impl_.wheelbase_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.axlecount_) - + reinterpret_cast(&_impl_.wheelbase_)) + sizeof(_impl_.axlecount_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassis::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Wheelbase = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.wheelbase_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Track = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.track_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxle Axle = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 32)) { + _impl_.axlecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisParkingBrake ParkingBrake = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_parkingbrake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisSteeringWheel SteeringWheel = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_steeringwheel(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAccelerator Accelerator = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_accelerator(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisBrake Brake = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassis::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassis) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Wheelbase = 1; + if (this->_internal_wheelbase() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_wheelbase(), target); + } + + // uint32 Track = 2; + if (this->_internal_track() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_track(), target); + } + + // .vss.VehicleChassisAxle Axle = 3; + if (this->_internal_has_axle()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::axle(this), + _Internal::axle(this).GetCachedSize(), target, stream); + } + + // uint32 AxleCount = 4; + if (this->_internal_axlecount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this->_internal_axlecount(), target); + } + + // .vss.VehicleChassisParkingBrake ParkingBrake = 5; + if (this->_internal_has_parkingbrake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::parkingbrake(this), + _Internal::parkingbrake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisSteeringWheel SteeringWheel = 6; + if (this->_internal_has_steeringwheel()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::steeringwheel(this), + _Internal::steeringwheel(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAccelerator Accelerator = 7; + if (this->_internal_has_accelerator()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::accelerator(this), + _Internal::accelerator(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisBrake Brake = 8; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassis) + return target; +} + +::size_t VehicleChassis::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassis) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxle Axle = 3; + if (this->_internal_has_axle()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.axle_); + } + + // .vss.VehicleChassisParkingBrake ParkingBrake = 5; + if (this->_internal_has_parkingbrake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.parkingbrake_); + } + + // .vss.VehicleChassisSteeringWheel SteeringWheel = 6; + if (this->_internal_has_steeringwheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.steeringwheel_); + } + + // .vss.VehicleChassisAccelerator Accelerator = 7; + if (this->_internal_has_accelerator()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.accelerator_); + } + + // .vss.VehicleChassisBrake Brake = 8; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // uint32 Wheelbase = 1; + if (this->_internal_wheelbase() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_wheelbase()); + } + + // uint32 Track = 2; + if (this->_internal_track() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_track()); + } + + // uint32 AxleCount = 4; + if (this->_internal_axlecount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_axlecount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassis::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassis::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassis::GetClassData() const { return &_class_data_; } + + +void VehicleChassis::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassis) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_axle()) { + _this->_internal_mutable_axle()->::vss::VehicleChassisAxle::MergeFrom( + from._internal_axle()); + } + if (from._internal_has_parkingbrake()) { + _this->_internal_mutable_parkingbrake()->::vss::VehicleChassisParkingBrake::MergeFrom( + from._internal_parkingbrake()); + } + if (from._internal_has_steeringwheel()) { + _this->_internal_mutable_steeringwheel()->::vss::VehicleChassisSteeringWheel::MergeFrom( + from._internal_steeringwheel()); + } + if (from._internal_has_accelerator()) { + _this->_internal_mutable_accelerator()->::vss::VehicleChassisAccelerator::MergeFrom( + from._internal_accelerator()); + } + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleChassisBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_wheelbase() != 0) { + _this->_internal_set_wheelbase(from._internal_wheelbase()); + } + if (from._internal_track() != 0) { + _this->_internal_set_track(from._internal_track()); + } + if (from._internal_axlecount() != 0) { + _this->_internal_set_axlecount(from._internal_axlecount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassis::CopyFrom(const VehicleChassis& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassis) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassis::IsInitialized() const { + return true; +} + +void VehicleChassis::InternalSwap(VehicleChassis* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassis, _impl_.axlecount_) + + sizeof(VehicleChassis::_impl_.axlecount_) + - PROTOBUF_FIELD_OFFSET(VehicleChassis, _impl_.axle_)>( + reinterpret_cast(&_impl_.axle_), + reinterpret_cast(&other->_impl_.axle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassis::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[218]); +} +// =================================================================== + +class VehicleChassisAxle::_Internal { + public: + static const ::vss::VehicleChassisAxleRow1& row1(const VehicleChassisAxle* msg); + static const ::vss::VehicleChassisAxleRow2& row2(const VehicleChassisAxle* msg); +}; + +const ::vss::VehicleChassisAxleRow1& +VehicleChassisAxle::_Internal::row1(const VehicleChassisAxle* msg) { + return *msg->_impl_.row1_; +} +const ::vss::VehicleChassisAxleRow2& +VehicleChassisAxle::_Internal::row2(const VehicleChassisAxle* msg) { + return *msg->_impl_.row2_; +} +VehicleChassisAxle::VehicleChassisAxle(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxle) +} +VehicleChassisAxle::VehicleChassisAxle(const VehicleChassisAxle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_row1()) { + _this->_impl_.row1_ = new ::vss::VehicleChassisAxleRow1(*from._impl_.row1_); + } + if (from._internal_has_row2()) { + _this->_impl_.row2_ = new ::vss::VehicleChassisAxleRow2(*from._impl_.row2_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxle) +} + +inline void VehicleChassisAxle::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.row1_){nullptr} + , decltype(_impl_.row2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxle::~VehicleChassisAxle() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxle::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.row1_; + if (this != internal_default_instance()) delete _impl_.row2_; +} + +void VehicleChassisAxle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxle::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxle) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.row1_ != nullptr) { + delete _impl_.row1_; + } + _impl_.row1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.row2_ != nullptr) { + delete _impl_.row2_; + } + _impl_.row2_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxle::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxle) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1 Row1 = 1; + if (this->_internal_has_row1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::row1(this), + _Internal::row1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow2 Row2 = 2; + if (this->_internal_has_row2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::row2(this), + _Internal::row2(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxle) + return target; +} + +::size_t VehicleChassisAxle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxle) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1 Row1 = 1; + if (this->_internal_has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row1_); + } + + // .vss.VehicleChassisAxleRow2 Row2 = 2; + if (this->_internal_has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.row2_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxle::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxle) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_row1()) { + _this->_internal_mutable_row1()->::vss::VehicleChassisAxleRow1::MergeFrom( + from._internal_row1()); + } + if (from._internal_has_row2()) { + _this->_internal_mutable_row2()->::vss::VehicleChassisAxleRow2::MergeFrom( + from._internal_row2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxle::CopyFrom(const VehicleChassisAxle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxle::IsInitialized() const { + return true; +} + +void VehicleChassisAxle::InternalSwap(VehicleChassisAxle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxle, _impl_.row2_) + + sizeof(VehicleChassisAxle::_impl_.row2_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxle, _impl_.row1_)>( + reinterpret_cast(&_impl_.row1_), + reinterpret_cast(&other->_impl_.row1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[219]); +} +// =================================================================== + +class VehicleChassisAxleRow1::_Internal { + public: + static const ::vss::VehicleChassisAxleRow1Wheel& wheel(const VehicleChassisAxleRow1* msg); +}; + +const ::vss::VehicleChassisAxleRow1Wheel& +VehicleChassisAxleRow1::_Internal::wheel(const VehicleChassisAxleRow1* msg) { + return *msg->_impl_.wheel_; +} +VehicleChassisAxleRow1::VehicleChassisAxleRow1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1) +} +VehicleChassisAxleRow1::VehicleChassisAxleRow1(const VehicleChassisAxleRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow1* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.wheel_){nullptr} + , decltype(_impl_.wheelcount_) {} + + , decltype(_impl_.wheeldiameter_) {} + + , decltype(_impl_.wheelwidth_) {} + + , decltype(_impl_.tirediameter_) {} + + , decltype(_impl_.tirewidth_) {} + + , decltype(_impl_.tireaspectratio_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_wheel()) { + _this->_impl_.wheel_ = new ::vss::VehicleChassisAxleRow1Wheel(*from._impl_.wheel_); + } + ::memcpy(&_impl_.wheelcount_, &from._impl_.wheelcount_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tireaspectratio_) - + reinterpret_cast(&_impl_.wheelcount_)) + sizeof(_impl_.tireaspectratio_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1) +} + +inline void VehicleChassisAxleRow1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.wheel_){nullptr} + , decltype(_impl_.wheelcount_) { 0u } + + , decltype(_impl_.wheeldiameter_) { 0 } + + , decltype(_impl_.wheelwidth_) { 0 } + + , decltype(_impl_.tirediameter_) { 0 } + + , decltype(_impl_.tirewidth_) { 0u } + + , decltype(_impl_.tireaspectratio_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1::~VehicleChassisAxleRow1() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.wheel_; +} + +void VehicleChassisAxleRow1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.wheel_ != nullptr) { + delete _impl_.wheel_; + } + _impl_.wheel_ = nullptr; + ::memset(&_impl_.wheelcount_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tireaspectratio_) - + reinterpret_cast(&_impl_.wheelcount_)) + sizeof(_impl_.tireaspectratio_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 WheelCount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.wheelcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float WheelDiameter = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.wheeldiameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float WheelWidth = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.wheelwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TireDiameter = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.tirediameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 TireWidth = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.tirewidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 TireAspectRatio = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.tireaspectratio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow1Wheel Wheel = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_wheel(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 WheelCount = 1; + if (this->_internal_wheelcount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_wheelcount(), target); + } + + // float WheelDiameter = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = this->_internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_wheeldiameter(), target); + } + + // float WheelWidth = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = this->_internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_wheelwidth(), target); + } + + // float TireDiameter = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = this->_internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_tirediameter(), target); + } + + // uint32 TireWidth = 5; + if (this->_internal_tirewidth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_tirewidth(), target); + } + + // uint32 TireAspectRatio = 6; + if (this->_internal_tireaspectratio() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_tireaspectratio(), target); + } + + // .vss.VehicleChassisAxleRow1Wheel Wheel = 7; + if (this->_internal_has_wheel()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::wheel(this), + _Internal::wheel(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1) + return target; +} + +::size_t VehicleChassisAxleRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1Wheel Wheel = 7; + if (this->_internal_has_wheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.wheel_); + } + + // uint32 WheelCount = 1; + if (this->_internal_wheelcount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_wheelcount()); + } + + // float WheelDiameter = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = this->_internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + total_size += 5; + } + + // float WheelWidth = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = this->_internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + total_size += 5; + } + + // float TireDiameter = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = this->_internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + total_size += 5; + } + + // uint32 TireWidth = 5; + if (this->_internal_tirewidth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_tirewidth()); + } + + // uint32 TireAspectRatio = 6; + if (this->_internal_tireaspectratio() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_tireaspectratio()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_wheel()) { + _this->_internal_mutable_wheel()->::vss::VehicleChassisAxleRow1Wheel::MergeFrom( + from._internal_wheel()); + } + if (from._internal_wheelcount() != 0) { + _this->_internal_set_wheelcount(from._internal_wheelcount()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = from._internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + _this->_internal_set_wheeldiameter(from._internal_wheeldiameter()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = from._internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + _this->_internal_set_wheelwidth(from._internal_wheelwidth()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = from._internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + _this->_internal_set_tirediameter(from._internal_tirediameter()); + } + if (from._internal_tirewidth() != 0) { + _this->_internal_set_tirewidth(from._internal_tirewidth()); + } + if (from._internal_tireaspectratio() != 0) { + _this->_internal_set_tireaspectratio(from._internal_tireaspectratio()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1::CopyFrom(const VehicleChassisAxleRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1::InternalSwap(VehicleChassisAxleRow1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1, _impl_.tireaspectratio_) + + sizeof(VehicleChassisAxleRow1::_impl_.tireaspectratio_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1, _impl_.wheel_)>( + reinterpret_cast(&_impl_.wheel_), + reinterpret_cast(&other->_impl_.wheel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[220]); +} +// =================================================================== + +class VehicleChassisAxleRow1Wheel::_Internal { + public: + static const ::vss::VehicleChassisAxleRow1WheelLeft& left(const VehicleChassisAxleRow1Wheel* msg); + static const ::vss::VehicleChassisAxleRow1WheelRight& right(const VehicleChassisAxleRow1Wheel* msg); +}; + +const ::vss::VehicleChassisAxleRow1WheelLeft& +VehicleChassisAxleRow1Wheel::_Internal::left(const VehicleChassisAxleRow1Wheel* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleChassisAxleRow1WheelRight& +VehicleChassisAxleRow1Wheel::_Internal::right(const VehicleChassisAxleRow1Wheel* msg) { + return *msg->_impl_.right_; +} +VehicleChassisAxleRow1Wheel::VehicleChassisAxleRow1Wheel(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1Wheel) +} +VehicleChassisAxleRow1Wheel::VehicleChassisAxleRow1Wheel(const VehicleChassisAxleRow1Wheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow1Wheel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleChassisAxleRow1WheelLeft(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleChassisAxleRow1WheelRight(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1Wheel) +} + +inline void VehicleChassisAxleRow1Wheel::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1Wheel::~VehicleChassisAxleRow1Wheel() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1Wheel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1Wheel::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleChassisAxleRow1Wheel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1Wheel::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1Wheel) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1Wheel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow1WheelLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow1WheelRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1Wheel::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1Wheel) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelLeft Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow1WheelRight Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1Wheel) + return target; +} + +::size_t VehicleChassisAxleRow1Wheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1Wheel) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelLeft Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleChassisAxleRow1WheelRight Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1Wheel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1Wheel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1Wheel::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1Wheel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1Wheel) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleChassisAxleRow1WheelLeft::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleChassisAxleRow1WheelRight::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1Wheel::CopyFrom(const VehicleChassisAxleRow1Wheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1Wheel::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1Wheel::InternalSwap(VehicleChassisAxleRow1Wheel* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1Wheel, _impl_.right_) + + sizeof(VehicleChassisAxleRow1Wheel::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1Wheel, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1Wheel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[221]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelLeft::_Internal { + public: + static const ::vss::VehicleChassisAxleRow1WheelLeftBrake& brake(const VehicleChassisAxleRow1WheelLeft* msg); + static const ::vss::VehicleChassisAxleRow1WheelLeftTire& tire(const VehicleChassisAxleRow1WheelLeft* msg); +}; + +const ::vss::VehicleChassisAxleRow1WheelLeftBrake& +VehicleChassisAxleRow1WheelLeft::_Internal::brake(const VehicleChassisAxleRow1WheelLeft* msg) { + return *msg->_impl_.brake_; +} +const ::vss::VehicleChassisAxleRow1WheelLeftTire& +VehicleChassisAxleRow1WheelLeft::_Internal::tire(const VehicleChassisAxleRow1WheelLeft* msg) { + return *msg->_impl_.tire_; +} +VehicleChassisAxleRow1WheelLeft::VehicleChassisAxleRow1WheelLeft(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelLeft) +} +VehicleChassisAxleRow1WheelLeft::VehicleChassisAxleRow1WheelLeft(const VehicleChassisAxleRow1WheelLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow1WheelLeft* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleChassisAxleRow1WheelLeftBrake(*from._impl_.brake_); + } + if (from._internal_has_tire()) { + _this->_impl_.tire_ = new ::vss::VehicleChassisAxleRow1WheelLeftTire(*from._impl_.tire_); + } + _this->_impl_.speed_ = from._impl_.speed_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelLeft) +} + +inline void VehicleChassisAxleRow1WheelLeft::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelLeft::~VehicleChassisAxleRow1WheelLeft() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelLeft) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelLeft::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.brake_; + if (this != internal_default_instance()) delete _impl_.tire_; +} + +void VehicleChassisAxleRow1WheelLeft::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelLeft) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tire_ != nullptr) { + delete _impl_.tire_; + } + _impl_.tire_ = nullptr; + _impl_.speed_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelLeft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 29)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelLeft::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelLeft) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + if (this->_internal_has_tire()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::tire(this), + _Internal::tire(this).GetCachedSize(), target, stream); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelLeft) + return target; +} + +::size_t VehicleChassisAxleRow1WheelLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelLeft) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // .vss.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + if (this->_internal_has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tire_); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelLeft::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelLeft::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelLeft::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelLeft::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelLeft) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleChassisAxleRow1WheelLeftBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_has_tire()) { + _this->_internal_mutable_tire()->::vss::VehicleChassisAxleRow1WheelLeftTire::MergeFrom( + from._internal_tire()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelLeft::CopyFrom(const VehicleChassisAxleRow1WheelLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeft::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeft::InternalSwap(VehicleChassisAxleRow1WheelLeft* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeft, _impl_.speed_) + + sizeof(VehicleChassisAxleRow1WheelLeft::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeft, _impl_.brake_)>( + reinterpret_cast(&_impl_.brake_), + reinterpret_cast(&other->_impl_.brake_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeft::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[222]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelLeftBrake::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelLeftBrake::VehicleChassisAxleRow1WheelLeftBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelLeftBrake) +} +VehicleChassisAxleRow1WheelLeftBrake::VehicleChassisAxleRow1WheelLeftBrake(const VehicleChassisAxleRow1WheelLeftBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelLeftBrake) +} + +inline void VehicleChassisAxleRow1WheelLeftBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.fluidlevel_) { 0u } + + , decltype(_impl_.padwear_) { 0u } + + , decltype(_impl_.isfluidlevellow_) { false } + + , decltype(_impl_.isbrakesworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelLeftBrake::~VehicleChassisAxleRow1WheelLeftBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelLeftBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelLeftBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow1WheelLeftBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelLeftBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelLeftBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.fluidlevel_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbrakesworn_) - + reinterpret_cast(&_impl_.fluidlevel_)) + sizeof(_impl_.isbrakesworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelLeftBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelLeftBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelLeftBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelLeftBrake) + return target; +} + +::size_t VehicleChassisAxleRow1WheelLeftBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelLeftBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + total_size += 2; + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelLeftBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelLeftBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelLeftBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelLeftBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelLeftBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_fluidlevel() != 0) { + _this->_internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from._internal_padwear() != 0) { + _this->_internal_set_padwear(from._internal_padwear()); + } + if (from._internal_isfluidlevellow() != 0) { + _this->_internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from._internal_isbrakesworn() != 0) { + _this->_internal_set_isbrakesworn(from._internal_isbrakesworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelLeftBrake::CopyFrom(const VehicleChassisAxleRow1WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeftBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeftBrake::InternalSwap(VehicleChassisAxleRow1WheelLeftBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeftBrake, _impl_.isbrakesworn_) + + sizeof(VehicleChassisAxleRow1WheelLeftBrake::_impl_.isbrakesworn_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeftBrake, _impl_.fluidlevel_)>( + reinterpret_cast(&_impl_.fluidlevel_), + reinterpret_cast(&other->_impl_.fluidlevel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeftBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[223]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelLeftTire::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelLeftTire::VehicleChassisAxleRow1WheelLeftTire(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelLeftTire) +} +VehicleChassisAxleRow1WheelLeftTire::VehicleChassisAxleRow1WheelLeftTire(const VehicleChassisAxleRow1WheelLeftTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelLeftTire) +} + +inline void VehicleChassisAxleRow1WheelLeftTire::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pressure_) { 0u } + + , decltype(_impl_.ispressurelow_) { false } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelLeftTire::~VehicleChassisAxleRow1WheelLeftTire() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelLeftTire) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelLeftTire::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow1WheelLeftTire::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelLeftTire::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelLeftTire) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.pressure_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.pressure_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelLeftTire::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelLeftTire::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelLeftTire) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelLeftTire) + return target; +} + +::size_t VehicleChassisAxleRow1WheelLeftTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelLeftTire) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + total_size += 2; + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelLeftTire::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelLeftTire::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelLeftTire::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelLeftTire::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelLeftTire) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pressure() != 0) { + _this->_internal_set_pressure(from._internal_pressure()); + } + if (from._internal_ispressurelow() != 0) { + _this->_internal_set_ispressurelow(from._internal_ispressurelow()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelLeftTire::CopyFrom(const VehicleChassisAxleRow1WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeftTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeftTire::InternalSwap(VehicleChassisAxleRow1WheelLeftTire* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeftTire, _impl_.temperature_) + + sizeof(VehicleChassisAxleRow1WheelLeftTire::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelLeftTire, _impl_.pressure_)>( + reinterpret_cast(&_impl_.pressure_), + reinterpret_cast(&other->_impl_.pressure_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeftTire::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[224]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelRight::_Internal { + public: + static const ::vss::VehicleChassisAxleRow1WheelRightBrake& brake(const VehicleChassisAxleRow1WheelRight* msg); + static const ::vss::VehicleChassisAxleRow1WheelRightTire& tire(const VehicleChassisAxleRow1WheelRight* msg); +}; + +const ::vss::VehicleChassisAxleRow1WheelRightBrake& +VehicleChassisAxleRow1WheelRight::_Internal::brake(const VehicleChassisAxleRow1WheelRight* msg) { + return *msg->_impl_.brake_; +} +const ::vss::VehicleChassisAxleRow1WheelRightTire& +VehicleChassisAxleRow1WheelRight::_Internal::tire(const VehicleChassisAxleRow1WheelRight* msg) { + return *msg->_impl_.tire_; +} +VehicleChassisAxleRow1WheelRight::VehicleChassisAxleRow1WheelRight(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelRight) +} +VehicleChassisAxleRow1WheelRight::VehicleChassisAxleRow1WheelRight(const VehicleChassisAxleRow1WheelRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow1WheelRight* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleChassisAxleRow1WheelRightBrake(*from._impl_.brake_); + } + if (from._internal_has_tire()) { + _this->_impl_.tire_ = new ::vss::VehicleChassisAxleRow1WheelRightTire(*from._impl_.tire_); + } + _this->_impl_.speed_ = from._impl_.speed_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelRight) +} + +inline void VehicleChassisAxleRow1WheelRight::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelRight::~VehicleChassisAxleRow1WheelRight() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelRight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelRight::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.brake_; + if (this != internal_default_instance()) delete _impl_.tire_; +} + +void VehicleChassisAxleRow1WheelRight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelRight::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelRight) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tire_ != nullptr) { + delete _impl_.tire_; + } + _impl_.tire_ = nullptr; + _impl_.speed_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelRight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow1WheelRightTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 29)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelRight::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelRight) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow1WheelRightTire Tire = 2; + if (this->_internal_has_tire()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::tire(this), + _Internal::tire(this).GetCachedSize(), target, stream); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelRight) + return target; +} + +::size_t VehicleChassisAxleRow1WheelRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelRight) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // .vss.VehicleChassisAxleRow1WheelRightTire Tire = 2; + if (this->_internal_has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tire_); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelRight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelRight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelRight::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelRight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelRight) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleChassisAxleRow1WheelRightBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_has_tire()) { + _this->_internal_mutable_tire()->::vss::VehicleChassisAxleRow1WheelRightTire::MergeFrom( + from._internal_tire()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelRight::CopyFrom(const VehicleChassisAxleRow1WheelRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRight::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRight::InternalSwap(VehicleChassisAxleRow1WheelRight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRight, _impl_.speed_) + + sizeof(VehicleChassisAxleRow1WheelRight::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRight, _impl_.brake_)>( + reinterpret_cast(&_impl_.brake_), + reinterpret_cast(&other->_impl_.brake_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[225]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelRightBrake::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelRightBrake::VehicleChassisAxleRow1WheelRightBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelRightBrake) +} +VehicleChassisAxleRow1WheelRightBrake::VehicleChassisAxleRow1WheelRightBrake(const VehicleChassisAxleRow1WheelRightBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelRightBrake) +} + +inline void VehicleChassisAxleRow1WheelRightBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.fluidlevel_) { 0u } + + , decltype(_impl_.padwear_) { 0u } + + , decltype(_impl_.isfluidlevellow_) { false } + + , decltype(_impl_.isbrakesworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelRightBrake::~VehicleChassisAxleRow1WheelRightBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelRightBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelRightBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow1WheelRightBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelRightBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelRightBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.fluidlevel_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbrakesworn_) - + reinterpret_cast(&_impl_.fluidlevel_)) + sizeof(_impl_.isbrakesworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelRightBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelRightBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelRightBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelRightBrake) + return target; +} + +::size_t VehicleChassisAxleRow1WheelRightBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelRightBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + total_size += 2; + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelRightBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelRightBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelRightBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelRightBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelRightBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_fluidlevel() != 0) { + _this->_internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from._internal_padwear() != 0) { + _this->_internal_set_padwear(from._internal_padwear()); + } + if (from._internal_isfluidlevellow() != 0) { + _this->_internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from._internal_isbrakesworn() != 0) { + _this->_internal_set_isbrakesworn(from._internal_isbrakesworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelRightBrake::CopyFrom(const VehicleChassisAxleRow1WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRightBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRightBrake::InternalSwap(VehicleChassisAxleRow1WheelRightBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRightBrake, _impl_.isbrakesworn_) + + sizeof(VehicleChassisAxleRow1WheelRightBrake::_impl_.isbrakesworn_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRightBrake, _impl_.fluidlevel_)>( + reinterpret_cast(&_impl_.fluidlevel_), + reinterpret_cast(&other->_impl_.fluidlevel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRightBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[226]); +} +// =================================================================== + +class VehicleChassisAxleRow1WheelRightTire::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelRightTire::VehicleChassisAxleRow1WheelRightTire(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow1WheelRightTire) +} +VehicleChassisAxleRow1WheelRightTire::VehicleChassisAxleRow1WheelRightTire(const VehicleChassisAxleRow1WheelRightTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow1WheelRightTire) +} + +inline void VehicleChassisAxleRow1WheelRightTire::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pressure_) { 0u } + + , decltype(_impl_.ispressurelow_) { false } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow1WheelRightTire::~VehicleChassisAxleRow1WheelRightTire() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow1WheelRightTire) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow1WheelRightTire::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow1WheelRightTire::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow1WheelRightTire::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow1WheelRightTire) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.pressure_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.pressure_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow1WheelRightTire::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow1WheelRightTire::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow1WheelRightTire) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow1WheelRightTire) + return target; +} + +::size_t VehicleChassisAxleRow1WheelRightTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow1WheelRightTire) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + total_size += 2; + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow1WheelRightTire::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow1WheelRightTire::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow1WheelRightTire::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow1WheelRightTire::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow1WheelRightTire) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pressure() != 0) { + _this->_internal_set_pressure(from._internal_pressure()); + } + if (from._internal_ispressurelow() != 0) { + _this->_internal_set_ispressurelow(from._internal_ispressurelow()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow1WheelRightTire::CopyFrom(const VehicleChassisAxleRow1WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow1WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRightTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRightTire::InternalSwap(VehicleChassisAxleRow1WheelRightTire* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRightTire, _impl_.temperature_) + + sizeof(VehicleChassisAxleRow1WheelRightTire::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow1WheelRightTire, _impl_.pressure_)>( + reinterpret_cast(&_impl_.pressure_), + reinterpret_cast(&other->_impl_.pressure_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRightTire::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[227]); +} +// =================================================================== + +class VehicleChassisAxleRow2::_Internal { + public: + static const ::vss::VehicleChassisAxleRow2Wheel& wheel(const VehicleChassisAxleRow2* msg); +}; + +const ::vss::VehicleChassisAxleRow2Wheel& +VehicleChassisAxleRow2::_Internal::wheel(const VehicleChassisAxleRow2* msg) { + return *msg->_impl_.wheel_; +} +VehicleChassisAxleRow2::VehicleChassisAxleRow2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2) +} +VehicleChassisAxleRow2::VehicleChassisAxleRow2(const VehicleChassisAxleRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.wheel_){nullptr} + , decltype(_impl_.wheelcount_) {} + + , decltype(_impl_.wheeldiameter_) {} + + , decltype(_impl_.wheelwidth_) {} + + , decltype(_impl_.tirediameter_) {} + + , decltype(_impl_.tirewidth_) {} + + , decltype(_impl_.tireaspectratio_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_wheel()) { + _this->_impl_.wheel_ = new ::vss::VehicleChassisAxleRow2Wheel(*from._impl_.wheel_); + } + ::memcpy(&_impl_.wheelcount_, &from._impl_.wheelcount_, + static_cast<::size_t>(reinterpret_cast(&_impl_.tireaspectratio_) - + reinterpret_cast(&_impl_.wheelcount_)) + sizeof(_impl_.tireaspectratio_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2) +} + +inline void VehicleChassisAxleRow2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.wheel_){nullptr} + , decltype(_impl_.wheelcount_) { 0u } + + , decltype(_impl_.wheeldiameter_) { 0 } + + , decltype(_impl_.wheelwidth_) { 0 } + + , decltype(_impl_.tirediameter_) { 0 } + + , decltype(_impl_.tirewidth_) { 0u } + + , decltype(_impl_.tireaspectratio_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2::~VehicleChassisAxleRow2() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.wheel_; +} + +void VehicleChassisAxleRow2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.wheel_ != nullptr) { + delete _impl_.wheel_; + } + _impl_.wheel_ = nullptr; + ::memset(&_impl_.wheelcount_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.tireaspectratio_) - + reinterpret_cast(&_impl_.wheelcount_)) + sizeof(_impl_.tireaspectratio_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 WheelCount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.wheelcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float WheelDiameter = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.wheeldiameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float WheelWidth = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.wheelwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TireDiameter = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.tirediameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 TireWidth = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { + _impl_.tirewidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 TireAspectRatio = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.tireaspectratio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow2Wheel Wheel = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_wheel(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 WheelCount = 1; + if (this->_internal_wheelcount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_wheelcount(), target); + } + + // float WheelDiameter = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = this->_internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_wheeldiameter(), target); + } + + // float WheelWidth = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = this->_internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_wheelwidth(), target); + } + + // float TireDiameter = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = this->_internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_tirediameter(), target); + } + + // uint32 TireWidth = 5; + if (this->_internal_tirewidth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this->_internal_tirewidth(), target); + } + + // uint32 TireAspectRatio = 6; + if (this->_internal_tireaspectratio() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_tireaspectratio(), target); + } + + // .vss.VehicleChassisAxleRow2Wheel Wheel = 7; + if (this->_internal_has_wheel()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::wheel(this), + _Internal::wheel(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2) + return target; +} + +::size_t VehicleChassisAxleRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2Wheel Wheel = 7; + if (this->_internal_has_wheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.wheel_); + } + + // uint32 WheelCount = 1; + if (this->_internal_wheelcount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_wheelcount()); + } + + // float WheelDiameter = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = this->_internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + total_size += 5; + } + + // float WheelWidth = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = this->_internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + total_size += 5; + } + + // float TireDiameter = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = this->_internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + total_size += 5; + } + + // uint32 TireWidth = 5; + if (this->_internal_tirewidth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_tirewidth()); + } + + // uint32 TireAspectRatio = 6; + if (this->_internal_tireaspectratio() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_tireaspectratio()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_wheel()) { + _this->_internal_mutable_wheel()->::vss::VehicleChassisAxleRow2Wheel::MergeFrom( + from._internal_wheel()); + } + if (from._internal_wheelcount() != 0) { + _this->_internal_set_wheelcount(from._internal_wheelcount()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheeldiameter = from._internal_wheeldiameter(); + ::uint32_t raw_wheeldiameter; + memcpy(&raw_wheeldiameter, &tmp_wheeldiameter, sizeof(tmp_wheeldiameter)); + if (raw_wheeldiameter != 0) { + _this->_internal_set_wheeldiameter(from._internal_wheeldiameter()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_wheelwidth = from._internal_wheelwidth(); + ::uint32_t raw_wheelwidth; + memcpy(&raw_wheelwidth, &tmp_wheelwidth, sizeof(tmp_wheelwidth)); + if (raw_wheelwidth != 0) { + _this->_internal_set_wheelwidth(from._internal_wheelwidth()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_tirediameter = from._internal_tirediameter(); + ::uint32_t raw_tirediameter; + memcpy(&raw_tirediameter, &tmp_tirediameter, sizeof(tmp_tirediameter)); + if (raw_tirediameter != 0) { + _this->_internal_set_tirediameter(from._internal_tirediameter()); + } + if (from._internal_tirewidth() != 0) { + _this->_internal_set_tirewidth(from._internal_tirewidth()); + } + if (from._internal_tireaspectratio() != 0) { + _this->_internal_set_tireaspectratio(from._internal_tireaspectratio()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2::CopyFrom(const VehicleChassisAxleRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2::InternalSwap(VehicleChassisAxleRow2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2, _impl_.tireaspectratio_) + + sizeof(VehicleChassisAxleRow2::_impl_.tireaspectratio_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2, _impl_.wheel_)>( + reinterpret_cast(&_impl_.wheel_), + reinterpret_cast(&other->_impl_.wheel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[228]); +} +// =================================================================== + +class VehicleChassisAxleRow2Wheel::_Internal { + public: + static const ::vss::VehicleChassisAxleRow2WheelLeft& left(const VehicleChassisAxleRow2Wheel* msg); + static const ::vss::VehicleChassisAxleRow2WheelRight& right(const VehicleChassisAxleRow2Wheel* msg); +}; + +const ::vss::VehicleChassisAxleRow2WheelLeft& +VehicleChassisAxleRow2Wheel::_Internal::left(const VehicleChassisAxleRow2Wheel* msg) { + return *msg->_impl_.left_; +} +const ::vss::VehicleChassisAxleRow2WheelRight& +VehicleChassisAxleRow2Wheel::_Internal::right(const VehicleChassisAxleRow2Wheel* msg) { + return *msg->_impl_.right_; +} +VehicleChassisAxleRow2Wheel::VehicleChassisAxleRow2Wheel(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2Wheel) +} +VehicleChassisAxleRow2Wheel::VehicleChassisAxleRow2Wheel(const VehicleChassisAxleRow2Wheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow2Wheel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_left()) { + _this->_impl_.left_ = new ::vss::VehicleChassisAxleRow2WheelLeft(*from._impl_.left_); + } + if (from._internal_has_right()) { + _this->_impl_.right_ = new ::vss::VehicleChassisAxleRow2WheelRight(*from._impl_.right_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2Wheel) +} + +inline void VehicleChassisAxleRow2Wheel::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.left_){nullptr} + , decltype(_impl_.right_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2Wheel::~VehicleChassisAxleRow2Wheel() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2Wheel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2Wheel::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.left_; + if (this != internal_default_instance()) delete _impl_.right_; +} + +void VehicleChassisAxleRow2Wheel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2Wheel::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2Wheel) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.left_ != nullptr) { + delete _impl_.left_; + } + _impl_.left_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.right_ != nullptr) { + delete _impl_.right_; + } + _impl_.right_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2Wheel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow2WheelLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow2WheelRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2Wheel::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2Wheel) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelLeft Left = 1; + if (this->_internal_has_left()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::left(this), + _Internal::left(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow2WheelRight Right = 2; + if (this->_internal_has_right()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::right(this), + _Internal::right(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2Wheel) + return target; +} + +::size_t VehicleChassisAxleRow2Wheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2Wheel) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelLeft Left = 1; + if (this->_internal_has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.left_); + } + + // .vss.VehicleChassisAxleRow2WheelRight Right = 2; + if (this->_internal_has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.right_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2Wheel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2Wheel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2Wheel::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2Wheel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2Wheel) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_left()) { + _this->_internal_mutable_left()->::vss::VehicleChassisAxleRow2WheelLeft::MergeFrom( + from._internal_left()); + } + if (from._internal_has_right()) { + _this->_internal_mutable_right()->::vss::VehicleChassisAxleRow2WheelRight::MergeFrom( + from._internal_right()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2Wheel::CopyFrom(const VehicleChassisAxleRow2Wheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2Wheel::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2Wheel::InternalSwap(VehicleChassisAxleRow2Wheel* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2Wheel, _impl_.right_) + + sizeof(VehicleChassisAxleRow2Wheel::_impl_.right_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2Wheel, _impl_.left_)>( + reinterpret_cast(&_impl_.left_), + reinterpret_cast(&other->_impl_.left_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2Wheel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[229]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelLeft::_Internal { + public: + static const ::vss::VehicleChassisAxleRow2WheelLeftBrake& brake(const VehicleChassisAxleRow2WheelLeft* msg); + static const ::vss::VehicleChassisAxleRow2WheelLeftTire& tire(const VehicleChassisAxleRow2WheelLeft* msg); +}; + +const ::vss::VehicleChassisAxleRow2WheelLeftBrake& +VehicleChassisAxleRow2WheelLeft::_Internal::brake(const VehicleChassisAxleRow2WheelLeft* msg) { + return *msg->_impl_.brake_; +} +const ::vss::VehicleChassisAxleRow2WheelLeftTire& +VehicleChassisAxleRow2WheelLeft::_Internal::tire(const VehicleChassisAxleRow2WheelLeft* msg) { + return *msg->_impl_.tire_; +} +VehicleChassisAxleRow2WheelLeft::VehicleChassisAxleRow2WheelLeft(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelLeft) +} +VehicleChassisAxleRow2WheelLeft::VehicleChassisAxleRow2WheelLeft(const VehicleChassisAxleRow2WheelLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow2WheelLeft* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleChassisAxleRow2WheelLeftBrake(*from._impl_.brake_); + } + if (from._internal_has_tire()) { + _this->_impl_.tire_ = new ::vss::VehicleChassisAxleRow2WheelLeftTire(*from._impl_.tire_); + } + _this->_impl_.speed_ = from._impl_.speed_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelLeft) +} + +inline void VehicleChassisAxleRow2WheelLeft::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelLeft::~VehicleChassisAxleRow2WheelLeft() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelLeft) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelLeft::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.brake_; + if (this != internal_default_instance()) delete _impl_.tire_; +} + +void VehicleChassisAxleRow2WheelLeft::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelLeft) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tire_ != nullptr) { + delete _impl_.tire_; + } + _impl_.tire_ = nullptr; + _impl_.speed_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelLeft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 29)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelLeft::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelLeft) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + if (this->_internal_has_tire()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::tire(this), + _Internal::tire(this).GetCachedSize(), target, stream); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelLeft) + return target; +} + +::size_t VehicleChassisAxleRow2WheelLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelLeft) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // .vss.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + if (this->_internal_has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tire_); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelLeft::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelLeft::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelLeft::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelLeft::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelLeft) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleChassisAxleRow2WheelLeftBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_has_tire()) { + _this->_internal_mutable_tire()->::vss::VehicleChassisAxleRow2WheelLeftTire::MergeFrom( + from._internal_tire()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelLeft::CopyFrom(const VehicleChassisAxleRow2WheelLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeft::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeft::InternalSwap(VehicleChassisAxleRow2WheelLeft* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeft, _impl_.speed_) + + sizeof(VehicleChassisAxleRow2WheelLeft::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeft, _impl_.brake_)>( + reinterpret_cast(&_impl_.brake_), + reinterpret_cast(&other->_impl_.brake_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeft::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[230]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelLeftBrake::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelLeftBrake::VehicleChassisAxleRow2WheelLeftBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelLeftBrake) +} +VehicleChassisAxleRow2WheelLeftBrake::VehicleChassisAxleRow2WheelLeftBrake(const VehicleChassisAxleRow2WheelLeftBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelLeftBrake) +} + +inline void VehicleChassisAxleRow2WheelLeftBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.fluidlevel_) { 0u } + + , decltype(_impl_.padwear_) { 0u } + + , decltype(_impl_.isfluidlevellow_) { false } + + , decltype(_impl_.isbrakesworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelLeftBrake::~VehicleChassisAxleRow2WheelLeftBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelLeftBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelLeftBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow2WheelLeftBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelLeftBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelLeftBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.fluidlevel_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbrakesworn_) - + reinterpret_cast(&_impl_.fluidlevel_)) + sizeof(_impl_.isbrakesworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelLeftBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelLeftBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelLeftBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelLeftBrake) + return target; +} + +::size_t VehicleChassisAxleRow2WheelLeftBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelLeftBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + total_size += 2; + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelLeftBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelLeftBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelLeftBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelLeftBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelLeftBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_fluidlevel() != 0) { + _this->_internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from._internal_padwear() != 0) { + _this->_internal_set_padwear(from._internal_padwear()); + } + if (from._internal_isfluidlevellow() != 0) { + _this->_internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from._internal_isbrakesworn() != 0) { + _this->_internal_set_isbrakesworn(from._internal_isbrakesworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelLeftBrake::CopyFrom(const VehicleChassisAxleRow2WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeftBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeftBrake::InternalSwap(VehicleChassisAxleRow2WheelLeftBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeftBrake, _impl_.isbrakesworn_) + + sizeof(VehicleChassisAxleRow2WheelLeftBrake::_impl_.isbrakesworn_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeftBrake, _impl_.fluidlevel_)>( + reinterpret_cast(&_impl_.fluidlevel_), + reinterpret_cast(&other->_impl_.fluidlevel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeftBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[231]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelLeftTire::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelLeftTire::VehicleChassisAxleRow2WheelLeftTire(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelLeftTire) +} +VehicleChassisAxleRow2WheelLeftTire::VehicleChassisAxleRow2WheelLeftTire(const VehicleChassisAxleRow2WheelLeftTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelLeftTire) +} + +inline void VehicleChassisAxleRow2WheelLeftTire::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pressure_) { 0u } + + , decltype(_impl_.ispressurelow_) { false } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelLeftTire::~VehicleChassisAxleRow2WheelLeftTire() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelLeftTire) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelLeftTire::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow2WheelLeftTire::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelLeftTire::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelLeftTire) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.pressure_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.pressure_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelLeftTire::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelLeftTire::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelLeftTire) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelLeftTire) + return target; +} + +::size_t VehicleChassisAxleRow2WheelLeftTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelLeftTire) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + total_size += 2; + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelLeftTire::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelLeftTire::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelLeftTire::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelLeftTire::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelLeftTire) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pressure() != 0) { + _this->_internal_set_pressure(from._internal_pressure()); + } + if (from._internal_ispressurelow() != 0) { + _this->_internal_set_ispressurelow(from._internal_ispressurelow()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelLeftTire::CopyFrom(const VehicleChassisAxleRow2WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeftTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeftTire::InternalSwap(VehicleChassisAxleRow2WheelLeftTire* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeftTire, _impl_.temperature_) + + sizeof(VehicleChassisAxleRow2WheelLeftTire::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelLeftTire, _impl_.pressure_)>( + reinterpret_cast(&_impl_.pressure_), + reinterpret_cast(&other->_impl_.pressure_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeftTire::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[232]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelRight::_Internal { + public: + static const ::vss::VehicleChassisAxleRow2WheelRightBrake& brake(const VehicleChassisAxleRow2WheelRight* msg); + static const ::vss::VehicleChassisAxleRow2WheelRightTire& tire(const VehicleChassisAxleRow2WheelRight* msg); +}; + +const ::vss::VehicleChassisAxleRow2WheelRightBrake& +VehicleChassisAxleRow2WheelRight::_Internal::brake(const VehicleChassisAxleRow2WheelRight* msg) { + return *msg->_impl_.brake_; +} +const ::vss::VehicleChassisAxleRow2WheelRightTire& +VehicleChassisAxleRow2WheelRight::_Internal::tire(const VehicleChassisAxleRow2WheelRight* msg) { + return *msg->_impl_.tire_; +} +VehicleChassisAxleRow2WheelRight::VehicleChassisAxleRow2WheelRight(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelRight) +} +VehicleChassisAxleRow2WheelRight::VehicleChassisAxleRow2WheelRight(const VehicleChassisAxleRow2WheelRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisAxleRow2WheelRight* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_brake()) { + _this->_impl_.brake_ = new ::vss::VehicleChassisAxleRow2WheelRightBrake(*from._impl_.brake_); + } + if (from._internal_has_tire()) { + _this->_impl_.tire_ = new ::vss::VehicleChassisAxleRow2WheelRightTire(*from._impl_.tire_); + } + _this->_impl_.speed_ = from._impl_.speed_; + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelRight) +} + +inline void VehicleChassisAxleRow2WheelRight::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.brake_){nullptr} + , decltype(_impl_.tire_){nullptr} + , decltype(_impl_.speed_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelRight::~VehicleChassisAxleRow2WheelRight() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelRight) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelRight::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.brake_; + if (this != internal_default_instance()) delete _impl_.tire_; +} + +void VehicleChassisAxleRow2WheelRight::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelRight::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelRight) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.brake_ != nullptr) { + delete _impl_.brake_; + } + _impl_.brake_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.tire_ != nullptr) { + delete _impl_.tire_; + } + _impl_.tire_ = nullptr; + _impl_.speed_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelRight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleChassisAxleRow2WheelRightTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 29)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelRight::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelRight) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + if (this->_internal_has_brake()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::brake(this), + _Internal::brake(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleChassisAxleRow2WheelRightTire Tire = 2; + if (this->_internal_has_tire()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::tire(this), + _Internal::tire(this).GetCachedSize(), target, stream); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelRight) + return target; +} + +::size_t VehicleChassisAxleRow2WheelRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelRight) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + if (this->_internal_has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.brake_); + } + + // .vss.VehicleChassisAxleRow2WheelRightTire Tire = 2; + if (this->_internal_has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.tire_); + } + + // float Speed = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelRight::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelRight::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelRight::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelRight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelRight) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_brake()) { + _this->_internal_mutable_brake()->::vss::VehicleChassisAxleRow2WheelRightBrake::MergeFrom( + from._internal_brake()); + } + if (from._internal_has_tire()) { + _this->_internal_mutable_tire()->::vss::VehicleChassisAxleRow2WheelRightTire::MergeFrom( + from._internal_tire()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelRight::CopyFrom(const VehicleChassisAxleRow2WheelRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRight::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRight::InternalSwap(VehicleChassisAxleRow2WheelRight* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRight, _impl_.speed_) + + sizeof(VehicleChassisAxleRow2WheelRight::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRight, _impl_.brake_)>( + reinterpret_cast(&_impl_.brake_), + reinterpret_cast(&other->_impl_.brake_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRight::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[233]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelRightBrake::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelRightBrake::VehicleChassisAxleRow2WheelRightBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelRightBrake) +} +VehicleChassisAxleRow2WheelRightBrake::VehicleChassisAxleRow2WheelRightBrake(const VehicleChassisAxleRow2WheelRightBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelRightBrake) +} + +inline void VehicleChassisAxleRow2WheelRightBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.fluidlevel_) { 0u } + + , decltype(_impl_.padwear_) { 0u } + + , decltype(_impl_.isfluidlevellow_) { false } + + , decltype(_impl_.isbrakesworn_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelRightBrake::~VehicleChassisAxleRow2WheelRightBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelRightBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelRightBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow2WheelRightBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelRightBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelRightBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.fluidlevel_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isbrakesworn_) - + reinterpret_cast(&_impl_.fluidlevel_)) + sizeof(_impl_.isbrakesworn_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelRightBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelRightBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelRightBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelRightBrake) + return target; +} + +::size_t VehicleChassisAxleRow2WheelRightBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelRightBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->_internal_fluidlevel() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->_internal_padwear() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->_internal_isfluidlevellow() != 0) { + total_size += 2; + } + + // bool IsBrakesWorn = 4; + if (this->_internal_isbrakesworn() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelRightBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelRightBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelRightBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelRightBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelRightBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_fluidlevel() != 0) { + _this->_internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from._internal_padwear() != 0) { + _this->_internal_set_padwear(from._internal_padwear()); + } + if (from._internal_isfluidlevellow() != 0) { + _this->_internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from._internal_isbrakesworn() != 0) { + _this->_internal_set_isbrakesworn(from._internal_isbrakesworn()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelRightBrake::CopyFrom(const VehicleChassisAxleRow2WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRightBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRightBrake::InternalSwap(VehicleChassisAxleRow2WheelRightBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRightBrake, _impl_.isbrakesworn_) + + sizeof(VehicleChassisAxleRow2WheelRightBrake::_impl_.isbrakesworn_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRightBrake, _impl_.fluidlevel_)>( + reinterpret_cast(&_impl_.fluidlevel_), + reinterpret_cast(&other->_impl_.fluidlevel_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRightBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[234]); +} +// =================================================================== + +class VehicleChassisAxleRow2WheelRightTire::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelRightTire::VehicleChassisAxleRow2WheelRightTire(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAxleRow2WheelRightTire) +} +VehicleChassisAxleRow2WheelRightTire::VehicleChassisAxleRow2WheelRightTire(const VehicleChassisAxleRow2WheelRightTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAxleRow2WheelRightTire) +} + +inline void VehicleChassisAxleRow2WheelRightTire::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pressure_) { 0u } + + , decltype(_impl_.ispressurelow_) { false } + + , decltype(_impl_.temperature_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAxleRow2WheelRightTire::~VehicleChassisAxleRow2WheelRightTire() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAxleRow2WheelRightTire) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAxleRow2WheelRightTire::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAxleRow2WheelRightTire::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAxleRow2WheelRightTire::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAxleRow2WheelRightTire) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.pressure_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature_) - + reinterpret_cast(&_impl_.pressure_)) + sizeof(_impl_.temperature_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAxleRow2WheelRightTire::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAxleRow2WheelRightTire::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAxleRow2WheelRightTire) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAxleRow2WheelRightTire) + return target; +} + +::size_t VehicleChassisAxleRow2WheelRightTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAxleRow2WheelRightTire) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->_internal_pressure() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->_internal_ispressurelow() != 0) { + total_size += 2; + } + + // float Temperature = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = this->_internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAxleRow2WheelRightTire::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAxleRow2WheelRightTire::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAxleRow2WheelRightTire::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAxleRow2WheelRightTire::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAxleRow2WheelRightTire) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pressure() != 0) { + _this->_internal_set_pressure(from._internal_pressure()); + } + if (from._internal_ispressurelow() != 0) { + _this->_internal_set_ispressurelow(from._internal_ispressurelow()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature = from._internal_temperature(); + ::uint32_t raw_temperature; + memcpy(&raw_temperature, &tmp_temperature, sizeof(tmp_temperature)); + if (raw_temperature != 0) { + _this->_internal_set_temperature(from._internal_temperature()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAxleRow2WheelRightTire::CopyFrom(const VehicleChassisAxleRow2WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAxleRow2WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRightTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRightTire::InternalSwap(VehicleChassisAxleRow2WheelRightTire* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRightTire, _impl_.temperature_) + + sizeof(VehicleChassisAxleRow2WheelRightTire::_impl_.temperature_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisAxleRow2WheelRightTire, _impl_.pressure_)>( + reinterpret_cast(&_impl_.pressure_), + reinterpret_cast(&other->_impl_.pressure_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRightTire::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[235]); +} +// =================================================================== + +class VehicleChassisParkingBrake::_Internal { + public: +}; + +VehicleChassisParkingBrake::VehicleChassisParkingBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisParkingBrake) +} +VehicleChassisParkingBrake::VehicleChassisParkingBrake(const VehicleChassisParkingBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisParkingBrake) +} + +inline void VehicleChassisParkingBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isengaged_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisParkingBrake::~VehicleChassisParkingBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisParkingBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisParkingBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisParkingBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisParkingBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisParkingBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isengaged_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisParkingBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisParkingBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisParkingBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEngaged = 1; + if (this->_internal_isengaged() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisParkingBrake) + return target; +} + +::size_t VehicleChassisParkingBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisParkingBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEngaged = 1; + if (this->_internal_isengaged() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisParkingBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisParkingBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisParkingBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisParkingBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisParkingBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isengaged() != 0) { + _this->_internal_set_isengaged(from._internal_isengaged()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisParkingBrake::CopyFrom(const VehicleChassisParkingBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisParkingBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisParkingBrake::IsInitialized() const { + return true; +} + +void VehicleChassisParkingBrake::InternalSwap(VehicleChassisParkingBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isengaged_, other->_impl_.isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisParkingBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[236]); +} +// =================================================================== + +class VehicleChassisSteeringWheel::_Internal { + public: +}; + +VehicleChassisSteeringWheel::VehicleChassisSteeringWheel(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisSteeringWheel) +} +VehicleChassisSteeringWheel::VehicleChassisSteeringWheel(const VehicleChassisSteeringWheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleChassisSteeringWheel* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.position_) {} + + , decltype(_impl_.angle_) {} + + , decltype(_impl_.tilt_) {} + + , decltype(_impl_.extension_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.position_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.position_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_position().empty()) { + _this->_impl_.position_.Set(from._internal_position(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.angle_, &from._impl_.angle_, + static_cast<::size_t>(reinterpret_cast(&_impl_.extension_) - + reinterpret_cast(&_impl_.angle_)) + sizeof(_impl_.extension_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisSteeringWheel) +} + +inline void VehicleChassisSteeringWheel::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.position_) {} + + , decltype(_impl_.angle_) { 0 } + + , decltype(_impl_.tilt_) { 0u } + + , decltype(_impl_.extension_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.position_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.position_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleChassisSteeringWheel::~VehicleChassisSteeringWheel() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisSteeringWheel) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisSteeringWheel::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.position_.Destroy(); +} + +void VehicleChassisSteeringWheel::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisSteeringWheel::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisSteeringWheel) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.position_.ClearToEmpty(); + ::memset(&_impl_.angle_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.extension_) - + reinterpret_cast(&_impl_.angle_)) + sizeof(_impl_.extension_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisSteeringWheel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 Angle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Tilt = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 Extension = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.extension_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string Position = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_position(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleChassisSteeringWheel.Position")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisSteeringWheel::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisSteeringWheel) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Angle = 1; + if (this->_internal_angle() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 1, this->_internal_angle(), target); + } + + // uint32 Tilt = 2; + if (this->_internal_tilt() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_tilt(), target); + } + + // uint32 Extension = 3; + if (this->_internal_extension() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this->_internal_extension(), target); + } + + // string Position = 4; + if (!this->_internal_position().empty()) { + const std::string& _s = this->_internal_position(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleChassisSteeringWheel.Position"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisSteeringWheel) + return target; +} + +::size_t VehicleChassisSteeringWheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisSteeringWheel) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Position = 4; + if (!this->_internal_position().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_position()); + } + + // int32 Angle = 1; + if (this->_internal_angle() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_angle()); + } + + // uint32 Tilt = 2; + if (this->_internal_tilt() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_tilt()); + } + + // uint32 Extension = 3; + if (this->_internal_extension() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_extension()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisSteeringWheel::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisSteeringWheel::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisSteeringWheel::GetClassData() const { return &_class_data_; } + + +void VehicleChassisSteeringWheel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisSteeringWheel) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_position().empty()) { + _this->_internal_set_position(from._internal_position()); + } + if (from._internal_angle() != 0) { + _this->_internal_set_angle(from._internal_angle()); + } + if (from._internal_tilt() != 0) { + _this->_internal_set_tilt(from._internal_tilt()); + } + if (from._internal_extension() != 0) { + _this->_internal_set_extension(from._internal_extension()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisSteeringWheel::CopyFrom(const VehicleChassisSteeringWheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisSteeringWheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisSteeringWheel::IsInitialized() const { + return true; +} + +void VehicleChassisSteeringWheel::InternalSwap(VehicleChassisSteeringWheel* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.position_, lhs_arena, + &other->_impl_.position_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisSteeringWheel, _impl_.extension_) + + sizeof(VehicleChassisSteeringWheel::_impl_.extension_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisSteeringWheel, _impl_.angle_)>( + reinterpret_cast(&_impl_.angle_), + reinterpret_cast(&other->_impl_.angle_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisSteeringWheel::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[237]); +} +// =================================================================== + +class VehicleChassisAccelerator::_Internal { + public: +}; + +VehicleChassisAccelerator::VehicleChassisAccelerator(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisAccelerator) +} +VehicleChassisAccelerator::VehicleChassisAccelerator(const VehicleChassisAccelerator& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisAccelerator) +} + +inline void VehicleChassisAccelerator::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pedalposition_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisAccelerator::~VehicleChassisAccelerator() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisAccelerator) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisAccelerator::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisAccelerator::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisAccelerator::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisAccelerator) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pedalposition_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisAccelerator::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 PedalPosition = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pedalposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisAccelerator::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisAccelerator) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->_internal_pedalposition() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pedalposition(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisAccelerator) + return target; +} + +::size_t VehicleChassisAccelerator::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisAccelerator) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->_internal_pedalposition() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pedalposition()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisAccelerator::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisAccelerator::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisAccelerator::GetClassData() const { return &_class_data_; } + + +void VehicleChassisAccelerator::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisAccelerator) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pedalposition() != 0) { + _this->_internal_set_pedalposition(from._internal_pedalposition()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisAccelerator::CopyFrom(const VehicleChassisAccelerator& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisAccelerator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAccelerator::IsInitialized() const { + return true; +} + +void VehicleChassisAccelerator::InternalSwap(VehicleChassisAccelerator* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.pedalposition_, other->_impl_.pedalposition_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAccelerator::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[238]); +} +// =================================================================== + +class VehicleChassisBrake::_Internal { + public: +}; + +VehicleChassisBrake::VehicleChassisBrake(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleChassisBrake) +} +VehicleChassisBrake::VehicleChassisBrake(const VehicleChassisBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleChassisBrake) +} + +inline void VehicleChassisBrake::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.pedalposition_) { 0u } + + , decltype(_impl_.isdriveremergencybrakingdetected_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleChassisBrake::~VehicleChassisBrake() { + // @@protoc_insertion_point(destructor:vss.VehicleChassisBrake) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleChassisBrake::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleChassisBrake::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleChassisBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleChassisBrake) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.pedalposition_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.isdriveremergencybrakingdetected_) - + reinterpret_cast(&_impl_.pedalposition_)) + sizeof(_impl_.isdriveremergencybrakingdetected_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleChassisBrake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 PedalPosition = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pedalposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsDriverEmergencyBrakingDetected = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.isdriveremergencybrakingdetected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleChassisBrake::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleChassisBrake) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->_internal_pedalposition() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pedalposition(), target); + } + + // bool IsDriverEmergencyBrakingDetected = 2; + if (this->_internal_isdriveremergencybrakingdetected() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this->_internal_isdriveremergencybrakingdetected(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleChassisBrake) + return target; +} + +::size_t VehicleChassisBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleChassisBrake) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->_internal_pedalposition() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pedalposition()); + } + + // bool IsDriverEmergencyBrakingDetected = 2; + if (this->_internal_isdriveremergencybrakingdetected() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleChassisBrake::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleChassisBrake::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleChassisBrake::GetClassData() const { return &_class_data_; } + + +void VehicleChassisBrake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleChassisBrake) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_pedalposition() != 0) { + _this->_internal_set_pedalposition(from._internal_pedalposition()); + } + if (from._internal_isdriveremergencybrakingdetected() != 0) { + _this->_internal_set_isdriveremergencybrakingdetected(from._internal_isdriveremergencybrakingdetected()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleChassisBrake::CopyFrom(const VehicleChassisBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleChassisBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisBrake::IsInitialized() const { + return true; +} + +void VehicleChassisBrake::InternalSwap(VehicleChassisBrake* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleChassisBrake, _impl_.isdriveremergencybrakingdetected_) + + sizeof(VehicleChassisBrake::_impl_.isdriveremergencybrakingdetected_) + - PROTOBUF_FIELD_OFFSET(VehicleChassisBrake, _impl_.pedalposition_)>( + reinterpret_cast(&_impl_.pedalposition_), + reinterpret_cast(&other->_impl_.pedalposition_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisBrake::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[239]); +} +// =================================================================== + +class VehicleOBD::_Internal { + public: + static const ::vss::VehicleOBDStatus& status(const VehicleOBD* msg); + static const ::vss::VehicleOBDO2& o2(const VehicleOBD* msg); + static const ::vss::VehicleOBDO2WR& o2wr(const VehicleOBD* msg); + static const ::vss::VehicleOBDCatalyst& catalyst(const VehicleOBD* msg); + static const ::vss::VehicleOBDDriveCycleStatus& drivecyclestatus(const VehicleOBD* msg); +}; + +const ::vss::VehicleOBDStatus& +VehicleOBD::_Internal::status(const VehicleOBD* msg) { + return *msg->_impl_.status_; +} +const ::vss::VehicleOBDO2& +VehicleOBD::_Internal::o2(const VehicleOBD* msg) { + return *msg->_impl_.o2_; +} +const ::vss::VehicleOBDO2WR& +VehicleOBD::_Internal::o2wr(const VehicleOBD* msg) { + return *msg->_impl_.o2wr_; +} +const ::vss::VehicleOBDCatalyst& +VehicleOBD::_Internal::catalyst(const VehicleOBD* msg) { + return *msg->_impl_.catalyst_; +} +const ::vss::VehicleOBDDriveCycleStatus& +VehicleOBD::_Internal::drivecyclestatus(const VehicleOBD* msg) { + return *msg->_impl_.drivecyclestatus_; +} +VehicleOBD::VehicleOBD(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBD) +} +VehicleOBD::VehicleOBD(const VehicleOBD& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBD* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.dtclist_){from._impl_.dtclist_} + , decltype(_impl_.freezedtc_) {} + + , decltype(_impl_.fuelstatus_) {} + + , decltype(_impl_.airstatus_) {} + + , decltype(_impl_.fueltype_) {} + + , decltype(_impl_.status_){nullptr} + , decltype(_impl_.o2_){nullptr} + , decltype(_impl_.o2wr_){nullptr} + , decltype(_impl_.catalyst_){nullptr} + , decltype(_impl_.drivecyclestatus_){nullptr} + , decltype(_impl_.pidsa_) {} + + , decltype(_impl_.engineload_) {} + + , decltype(_impl_.coolanttemperature_) {} + + , decltype(_impl_.shorttermfueltrim1_) {} + + , decltype(_impl_.longtermfueltrim1_) {} + + , decltype(_impl_.shorttermfueltrim2_) {} + + , decltype(_impl_.longtermfueltrim2_) {} + + , decltype(_impl_.fuelpressure_) {} + + , decltype(_impl_.map_) {} + + , decltype(_impl_.enginespeed_) {} + + , decltype(_impl_.speed_) {} + + , decltype(_impl_.timingadvance_) {} + + , decltype(_impl_.intaketemp_) {} + + , decltype(_impl_.maf_) {} + + , decltype(_impl_.throttleposition_) {} + + , decltype(_impl_.oxygensensorsin2banks_) {} + + , decltype(_impl_.obdstandards_) {} + + , decltype(_impl_.oxygensensorsin4banks_) {} + + , decltype(_impl_.isptoactive_) {} + + , decltype(_impl_.runtime_) {} + + , decltype(_impl_.pidsb_) {} + + , decltype(_impl_.distancewithmil_) {} + + , decltype(_impl_.fuelrailpressurevac_) {} + + , decltype(_impl_.fuelrailpressuredirect_) {} + + , decltype(_impl_.commandedegr_) {} + + , decltype(_impl_.egrerror_) {} + + , decltype(_impl_.commandedevap_) {} + + , decltype(_impl_.fuellevel_) {} + + , decltype(_impl_.warmupssincedtcclear_) {} + + , decltype(_impl_.distancesincedtcclear_) {} + + , decltype(_impl_.evapvaporpressure_) {} + + , decltype(_impl_.barometricpressure_) {} + + , decltype(_impl_.pidsc_) {} + + , decltype(_impl_.controlmodulevoltage_) {} + + , decltype(_impl_.absoluteload_) {} + + , decltype(_impl_.commandedequivalenceratio_) {} + + , decltype(_impl_.relativethrottleposition_) {} + + , decltype(_impl_.ambientairtemperature_) {} + + , decltype(_impl_.throttlepositionb_) {} + + , decltype(_impl_.throttlepositionc_) {} + + , decltype(_impl_.acceleratorpositiond_) {} + + , decltype(_impl_.acceleratorpositione_) {} + + , decltype(_impl_.acceleratorpositionf_) {} + + , decltype(_impl_.throttleactuator_) {} + + , decltype(_impl_.runtimemil_) {} + + , decltype(_impl_.timesincedtccleared_) {} + + , decltype(_impl_.maxmaf_) {} + + , decltype(_impl_.ethanolpercent_) {} + + , decltype(_impl_.evapvaporpressureabsolute_) {} + + , decltype(_impl_.evapvaporpressurealternate_) {} + + , decltype(_impl_.shorttermo2trim1_) {} + + , decltype(_impl_.shorttermo2trim3_) {} + + , decltype(_impl_.longtermo2trim1_) {} + + , decltype(_impl_.longtermo2trim3_) {} + + , decltype(_impl_.shorttermo2trim2_) {} + + , decltype(_impl_.shorttermo2trim4_) {} + + , decltype(_impl_.longtermo2trim2_) {} + + , decltype(_impl_.longtermo2trim4_) {} + + , decltype(_impl_.fuelrailpressureabsolute_) {} + + , decltype(_impl_.relativeacceleratorposition_) {} + + , decltype(_impl_.hybridbatteryremaining_) {} + + , decltype(_impl_.oiltemperature_) {} + + , decltype(_impl_.fuelinjectiontiming_) {} + + , decltype(_impl_.fuelrate_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.freezedtc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.freezedtc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_freezedtc().empty()) { + _this->_impl_.freezedtc_.Set(from._internal_freezedtc(), _this->GetArenaForAllocation()); + } + _impl_.fuelstatus_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelstatus_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fuelstatus().empty()) { + _this->_impl_.fuelstatus_.Set(from._internal_fuelstatus(), _this->GetArenaForAllocation()); + } + _impl_.airstatus_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airstatus_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_airstatus().empty()) { + _this->_impl_.airstatus_.Set(from._internal_airstatus(), _this->GetArenaForAllocation()); + } + _impl_.fueltype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueltype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_fueltype().empty()) { + _this->_impl_.fueltype_.Set(from._internal_fueltype(), _this->GetArenaForAllocation()); + } + if (from._internal_has_status()) { + _this->_impl_.status_ = new ::vss::VehicleOBDStatus(*from._impl_.status_); + } + if (from._internal_has_o2()) { + _this->_impl_.o2_ = new ::vss::VehicleOBDO2(*from._impl_.o2_); + } + if (from._internal_has_o2wr()) { + _this->_impl_.o2wr_ = new ::vss::VehicleOBDO2WR(*from._impl_.o2wr_); + } + if (from._internal_has_catalyst()) { + _this->_impl_.catalyst_ = new ::vss::VehicleOBDCatalyst(*from._impl_.catalyst_); + } + if (from._internal_has_drivecyclestatus()) { + _this->_impl_.drivecyclestatus_ = new ::vss::VehicleOBDDriveCycleStatus(*from._impl_.drivecyclestatus_); + } + ::memcpy(&_impl_.pidsa_, &from._impl_.pidsa_, + static_cast<::size_t>(reinterpret_cast(&_impl_.fuelrate_) - + reinterpret_cast(&_impl_.pidsa_)) + sizeof(_impl_.fuelrate_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBD) +} + +inline void VehicleOBD::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.dtclist_){arena} + , decltype(_impl_.freezedtc_) {} + + , decltype(_impl_.fuelstatus_) {} + + , decltype(_impl_.airstatus_) {} + + , decltype(_impl_.fueltype_) {} + + , decltype(_impl_.status_){nullptr} + , decltype(_impl_.o2_){nullptr} + , decltype(_impl_.o2wr_){nullptr} + , decltype(_impl_.catalyst_){nullptr} + , decltype(_impl_.drivecyclestatus_){nullptr} + , decltype(_impl_.pidsa_) { 0u } + + , decltype(_impl_.engineload_) { 0 } + + , decltype(_impl_.coolanttemperature_) { 0 } + + , decltype(_impl_.shorttermfueltrim1_) { 0 } + + , decltype(_impl_.longtermfueltrim1_) { 0 } + + , decltype(_impl_.shorttermfueltrim2_) { 0 } + + , decltype(_impl_.longtermfueltrim2_) { 0 } + + , decltype(_impl_.fuelpressure_) { 0 } + + , decltype(_impl_.map_) { 0 } + + , decltype(_impl_.enginespeed_) { 0 } + + , decltype(_impl_.speed_) { 0 } + + , decltype(_impl_.timingadvance_) { 0 } + + , decltype(_impl_.intaketemp_) { 0 } + + , decltype(_impl_.maf_) { 0 } + + , decltype(_impl_.throttleposition_) { 0 } + + , decltype(_impl_.oxygensensorsin2banks_) { 0u } + + , decltype(_impl_.obdstandards_) { 0u } + + , decltype(_impl_.oxygensensorsin4banks_) { 0u } + + , decltype(_impl_.isptoactive_) { false } + + , decltype(_impl_.runtime_) { 0 } + + , decltype(_impl_.pidsb_) { 0u } + + , decltype(_impl_.distancewithmil_) { 0 } + + , decltype(_impl_.fuelrailpressurevac_) { 0 } + + , decltype(_impl_.fuelrailpressuredirect_) { 0 } + + , decltype(_impl_.commandedegr_) { 0 } + + , decltype(_impl_.egrerror_) { 0 } + + , decltype(_impl_.commandedevap_) { 0 } + + , decltype(_impl_.fuellevel_) { 0 } + + , decltype(_impl_.warmupssincedtcclear_) { 0u } + + , decltype(_impl_.distancesincedtcclear_) { 0 } + + , decltype(_impl_.evapvaporpressure_) { 0 } + + , decltype(_impl_.barometricpressure_) { 0 } + + , decltype(_impl_.pidsc_) { 0u } + + , decltype(_impl_.controlmodulevoltage_) { 0 } + + , decltype(_impl_.absoluteload_) { 0 } + + , decltype(_impl_.commandedequivalenceratio_) { 0 } + + , decltype(_impl_.relativethrottleposition_) { 0 } + + , decltype(_impl_.ambientairtemperature_) { 0 } + + , decltype(_impl_.throttlepositionb_) { 0 } + + , decltype(_impl_.throttlepositionc_) { 0 } + + , decltype(_impl_.acceleratorpositiond_) { 0 } + + , decltype(_impl_.acceleratorpositione_) { 0 } + + , decltype(_impl_.acceleratorpositionf_) { 0 } + + , decltype(_impl_.throttleactuator_) { 0 } + + , decltype(_impl_.runtimemil_) { 0 } + + , decltype(_impl_.timesincedtccleared_) { 0 } + + , decltype(_impl_.maxmaf_) { 0 } + + , decltype(_impl_.ethanolpercent_) { 0 } + + , decltype(_impl_.evapvaporpressureabsolute_) { 0 } + + , decltype(_impl_.evapvaporpressurealternate_) { 0 } + + , decltype(_impl_.shorttermo2trim1_) { 0 } + + , decltype(_impl_.shorttermo2trim3_) { 0 } + + , decltype(_impl_.longtermo2trim1_) { 0 } + + , decltype(_impl_.longtermo2trim3_) { 0 } + + , decltype(_impl_.shorttermo2trim2_) { 0 } + + , decltype(_impl_.shorttermo2trim4_) { 0 } + + , decltype(_impl_.longtermo2trim2_) { 0 } + + , decltype(_impl_.longtermo2trim4_) { 0 } + + , decltype(_impl_.fuelrailpressureabsolute_) { 0 } + + , decltype(_impl_.relativeacceleratorposition_) { 0 } + + , decltype(_impl_.hybridbatteryremaining_) { 0 } + + , decltype(_impl_.oiltemperature_) { 0 } + + , decltype(_impl_.fuelinjectiontiming_) { 0 } + + , decltype(_impl_.fuelrate_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.freezedtc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.freezedtc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelstatus_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fuelstatus_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airstatus_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.airstatus_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueltype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.fueltype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleOBD::~VehicleOBD() { + // @@protoc_insertion_point(destructor:vss.VehicleOBD) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBD::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.dtclist_.~RepeatedPtrField(); + _impl_.freezedtc_.Destroy(); + _impl_.fuelstatus_.Destroy(); + _impl_.airstatus_.Destroy(); + _impl_.fueltype_.Destroy(); + if (this != internal_default_instance()) delete _impl_.status_; + if (this != internal_default_instance()) delete _impl_.o2_; + if (this != internal_default_instance()) delete _impl_.o2wr_; + if (this != internal_default_instance()) delete _impl_.catalyst_; + if (this != internal_default_instance()) delete _impl_.drivecyclestatus_; +} + +void VehicleOBD::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBD::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBD) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.dtclist_.Clear(); + _impl_.freezedtc_.ClearToEmpty(); + _impl_.fuelstatus_.ClearToEmpty(); + _impl_.airstatus_.ClearToEmpty(); + _impl_.fueltype_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.status_ != nullptr) { + delete _impl_.status_; + } + _impl_.status_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.o2_ != nullptr) { + delete _impl_.o2_; + } + _impl_.o2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.o2wr_ != nullptr) { + delete _impl_.o2wr_; + } + _impl_.o2wr_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.catalyst_ != nullptr) { + delete _impl_.catalyst_; + } + _impl_.catalyst_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.drivecyclestatus_ != nullptr) { + delete _impl_.drivecyclestatus_; + } + _impl_.drivecyclestatus_ = nullptr; + ::memset(&_impl_.pidsa_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.fuelrate_) - + reinterpret_cast(&_impl_.pidsa_)) + sizeof(_impl_.fuelrate_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBD::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 PidsA = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.pidsa_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDStatus Status = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_dtclist(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBD.DTCList")); + 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<::uint8_t>(tag) == 34)) { + auto str = _internal_mutable_freezedtc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBD.FreezeDTC")); + } else { + goto handle_unusual; + } + continue; + // string FuelStatus = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + auto str = _internal_mutable_fuelstatus(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBD.FuelStatus")); + } else { + goto handle_unusual; + } + continue; + // float EngineLoad = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.engineload_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CoolantTemperature = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) { + _impl_.coolanttemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim1 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.shorttermfueltrim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermFuelTrim1 = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 77)) { + _impl_.longtermfueltrim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim2 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 85)) { + _impl_.shorttermfueltrim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermFuelTrim2 = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 93)) { + _impl_.longtermfueltrim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelPressure = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 101)) { + _impl_.fuelpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float MAP = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) { + _impl_.map_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EngineSpeed = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) { + _impl_.enginespeed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Speed = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 125)) { + _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TimingAdvance = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 133)) { + _impl_.timingadvance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float IntakeTemp = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 141)) { + _impl_.intaketemp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float MAF = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 149)) { + _impl_.maf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ThrottlePosition = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 157)) { + _impl_.throttleposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // string AirStatus = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 162)) { + auto str = _internal_mutable_airstatus(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBD.AirStatus")); + } else { + goto handle_unusual; + } + continue; + // uint32 OxygenSensorsIn2Banks = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 168)) { + _impl_.oxygensensorsin2banks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2 O2 = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 184)) { + _impl_.obdstandards_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 OxygenSensorsIn4Banks = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 192)) { + _impl_.oxygensensorsin4banks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // bool IsPTOActive = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 200)) { + _impl_.isptoactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float RunTime = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 213)) { + _impl_.runtime_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 PidsB = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 216)) { + _impl_.pidsb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float DistanceWithMIL = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 229)) { + _impl_.distancewithmil_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelRailPressureVac = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 237)) { + _impl_.fuelrailpressurevac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelRailPressureDirect = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 245)) { + _impl_.fuelrailpressuredirect_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WR O2WR = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 5)) { + _impl_.commandedegr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EGRError = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.egrerror_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CommandedEVAP = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.commandedevap_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelLevel = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.fuellevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 WarmupsSinceDTCClear = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) { + _impl_.warmupssincedtcclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float DistanceSinceDTCClear = 37; + case 37: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.distancesincedtcclear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EVAPVaporPressure = 38; + case 38: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.evapvaporpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float BarometricPressure = 39; + case 39: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) { + _impl_.barometricpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDCatalyst Catalyst = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 72)) { + _impl_.pidsc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 93)) { + _impl_.controlmodulevoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AbsoluteLoad = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 101)) { + _impl_.absoluteload_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float CommandedEquivalenceRatio = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 109)) { + _impl_.commandedequivalenceratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float RelativeThrottlePosition = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 117)) { + _impl_.relativethrottleposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AmbientAirTemperature = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 125)) { + _impl_.ambientairtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ThrottlePositionB = 48; + case 48: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 133)) { + _impl_.throttlepositionb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ThrottlePositionC = 49; + case 49: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 141)) { + _impl_.throttlepositionc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AcceleratorPositionD = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 149)) { + _impl_.acceleratorpositiond_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AcceleratorPositionE = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 157)) { + _impl_.acceleratorpositione_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float AcceleratorPositionF = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 165)) { + _impl_.acceleratorpositionf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ThrottleActuator = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 173)) { + _impl_.throttleactuator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float RunTimeMIL = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 181)) { + _impl_.runtimemil_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float TimeSinceDTCCleared = 55; + case 55: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 189)) { + _impl_.timesincedtccleared_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float MaxMAF = 56; + case 56: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 197)) { + _impl_.maxmaf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // string FuelType = 57; + case 57: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 202)) { + auto str = _internal_mutable_fueltype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBD.FuelType")); + } else { + goto handle_unusual; + } + continue; + // float EthanolPercent = 58; + case 58: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 213)) { + _impl_.ethanolpercent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EVAPVaporPressureAbsolute = 59; + case 59: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 221)) { + _impl_.evapvaporpressureabsolute_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float EVAPVaporPressureAlternate = 60; + case 60: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 229)) { + _impl_.evapvaporpressurealternate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermO2Trim1 = 61; + case 61: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 237)) { + _impl_.shorttermo2trim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermO2Trim3 = 62; + case 62: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 245)) { + _impl_.shorttermo2trim3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermO2Trim1 = 63; + case 63: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 253)) { + _impl_.longtermo2trim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermO2Trim3 = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 5)) { + _impl_.longtermo2trim3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermO2Trim2 = 65; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.shorttermo2trim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermO2Trim4 = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermo2trim4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermO2Trim2 = 67; + case 67: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.longtermo2trim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LongTermO2Trim4 = 68; + case 68: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.longtermo2trim4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelRailPressureAbsolute = 69; + case 69: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.fuelrailpressureabsolute_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float RelativeAcceleratorPosition = 70; + case 70: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) { + _impl_.relativeacceleratorposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float HybridBatteryRemaining = 71; + case 71: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) { + _impl_.hybridbatteryremaining_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float OilTemperature = 72; + case 72: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 69)) { + _impl_.oiltemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelInjectionTiming = 73; + case 73: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 77)) { + _impl_.fuelinjectiontiming_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FuelRate = 74; + case 74: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 85)) { + _impl_.fuelrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBD::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBD) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PidsA = 1; + if (this->_internal_pidsa() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this->_internal_pidsa(), target); + } + + // .vss.VehicleOBDStatus Status = 2; + if (this->_internal_has_status()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::status(this), + _Internal::status(this).GetCachedSize(), 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(s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBD.DTCList"); + target = stream->WriteString(3, s, target); + } + + // string FreezeDTC = 4; + if (!this->_internal_freezedtc().empty()) { + const std::string& _s = this->_internal_freezedtc(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBD.FreezeDTC"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + // string FuelStatus = 5; + if (!this->_internal_fuelstatus().empty()) { + const std::string& _s = this->_internal_fuelstatus(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBD.FuelStatus"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + // float EngineLoad = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineload = this->_internal_engineload(); + ::uint32_t raw_engineload; + memcpy(&raw_engineload, &tmp_engineload, sizeof(tmp_engineload)); + if (raw_engineload != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this->_internal_engineload(), target); + } + + // float CoolantTemperature = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_coolanttemperature = this->_internal_coolanttemperature(); + ::uint32_t raw_coolanttemperature; + memcpy(&raw_coolanttemperature, &tmp_coolanttemperature, sizeof(tmp_coolanttemperature)); + if (raw_coolanttemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 7, this->_internal_coolanttemperature(), target); + } + + // float ShortTermFuelTrim1 = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim1 = this->_internal_shorttermfueltrim1(); + ::uint32_t raw_shorttermfueltrim1; + memcpy(&raw_shorttermfueltrim1, &tmp_shorttermfueltrim1, sizeof(tmp_shorttermfueltrim1)); + if (raw_shorttermfueltrim1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 8, this->_internal_shorttermfueltrim1(), target); + } + + // float LongTermFuelTrim1 = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim1 = this->_internal_longtermfueltrim1(); + ::uint32_t raw_longtermfueltrim1; + memcpy(&raw_longtermfueltrim1, &tmp_longtermfueltrim1, sizeof(tmp_longtermfueltrim1)); + if (raw_longtermfueltrim1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 9, this->_internal_longtermfueltrim1(), target); + } + + // float ShortTermFuelTrim2 = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim2 = this->_internal_shorttermfueltrim2(); + ::uint32_t raw_shorttermfueltrim2; + memcpy(&raw_shorttermfueltrim2, &tmp_shorttermfueltrim2, sizeof(tmp_shorttermfueltrim2)); + if (raw_shorttermfueltrim2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 10, this->_internal_shorttermfueltrim2(), target); + } + + // float LongTermFuelTrim2 = 11; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim2 = this->_internal_longtermfueltrim2(); + ::uint32_t raw_longtermfueltrim2; + memcpy(&raw_longtermfueltrim2, &tmp_longtermfueltrim2, sizeof(tmp_longtermfueltrim2)); + if (raw_longtermfueltrim2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 11, this->_internal_longtermfueltrim2(), target); + } + + // float FuelPressure = 12; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelpressure = this->_internal_fuelpressure(); + ::uint32_t raw_fuelpressure; + memcpy(&raw_fuelpressure, &tmp_fuelpressure, sizeof(tmp_fuelpressure)); + if (raw_fuelpressure != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 12, this->_internal_fuelpressure(), target); + } + + // float MAP = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_map = this->_internal_map(); + ::uint32_t raw_map; + memcpy(&raw_map, &tmp_map, sizeof(tmp_map)); + if (raw_map != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 13, this->_internal_map(), target); + } + + // float EngineSpeed = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginespeed = this->_internal_enginespeed(); + ::uint32_t raw_enginespeed; + memcpy(&raw_enginespeed, &tmp_enginespeed, sizeof(tmp_enginespeed)); + if (raw_enginespeed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 14, this->_internal_enginespeed(), target); + } + + // float Speed = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 15, this->_internal_speed(), target); + } + + // float TimingAdvance = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timingadvance = this->_internal_timingadvance(); + ::uint32_t raw_timingadvance; + memcpy(&raw_timingadvance, &tmp_timingadvance, sizeof(tmp_timingadvance)); + if (raw_timingadvance != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 16, this->_internal_timingadvance(), target); + } + + // float IntakeTemp = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_intaketemp = this->_internal_intaketemp(); + ::uint32_t raw_intaketemp; + memcpy(&raw_intaketemp, &tmp_intaketemp, sizeof(tmp_intaketemp)); + if (raw_intaketemp != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 17, this->_internal_intaketemp(), target); + } + + // float MAF = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maf = this->_internal_maf(); + ::uint32_t raw_maf; + memcpy(&raw_maf, &tmp_maf, sizeof(tmp_maf)); + if (raw_maf != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 18, this->_internal_maf(), target); + } + + // float ThrottlePosition = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleposition = this->_internal_throttleposition(); + ::uint32_t raw_throttleposition; + memcpy(&raw_throttleposition, &tmp_throttleposition, sizeof(tmp_throttleposition)); + if (raw_throttleposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 19, this->_internal_throttleposition(), target); + } + + // string AirStatus = 20; + if (!this->_internal_airstatus().empty()) { + const std::string& _s = this->_internal_airstatus(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBD.AirStatus"); + target = stream->WriteStringMaybeAliased(20, _s, target); + } + + // uint32 OxygenSensorsIn2Banks = 21; + if (this->_internal_oxygensensorsin2banks() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 21, this->_internal_oxygensensorsin2banks(), target); + } + + // .vss.VehicleOBDO2 O2 = 22; + if (this->_internal_has_o2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(22, _Internal::o2(this), + _Internal::o2(this).GetCachedSize(), target, stream); + } + + // uint32 OBDStandards = 23; + if (this->_internal_obdstandards() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 23, this->_internal_obdstandards(), target); + } + + // uint32 OxygenSensorsIn4Banks = 24; + if (this->_internal_oxygensensorsin4banks() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 24, this->_internal_oxygensensorsin4banks(), target); + } + + // bool IsPTOActive = 25; + if (this->_internal_isptoactive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 25, this->_internal_isptoactive(), target); + } + + // float RunTime = 26; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtime = this->_internal_runtime(); + ::uint32_t raw_runtime; + memcpy(&raw_runtime, &tmp_runtime, sizeof(tmp_runtime)); + if (raw_runtime != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 26, this->_internal_runtime(), target); + } + + // uint32 PidsB = 27; + if (this->_internal_pidsb() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 27, this->_internal_pidsb(), target); + } + + // float DistanceWithMIL = 28; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancewithmil = this->_internal_distancewithmil(); + ::uint32_t raw_distancewithmil; + memcpy(&raw_distancewithmil, &tmp_distancewithmil, sizeof(tmp_distancewithmil)); + if (raw_distancewithmil != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 28, this->_internal_distancewithmil(), target); + } + + // float FuelRailPressureVac = 29; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressurevac = this->_internal_fuelrailpressurevac(); + ::uint32_t raw_fuelrailpressurevac; + memcpy(&raw_fuelrailpressurevac, &tmp_fuelrailpressurevac, sizeof(tmp_fuelrailpressurevac)); + if (raw_fuelrailpressurevac != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 29, this->_internal_fuelrailpressurevac(), target); + } + + // float FuelRailPressureDirect = 30; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressuredirect = this->_internal_fuelrailpressuredirect(); + ::uint32_t raw_fuelrailpressuredirect; + memcpy(&raw_fuelrailpressuredirect, &tmp_fuelrailpressuredirect, sizeof(tmp_fuelrailpressuredirect)); + if (raw_fuelrailpressuredirect != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 30, this->_internal_fuelrailpressuredirect(), target); + } + + // .vss.VehicleOBDO2WR O2WR = 31; + if (this->_internal_has_o2wr()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(31, _Internal::o2wr(this), + _Internal::o2wr(this).GetCachedSize(), target, stream); + } + + // float CommandedEGR = 32; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedegr = this->_internal_commandedegr(); + ::uint32_t raw_commandedegr; + memcpy(&raw_commandedegr, &tmp_commandedegr, sizeof(tmp_commandedegr)); + if (raw_commandedegr != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 32, this->_internal_commandedegr(), target); + } + + // float EGRError = 33; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_egrerror = this->_internal_egrerror(); + ::uint32_t raw_egrerror; + memcpy(&raw_egrerror, &tmp_egrerror, sizeof(tmp_egrerror)); + if (raw_egrerror != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 33, this->_internal_egrerror(), target); + } + + // float CommandedEVAP = 34; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedevap = this->_internal_commandedevap(); + ::uint32_t raw_commandedevap; + memcpy(&raw_commandedevap, &tmp_commandedevap, sizeof(tmp_commandedevap)); + if (raw_commandedevap != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 34, this->_internal_commandedevap(), target); + } + + // float FuelLevel = 35; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuellevel = this->_internal_fuellevel(); + ::uint32_t raw_fuellevel; + memcpy(&raw_fuellevel, &tmp_fuellevel, sizeof(tmp_fuellevel)); + if (raw_fuellevel != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 35, this->_internal_fuellevel(), target); + } + + // uint32 WarmupsSinceDTCClear = 36; + if (this->_internal_warmupssincedtcclear() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 36, this->_internal_warmupssincedtcclear(), target); + } + + // float DistanceSinceDTCClear = 37; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancesincedtcclear = this->_internal_distancesincedtcclear(); + ::uint32_t raw_distancesincedtcclear; + memcpy(&raw_distancesincedtcclear, &tmp_distancesincedtcclear, sizeof(tmp_distancesincedtcclear)); + if (raw_distancesincedtcclear != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 37, this->_internal_distancesincedtcclear(), target); + } + + // float EVAPVaporPressure = 38; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressure = this->_internal_evapvaporpressure(); + ::uint32_t raw_evapvaporpressure; + memcpy(&raw_evapvaporpressure, &tmp_evapvaporpressure, sizeof(tmp_evapvaporpressure)); + if (raw_evapvaporpressure != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 38, this->_internal_evapvaporpressure(), target); + } + + // float BarometricPressure = 39; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_barometricpressure = this->_internal_barometricpressure(); + ::uint32_t raw_barometricpressure; + memcpy(&raw_barometricpressure, &tmp_barometricpressure, sizeof(tmp_barometricpressure)); + if (raw_barometricpressure != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 39, this->_internal_barometricpressure(), target); + } + + // .vss.VehicleOBDCatalyst Catalyst = 40; + if (this->_internal_has_catalyst()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(40, _Internal::catalyst(this), + _Internal::catalyst(this).GetCachedSize(), target, stream); + } + + // uint32 PidsC = 41; + if (this->_internal_pidsc() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 41, this->_internal_pidsc(), target); + } + + // .vss.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + if (this->_internal_has_drivecyclestatus()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(42, _Internal::drivecyclestatus(this), + _Internal::drivecyclestatus(this).GetCachedSize(), target, stream); + } + + // float ControlModuleVoltage = 43; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_controlmodulevoltage = this->_internal_controlmodulevoltage(); + ::uint32_t raw_controlmodulevoltage; + memcpy(&raw_controlmodulevoltage, &tmp_controlmodulevoltage, sizeof(tmp_controlmodulevoltage)); + if (raw_controlmodulevoltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 43, this->_internal_controlmodulevoltage(), target); + } + + // float AbsoluteLoad = 44; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_absoluteload = this->_internal_absoluteload(); + ::uint32_t raw_absoluteload; + memcpy(&raw_absoluteload, &tmp_absoluteload, sizeof(tmp_absoluteload)); + if (raw_absoluteload != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 44, this->_internal_absoluteload(), target); + } + + // float CommandedEquivalenceRatio = 45; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedequivalenceratio = this->_internal_commandedequivalenceratio(); + ::uint32_t raw_commandedequivalenceratio; + memcpy(&raw_commandedequivalenceratio, &tmp_commandedequivalenceratio, sizeof(tmp_commandedequivalenceratio)); + if (raw_commandedequivalenceratio != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 45, this->_internal_commandedequivalenceratio(), target); + } + + // float RelativeThrottlePosition = 46; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativethrottleposition = this->_internal_relativethrottleposition(); + ::uint32_t raw_relativethrottleposition; + memcpy(&raw_relativethrottleposition, &tmp_relativethrottleposition, sizeof(tmp_relativethrottleposition)); + if (raw_relativethrottleposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 46, this->_internal_relativethrottleposition(), target); + } + + // float AmbientAirTemperature = 47; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = this->_internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 47, this->_internal_ambientairtemperature(), target); + } + + // float ThrottlePositionB = 48; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionb = this->_internal_throttlepositionb(); + ::uint32_t raw_throttlepositionb; + memcpy(&raw_throttlepositionb, &tmp_throttlepositionb, sizeof(tmp_throttlepositionb)); + if (raw_throttlepositionb != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 48, this->_internal_throttlepositionb(), target); + } + + // float ThrottlePositionC = 49; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionc = this->_internal_throttlepositionc(); + ::uint32_t raw_throttlepositionc; + memcpy(&raw_throttlepositionc, &tmp_throttlepositionc, sizeof(tmp_throttlepositionc)); + if (raw_throttlepositionc != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 49, this->_internal_throttlepositionc(), target); + } + + // float AcceleratorPositionD = 50; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositiond = this->_internal_acceleratorpositiond(); + ::uint32_t raw_acceleratorpositiond; + memcpy(&raw_acceleratorpositiond, &tmp_acceleratorpositiond, sizeof(tmp_acceleratorpositiond)); + if (raw_acceleratorpositiond != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 50, this->_internal_acceleratorpositiond(), target); + } + + // float AcceleratorPositionE = 51; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositione = this->_internal_acceleratorpositione(); + ::uint32_t raw_acceleratorpositione; + memcpy(&raw_acceleratorpositione, &tmp_acceleratorpositione, sizeof(tmp_acceleratorpositione)); + if (raw_acceleratorpositione != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 51, this->_internal_acceleratorpositione(), target); + } + + // float AcceleratorPositionF = 52; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositionf = this->_internal_acceleratorpositionf(); + ::uint32_t raw_acceleratorpositionf; + memcpy(&raw_acceleratorpositionf, &tmp_acceleratorpositionf, sizeof(tmp_acceleratorpositionf)); + if (raw_acceleratorpositionf != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 52, this->_internal_acceleratorpositionf(), target); + } + + // float ThrottleActuator = 53; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleactuator = this->_internal_throttleactuator(); + ::uint32_t raw_throttleactuator; + memcpy(&raw_throttleactuator, &tmp_throttleactuator, sizeof(tmp_throttleactuator)); + if (raw_throttleactuator != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 53, this->_internal_throttleactuator(), target); + } + + // float RunTimeMIL = 54; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtimemil = this->_internal_runtimemil(); + ::uint32_t raw_runtimemil; + memcpy(&raw_runtimemil, &tmp_runtimemil, sizeof(tmp_runtimemil)); + if (raw_runtimemil != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 54, this->_internal_runtimemil(), target); + } + + // float TimeSinceDTCCleared = 55; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timesincedtccleared = this->_internal_timesincedtccleared(); + ::uint32_t raw_timesincedtccleared; + memcpy(&raw_timesincedtccleared, &tmp_timesincedtccleared, sizeof(tmp_timesincedtccleared)); + if (raw_timesincedtccleared != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 55, this->_internal_timesincedtccleared(), target); + } + + // float MaxMAF = 56; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maxmaf = this->_internal_maxmaf(); + ::uint32_t raw_maxmaf; + memcpy(&raw_maxmaf, &tmp_maxmaf, sizeof(tmp_maxmaf)); + if (raw_maxmaf != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 56, this->_internal_maxmaf(), target); + } + + // string FuelType = 57; + if (!this->_internal_fueltype().empty()) { + const std::string& _s = this->_internal_fueltype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBD.FuelType"); + target = stream->WriteStringMaybeAliased(57, _s, target); + } + + // float EthanolPercent = 58; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ethanolpercent = this->_internal_ethanolpercent(); + ::uint32_t raw_ethanolpercent; + memcpy(&raw_ethanolpercent, &tmp_ethanolpercent, sizeof(tmp_ethanolpercent)); + if (raw_ethanolpercent != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 58, this->_internal_ethanolpercent(), target); + } + + // float EVAPVaporPressureAbsolute = 59; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressureabsolute = this->_internal_evapvaporpressureabsolute(); + ::uint32_t raw_evapvaporpressureabsolute; + memcpy(&raw_evapvaporpressureabsolute, &tmp_evapvaporpressureabsolute, sizeof(tmp_evapvaporpressureabsolute)); + if (raw_evapvaporpressureabsolute != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 59, this->_internal_evapvaporpressureabsolute(), target); + } + + // float EVAPVaporPressureAlternate = 60; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressurealternate = this->_internal_evapvaporpressurealternate(); + ::uint32_t raw_evapvaporpressurealternate; + memcpy(&raw_evapvaporpressurealternate, &tmp_evapvaporpressurealternate, sizeof(tmp_evapvaporpressurealternate)); + if (raw_evapvaporpressurealternate != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 60, this->_internal_evapvaporpressurealternate(), target); + } + + // float ShortTermO2Trim1 = 61; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim1 = this->_internal_shorttermo2trim1(); + ::uint32_t raw_shorttermo2trim1; + memcpy(&raw_shorttermo2trim1, &tmp_shorttermo2trim1, sizeof(tmp_shorttermo2trim1)); + if (raw_shorttermo2trim1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 61, this->_internal_shorttermo2trim1(), target); + } + + // float ShortTermO2Trim3 = 62; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim3 = this->_internal_shorttermo2trim3(); + ::uint32_t raw_shorttermo2trim3; + memcpy(&raw_shorttermo2trim3, &tmp_shorttermo2trim3, sizeof(tmp_shorttermo2trim3)); + if (raw_shorttermo2trim3 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 62, this->_internal_shorttermo2trim3(), target); + } + + // float LongTermO2Trim1 = 63; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim1 = this->_internal_longtermo2trim1(); + ::uint32_t raw_longtermo2trim1; + memcpy(&raw_longtermo2trim1, &tmp_longtermo2trim1, sizeof(tmp_longtermo2trim1)); + if (raw_longtermo2trim1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 63, this->_internal_longtermo2trim1(), target); + } + + // float LongTermO2Trim3 = 64; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim3 = this->_internal_longtermo2trim3(); + ::uint32_t raw_longtermo2trim3; + memcpy(&raw_longtermo2trim3, &tmp_longtermo2trim3, sizeof(tmp_longtermo2trim3)); + if (raw_longtermo2trim3 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 64, this->_internal_longtermo2trim3(), target); + } + + // float ShortTermO2Trim2 = 65; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim2 = this->_internal_shorttermo2trim2(); + ::uint32_t raw_shorttermo2trim2; + memcpy(&raw_shorttermo2trim2, &tmp_shorttermo2trim2, sizeof(tmp_shorttermo2trim2)); + if (raw_shorttermo2trim2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 65, this->_internal_shorttermo2trim2(), target); + } + + // float ShortTermO2Trim4 = 66; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim4 = this->_internal_shorttermo2trim4(); + ::uint32_t raw_shorttermo2trim4; + memcpy(&raw_shorttermo2trim4, &tmp_shorttermo2trim4, sizeof(tmp_shorttermo2trim4)); + if (raw_shorttermo2trim4 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 66, this->_internal_shorttermo2trim4(), target); + } + + // float LongTermO2Trim2 = 67; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim2 = this->_internal_longtermo2trim2(); + ::uint32_t raw_longtermo2trim2; + memcpy(&raw_longtermo2trim2, &tmp_longtermo2trim2, sizeof(tmp_longtermo2trim2)); + if (raw_longtermo2trim2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 67, this->_internal_longtermo2trim2(), target); + } + + // float LongTermO2Trim4 = 68; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim4 = this->_internal_longtermo2trim4(); + ::uint32_t raw_longtermo2trim4; + memcpy(&raw_longtermo2trim4, &tmp_longtermo2trim4, sizeof(tmp_longtermo2trim4)); + if (raw_longtermo2trim4 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 68, this->_internal_longtermo2trim4(), target); + } + + // float FuelRailPressureAbsolute = 69; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressureabsolute = this->_internal_fuelrailpressureabsolute(); + ::uint32_t raw_fuelrailpressureabsolute; + memcpy(&raw_fuelrailpressureabsolute, &tmp_fuelrailpressureabsolute, sizeof(tmp_fuelrailpressureabsolute)); + if (raw_fuelrailpressureabsolute != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 69, this->_internal_fuelrailpressureabsolute(), target); + } + + // float RelativeAcceleratorPosition = 70; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativeacceleratorposition = this->_internal_relativeacceleratorposition(); + ::uint32_t raw_relativeacceleratorposition; + memcpy(&raw_relativeacceleratorposition, &tmp_relativeacceleratorposition, sizeof(tmp_relativeacceleratorposition)); + if (raw_relativeacceleratorposition != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 70, this->_internal_relativeacceleratorposition(), target); + } + + // float HybridBatteryRemaining = 71; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_hybridbatteryremaining = this->_internal_hybridbatteryremaining(); + ::uint32_t raw_hybridbatteryremaining; + memcpy(&raw_hybridbatteryremaining, &tmp_hybridbatteryremaining, sizeof(tmp_hybridbatteryremaining)); + if (raw_hybridbatteryremaining != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 71, this->_internal_hybridbatteryremaining(), target); + } + + // float OilTemperature = 72; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_oiltemperature = this->_internal_oiltemperature(); + ::uint32_t raw_oiltemperature; + memcpy(&raw_oiltemperature, &tmp_oiltemperature, sizeof(tmp_oiltemperature)); + if (raw_oiltemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 72, this->_internal_oiltemperature(), target); + } + + // float FuelInjectionTiming = 73; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelinjectiontiming = this->_internal_fuelinjectiontiming(); + ::uint32_t raw_fuelinjectiontiming; + memcpy(&raw_fuelinjectiontiming, &tmp_fuelinjectiontiming, sizeof(tmp_fuelinjectiontiming)); + if (raw_fuelinjectiontiming != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 73, this->_internal_fuelinjectiontiming(), target); + } + + // float FuelRate = 74; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrate = this->_internal_fuelrate(); + ::uint32_t raw_fuelrate; + memcpy(&raw_fuelrate, &tmp_fuelrate, sizeof(tmp_fuelrate)); + if (raw_fuelrate != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 74, this->_internal_fuelrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBD) + return target; +} + +::size_t VehicleOBD::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBD) + ::size_t total_size = 0; + + ::uint32_t 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(_impl_.dtclist_.size()); + for (int i = 0, n = _impl_.dtclist_.size(); i < n; ++i) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(_impl_.dtclist_.Get(i)); + } + + // string FreezeDTC = 4; + if (!this->_internal_freezedtc().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_freezedtc()); + } + + // string FuelStatus = 5; + if (!this->_internal_fuelstatus().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fuelstatus()); + } + + // string AirStatus = 20; + if (!this->_internal_airstatus().empty()) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airstatus()); + } + + // string FuelType = 57; + if (!this->_internal_fueltype().empty()) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fueltype()); + } + + // .vss.VehicleOBDStatus Status = 2; + if (this->_internal_has_status()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.status_); + } + + // .vss.VehicleOBDO2 O2 = 22; + if (this->_internal_has_o2()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.o2_); + } + + // .vss.VehicleOBDO2WR O2WR = 31; + if (this->_internal_has_o2wr()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.o2wr_); + } + + // .vss.VehicleOBDCatalyst Catalyst = 40; + if (this->_internal_has_catalyst()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.catalyst_); + } + + // .vss.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + if (this->_internal_has_drivecyclestatus()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.drivecyclestatus_); + } + + // uint32 PidsA = 1; + if (this->_internal_pidsa() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_pidsa()); + } + + // float EngineLoad = 6; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineload = this->_internal_engineload(); + ::uint32_t raw_engineload; + memcpy(&raw_engineload, &tmp_engineload, sizeof(tmp_engineload)); + if (raw_engineload != 0) { + total_size += 5; + } + + // float CoolantTemperature = 7; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_coolanttemperature = this->_internal_coolanttemperature(); + ::uint32_t raw_coolanttemperature; + memcpy(&raw_coolanttemperature, &tmp_coolanttemperature, sizeof(tmp_coolanttemperature)); + if (raw_coolanttemperature != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim1 = 8; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim1 = this->_internal_shorttermfueltrim1(); + ::uint32_t raw_shorttermfueltrim1; + memcpy(&raw_shorttermfueltrim1, &tmp_shorttermfueltrim1, sizeof(tmp_shorttermfueltrim1)); + if (raw_shorttermfueltrim1 != 0) { + total_size += 5; + } + + // float LongTermFuelTrim1 = 9; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim1 = this->_internal_longtermfueltrim1(); + ::uint32_t raw_longtermfueltrim1; + memcpy(&raw_longtermfueltrim1, &tmp_longtermfueltrim1, sizeof(tmp_longtermfueltrim1)); + if (raw_longtermfueltrim1 != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim2 = 10; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim2 = this->_internal_shorttermfueltrim2(); + ::uint32_t raw_shorttermfueltrim2; + memcpy(&raw_shorttermfueltrim2, &tmp_shorttermfueltrim2, sizeof(tmp_shorttermfueltrim2)); + if (raw_shorttermfueltrim2 != 0) { + total_size += 5; + } + + // float LongTermFuelTrim2 = 11; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim2 = this->_internal_longtermfueltrim2(); + ::uint32_t raw_longtermfueltrim2; + memcpy(&raw_longtermfueltrim2, &tmp_longtermfueltrim2, sizeof(tmp_longtermfueltrim2)); + if (raw_longtermfueltrim2 != 0) { + total_size += 5; + } + + // float FuelPressure = 12; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelpressure = this->_internal_fuelpressure(); + ::uint32_t raw_fuelpressure; + memcpy(&raw_fuelpressure, &tmp_fuelpressure, sizeof(tmp_fuelpressure)); + if (raw_fuelpressure != 0) { + total_size += 5; + } + + // float MAP = 13; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_map = this->_internal_map(); + ::uint32_t raw_map; + memcpy(&raw_map, &tmp_map, sizeof(tmp_map)); + if (raw_map != 0) { + total_size += 5; + } + + // float EngineSpeed = 14; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginespeed = this->_internal_enginespeed(); + ::uint32_t raw_enginespeed; + memcpy(&raw_enginespeed, &tmp_enginespeed, sizeof(tmp_enginespeed)); + if (raw_enginespeed != 0) { + total_size += 5; + } + + // float Speed = 15; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = this->_internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + total_size += 5; + } + + // float TimingAdvance = 16; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timingadvance = this->_internal_timingadvance(); + ::uint32_t raw_timingadvance; + memcpy(&raw_timingadvance, &tmp_timingadvance, sizeof(tmp_timingadvance)); + if (raw_timingadvance != 0) { + total_size += 6; + } + + // float IntakeTemp = 17; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_intaketemp = this->_internal_intaketemp(); + ::uint32_t raw_intaketemp; + memcpy(&raw_intaketemp, &tmp_intaketemp, sizeof(tmp_intaketemp)); + if (raw_intaketemp != 0) { + total_size += 6; + } + + // float MAF = 18; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maf = this->_internal_maf(); + ::uint32_t raw_maf; + memcpy(&raw_maf, &tmp_maf, sizeof(tmp_maf)); + if (raw_maf != 0) { + total_size += 6; + } + + // float ThrottlePosition = 19; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleposition = this->_internal_throttleposition(); + ::uint32_t raw_throttleposition; + memcpy(&raw_throttleposition, &tmp_throttleposition, sizeof(tmp_throttleposition)); + if (raw_throttleposition != 0) { + total_size += 6; + } + + // uint32 OxygenSensorsIn2Banks = 21; + if (this->_internal_oxygensensorsin2banks() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_oxygensensorsin2banks()); + } + + // uint32 OBDStandards = 23; + if (this->_internal_obdstandards() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_obdstandards()); + } + + // uint32 OxygenSensorsIn4Banks = 24; + if (this->_internal_oxygensensorsin4banks() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_oxygensensorsin4banks()); + } + + // bool IsPTOActive = 25; + if (this->_internal_isptoactive() != 0) { + total_size += 3; + } + + // float RunTime = 26; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtime = this->_internal_runtime(); + ::uint32_t raw_runtime; + memcpy(&raw_runtime, &tmp_runtime, sizeof(tmp_runtime)); + if (raw_runtime != 0) { + total_size += 6; + } + + // uint32 PidsB = 27; + if (this->_internal_pidsb() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_pidsb()); + } + + // float DistanceWithMIL = 28; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancewithmil = this->_internal_distancewithmil(); + ::uint32_t raw_distancewithmil; + memcpy(&raw_distancewithmil, &tmp_distancewithmil, sizeof(tmp_distancewithmil)); + if (raw_distancewithmil != 0) { + total_size += 6; + } + + // float FuelRailPressureVac = 29; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressurevac = this->_internal_fuelrailpressurevac(); + ::uint32_t raw_fuelrailpressurevac; + memcpy(&raw_fuelrailpressurevac, &tmp_fuelrailpressurevac, sizeof(tmp_fuelrailpressurevac)); + if (raw_fuelrailpressurevac != 0) { + total_size += 6; + } + + // float FuelRailPressureDirect = 30; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressuredirect = this->_internal_fuelrailpressuredirect(); + ::uint32_t raw_fuelrailpressuredirect; + memcpy(&raw_fuelrailpressuredirect, &tmp_fuelrailpressuredirect, sizeof(tmp_fuelrailpressuredirect)); + if (raw_fuelrailpressuredirect != 0) { + total_size += 6; + } + + // float CommandedEGR = 32; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedegr = this->_internal_commandedegr(); + ::uint32_t raw_commandedegr; + memcpy(&raw_commandedegr, &tmp_commandedegr, sizeof(tmp_commandedegr)); + if (raw_commandedegr != 0) { + total_size += 6; + } + + // float EGRError = 33; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_egrerror = this->_internal_egrerror(); + ::uint32_t raw_egrerror; + memcpy(&raw_egrerror, &tmp_egrerror, sizeof(tmp_egrerror)); + if (raw_egrerror != 0) { + total_size += 6; + } + + // float CommandedEVAP = 34; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedevap = this->_internal_commandedevap(); + ::uint32_t raw_commandedevap; + memcpy(&raw_commandedevap, &tmp_commandedevap, sizeof(tmp_commandedevap)); + if (raw_commandedevap != 0) { + total_size += 6; + } + + // float FuelLevel = 35; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuellevel = this->_internal_fuellevel(); + ::uint32_t raw_fuellevel; + memcpy(&raw_fuellevel, &tmp_fuellevel, sizeof(tmp_fuellevel)); + if (raw_fuellevel != 0) { + total_size += 6; + } + + // uint32 WarmupsSinceDTCClear = 36; + if (this->_internal_warmupssincedtcclear() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_warmupssincedtcclear()); + } + + // float DistanceSinceDTCClear = 37; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancesincedtcclear = this->_internal_distancesincedtcclear(); + ::uint32_t raw_distancesincedtcclear; + memcpy(&raw_distancesincedtcclear, &tmp_distancesincedtcclear, sizeof(tmp_distancesincedtcclear)); + if (raw_distancesincedtcclear != 0) { + total_size += 6; + } + + // float EVAPVaporPressure = 38; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressure = this->_internal_evapvaporpressure(); + ::uint32_t raw_evapvaporpressure; + memcpy(&raw_evapvaporpressure, &tmp_evapvaporpressure, sizeof(tmp_evapvaporpressure)); + if (raw_evapvaporpressure != 0) { + total_size += 6; + } + + // float BarometricPressure = 39; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_barometricpressure = this->_internal_barometricpressure(); + ::uint32_t raw_barometricpressure; + memcpy(&raw_barometricpressure, &tmp_barometricpressure, sizeof(tmp_barometricpressure)); + if (raw_barometricpressure != 0) { + total_size += 6; + } + + // uint32 PidsC = 41; + if (this->_internal_pidsc() != 0) { + total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( + this->_internal_pidsc()); + } + + // float ControlModuleVoltage = 43; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_controlmodulevoltage = this->_internal_controlmodulevoltage(); + ::uint32_t raw_controlmodulevoltage; + memcpy(&raw_controlmodulevoltage, &tmp_controlmodulevoltage, sizeof(tmp_controlmodulevoltage)); + if (raw_controlmodulevoltage != 0) { + total_size += 6; + } + + // float AbsoluteLoad = 44; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_absoluteload = this->_internal_absoluteload(); + ::uint32_t raw_absoluteload; + memcpy(&raw_absoluteload, &tmp_absoluteload, sizeof(tmp_absoluteload)); + if (raw_absoluteload != 0) { + total_size += 6; + } + + // float CommandedEquivalenceRatio = 45; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedequivalenceratio = this->_internal_commandedequivalenceratio(); + ::uint32_t raw_commandedequivalenceratio; + memcpy(&raw_commandedequivalenceratio, &tmp_commandedequivalenceratio, sizeof(tmp_commandedequivalenceratio)); + if (raw_commandedequivalenceratio != 0) { + total_size += 6; + } + + // float RelativeThrottlePosition = 46; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativethrottleposition = this->_internal_relativethrottleposition(); + ::uint32_t raw_relativethrottleposition; + memcpy(&raw_relativethrottleposition, &tmp_relativethrottleposition, sizeof(tmp_relativethrottleposition)); + if (raw_relativethrottleposition != 0) { + total_size += 6; + } + + // float AmbientAirTemperature = 47; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = this->_internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + total_size += 6; + } + + // float ThrottlePositionB = 48; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionb = this->_internal_throttlepositionb(); + ::uint32_t raw_throttlepositionb; + memcpy(&raw_throttlepositionb, &tmp_throttlepositionb, sizeof(tmp_throttlepositionb)); + if (raw_throttlepositionb != 0) { + total_size += 6; + } + + // float ThrottlePositionC = 49; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionc = this->_internal_throttlepositionc(); + ::uint32_t raw_throttlepositionc; + memcpy(&raw_throttlepositionc, &tmp_throttlepositionc, sizeof(tmp_throttlepositionc)); + if (raw_throttlepositionc != 0) { + total_size += 6; + } + + // float AcceleratorPositionD = 50; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositiond = this->_internal_acceleratorpositiond(); + ::uint32_t raw_acceleratorpositiond; + memcpy(&raw_acceleratorpositiond, &tmp_acceleratorpositiond, sizeof(tmp_acceleratorpositiond)); + if (raw_acceleratorpositiond != 0) { + total_size += 6; + } + + // float AcceleratorPositionE = 51; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositione = this->_internal_acceleratorpositione(); + ::uint32_t raw_acceleratorpositione; + memcpy(&raw_acceleratorpositione, &tmp_acceleratorpositione, sizeof(tmp_acceleratorpositione)); + if (raw_acceleratorpositione != 0) { + total_size += 6; + } + + // float AcceleratorPositionF = 52; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositionf = this->_internal_acceleratorpositionf(); + ::uint32_t raw_acceleratorpositionf; + memcpy(&raw_acceleratorpositionf, &tmp_acceleratorpositionf, sizeof(tmp_acceleratorpositionf)); + if (raw_acceleratorpositionf != 0) { + total_size += 6; + } + + // float ThrottleActuator = 53; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleactuator = this->_internal_throttleactuator(); + ::uint32_t raw_throttleactuator; + memcpy(&raw_throttleactuator, &tmp_throttleactuator, sizeof(tmp_throttleactuator)); + if (raw_throttleactuator != 0) { + total_size += 6; + } + + // float RunTimeMIL = 54; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtimemil = this->_internal_runtimemil(); + ::uint32_t raw_runtimemil; + memcpy(&raw_runtimemil, &tmp_runtimemil, sizeof(tmp_runtimemil)); + if (raw_runtimemil != 0) { + total_size += 6; + } + + // float TimeSinceDTCCleared = 55; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timesincedtccleared = this->_internal_timesincedtccleared(); + ::uint32_t raw_timesincedtccleared; + memcpy(&raw_timesincedtccleared, &tmp_timesincedtccleared, sizeof(tmp_timesincedtccleared)); + if (raw_timesincedtccleared != 0) { + total_size += 6; + } + + // float MaxMAF = 56; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maxmaf = this->_internal_maxmaf(); + ::uint32_t raw_maxmaf; + memcpy(&raw_maxmaf, &tmp_maxmaf, sizeof(tmp_maxmaf)); + if (raw_maxmaf != 0) { + total_size += 6; + } + + // float EthanolPercent = 58; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ethanolpercent = this->_internal_ethanolpercent(); + ::uint32_t raw_ethanolpercent; + memcpy(&raw_ethanolpercent, &tmp_ethanolpercent, sizeof(tmp_ethanolpercent)); + if (raw_ethanolpercent != 0) { + total_size += 6; + } + + // float EVAPVaporPressureAbsolute = 59; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressureabsolute = this->_internal_evapvaporpressureabsolute(); + ::uint32_t raw_evapvaporpressureabsolute; + memcpy(&raw_evapvaporpressureabsolute, &tmp_evapvaporpressureabsolute, sizeof(tmp_evapvaporpressureabsolute)); + if (raw_evapvaporpressureabsolute != 0) { + total_size += 6; + } + + // float EVAPVaporPressureAlternate = 60; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressurealternate = this->_internal_evapvaporpressurealternate(); + ::uint32_t raw_evapvaporpressurealternate; + memcpy(&raw_evapvaporpressurealternate, &tmp_evapvaporpressurealternate, sizeof(tmp_evapvaporpressurealternate)); + if (raw_evapvaporpressurealternate != 0) { + total_size += 6; + } + + // float ShortTermO2Trim1 = 61; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim1 = this->_internal_shorttermo2trim1(); + ::uint32_t raw_shorttermo2trim1; + memcpy(&raw_shorttermo2trim1, &tmp_shorttermo2trim1, sizeof(tmp_shorttermo2trim1)); + if (raw_shorttermo2trim1 != 0) { + total_size += 6; + } + + // float ShortTermO2Trim3 = 62; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim3 = this->_internal_shorttermo2trim3(); + ::uint32_t raw_shorttermo2trim3; + memcpy(&raw_shorttermo2trim3, &tmp_shorttermo2trim3, sizeof(tmp_shorttermo2trim3)); + if (raw_shorttermo2trim3 != 0) { + total_size += 6; + } + + // float LongTermO2Trim1 = 63; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim1 = this->_internal_longtermo2trim1(); + ::uint32_t raw_longtermo2trim1; + memcpy(&raw_longtermo2trim1, &tmp_longtermo2trim1, sizeof(tmp_longtermo2trim1)); + if (raw_longtermo2trim1 != 0) { + total_size += 6; + } + + // float LongTermO2Trim3 = 64; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim3 = this->_internal_longtermo2trim3(); + ::uint32_t raw_longtermo2trim3; + memcpy(&raw_longtermo2trim3, &tmp_longtermo2trim3, sizeof(tmp_longtermo2trim3)); + if (raw_longtermo2trim3 != 0) { + total_size += 6; + } + + // float ShortTermO2Trim2 = 65; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim2 = this->_internal_shorttermo2trim2(); + ::uint32_t raw_shorttermo2trim2; + memcpy(&raw_shorttermo2trim2, &tmp_shorttermo2trim2, sizeof(tmp_shorttermo2trim2)); + if (raw_shorttermo2trim2 != 0) { + total_size += 6; + } + + // float ShortTermO2Trim4 = 66; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim4 = this->_internal_shorttermo2trim4(); + ::uint32_t raw_shorttermo2trim4; + memcpy(&raw_shorttermo2trim4, &tmp_shorttermo2trim4, sizeof(tmp_shorttermo2trim4)); + if (raw_shorttermo2trim4 != 0) { + total_size += 6; + } + + // float LongTermO2Trim2 = 67; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim2 = this->_internal_longtermo2trim2(); + ::uint32_t raw_longtermo2trim2; + memcpy(&raw_longtermo2trim2, &tmp_longtermo2trim2, sizeof(tmp_longtermo2trim2)); + if (raw_longtermo2trim2 != 0) { + total_size += 6; + } + + // float LongTermO2Trim4 = 68; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim4 = this->_internal_longtermo2trim4(); + ::uint32_t raw_longtermo2trim4; + memcpy(&raw_longtermo2trim4, &tmp_longtermo2trim4, sizeof(tmp_longtermo2trim4)); + if (raw_longtermo2trim4 != 0) { + total_size += 6; + } + + // float FuelRailPressureAbsolute = 69; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressureabsolute = this->_internal_fuelrailpressureabsolute(); + ::uint32_t raw_fuelrailpressureabsolute; + memcpy(&raw_fuelrailpressureabsolute, &tmp_fuelrailpressureabsolute, sizeof(tmp_fuelrailpressureabsolute)); + if (raw_fuelrailpressureabsolute != 0) { + total_size += 6; + } + + // float RelativeAcceleratorPosition = 70; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativeacceleratorposition = this->_internal_relativeacceleratorposition(); + ::uint32_t raw_relativeacceleratorposition; + memcpy(&raw_relativeacceleratorposition, &tmp_relativeacceleratorposition, sizeof(tmp_relativeacceleratorposition)); + if (raw_relativeacceleratorposition != 0) { + total_size += 6; + } + + // float HybridBatteryRemaining = 71; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_hybridbatteryremaining = this->_internal_hybridbatteryremaining(); + ::uint32_t raw_hybridbatteryremaining; + memcpy(&raw_hybridbatteryremaining, &tmp_hybridbatteryremaining, sizeof(tmp_hybridbatteryremaining)); + if (raw_hybridbatteryremaining != 0) { + total_size += 6; + } + + // float OilTemperature = 72; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_oiltemperature = this->_internal_oiltemperature(); + ::uint32_t raw_oiltemperature; + memcpy(&raw_oiltemperature, &tmp_oiltemperature, sizeof(tmp_oiltemperature)); + if (raw_oiltemperature != 0) { + total_size += 6; + } + + // float FuelInjectionTiming = 73; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelinjectiontiming = this->_internal_fuelinjectiontiming(); + ::uint32_t raw_fuelinjectiontiming; + memcpy(&raw_fuelinjectiontiming, &tmp_fuelinjectiontiming, sizeof(tmp_fuelinjectiontiming)); + if (raw_fuelinjectiontiming != 0) { + total_size += 6; + } + + // float FuelRate = 74; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrate = this->_internal_fuelrate(); + ::uint32_t raw_fuelrate; + memcpy(&raw_fuelrate, &tmp_fuelrate, sizeof(tmp_fuelrate)); + if (raw_fuelrate != 0) { + total_size += 6; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBD::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBD::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBD::GetClassData() const { return &_class_data_; } + + +void VehicleOBD::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBD) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.dtclist_.MergeFrom(from._impl_.dtclist_); + if (!from._internal_freezedtc().empty()) { + _this->_internal_set_freezedtc(from._internal_freezedtc()); + } + if (!from._internal_fuelstatus().empty()) { + _this->_internal_set_fuelstatus(from._internal_fuelstatus()); + } + if (!from._internal_airstatus().empty()) { + _this->_internal_set_airstatus(from._internal_airstatus()); + } + if (!from._internal_fueltype().empty()) { + _this->_internal_set_fueltype(from._internal_fueltype()); + } + if (from._internal_has_status()) { + _this->_internal_mutable_status()->::vss::VehicleOBDStatus::MergeFrom( + from._internal_status()); + } + if (from._internal_has_o2()) { + _this->_internal_mutable_o2()->::vss::VehicleOBDO2::MergeFrom( + from._internal_o2()); + } + if (from._internal_has_o2wr()) { + _this->_internal_mutable_o2wr()->::vss::VehicleOBDO2WR::MergeFrom( + from._internal_o2wr()); + } + if (from._internal_has_catalyst()) { + _this->_internal_mutable_catalyst()->::vss::VehicleOBDCatalyst::MergeFrom( + from._internal_catalyst()); + } + if (from._internal_has_drivecyclestatus()) { + _this->_internal_mutable_drivecyclestatus()->::vss::VehicleOBDDriveCycleStatus::MergeFrom( + from._internal_drivecyclestatus()); + } + if (from._internal_pidsa() != 0) { + _this->_internal_set_pidsa(from._internal_pidsa()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_engineload = from._internal_engineload(); + ::uint32_t raw_engineload; + memcpy(&raw_engineload, &tmp_engineload, sizeof(tmp_engineload)); + if (raw_engineload != 0) { + _this->_internal_set_engineload(from._internal_engineload()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_coolanttemperature = from._internal_coolanttemperature(); + ::uint32_t raw_coolanttemperature; + memcpy(&raw_coolanttemperature, &tmp_coolanttemperature, sizeof(tmp_coolanttemperature)); + if (raw_coolanttemperature != 0) { + _this->_internal_set_coolanttemperature(from._internal_coolanttemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim1 = from._internal_shorttermfueltrim1(); + ::uint32_t raw_shorttermfueltrim1; + memcpy(&raw_shorttermfueltrim1, &tmp_shorttermfueltrim1, sizeof(tmp_shorttermfueltrim1)); + if (raw_shorttermfueltrim1 != 0) { + _this->_internal_set_shorttermfueltrim1(from._internal_shorttermfueltrim1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim1 = from._internal_longtermfueltrim1(); + ::uint32_t raw_longtermfueltrim1; + memcpy(&raw_longtermfueltrim1, &tmp_longtermfueltrim1, sizeof(tmp_longtermfueltrim1)); + if (raw_longtermfueltrim1 != 0) { + _this->_internal_set_longtermfueltrim1(from._internal_longtermfueltrim1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim2 = from._internal_shorttermfueltrim2(); + ::uint32_t raw_shorttermfueltrim2; + memcpy(&raw_shorttermfueltrim2, &tmp_shorttermfueltrim2, sizeof(tmp_shorttermfueltrim2)); + if (raw_shorttermfueltrim2 != 0) { + _this->_internal_set_shorttermfueltrim2(from._internal_shorttermfueltrim2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermfueltrim2 = from._internal_longtermfueltrim2(); + ::uint32_t raw_longtermfueltrim2; + memcpy(&raw_longtermfueltrim2, &tmp_longtermfueltrim2, sizeof(tmp_longtermfueltrim2)); + if (raw_longtermfueltrim2 != 0) { + _this->_internal_set_longtermfueltrim2(from._internal_longtermfueltrim2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelpressure = from._internal_fuelpressure(); + ::uint32_t raw_fuelpressure; + memcpy(&raw_fuelpressure, &tmp_fuelpressure, sizeof(tmp_fuelpressure)); + if (raw_fuelpressure != 0) { + _this->_internal_set_fuelpressure(from._internal_fuelpressure()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_map = from._internal_map(); + ::uint32_t raw_map; + memcpy(&raw_map, &tmp_map, sizeof(tmp_map)); + if (raw_map != 0) { + _this->_internal_set_map(from._internal_map()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_enginespeed = from._internal_enginespeed(); + ::uint32_t raw_enginespeed; + memcpy(&raw_enginespeed, &tmp_enginespeed, sizeof(tmp_enginespeed)); + if (raw_enginespeed != 0) { + _this->_internal_set_enginespeed(from._internal_enginespeed()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_speed = from._internal_speed(); + ::uint32_t raw_speed; + memcpy(&raw_speed, &tmp_speed, sizeof(tmp_speed)); + if (raw_speed != 0) { + _this->_internal_set_speed(from._internal_speed()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timingadvance = from._internal_timingadvance(); + ::uint32_t raw_timingadvance; + memcpy(&raw_timingadvance, &tmp_timingadvance, sizeof(tmp_timingadvance)); + if (raw_timingadvance != 0) { + _this->_internal_set_timingadvance(from._internal_timingadvance()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_intaketemp = from._internal_intaketemp(); + ::uint32_t raw_intaketemp; + memcpy(&raw_intaketemp, &tmp_intaketemp, sizeof(tmp_intaketemp)); + if (raw_intaketemp != 0) { + _this->_internal_set_intaketemp(from._internal_intaketemp()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maf = from._internal_maf(); + ::uint32_t raw_maf; + memcpy(&raw_maf, &tmp_maf, sizeof(tmp_maf)); + if (raw_maf != 0) { + _this->_internal_set_maf(from._internal_maf()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleposition = from._internal_throttleposition(); + ::uint32_t raw_throttleposition; + memcpy(&raw_throttleposition, &tmp_throttleposition, sizeof(tmp_throttleposition)); + if (raw_throttleposition != 0) { + _this->_internal_set_throttleposition(from._internal_throttleposition()); + } + if (from._internal_oxygensensorsin2banks() != 0) { + _this->_internal_set_oxygensensorsin2banks(from._internal_oxygensensorsin2banks()); + } + if (from._internal_obdstandards() != 0) { + _this->_internal_set_obdstandards(from._internal_obdstandards()); + } + if (from._internal_oxygensensorsin4banks() != 0) { + _this->_internal_set_oxygensensorsin4banks(from._internal_oxygensensorsin4banks()); + } + if (from._internal_isptoactive() != 0) { + _this->_internal_set_isptoactive(from._internal_isptoactive()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtime = from._internal_runtime(); + ::uint32_t raw_runtime; + memcpy(&raw_runtime, &tmp_runtime, sizeof(tmp_runtime)); + if (raw_runtime != 0) { + _this->_internal_set_runtime(from._internal_runtime()); + } + if (from._internal_pidsb() != 0) { + _this->_internal_set_pidsb(from._internal_pidsb()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancewithmil = from._internal_distancewithmil(); + ::uint32_t raw_distancewithmil; + memcpy(&raw_distancewithmil, &tmp_distancewithmil, sizeof(tmp_distancewithmil)); + if (raw_distancewithmil != 0) { + _this->_internal_set_distancewithmil(from._internal_distancewithmil()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressurevac = from._internal_fuelrailpressurevac(); + ::uint32_t raw_fuelrailpressurevac; + memcpy(&raw_fuelrailpressurevac, &tmp_fuelrailpressurevac, sizeof(tmp_fuelrailpressurevac)); + if (raw_fuelrailpressurevac != 0) { + _this->_internal_set_fuelrailpressurevac(from._internal_fuelrailpressurevac()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressuredirect = from._internal_fuelrailpressuredirect(); + ::uint32_t raw_fuelrailpressuredirect; + memcpy(&raw_fuelrailpressuredirect, &tmp_fuelrailpressuredirect, sizeof(tmp_fuelrailpressuredirect)); + if (raw_fuelrailpressuredirect != 0) { + _this->_internal_set_fuelrailpressuredirect(from._internal_fuelrailpressuredirect()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedegr = from._internal_commandedegr(); + ::uint32_t raw_commandedegr; + memcpy(&raw_commandedegr, &tmp_commandedegr, sizeof(tmp_commandedegr)); + if (raw_commandedegr != 0) { + _this->_internal_set_commandedegr(from._internal_commandedegr()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_egrerror = from._internal_egrerror(); + ::uint32_t raw_egrerror; + memcpy(&raw_egrerror, &tmp_egrerror, sizeof(tmp_egrerror)); + if (raw_egrerror != 0) { + _this->_internal_set_egrerror(from._internal_egrerror()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedevap = from._internal_commandedevap(); + ::uint32_t raw_commandedevap; + memcpy(&raw_commandedevap, &tmp_commandedevap, sizeof(tmp_commandedevap)); + if (raw_commandedevap != 0) { + _this->_internal_set_commandedevap(from._internal_commandedevap()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuellevel = from._internal_fuellevel(); + ::uint32_t raw_fuellevel; + memcpy(&raw_fuellevel, &tmp_fuellevel, sizeof(tmp_fuellevel)); + if (raw_fuellevel != 0) { + _this->_internal_set_fuellevel(from._internal_fuellevel()); + } + if (from._internal_warmupssincedtcclear() != 0) { + _this->_internal_set_warmupssincedtcclear(from._internal_warmupssincedtcclear()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancesincedtcclear = from._internal_distancesincedtcclear(); + ::uint32_t raw_distancesincedtcclear; + memcpy(&raw_distancesincedtcclear, &tmp_distancesincedtcclear, sizeof(tmp_distancesincedtcclear)); + if (raw_distancesincedtcclear != 0) { + _this->_internal_set_distancesincedtcclear(from._internal_distancesincedtcclear()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressure = from._internal_evapvaporpressure(); + ::uint32_t raw_evapvaporpressure; + memcpy(&raw_evapvaporpressure, &tmp_evapvaporpressure, sizeof(tmp_evapvaporpressure)); + if (raw_evapvaporpressure != 0) { + _this->_internal_set_evapvaporpressure(from._internal_evapvaporpressure()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_barometricpressure = from._internal_barometricpressure(); + ::uint32_t raw_barometricpressure; + memcpy(&raw_barometricpressure, &tmp_barometricpressure, sizeof(tmp_barometricpressure)); + if (raw_barometricpressure != 0) { + _this->_internal_set_barometricpressure(from._internal_barometricpressure()); + } + if (from._internal_pidsc() != 0) { + _this->_internal_set_pidsc(from._internal_pidsc()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_controlmodulevoltage = from._internal_controlmodulevoltage(); + ::uint32_t raw_controlmodulevoltage; + memcpy(&raw_controlmodulevoltage, &tmp_controlmodulevoltage, sizeof(tmp_controlmodulevoltage)); + if (raw_controlmodulevoltage != 0) { + _this->_internal_set_controlmodulevoltage(from._internal_controlmodulevoltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_absoluteload = from._internal_absoluteload(); + ::uint32_t raw_absoluteload; + memcpy(&raw_absoluteload, &tmp_absoluteload, sizeof(tmp_absoluteload)); + if (raw_absoluteload != 0) { + _this->_internal_set_absoluteload(from._internal_absoluteload()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_commandedequivalenceratio = from._internal_commandedequivalenceratio(); + ::uint32_t raw_commandedequivalenceratio; + memcpy(&raw_commandedequivalenceratio, &tmp_commandedequivalenceratio, sizeof(tmp_commandedequivalenceratio)); + if (raw_commandedequivalenceratio != 0) { + _this->_internal_set_commandedequivalenceratio(from._internal_commandedequivalenceratio()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativethrottleposition = from._internal_relativethrottleposition(); + ::uint32_t raw_relativethrottleposition; + memcpy(&raw_relativethrottleposition, &tmp_relativethrottleposition, sizeof(tmp_relativethrottleposition)); + if (raw_relativethrottleposition != 0) { + _this->_internal_set_relativethrottleposition(from._internal_relativethrottleposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ambientairtemperature = from._internal_ambientairtemperature(); + ::uint32_t raw_ambientairtemperature; + memcpy(&raw_ambientairtemperature, &tmp_ambientairtemperature, sizeof(tmp_ambientairtemperature)); + if (raw_ambientairtemperature != 0) { + _this->_internal_set_ambientairtemperature(from._internal_ambientairtemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionb = from._internal_throttlepositionb(); + ::uint32_t raw_throttlepositionb; + memcpy(&raw_throttlepositionb, &tmp_throttlepositionb, sizeof(tmp_throttlepositionb)); + if (raw_throttlepositionb != 0) { + _this->_internal_set_throttlepositionb(from._internal_throttlepositionb()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttlepositionc = from._internal_throttlepositionc(); + ::uint32_t raw_throttlepositionc; + memcpy(&raw_throttlepositionc, &tmp_throttlepositionc, sizeof(tmp_throttlepositionc)); + if (raw_throttlepositionc != 0) { + _this->_internal_set_throttlepositionc(from._internal_throttlepositionc()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositiond = from._internal_acceleratorpositiond(); + ::uint32_t raw_acceleratorpositiond; + memcpy(&raw_acceleratorpositiond, &tmp_acceleratorpositiond, sizeof(tmp_acceleratorpositiond)); + if (raw_acceleratorpositiond != 0) { + _this->_internal_set_acceleratorpositiond(from._internal_acceleratorpositiond()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositione = from._internal_acceleratorpositione(); + ::uint32_t raw_acceleratorpositione; + memcpy(&raw_acceleratorpositione, &tmp_acceleratorpositione, sizeof(tmp_acceleratorpositione)); + if (raw_acceleratorpositione != 0) { + _this->_internal_set_acceleratorpositione(from._internal_acceleratorpositione()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_acceleratorpositionf = from._internal_acceleratorpositionf(); + ::uint32_t raw_acceleratorpositionf; + memcpy(&raw_acceleratorpositionf, &tmp_acceleratorpositionf, sizeof(tmp_acceleratorpositionf)); + if (raw_acceleratorpositionf != 0) { + _this->_internal_set_acceleratorpositionf(from._internal_acceleratorpositionf()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_throttleactuator = from._internal_throttleactuator(); + ::uint32_t raw_throttleactuator; + memcpy(&raw_throttleactuator, &tmp_throttleactuator, sizeof(tmp_throttleactuator)); + if (raw_throttleactuator != 0) { + _this->_internal_set_throttleactuator(from._internal_throttleactuator()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_runtimemil = from._internal_runtimemil(); + ::uint32_t raw_runtimemil; + memcpy(&raw_runtimemil, &tmp_runtimemil, sizeof(tmp_runtimemil)); + if (raw_runtimemil != 0) { + _this->_internal_set_runtimemil(from._internal_runtimemil()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_timesincedtccleared = from._internal_timesincedtccleared(); + ::uint32_t raw_timesincedtccleared; + memcpy(&raw_timesincedtccleared, &tmp_timesincedtccleared, sizeof(tmp_timesincedtccleared)); + if (raw_timesincedtccleared != 0) { + _this->_internal_set_timesincedtccleared(from._internal_timesincedtccleared()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_maxmaf = from._internal_maxmaf(); + ::uint32_t raw_maxmaf; + memcpy(&raw_maxmaf, &tmp_maxmaf, sizeof(tmp_maxmaf)); + if (raw_maxmaf != 0) { + _this->_internal_set_maxmaf(from._internal_maxmaf()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_ethanolpercent = from._internal_ethanolpercent(); + ::uint32_t raw_ethanolpercent; + memcpy(&raw_ethanolpercent, &tmp_ethanolpercent, sizeof(tmp_ethanolpercent)); + if (raw_ethanolpercent != 0) { + _this->_internal_set_ethanolpercent(from._internal_ethanolpercent()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressureabsolute = from._internal_evapvaporpressureabsolute(); + ::uint32_t raw_evapvaporpressureabsolute; + memcpy(&raw_evapvaporpressureabsolute, &tmp_evapvaporpressureabsolute, sizeof(tmp_evapvaporpressureabsolute)); + if (raw_evapvaporpressureabsolute != 0) { + _this->_internal_set_evapvaporpressureabsolute(from._internal_evapvaporpressureabsolute()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_evapvaporpressurealternate = from._internal_evapvaporpressurealternate(); + ::uint32_t raw_evapvaporpressurealternate; + memcpy(&raw_evapvaporpressurealternate, &tmp_evapvaporpressurealternate, sizeof(tmp_evapvaporpressurealternate)); + if (raw_evapvaporpressurealternate != 0) { + _this->_internal_set_evapvaporpressurealternate(from._internal_evapvaporpressurealternate()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim1 = from._internal_shorttermo2trim1(); + ::uint32_t raw_shorttermo2trim1; + memcpy(&raw_shorttermo2trim1, &tmp_shorttermo2trim1, sizeof(tmp_shorttermo2trim1)); + if (raw_shorttermo2trim1 != 0) { + _this->_internal_set_shorttermo2trim1(from._internal_shorttermo2trim1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim3 = from._internal_shorttermo2trim3(); + ::uint32_t raw_shorttermo2trim3; + memcpy(&raw_shorttermo2trim3, &tmp_shorttermo2trim3, sizeof(tmp_shorttermo2trim3)); + if (raw_shorttermo2trim3 != 0) { + _this->_internal_set_shorttermo2trim3(from._internal_shorttermo2trim3()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim1 = from._internal_longtermo2trim1(); + ::uint32_t raw_longtermo2trim1; + memcpy(&raw_longtermo2trim1, &tmp_longtermo2trim1, sizeof(tmp_longtermo2trim1)); + if (raw_longtermo2trim1 != 0) { + _this->_internal_set_longtermo2trim1(from._internal_longtermo2trim1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim3 = from._internal_longtermo2trim3(); + ::uint32_t raw_longtermo2trim3; + memcpy(&raw_longtermo2trim3, &tmp_longtermo2trim3, sizeof(tmp_longtermo2trim3)); + if (raw_longtermo2trim3 != 0) { + _this->_internal_set_longtermo2trim3(from._internal_longtermo2trim3()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim2 = from._internal_shorttermo2trim2(); + ::uint32_t raw_shorttermo2trim2; + memcpy(&raw_shorttermo2trim2, &tmp_shorttermo2trim2, sizeof(tmp_shorttermo2trim2)); + if (raw_shorttermo2trim2 != 0) { + _this->_internal_set_shorttermo2trim2(from._internal_shorttermo2trim2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermo2trim4 = from._internal_shorttermo2trim4(); + ::uint32_t raw_shorttermo2trim4; + memcpy(&raw_shorttermo2trim4, &tmp_shorttermo2trim4, sizeof(tmp_shorttermo2trim4)); + if (raw_shorttermo2trim4 != 0) { + _this->_internal_set_shorttermo2trim4(from._internal_shorttermo2trim4()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim2 = from._internal_longtermo2trim2(); + ::uint32_t raw_longtermo2trim2; + memcpy(&raw_longtermo2trim2, &tmp_longtermo2trim2, sizeof(tmp_longtermo2trim2)); + if (raw_longtermo2trim2 != 0) { + _this->_internal_set_longtermo2trim2(from._internal_longtermo2trim2()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_longtermo2trim4 = from._internal_longtermo2trim4(); + ::uint32_t raw_longtermo2trim4; + memcpy(&raw_longtermo2trim4, &tmp_longtermo2trim4, sizeof(tmp_longtermo2trim4)); + if (raw_longtermo2trim4 != 0) { + _this->_internal_set_longtermo2trim4(from._internal_longtermo2trim4()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrailpressureabsolute = from._internal_fuelrailpressureabsolute(); + ::uint32_t raw_fuelrailpressureabsolute; + memcpy(&raw_fuelrailpressureabsolute, &tmp_fuelrailpressureabsolute, sizeof(tmp_fuelrailpressureabsolute)); + if (raw_fuelrailpressureabsolute != 0) { + _this->_internal_set_fuelrailpressureabsolute(from._internal_fuelrailpressureabsolute()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_relativeacceleratorposition = from._internal_relativeacceleratorposition(); + ::uint32_t raw_relativeacceleratorposition; + memcpy(&raw_relativeacceleratorposition, &tmp_relativeacceleratorposition, sizeof(tmp_relativeacceleratorposition)); + if (raw_relativeacceleratorposition != 0) { + _this->_internal_set_relativeacceleratorposition(from._internal_relativeacceleratorposition()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_hybridbatteryremaining = from._internal_hybridbatteryremaining(); + ::uint32_t raw_hybridbatteryremaining; + memcpy(&raw_hybridbatteryremaining, &tmp_hybridbatteryremaining, sizeof(tmp_hybridbatteryremaining)); + if (raw_hybridbatteryremaining != 0) { + _this->_internal_set_hybridbatteryremaining(from._internal_hybridbatteryremaining()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_oiltemperature = from._internal_oiltemperature(); + ::uint32_t raw_oiltemperature; + memcpy(&raw_oiltemperature, &tmp_oiltemperature, sizeof(tmp_oiltemperature)); + if (raw_oiltemperature != 0) { + _this->_internal_set_oiltemperature(from._internal_oiltemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelinjectiontiming = from._internal_fuelinjectiontiming(); + ::uint32_t raw_fuelinjectiontiming; + memcpy(&raw_fuelinjectiontiming, &tmp_fuelinjectiontiming, sizeof(tmp_fuelinjectiontiming)); + if (raw_fuelinjectiontiming != 0) { + _this->_internal_set_fuelinjectiontiming(from._internal_fuelinjectiontiming()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fuelrate = from._internal_fuelrate(); + ::uint32_t raw_fuelrate; + memcpy(&raw_fuelrate, &tmp_fuelrate, sizeof(tmp_fuelrate)); + if (raw_fuelrate != 0) { + _this->_internal_set_fuelrate(from._internal_fuelrate()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBD::CopyFrom(const VehicleOBD& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBD::IsInitialized() const { + return true; +} + +void VehicleOBD::InternalSwap(VehicleOBD* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.dtclist_.InternalSwap(&other->_impl_.dtclist_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.freezedtc_, lhs_arena, + &other->_impl_.freezedtc_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fuelstatus_, lhs_arena, + &other->_impl_.fuelstatus_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.airstatus_, lhs_arena, + &other->_impl_.airstatus_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fueltype_, lhs_arena, + &other->_impl_.fueltype_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBD, _impl_.fuelrate_) + + sizeof(VehicleOBD::_impl_.fuelrate_) + - PROTOBUF_FIELD_OFFSET(VehicleOBD, _impl_.status_)>( + reinterpret_cast(&_impl_.status_), + reinterpret_cast(&other->_impl_.status_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBD::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[240]); +} +// =================================================================== + +class VehicleOBDStatus::_Internal { + public: +}; + +VehicleOBDStatus::VehicleOBDStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDStatus) +} +VehicleOBDStatus::VehicleOBDStatus(const VehicleOBDStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBDStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.ignitiontype_) {} + + , decltype(_impl_.ismilon_) {} + + , decltype(_impl_.dtccount_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ignitiontype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignitiontype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_ignitiontype().empty()) { + _this->_impl_.ignitiontype_.Set(from._internal_ignitiontype(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ismilon_, &from._impl_.ismilon_, + static_cast<::size_t>(reinterpret_cast(&_impl_.dtccount_) - + reinterpret_cast(&_impl_.ismilon_)) + sizeof(_impl_.dtccount_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDStatus) +} + +inline void VehicleOBDStatus::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ignitiontype_) {} + + , decltype(_impl_.ismilon_) { false } + + , decltype(_impl_.dtccount_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.ignitiontype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignitiontype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleOBDStatus::~VehicleOBDStatus() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDStatus::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ignitiontype_.Destroy(); +} + +void VehicleOBDStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDStatus) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ignitiontype_.ClearToEmpty(); + ::memset(&_impl_.ismilon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.dtccount_) - + reinterpret_cast(&_impl_.ismilon_)) + sizeof(_impl_.dtccount_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMILOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismilon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 DTCCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.dtccount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string IgnitionType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_ignitiontype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBDStatus.IgnitionType")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDStatus::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDStatus) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMILOn = 1; + if (this->_internal_ismilon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismilon(), target); + } + + // uint32 DTCCount = 2; + if (this->_internal_dtccount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_dtccount(), target); + } + + // string IgnitionType = 3; + if (!this->_internal_ignitiontype().empty()) { + const std::string& _s = this->_internal_ignitiontype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBDStatus.IgnitionType"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDStatus) + return target; +} + +::size_t VehicleOBDStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDStatus) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IgnitionType = 3; + if (!this->_internal_ignitiontype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ignitiontype()); + } + + // bool IsMILOn = 1; + if (this->_internal_ismilon() != 0) { + total_size += 2; + } + + // uint32 DTCCount = 2; + if (this->_internal_dtccount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_dtccount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDStatus::GetClassData() const { return &_class_data_; } + + +void VehicleOBDStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDStatus) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_ignitiontype().empty()) { + _this->_internal_set_ignitiontype(from._internal_ignitiontype()); + } + if (from._internal_ismilon() != 0) { + _this->_internal_set_ismilon(from._internal_ismilon()); + } + if (from._internal_dtccount() != 0) { + _this->_internal_set_dtccount(from._internal_dtccount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDStatus::CopyFrom(const VehicleOBDStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDStatus::IsInitialized() const { + return true; +} + +void VehicleOBDStatus::InternalSwap(VehicleOBDStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ignitiontype_, lhs_arena, + &other->_impl_.ignitiontype_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDStatus, _impl_.dtccount_) + + sizeof(VehicleOBDStatus::_impl_.dtccount_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDStatus, _impl_.ismilon_)>( + reinterpret_cast(&_impl_.ismilon_), + reinterpret_cast(&other->_impl_.ismilon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[241]); +} +// =================================================================== + +class VehicleOBDO2::_Internal { + public: + static const ::vss::VehicleOBDO2Sensor1& sensor1(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor2& sensor2(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor3& sensor3(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor4& sensor4(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor5& sensor5(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor6& sensor6(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor7& sensor7(const VehicleOBDO2* msg); + static const ::vss::VehicleOBDO2Sensor8& sensor8(const VehicleOBDO2* msg); +}; + +const ::vss::VehicleOBDO2Sensor1& +VehicleOBDO2::_Internal::sensor1(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor1_; +} +const ::vss::VehicleOBDO2Sensor2& +VehicleOBDO2::_Internal::sensor2(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor2_; +} +const ::vss::VehicleOBDO2Sensor3& +VehicleOBDO2::_Internal::sensor3(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor3_; +} +const ::vss::VehicleOBDO2Sensor4& +VehicleOBDO2::_Internal::sensor4(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor4_; +} +const ::vss::VehicleOBDO2Sensor5& +VehicleOBDO2::_Internal::sensor5(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor5_; +} +const ::vss::VehicleOBDO2Sensor6& +VehicleOBDO2::_Internal::sensor6(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor6_; +} +const ::vss::VehicleOBDO2Sensor7& +VehicleOBDO2::_Internal::sensor7(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor7_; +} +const ::vss::VehicleOBDO2Sensor8& +VehicleOBDO2::_Internal::sensor8(const VehicleOBDO2* msg) { + return *msg->_impl_.sensor8_; +} +VehicleOBDO2::VehicleOBDO2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2) +} +VehicleOBDO2::VehicleOBDO2(const VehicleOBDO2& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBDO2* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.sensor1_){nullptr} + , decltype(_impl_.sensor2_){nullptr} + , decltype(_impl_.sensor3_){nullptr} + , decltype(_impl_.sensor4_){nullptr} + , decltype(_impl_.sensor5_){nullptr} + , decltype(_impl_.sensor6_){nullptr} + , decltype(_impl_.sensor7_){nullptr} + , decltype(_impl_.sensor8_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_sensor1()) { + _this->_impl_.sensor1_ = new ::vss::VehicleOBDO2Sensor1(*from._impl_.sensor1_); + } + if (from._internal_has_sensor2()) { + _this->_impl_.sensor2_ = new ::vss::VehicleOBDO2Sensor2(*from._impl_.sensor2_); + } + if (from._internal_has_sensor3()) { + _this->_impl_.sensor3_ = new ::vss::VehicleOBDO2Sensor3(*from._impl_.sensor3_); + } + if (from._internal_has_sensor4()) { + _this->_impl_.sensor4_ = new ::vss::VehicleOBDO2Sensor4(*from._impl_.sensor4_); + } + if (from._internal_has_sensor5()) { + _this->_impl_.sensor5_ = new ::vss::VehicleOBDO2Sensor5(*from._impl_.sensor5_); + } + if (from._internal_has_sensor6()) { + _this->_impl_.sensor6_ = new ::vss::VehicleOBDO2Sensor6(*from._impl_.sensor6_); + } + if (from._internal_has_sensor7()) { + _this->_impl_.sensor7_ = new ::vss::VehicleOBDO2Sensor7(*from._impl_.sensor7_); + } + if (from._internal_has_sensor8()) { + _this->_impl_.sensor8_ = new ::vss::VehicleOBDO2Sensor8(*from._impl_.sensor8_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2) +} + +inline void VehicleOBDO2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.sensor1_){nullptr} + , decltype(_impl_.sensor2_){nullptr} + , decltype(_impl_.sensor3_){nullptr} + , decltype(_impl_.sensor4_){nullptr} + , decltype(_impl_.sensor5_){nullptr} + , decltype(_impl_.sensor6_){nullptr} + , decltype(_impl_.sensor7_){nullptr} + , decltype(_impl_.sensor8_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2::~VehicleOBDO2() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.sensor1_; + if (this != internal_default_instance()) delete _impl_.sensor2_; + if (this != internal_default_instance()) delete _impl_.sensor3_; + if (this != internal_default_instance()) delete _impl_.sensor4_; + if (this != internal_default_instance()) delete _impl_.sensor5_; + if (this != internal_default_instance()) delete _impl_.sensor6_; + if (this != internal_default_instance()) delete _impl_.sensor7_; + if (this != internal_default_instance()) delete _impl_.sensor8_; +} + +void VehicleOBDO2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.sensor1_ != nullptr) { + delete _impl_.sensor1_; + } + _impl_.sensor1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor2_ != nullptr) { + delete _impl_.sensor2_; + } + _impl_.sensor2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor3_ != nullptr) { + delete _impl_.sensor3_; + } + _impl_.sensor3_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor4_ != nullptr) { + delete _impl_.sensor4_; + } + _impl_.sensor4_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor5_ != nullptr) { + delete _impl_.sensor5_; + } + _impl_.sensor5_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor6_ != nullptr) { + delete _impl_.sensor6_; + } + _impl_.sensor6_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor7_ != nullptr) { + delete _impl_.sensor7_; + } + _impl_.sensor7_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor8_ != nullptr) { + delete _impl_.sensor8_; + } + _impl_.sensor8_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleOBDO2Sensor1 Sensor1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor2 Sensor2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor3 Sensor3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor4 Sensor4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor4(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor5 Sensor5 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor5(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor6 Sensor6 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor6(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor7 Sensor7 = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor7(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2Sensor8 Sensor8 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor8(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleOBDO2Sensor1 Sensor1 = 1; + if (this->_internal_has_sensor1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::sensor1(this), + _Internal::sensor1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor2 Sensor2 = 2; + if (this->_internal_has_sensor2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::sensor2(this), + _Internal::sensor2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor3 Sensor3 = 3; + if (this->_internal_has_sensor3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sensor3(this), + _Internal::sensor3(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor4 Sensor4 = 4; + if (this->_internal_has_sensor4()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sensor4(this), + _Internal::sensor4(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor5 Sensor5 = 5; + if (this->_internal_has_sensor5()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::sensor5(this), + _Internal::sensor5(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor6 Sensor6 = 6; + if (this->_internal_has_sensor6()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::sensor6(this), + _Internal::sensor6(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor7 Sensor7 = 7; + if (this->_internal_has_sensor7()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::sensor7(this), + _Internal::sensor7(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2Sensor8 Sensor8 = 8; + if (this->_internal_has_sensor8()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::sensor8(this), + _Internal::sensor8(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2) + return target; +} + +::size_t VehicleOBDO2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleOBDO2Sensor1 Sensor1 = 1; + if (this->_internal_has_sensor1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor1_); + } + + // .vss.VehicleOBDO2Sensor2 Sensor2 = 2; + if (this->_internal_has_sensor2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor2_); + } + + // .vss.VehicleOBDO2Sensor3 Sensor3 = 3; + if (this->_internal_has_sensor3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor3_); + } + + // .vss.VehicleOBDO2Sensor4 Sensor4 = 4; + if (this->_internal_has_sensor4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor4_); + } + + // .vss.VehicleOBDO2Sensor5 Sensor5 = 5; + if (this->_internal_has_sensor5()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor5_); + } + + // .vss.VehicleOBDO2Sensor6 Sensor6 = 6; + if (this->_internal_has_sensor6()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor6_); + } + + // .vss.VehicleOBDO2Sensor7 Sensor7 = 7; + if (this->_internal_has_sensor7()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor7_); + } + + // .vss.VehicleOBDO2Sensor8 Sensor8 = 8; + if (this->_internal_has_sensor8()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor8_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_sensor1()) { + _this->_internal_mutable_sensor1()->::vss::VehicleOBDO2Sensor1::MergeFrom( + from._internal_sensor1()); + } + if (from._internal_has_sensor2()) { + _this->_internal_mutable_sensor2()->::vss::VehicleOBDO2Sensor2::MergeFrom( + from._internal_sensor2()); + } + if (from._internal_has_sensor3()) { + _this->_internal_mutable_sensor3()->::vss::VehicleOBDO2Sensor3::MergeFrom( + from._internal_sensor3()); + } + if (from._internal_has_sensor4()) { + _this->_internal_mutable_sensor4()->::vss::VehicleOBDO2Sensor4::MergeFrom( + from._internal_sensor4()); + } + if (from._internal_has_sensor5()) { + _this->_internal_mutable_sensor5()->::vss::VehicleOBDO2Sensor5::MergeFrom( + from._internal_sensor5()); + } + if (from._internal_has_sensor6()) { + _this->_internal_mutable_sensor6()->::vss::VehicleOBDO2Sensor6::MergeFrom( + from._internal_sensor6()); + } + if (from._internal_has_sensor7()) { + _this->_internal_mutable_sensor7()->::vss::VehicleOBDO2Sensor7::MergeFrom( + from._internal_sensor7()); + } + if (from._internal_has_sensor8()) { + _this->_internal_mutable_sensor8()->::vss::VehicleOBDO2Sensor8::MergeFrom( + from._internal_sensor8()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2::CopyFrom(const VehicleOBDO2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2::IsInitialized() const { + return true; +} + +void VehicleOBDO2::InternalSwap(VehicleOBDO2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2, _impl_.sensor8_) + + sizeof(VehicleOBDO2::_impl_.sensor8_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2, _impl_.sensor1_)>( + reinterpret_cast(&_impl_.sensor1_), + reinterpret_cast(&other->_impl_.sensor1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[242]); +} +// =================================================================== + +class VehicleOBDO2Sensor1::_Internal { + public: +}; + +VehicleOBDO2Sensor1::VehicleOBDO2Sensor1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor1) +} +VehicleOBDO2Sensor1::VehicleOBDO2Sensor1(const VehicleOBDO2Sensor1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor1) +} + +inline void VehicleOBDO2Sensor1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor1::~VehicleOBDO2Sensor1() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor1) + return target; +} + +::size_t VehicleOBDO2Sensor1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor1::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor1::CopyFrom(const VehicleOBDO2Sensor1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor1::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor1::InternalSwap(VehicleOBDO2Sensor1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor1, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor1::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor1, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[243]); +} +// =================================================================== + +class VehicleOBDO2Sensor2::_Internal { + public: +}; + +VehicleOBDO2Sensor2::VehicleOBDO2Sensor2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor2) +} +VehicleOBDO2Sensor2::VehicleOBDO2Sensor2(const VehicleOBDO2Sensor2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor2) +} + +inline void VehicleOBDO2Sensor2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor2::~VehicleOBDO2Sensor2() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor2) + return target; +} + +::size_t VehicleOBDO2Sensor2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor2::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor2::CopyFrom(const VehicleOBDO2Sensor2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor2::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor2::InternalSwap(VehicleOBDO2Sensor2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor2, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor2::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor2, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[244]); +} +// =================================================================== + +class VehicleOBDO2Sensor3::_Internal { + public: +}; + +VehicleOBDO2Sensor3::VehicleOBDO2Sensor3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor3) +} +VehicleOBDO2Sensor3::VehicleOBDO2Sensor3(const VehicleOBDO2Sensor3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor3) +} + +inline void VehicleOBDO2Sensor3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor3::~VehicleOBDO2Sensor3() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor3) + return target; +} + +::size_t VehicleOBDO2Sensor3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor3::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor3::CopyFrom(const VehicleOBDO2Sensor3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor3::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor3::InternalSwap(VehicleOBDO2Sensor3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor3, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor3::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor3, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[245]); +} +// =================================================================== + +class VehicleOBDO2Sensor4::_Internal { + public: +}; + +VehicleOBDO2Sensor4::VehicleOBDO2Sensor4(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor4) +} +VehicleOBDO2Sensor4::VehicleOBDO2Sensor4(const VehicleOBDO2Sensor4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor4) +} + +inline void VehicleOBDO2Sensor4::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor4::~VehicleOBDO2Sensor4() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor4) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor4::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor4::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor4::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor4) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor4::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor4::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor4) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor4) + return target; +} + +::size_t VehicleOBDO2Sensor4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor4) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor4::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor4::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor4::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor4::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor4) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor4::CopyFrom(const VehicleOBDO2Sensor4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor4::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor4::InternalSwap(VehicleOBDO2Sensor4* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor4, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor4::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor4, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor4::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[246]); +} +// =================================================================== + +class VehicleOBDO2Sensor5::_Internal { + public: +}; + +VehicleOBDO2Sensor5::VehicleOBDO2Sensor5(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor5) +} +VehicleOBDO2Sensor5::VehicleOBDO2Sensor5(const VehicleOBDO2Sensor5& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor5) +} + +inline void VehicleOBDO2Sensor5::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor5::~VehicleOBDO2Sensor5() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor5) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor5::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor5::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor5::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor5) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor5::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor5::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor5) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor5) + return target; +} + +::size_t VehicleOBDO2Sensor5::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor5) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor5::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor5::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor5::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor5::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor5) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor5::CopyFrom(const VehicleOBDO2Sensor5& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor5::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor5::InternalSwap(VehicleOBDO2Sensor5* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor5, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor5::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor5, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor5::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[247]); +} +// =================================================================== + +class VehicleOBDO2Sensor6::_Internal { + public: +}; + +VehicleOBDO2Sensor6::VehicleOBDO2Sensor6(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor6) +} +VehicleOBDO2Sensor6::VehicleOBDO2Sensor6(const VehicleOBDO2Sensor6& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor6) +} + +inline void VehicleOBDO2Sensor6::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor6::~VehicleOBDO2Sensor6() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor6) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor6::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor6::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor6::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor6) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor6::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor6::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor6) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor6) + return target; +} + +::size_t VehicleOBDO2Sensor6::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor6) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor6::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor6::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor6::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor6::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor6) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor6::CopyFrom(const VehicleOBDO2Sensor6& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor6::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor6::InternalSwap(VehicleOBDO2Sensor6* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor6, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor6::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor6, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor6::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[248]); +} +// =================================================================== + +class VehicleOBDO2Sensor7::_Internal { + public: +}; + +VehicleOBDO2Sensor7::VehicleOBDO2Sensor7(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor7) +} +VehicleOBDO2Sensor7::VehicleOBDO2Sensor7(const VehicleOBDO2Sensor7& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor7) +} + +inline void VehicleOBDO2Sensor7::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor7::~VehicleOBDO2Sensor7() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor7) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor7::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor7::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor7::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor7) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor7::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor7::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor7) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor7) + return target; +} + +::size_t VehicleOBDO2Sensor7::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor7) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor7::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor7::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor7::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor7::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor7) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor7::CopyFrom(const VehicleOBDO2Sensor7& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor7::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor7::InternalSwap(VehicleOBDO2Sensor7* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor7, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor7::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor7, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor7::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[249]); +} +// =================================================================== + +class VehicleOBDO2Sensor8::_Internal { + public: +}; + +VehicleOBDO2Sensor8::VehicleOBDO2Sensor8(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2Sensor8) +} +VehicleOBDO2Sensor8::VehicleOBDO2Sensor8(const VehicleOBDO2Sensor8& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2Sensor8) +} + +inline void VehicleOBDO2Sensor8::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.shorttermfueltrim_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2Sensor8::~VehicleOBDO2Sensor8() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2Sensor8) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2Sensor8::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2Sensor8::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2Sensor8::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2Sensor8) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.voltage_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.shorttermfueltrim_) - + reinterpret_cast(&_impl_.voltage_)) + sizeof(_impl_.shorttermfueltrim_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2Sensor8::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2Sensor8::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2Sensor8) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2Sensor8) + return target; +} + +::size_t VehicleOBDO2Sensor8::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2Sensor8) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float ShortTermFuelTrim = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = this->_internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2Sensor8::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2Sensor8::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2Sensor8::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2Sensor8::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2Sensor8) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_shorttermfueltrim = from._internal_shorttermfueltrim(); + ::uint32_t raw_shorttermfueltrim; + memcpy(&raw_shorttermfueltrim, &tmp_shorttermfueltrim, sizeof(tmp_shorttermfueltrim)); + if (raw_shorttermfueltrim != 0) { + _this->_internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2Sensor8::CopyFrom(const VehicleOBDO2Sensor8& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2Sensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor8::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor8::InternalSwap(VehicleOBDO2Sensor8* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor8, _impl_.shorttermfueltrim_) + + sizeof(VehicleOBDO2Sensor8::_impl_.shorttermfueltrim_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2Sensor8, _impl_.voltage_)>( + reinterpret_cast(&_impl_.voltage_), + reinterpret_cast(&other->_impl_.voltage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor8::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[250]); +} +// =================================================================== + +class VehicleOBDO2WR::_Internal { + public: + static const ::vss::VehicleOBDO2WRSensor1& sensor1(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor2& sensor2(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor3& sensor3(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor4& sensor4(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor5& sensor5(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor6& sensor6(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor7& sensor7(const VehicleOBDO2WR* msg); + static const ::vss::VehicleOBDO2WRSensor8& sensor8(const VehicleOBDO2WR* msg); +}; + +const ::vss::VehicleOBDO2WRSensor1& +VehicleOBDO2WR::_Internal::sensor1(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor1_; +} +const ::vss::VehicleOBDO2WRSensor2& +VehicleOBDO2WR::_Internal::sensor2(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor2_; +} +const ::vss::VehicleOBDO2WRSensor3& +VehicleOBDO2WR::_Internal::sensor3(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor3_; +} +const ::vss::VehicleOBDO2WRSensor4& +VehicleOBDO2WR::_Internal::sensor4(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor4_; +} +const ::vss::VehicleOBDO2WRSensor5& +VehicleOBDO2WR::_Internal::sensor5(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor5_; +} +const ::vss::VehicleOBDO2WRSensor6& +VehicleOBDO2WR::_Internal::sensor6(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor6_; +} +const ::vss::VehicleOBDO2WRSensor7& +VehicleOBDO2WR::_Internal::sensor7(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor7_; +} +const ::vss::VehicleOBDO2WRSensor8& +VehicleOBDO2WR::_Internal::sensor8(const VehicleOBDO2WR* msg) { + return *msg->_impl_.sensor8_; +} +VehicleOBDO2WR::VehicleOBDO2WR(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WR) +} +VehicleOBDO2WR::VehicleOBDO2WR(const VehicleOBDO2WR& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBDO2WR* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.sensor1_){nullptr} + , decltype(_impl_.sensor2_){nullptr} + , decltype(_impl_.sensor3_){nullptr} + , decltype(_impl_.sensor4_){nullptr} + , decltype(_impl_.sensor5_){nullptr} + , decltype(_impl_.sensor6_){nullptr} + , decltype(_impl_.sensor7_){nullptr} + , decltype(_impl_.sensor8_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_sensor1()) { + _this->_impl_.sensor1_ = new ::vss::VehicleOBDO2WRSensor1(*from._impl_.sensor1_); + } + if (from._internal_has_sensor2()) { + _this->_impl_.sensor2_ = new ::vss::VehicleOBDO2WRSensor2(*from._impl_.sensor2_); + } + if (from._internal_has_sensor3()) { + _this->_impl_.sensor3_ = new ::vss::VehicleOBDO2WRSensor3(*from._impl_.sensor3_); + } + if (from._internal_has_sensor4()) { + _this->_impl_.sensor4_ = new ::vss::VehicleOBDO2WRSensor4(*from._impl_.sensor4_); + } + if (from._internal_has_sensor5()) { + _this->_impl_.sensor5_ = new ::vss::VehicleOBDO2WRSensor5(*from._impl_.sensor5_); + } + if (from._internal_has_sensor6()) { + _this->_impl_.sensor6_ = new ::vss::VehicleOBDO2WRSensor6(*from._impl_.sensor6_); + } + if (from._internal_has_sensor7()) { + _this->_impl_.sensor7_ = new ::vss::VehicleOBDO2WRSensor7(*from._impl_.sensor7_); + } + if (from._internal_has_sensor8()) { + _this->_impl_.sensor8_ = new ::vss::VehicleOBDO2WRSensor8(*from._impl_.sensor8_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WR) +} + +inline void VehicleOBDO2WR::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.sensor1_){nullptr} + , decltype(_impl_.sensor2_){nullptr} + , decltype(_impl_.sensor3_){nullptr} + , decltype(_impl_.sensor4_){nullptr} + , decltype(_impl_.sensor5_){nullptr} + , decltype(_impl_.sensor6_){nullptr} + , decltype(_impl_.sensor7_){nullptr} + , decltype(_impl_.sensor8_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WR::~VehicleOBDO2WR() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WR) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WR::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.sensor1_; + if (this != internal_default_instance()) delete _impl_.sensor2_; + if (this != internal_default_instance()) delete _impl_.sensor3_; + if (this != internal_default_instance()) delete _impl_.sensor4_; + if (this != internal_default_instance()) delete _impl_.sensor5_; + if (this != internal_default_instance()) delete _impl_.sensor6_; + if (this != internal_default_instance()) delete _impl_.sensor7_; + if (this != internal_default_instance()) delete _impl_.sensor8_; +} + +void VehicleOBDO2WR::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WR::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WR) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.sensor1_ != nullptr) { + delete _impl_.sensor1_; + } + _impl_.sensor1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor2_ != nullptr) { + delete _impl_.sensor2_; + } + _impl_.sensor2_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor3_ != nullptr) { + delete _impl_.sensor3_; + } + _impl_.sensor3_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor4_ != nullptr) { + delete _impl_.sensor4_; + } + _impl_.sensor4_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor5_ != nullptr) { + delete _impl_.sensor5_; + } + _impl_.sensor5_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor6_ != nullptr) { + delete _impl_.sensor6_; + } + _impl_.sensor6_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor7_ != nullptr) { + delete _impl_.sensor7_; + } + _impl_.sensor7_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.sensor8_ != nullptr) { + delete _impl_.sensor8_; + } + _impl_.sensor8_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WR::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleOBDO2WRSensor1 Sensor1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor2 Sensor2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor3 Sensor3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor3(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor4 Sensor4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor4(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor5 Sensor5 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor5(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor6 Sensor6 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor6(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor7 Sensor7 = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor7(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDO2WRSensor8 Sensor8 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor8(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WR::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WR) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleOBDO2WRSensor1 Sensor1 = 1; + if (this->_internal_has_sensor1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::sensor1(this), + _Internal::sensor1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor2 Sensor2 = 2; + if (this->_internal_has_sensor2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::sensor2(this), + _Internal::sensor2(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor3 Sensor3 = 3; + if (this->_internal_has_sensor3()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::sensor3(this), + _Internal::sensor3(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor4 Sensor4 = 4; + if (this->_internal_has_sensor4()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::sensor4(this), + _Internal::sensor4(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor5 Sensor5 = 5; + if (this->_internal_has_sensor5()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::sensor5(this), + _Internal::sensor5(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor6 Sensor6 = 6; + if (this->_internal_has_sensor6()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::sensor6(this), + _Internal::sensor6(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor7 Sensor7 = 7; + if (this->_internal_has_sensor7()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(7, _Internal::sensor7(this), + _Internal::sensor7(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDO2WRSensor8 Sensor8 = 8; + if (this->_internal_has_sensor8()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(8, _Internal::sensor8(this), + _Internal::sensor8(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WR) + return target; +} + +::size_t VehicleOBDO2WR::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WR) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleOBDO2WRSensor1 Sensor1 = 1; + if (this->_internal_has_sensor1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor1_); + } + + // .vss.VehicleOBDO2WRSensor2 Sensor2 = 2; + if (this->_internal_has_sensor2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor2_); + } + + // .vss.VehicleOBDO2WRSensor3 Sensor3 = 3; + if (this->_internal_has_sensor3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor3_); + } + + // .vss.VehicleOBDO2WRSensor4 Sensor4 = 4; + if (this->_internal_has_sensor4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor4_); + } + + // .vss.VehicleOBDO2WRSensor5 Sensor5 = 5; + if (this->_internal_has_sensor5()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor5_); + } + + // .vss.VehicleOBDO2WRSensor6 Sensor6 = 6; + if (this->_internal_has_sensor6()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor6_); + } + + // .vss.VehicleOBDO2WRSensor7 Sensor7 = 7; + if (this->_internal_has_sensor7()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor7_); + } + + // .vss.VehicleOBDO2WRSensor8 Sensor8 = 8; + if (this->_internal_has_sensor8()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.sensor8_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WR::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WR::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WR::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WR::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WR) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_sensor1()) { + _this->_internal_mutable_sensor1()->::vss::VehicleOBDO2WRSensor1::MergeFrom( + from._internal_sensor1()); + } + if (from._internal_has_sensor2()) { + _this->_internal_mutable_sensor2()->::vss::VehicleOBDO2WRSensor2::MergeFrom( + from._internal_sensor2()); + } + if (from._internal_has_sensor3()) { + _this->_internal_mutable_sensor3()->::vss::VehicleOBDO2WRSensor3::MergeFrom( + from._internal_sensor3()); + } + if (from._internal_has_sensor4()) { + _this->_internal_mutable_sensor4()->::vss::VehicleOBDO2WRSensor4::MergeFrom( + from._internal_sensor4()); + } + if (from._internal_has_sensor5()) { + _this->_internal_mutable_sensor5()->::vss::VehicleOBDO2WRSensor5::MergeFrom( + from._internal_sensor5()); + } + if (from._internal_has_sensor6()) { + _this->_internal_mutable_sensor6()->::vss::VehicleOBDO2WRSensor6::MergeFrom( + from._internal_sensor6()); + } + if (from._internal_has_sensor7()) { + _this->_internal_mutable_sensor7()->::vss::VehicleOBDO2WRSensor7::MergeFrom( + from._internal_sensor7()); + } + if (from._internal_has_sensor8()) { + _this->_internal_mutable_sensor8()->::vss::VehicleOBDO2WRSensor8::MergeFrom( + from._internal_sensor8()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WR::CopyFrom(const VehicleOBDO2WR& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WR) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WR::IsInitialized() const { + return true; +} + +void VehicleOBDO2WR::InternalSwap(VehicleOBDO2WR* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WR, _impl_.sensor8_) + + sizeof(VehicleOBDO2WR::_impl_.sensor8_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WR, _impl_.sensor1_)>( + reinterpret_cast(&_impl_.sensor1_), + reinterpret_cast(&other->_impl_.sensor1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WR::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[251]); +} +// =================================================================== + +class VehicleOBDO2WRSensor1::_Internal { + public: +}; + +VehicleOBDO2WRSensor1::VehicleOBDO2WRSensor1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor1) +} +VehicleOBDO2WRSensor1::VehicleOBDO2WRSensor1(const VehicleOBDO2WRSensor1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor1) +} + +inline void VehicleOBDO2WRSensor1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor1::~VehicleOBDO2WRSensor1() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor1) + return target; +} + +::size_t VehicleOBDO2WRSensor1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor1::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor1::CopyFrom(const VehicleOBDO2WRSensor1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor1::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor1::InternalSwap(VehicleOBDO2WRSensor1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor1, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor1::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor1, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[252]); +} +// =================================================================== + +class VehicleOBDO2WRSensor2::_Internal { + public: +}; + +VehicleOBDO2WRSensor2::VehicleOBDO2WRSensor2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor2) +} +VehicleOBDO2WRSensor2::VehicleOBDO2WRSensor2(const VehicleOBDO2WRSensor2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor2) +} + +inline void VehicleOBDO2WRSensor2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor2::~VehicleOBDO2WRSensor2() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor2) + return target; +} + +::size_t VehicleOBDO2WRSensor2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor2::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor2::CopyFrom(const VehicleOBDO2WRSensor2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor2::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor2::InternalSwap(VehicleOBDO2WRSensor2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor2, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor2::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor2, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[253]); +} +// =================================================================== + +class VehicleOBDO2WRSensor3::_Internal { + public: +}; + +VehicleOBDO2WRSensor3::VehicleOBDO2WRSensor3(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor3) +} +VehicleOBDO2WRSensor3::VehicleOBDO2WRSensor3(const VehicleOBDO2WRSensor3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor3) +} + +inline void VehicleOBDO2WRSensor3::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor3::~VehicleOBDO2WRSensor3() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor3::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor3::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor3) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor3::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor3) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor3) + return target; +} + +::size_t VehicleOBDO2WRSensor3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor3::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor3::CopyFrom(const VehicleOBDO2WRSensor3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor3::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor3::InternalSwap(VehicleOBDO2WRSensor3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor3, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor3::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor3, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[254]); +} +// =================================================================== + +class VehicleOBDO2WRSensor4::_Internal { + public: +}; + +VehicleOBDO2WRSensor4::VehicleOBDO2WRSensor4(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor4) +} +VehicleOBDO2WRSensor4::VehicleOBDO2WRSensor4(const VehicleOBDO2WRSensor4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor4) +} + +inline void VehicleOBDO2WRSensor4::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor4::~VehicleOBDO2WRSensor4() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor4) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor4::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor4::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor4::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor4) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor4::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor4::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor4) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor4) + return target; +} + +::size_t VehicleOBDO2WRSensor4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor4) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor4::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor4::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor4::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor4::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor4) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor4::CopyFrom(const VehicleOBDO2WRSensor4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor4::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor4::InternalSwap(VehicleOBDO2WRSensor4* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor4, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor4::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor4, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor4::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[255]); +} +// =================================================================== + +class VehicleOBDO2WRSensor5::_Internal { + public: +}; + +VehicleOBDO2WRSensor5::VehicleOBDO2WRSensor5(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor5) +} +VehicleOBDO2WRSensor5::VehicleOBDO2WRSensor5(const VehicleOBDO2WRSensor5& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor5) +} + +inline void VehicleOBDO2WRSensor5::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor5::~VehicleOBDO2WRSensor5() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor5) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor5::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor5::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor5::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor5) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor5::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor5::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor5) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor5) + return target; +} + +::size_t VehicleOBDO2WRSensor5::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor5) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor5::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor5::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor5::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor5::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor5) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor5::CopyFrom(const VehicleOBDO2WRSensor5& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor5::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor5::InternalSwap(VehicleOBDO2WRSensor5* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor5, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor5::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor5, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor5::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[256]); +} +// =================================================================== + +class VehicleOBDO2WRSensor6::_Internal { + public: +}; + +VehicleOBDO2WRSensor6::VehicleOBDO2WRSensor6(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor6) +} +VehicleOBDO2WRSensor6::VehicleOBDO2WRSensor6(const VehicleOBDO2WRSensor6& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor6) +} + +inline void VehicleOBDO2WRSensor6::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor6::~VehicleOBDO2WRSensor6() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor6) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor6::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor6::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor6::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor6) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor6::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor6::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor6) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor6) + return target; +} + +::size_t VehicleOBDO2WRSensor6::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor6) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor6::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor6::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor6::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor6::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor6) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor6::CopyFrom(const VehicleOBDO2WRSensor6& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor6::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor6::InternalSwap(VehicleOBDO2WRSensor6* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor6, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor6::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor6, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor6::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[257]); +} +// =================================================================== + +class VehicleOBDO2WRSensor7::_Internal { + public: +}; + +VehicleOBDO2WRSensor7::VehicleOBDO2WRSensor7(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor7) +} +VehicleOBDO2WRSensor7::VehicleOBDO2WRSensor7(const VehicleOBDO2WRSensor7& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor7) +} + +inline void VehicleOBDO2WRSensor7::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor7::~VehicleOBDO2WRSensor7() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor7) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor7::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor7::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor7::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor7) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor7::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor7::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor7) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor7) + return target; +} + +::size_t VehicleOBDO2WRSensor7::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor7) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor7::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor7::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor7::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor7::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor7) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor7::CopyFrom(const VehicleOBDO2WRSensor7& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor7::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor7::InternalSwap(VehicleOBDO2WRSensor7* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor7, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor7::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor7, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor7::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[258]); +} +// =================================================================== + +class VehicleOBDO2WRSensor8::_Internal { + public: +}; + +VehicleOBDO2WRSensor8::VehicleOBDO2WRSensor8(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDO2WRSensor8) +} +VehicleOBDO2WRSensor8::VehicleOBDO2WRSensor8(const VehicleOBDO2WRSensor8& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDO2WRSensor8) +} + +inline void VehicleOBDO2WRSensor8::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.lambda_) { 0 } + + , decltype(_impl_.voltage_) { 0 } + + , decltype(_impl_.current_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDO2WRSensor8::~VehicleOBDO2WRSensor8() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDO2WRSensor8) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDO2WRSensor8::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDO2WRSensor8::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDO2WRSensor8::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDO2WRSensor8) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lambda_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.current_) - + reinterpret_cast(&_impl_.lambda_)) + sizeof(_impl_.current_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDO2WRSensor8::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDO2WRSensor8::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDO2WRSensor8) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_voltage(), target); + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDO2WRSensor8) + return target; +} + +::size_t VehicleOBDO2WRSensor8::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDO2WRSensor8) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = this->_internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + total_size += 5; + } + + // float Voltage = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = this->_internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + total_size += 5; + } + + // float Current = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = this->_internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDO2WRSensor8::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDO2WRSensor8::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDO2WRSensor8::GetClassData() const { return &_class_data_; } + + +void VehicleOBDO2WRSensor8::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDO2WRSensor8) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lambda = from._internal_lambda(); + ::uint32_t raw_lambda; + memcpy(&raw_lambda, &tmp_lambda, sizeof(tmp_lambda)); + if (raw_lambda != 0) { + _this->_internal_set_lambda(from._internal_lambda()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_voltage = from._internal_voltage(); + ::uint32_t raw_voltage; + memcpy(&raw_voltage, &tmp_voltage, sizeof(tmp_voltage)); + if (raw_voltage != 0) { + _this->_internal_set_voltage(from._internal_voltage()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_current = from._internal_current(); + ::uint32_t raw_current; + memcpy(&raw_current, &tmp_current, sizeof(tmp_current)); + if (raw_current != 0) { + _this->_internal_set_current(from._internal_current()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDO2WRSensor8::CopyFrom(const VehicleOBDO2WRSensor8& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDO2WRSensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor8::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor8::InternalSwap(VehicleOBDO2WRSensor8* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor8, _impl_.current_) + + sizeof(VehicleOBDO2WRSensor8::_impl_.current_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDO2WRSensor8, _impl_.lambda_)>( + reinterpret_cast(&_impl_.lambda_), + reinterpret_cast(&other->_impl_.lambda_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor8::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[259]); +} +// =================================================================== + +class VehicleOBDCatalyst::_Internal { + public: + static const ::vss::VehicleOBDCatalystBank1& bank1(const VehicleOBDCatalyst* msg); + static const ::vss::VehicleOBDCatalystBank2& bank2(const VehicleOBDCatalyst* msg); +}; + +const ::vss::VehicleOBDCatalystBank1& +VehicleOBDCatalyst::_Internal::bank1(const VehicleOBDCatalyst* msg) { + return *msg->_impl_.bank1_; +} +const ::vss::VehicleOBDCatalystBank2& +VehicleOBDCatalyst::_Internal::bank2(const VehicleOBDCatalyst* msg) { + return *msg->_impl_.bank2_; +} +VehicleOBDCatalyst::VehicleOBDCatalyst(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDCatalyst) +} +VehicleOBDCatalyst::VehicleOBDCatalyst(const VehicleOBDCatalyst& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBDCatalyst* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.bank1_){nullptr} + , decltype(_impl_.bank2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_bank1()) { + _this->_impl_.bank1_ = new ::vss::VehicleOBDCatalystBank1(*from._impl_.bank1_); + } + if (from._internal_has_bank2()) { + _this->_impl_.bank2_ = new ::vss::VehicleOBDCatalystBank2(*from._impl_.bank2_); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDCatalyst) +} + +inline void VehicleOBDCatalyst::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.bank1_){nullptr} + , decltype(_impl_.bank2_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDCatalyst::~VehicleOBDCatalyst() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDCatalyst) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDCatalyst::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.bank1_; + if (this != internal_default_instance()) delete _impl_.bank2_; +} + +void VehicleOBDCatalyst::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDCatalyst::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDCatalyst) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.bank1_ != nullptr) { + delete _impl_.bank1_; + } + _impl_.bank1_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.bank2_ != nullptr) { + delete _impl_.bank2_; + } + _impl_.bank2_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDCatalyst::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleOBDCatalystBank1 Bank1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_bank1(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // .vss.VehicleOBDCatalystBank2 Bank2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_bank2(), ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDCatalyst::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDCatalyst) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleOBDCatalystBank1 Bank1 = 1; + if (this->_internal_has_bank1()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::bank1(this), + _Internal::bank1(this).GetCachedSize(), target, stream); + } + + // .vss.VehicleOBDCatalystBank2 Bank2 = 2; + if (this->_internal_has_bank2()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::bank2(this), + _Internal::bank2(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDCatalyst) + return target; +} + +::size_t VehicleOBDCatalyst::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDCatalyst) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleOBDCatalystBank1 Bank1 = 1; + if (this->_internal_has_bank1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bank1_); + } + + // .vss.VehicleOBDCatalystBank2 Bank2 = 2; + if (this->_internal_has_bank2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.bank2_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDCatalyst::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDCatalyst::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDCatalyst::GetClassData() const { return &_class_data_; } + + +void VehicleOBDCatalyst::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDCatalyst) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_bank1()) { + _this->_internal_mutable_bank1()->::vss::VehicleOBDCatalystBank1::MergeFrom( + from._internal_bank1()); + } + if (from._internal_has_bank2()) { + _this->_internal_mutable_bank2()->::vss::VehicleOBDCatalystBank2::MergeFrom( + from._internal_bank2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDCatalyst::CopyFrom(const VehicleOBDCatalyst& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDCatalyst) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalyst::IsInitialized() const { + return true; +} + +void VehicleOBDCatalyst::InternalSwap(VehicleOBDCatalyst* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDCatalyst, _impl_.bank2_) + + sizeof(VehicleOBDCatalyst::_impl_.bank2_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDCatalyst, _impl_.bank1_)>( + reinterpret_cast(&_impl_.bank1_), + reinterpret_cast(&other->_impl_.bank1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalyst::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[260]); +} +// =================================================================== + +class VehicleOBDCatalystBank1::_Internal { + public: +}; + +VehicleOBDCatalystBank1::VehicleOBDCatalystBank1(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDCatalystBank1) +} +VehicleOBDCatalystBank1::VehicleOBDCatalystBank1(const VehicleOBDCatalystBank1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDCatalystBank1) +} + +inline void VehicleOBDCatalystBank1::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.temperature1_) { 0 } + + , decltype(_impl_.temperature2_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDCatalystBank1::~VehicleOBDCatalystBank1() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDCatalystBank1) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDCatalystBank1::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDCatalystBank1::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDCatalystBank1::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDCatalystBank1) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.temperature1_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature2_) - + reinterpret_cast(&_impl_.temperature1_)) + sizeof(_impl_.temperature2_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDCatalystBank1::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Temperature1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.temperature1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Temperature2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.temperature2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDCatalystBank1::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDCatalystBank1) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Temperature1 = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = this->_internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_temperature1(), target); + } + + // float Temperature2 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = this->_internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_temperature2(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDCatalystBank1) + return target; +} + +::size_t VehicleOBDCatalystBank1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDCatalystBank1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Temperature1 = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = this->_internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + total_size += 5; + } + + // float Temperature2 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = this->_internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDCatalystBank1::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDCatalystBank1::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDCatalystBank1::GetClassData() const { return &_class_data_; } + + +void VehicleOBDCatalystBank1::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDCatalystBank1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = from._internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + _this->_internal_set_temperature1(from._internal_temperature1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = from._internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + _this->_internal_set_temperature2(from._internal_temperature2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDCatalystBank1::CopyFrom(const VehicleOBDCatalystBank1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDCatalystBank1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalystBank1::IsInitialized() const { + return true; +} + +void VehicleOBDCatalystBank1::InternalSwap(VehicleOBDCatalystBank1* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDCatalystBank1, _impl_.temperature2_) + + sizeof(VehicleOBDCatalystBank1::_impl_.temperature2_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDCatalystBank1, _impl_.temperature1_)>( + reinterpret_cast(&_impl_.temperature1_), + reinterpret_cast(&other->_impl_.temperature1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalystBank1::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[261]); +} +// =================================================================== + +class VehicleOBDCatalystBank2::_Internal { + public: +}; + +VehicleOBDCatalystBank2::VehicleOBDCatalystBank2(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDCatalystBank2) +} +VehicleOBDCatalystBank2::VehicleOBDCatalystBank2(const VehicleOBDCatalystBank2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDCatalystBank2) +} + +inline void VehicleOBDCatalystBank2::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.temperature1_) { 0 } + + , decltype(_impl_.temperature2_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleOBDCatalystBank2::~VehicleOBDCatalystBank2() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDCatalystBank2) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDCatalystBank2::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleOBDCatalystBank2::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDCatalystBank2::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDCatalystBank2) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.temperature1_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.temperature2_) - + reinterpret_cast(&_impl_.temperature1_)) + sizeof(_impl_.temperature2_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDCatalystBank2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float Temperature1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.temperature1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Temperature2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.temperature2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDCatalystBank2::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDCatalystBank2) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float Temperature1 = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = this->_internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_temperature1(), target); + } + + // float Temperature2 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = this->_internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_temperature2(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDCatalystBank2) + return target; +} + +::size_t VehicleOBDCatalystBank2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDCatalystBank2) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Temperature1 = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = this->_internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + total_size += 5; + } + + // float Temperature2 = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = this->_internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDCatalystBank2::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDCatalystBank2::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDCatalystBank2::GetClassData() const { return &_class_data_; } + + +void VehicleOBDCatalystBank2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDCatalystBank2) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature1 = from._internal_temperature1(); + ::uint32_t raw_temperature1; + memcpy(&raw_temperature1, &tmp_temperature1, sizeof(tmp_temperature1)); + if (raw_temperature1 != 0) { + _this->_internal_set_temperature1(from._internal_temperature1()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_temperature2 = from._internal_temperature2(); + ::uint32_t raw_temperature2; + memcpy(&raw_temperature2, &tmp_temperature2, sizeof(tmp_temperature2)); + if (raw_temperature2 != 0) { + _this->_internal_set_temperature2(from._internal_temperature2()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDCatalystBank2::CopyFrom(const VehicleOBDCatalystBank2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDCatalystBank2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalystBank2::IsInitialized() const { + return true; +} + +void VehicleOBDCatalystBank2::InternalSwap(VehicleOBDCatalystBank2* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDCatalystBank2, _impl_.temperature2_) + + sizeof(VehicleOBDCatalystBank2::_impl_.temperature2_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDCatalystBank2, _impl_.temperature1_)>( + reinterpret_cast(&_impl_.temperature1_), + reinterpret_cast(&other->_impl_.temperature1_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalystBank2::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[262]); +} +// =================================================================== + +class VehicleOBDDriveCycleStatus::_Internal { + public: +}; + +VehicleOBDDriveCycleStatus::VehicleOBDDriveCycleStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleOBDDriveCycleStatus) +} +VehicleOBDDriveCycleStatus::VehicleOBDDriveCycleStatus(const VehicleOBDDriveCycleStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleOBDDriveCycleStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.ignitiontype_) {} + + , decltype(_impl_.ismilon_) {} + + , decltype(_impl_.dtccount_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.ignitiontype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignitiontype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_ignitiontype().empty()) { + _this->_impl_.ignitiontype_.Set(from._internal_ignitiontype(), _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.ismilon_, &from._impl_.ismilon_, + static_cast<::size_t>(reinterpret_cast(&_impl_.dtccount_) - + reinterpret_cast(&_impl_.ismilon_)) + sizeof(_impl_.dtccount_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleOBDDriveCycleStatus) +} + +inline void VehicleOBDDriveCycleStatus::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.ignitiontype_) {} + + , decltype(_impl_.ismilon_) { false } + + , decltype(_impl_.dtccount_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.ignitiontype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ignitiontype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleOBDDriveCycleStatus::~VehicleOBDDriveCycleStatus() { + // @@protoc_insertion_point(destructor:vss.VehicleOBDDriveCycleStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleOBDDriveCycleStatus::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.ignitiontype_.Destroy(); +} + +void VehicleOBDDriveCycleStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleOBDDriveCycleStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleOBDDriveCycleStatus) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ignitiontype_.ClearToEmpty(); + ::memset(&_impl_.ismilon_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.dtccount_) - + reinterpret_cast(&_impl_.ismilon_)) + sizeof(_impl_.dtccount_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleOBDDriveCycleStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsMILOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.ismilon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // uint32 DTCCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) { + _impl_.dtccount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // string IgnitionType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) { + auto str = _internal_mutable_ignitiontype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleOBDDriveCycleStatus.IgnitionType")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleOBDDriveCycleStatus::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleOBDDriveCycleStatus) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMILOn = 1; + if (this->_internal_ismilon() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_ismilon(), target); + } + + // uint32 DTCCount = 2; + if (this->_internal_dtccount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this->_internal_dtccount(), target); + } + + // string IgnitionType = 3; + if (!this->_internal_ignitiontype().empty()) { + const std::string& _s = this->_internal_ignitiontype(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleOBDDriveCycleStatus.IgnitionType"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleOBDDriveCycleStatus) + return target; +} + +::size_t VehicleOBDDriveCycleStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleOBDDriveCycleStatus) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IgnitionType = 3; + if (!this->_internal_ignitiontype().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ignitiontype()); + } + + // bool IsMILOn = 1; + if (this->_internal_ismilon() != 0) { + total_size += 2; + } + + // uint32 DTCCount = 2; + if (this->_internal_dtccount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_dtccount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleOBDDriveCycleStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleOBDDriveCycleStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleOBDDriveCycleStatus::GetClassData() const { return &_class_data_; } + + +void VehicleOBDDriveCycleStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleOBDDriveCycleStatus) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_ignitiontype().empty()) { + _this->_internal_set_ignitiontype(from._internal_ignitiontype()); + } + if (from._internal_ismilon() != 0) { + _this->_internal_set_ismilon(from._internal_ismilon()); + } + if (from._internal_dtccount() != 0) { + _this->_internal_set_dtccount(from._internal_dtccount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleOBDDriveCycleStatus::CopyFrom(const VehicleOBDDriveCycleStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleOBDDriveCycleStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDDriveCycleStatus::IsInitialized() const { + return true; +} + +void VehicleOBDDriveCycleStatus::InternalSwap(VehicleOBDDriveCycleStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ignitiontype_, lhs_arena, + &other->_impl_.ignitiontype_, rhs_arena); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleOBDDriveCycleStatus, _impl_.dtccount_) + + sizeof(VehicleOBDDriveCycleStatus::_impl_.dtccount_) + - PROTOBUF_FIELD_OFFSET(VehicleOBDDriveCycleStatus, _impl_.ismilon_)>( + reinterpret_cast(&_impl_.ismilon_), + reinterpret_cast(&other->_impl_.ismilon_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDDriveCycleStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[263]); +} +// =================================================================== + +class VehicleDriver::_Internal { + public: + static const ::vss::VehicleDriverIdentifier& identifier(const VehicleDriver* msg); +}; + +const ::vss::VehicleDriverIdentifier& +VehicleDriver::_Internal::identifier(const VehicleDriver* msg) { + return *msg->_impl_.identifier_; +} +VehicleDriver::VehicleDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleDriver) +} +VehicleDriver::VehicleDriver(const VehicleDriver& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleDriver* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , decltype(_impl_.distractionlevel_) {} + + , decltype(_impl_.iseyesonroad_) {} + + , decltype(_impl_.attentiveprobability_) {} + + , decltype(_impl_.fatiguelevel_) {} + + , decltype(_impl_.heartrate_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_identifier()) { + _this->_impl_.identifier_ = new ::vss::VehicleDriverIdentifier(*from._impl_.identifier_); + } + ::memcpy(&_impl_.distractionlevel_, &from._impl_.distractionlevel_, + static_cast<::size_t>(reinterpret_cast(&_impl_.heartrate_) - + reinterpret_cast(&_impl_.distractionlevel_)) + sizeof(_impl_.heartrate_)); + // @@protoc_insertion_point(copy_constructor:vss.VehicleDriver) +} + +inline void VehicleDriver::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.identifier_){nullptr} + , decltype(_impl_.distractionlevel_) { 0 } + + , decltype(_impl_.iseyesonroad_) { false } + + , decltype(_impl_.attentiveprobability_) { 0 } + + , decltype(_impl_.fatiguelevel_) { 0 } + + , decltype(_impl_.heartrate_) { 0u } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleDriver::~VehicleDriver() { + // @@protoc_insertion_point(destructor:vss.VehicleDriver) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleDriver::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.identifier_; +} + +void VehicleDriver::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleDriver::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleDriver) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.identifier_ != nullptr) { + delete _impl_.identifier_; + } + _impl_.identifier_ = nullptr; + ::memset(&_impl_.distractionlevel_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.heartrate_) - + reinterpret_cast(&_impl_.distractionlevel_)) + sizeof(_impl_.heartrate_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleDriver::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .vss.VehicleDriverIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(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<::uint8_t>(tag) == 21)) { + _impl_.distractionlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // bool IsEyesOnRoad = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.iseyesonroad_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float AttentiveProbability = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) { + _impl_.attentiveprobability_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float FatigueLevel = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) { + _impl_.fatiguelevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // uint32 HeartRate = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) { + _impl_.heartrate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleDriver::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleDriver) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .vss.VehicleDriverIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::identifier(this), + _Internal::identifier(this).GetCachedSize(), target, stream); + } + + // float DistractionLevel = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distractionlevel = this->_internal_distractionlevel(); + ::uint32_t raw_distractionlevel; + memcpy(&raw_distractionlevel, &tmp_distractionlevel, sizeof(tmp_distractionlevel)); + if (raw_distractionlevel != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_distractionlevel(), target); + } + + // bool IsEyesOnRoad = 3; + if (this->_internal_iseyesonroad() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this->_internal_iseyesonroad(), target); + } + + // float AttentiveProbability = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_attentiveprobability = this->_internal_attentiveprobability(); + ::uint32_t raw_attentiveprobability; + memcpy(&raw_attentiveprobability, &tmp_attentiveprobability, sizeof(tmp_attentiveprobability)); + if (raw_attentiveprobability != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this->_internal_attentiveprobability(), target); + } + + // float FatigueLevel = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fatiguelevel = this->_internal_fatiguelevel(); + ::uint32_t raw_fatiguelevel; + memcpy(&raw_fatiguelevel, &tmp_fatiguelevel, sizeof(tmp_fatiguelevel)); + if (raw_fatiguelevel != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this->_internal_fatiguelevel(), target); + } + + // uint32 HeartRate = 6; + if (this->_internal_heartrate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this->_internal_heartrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleDriver) + return target; +} + +::size_t VehicleDriver::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleDriver) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .vss.VehicleDriverIdentifier Identifier = 1; + if (this->_internal_has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.identifier_); + } + + // float DistractionLevel = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distractionlevel = this->_internal_distractionlevel(); + ::uint32_t raw_distractionlevel; + memcpy(&raw_distractionlevel, &tmp_distractionlevel, sizeof(tmp_distractionlevel)); + if (raw_distractionlevel != 0) { + total_size += 5; + } + + // bool IsEyesOnRoad = 3; + if (this->_internal_iseyesonroad() != 0) { + total_size += 2; + } + + // float AttentiveProbability = 4; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_attentiveprobability = this->_internal_attentiveprobability(); + ::uint32_t raw_attentiveprobability; + memcpy(&raw_attentiveprobability, &tmp_attentiveprobability, sizeof(tmp_attentiveprobability)); + if (raw_attentiveprobability != 0) { + total_size += 5; + } + + // float FatigueLevel = 5; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fatiguelevel = this->_internal_fatiguelevel(); + ::uint32_t raw_fatiguelevel; + memcpy(&raw_fatiguelevel, &tmp_fatiguelevel, sizeof(tmp_fatiguelevel)); + if (raw_fatiguelevel != 0) { + total_size += 5; + } + + // uint32 HeartRate = 6; + if (this->_internal_heartrate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this->_internal_heartrate()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleDriver::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleDriver::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleDriver::GetClassData() const { return &_class_data_; } + + +void VehicleDriver::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleDriver) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_identifier()) { + _this->_internal_mutable_identifier()->::vss::VehicleDriverIdentifier::MergeFrom( + from._internal_identifier()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distractionlevel = from._internal_distractionlevel(); + ::uint32_t raw_distractionlevel; + memcpy(&raw_distractionlevel, &tmp_distractionlevel, sizeof(tmp_distractionlevel)); + if (raw_distractionlevel != 0) { + _this->_internal_set_distractionlevel(from._internal_distractionlevel()); + } + if (from._internal_iseyesonroad() != 0) { + _this->_internal_set_iseyesonroad(from._internal_iseyesonroad()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_attentiveprobability = from._internal_attentiveprobability(); + ::uint32_t raw_attentiveprobability; + memcpy(&raw_attentiveprobability, &tmp_attentiveprobability, sizeof(tmp_attentiveprobability)); + if (raw_attentiveprobability != 0) { + _this->_internal_set_attentiveprobability(from._internal_attentiveprobability()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_fatiguelevel = from._internal_fatiguelevel(); + ::uint32_t raw_fatiguelevel; + memcpy(&raw_fatiguelevel, &tmp_fatiguelevel, sizeof(tmp_fatiguelevel)); + if (raw_fatiguelevel != 0) { + _this->_internal_set_fatiguelevel(from._internal_fatiguelevel()); + } + if (from._internal_heartrate() != 0) { + _this->_internal_set_heartrate(from._internal_heartrate()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleDriver::CopyFrom(const VehicleDriver& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleDriver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleDriver::IsInitialized() const { + return true; +} + +void VehicleDriver::InternalSwap(VehicleDriver* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleDriver, _impl_.heartrate_) + + sizeof(VehicleDriver::_impl_.heartrate_) + - PROTOBUF_FIELD_OFFSET(VehicleDriver, _impl_.identifier_)>( + reinterpret_cast(&_impl_.identifier_), + reinterpret_cast(&other->_impl_.identifier_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleDriver::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[264]); +} +// =================================================================== + +class VehicleDriverIdentifier::_Internal { + public: +}; + +VehicleDriverIdentifier::VehicleDriverIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleDriverIdentifier) +} +VehicleDriverIdentifier::VehicleDriverIdentifier(const VehicleDriverIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + VehicleDriverIdentifier* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_subject().empty()) { + _this->_impl_.subject_.Set(from._internal_subject(), _this->GetArenaForAllocation()); + } + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_issuer().empty()) { + _this->_impl_.issuer_.Set(from._internal_issuer(), _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:vss.VehicleDriverIdentifier) +} + +inline void VehicleDriverIdentifier::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.subject_) {} + + , decltype(_impl_.issuer_) {} + + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.subject_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.subject_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.issuer_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +VehicleDriverIdentifier::~VehicleDriverIdentifier() { + // @@protoc_insertion_point(destructor:vss.VehicleDriverIdentifier) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleDriverIdentifier::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.subject_.Destroy(); + _impl_.issuer_.Destroy(); +} + +void VehicleDriverIdentifier::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleDriverIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleDriverIdentifier) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.subject_.ClearToEmpty(); + _impl_.issuer_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleDriverIdentifier::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { + auto str = _internal_mutable_subject(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleDriverIdentifier.Subject")); + } else { + goto handle_unusual; + } + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) { + auto str = _internal_mutable_issuer(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "vss.VehicleDriverIdentifier.Issuer")); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleDriverIdentifier::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleDriverIdentifier) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + const std::string& _s = this->_internal_subject(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleDriverIdentifier.Subject"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + const std::string& _s = this->_internal_issuer(); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "vss.VehicleDriverIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleDriverIdentifier) + return target; +} + +::size_t VehicleDriverIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleDriverIdentifier) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (!this->_internal_subject().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (!this->_internal_issuer().empty()) { + total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleDriverIdentifier::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleDriverIdentifier::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleDriverIdentifier::GetClassData() const { return &_class_data_; } + + +void VehicleDriverIdentifier::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleDriverIdentifier) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } + if (!from._internal_issuer().empty()) { + _this->_internal_set_issuer(from._internal_issuer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleDriverIdentifier::CopyFrom(const VehicleDriverIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleDriverIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleDriverIdentifier::IsInitialized() const { + return true; +} + +void VehicleDriverIdentifier::InternalSwap(VehicleDriverIdentifier* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, lhs_arena, + &other->_impl_.subject_, rhs_arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.issuer_, lhs_arena, + &other->_impl_.issuer_, rhs_arena); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleDriverIdentifier::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[265]); +} +// =================================================================== + +class VehicleExterior::_Internal { + public: +}; + +VehicleExterior::VehicleExterior(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleExterior) +} +VehicleExterior::VehicleExterior(const VehicleExterior& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleExterior) +} + +inline void VehicleExterior::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.airtemperature_) { 0 } + + , decltype(_impl_.humidity_) { 0 } + + , decltype(_impl_.lightintensity_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleExterior::~VehicleExterior() { + // @@protoc_insertion_point(destructor:vss.VehicleExterior) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleExterior::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleExterior::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleExterior::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleExterior) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.airtemperature_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.lightintensity_) - + reinterpret_cast(&_impl_.airtemperature_)) + sizeof(_impl_.lightintensity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleExterior::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float AirTemperature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { + _impl_.airtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float Humidity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.humidity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // float LightIntensity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 29)) { + _impl_.lightintensity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleExterior::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleExterior) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float AirTemperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_airtemperature = this->_internal_airtemperature(); + ::uint32_t raw_airtemperature; + memcpy(&raw_airtemperature, &tmp_airtemperature, sizeof(tmp_airtemperature)); + if (raw_airtemperature != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this->_internal_airtemperature(), target); + } + + // float Humidity = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_humidity = this->_internal_humidity(); + ::uint32_t raw_humidity; + memcpy(&raw_humidity, &tmp_humidity, sizeof(tmp_humidity)); + if (raw_humidity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_humidity(), target); + } + + // float LightIntensity = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lightintensity = this->_internal_lightintensity(); + ::uint32_t raw_lightintensity; + memcpy(&raw_lightintensity, &tmp_lightintensity, sizeof(tmp_lightintensity)); + if (raw_lightintensity != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this->_internal_lightintensity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleExterior) + return target; +} + +::size_t VehicleExterior::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleExterior) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float AirTemperature = 1; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_airtemperature = this->_internal_airtemperature(); + ::uint32_t raw_airtemperature; + memcpy(&raw_airtemperature, &tmp_airtemperature, sizeof(tmp_airtemperature)); + if (raw_airtemperature != 0) { + total_size += 5; + } + + // float Humidity = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_humidity = this->_internal_humidity(); + ::uint32_t raw_humidity; + memcpy(&raw_humidity, &tmp_humidity, sizeof(tmp_humidity)); + if (raw_humidity != 0) { + total_size += 5; + } + + // float LightIntensity = 3; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lightintensity = this->_internal_lightintensity(); + ::uint32_t raw_lightintensity; + memcpy(&raw_lightintensity, &tmp_lightintensity, sizeof(tmp_lightintensity)); + if (raw_lightintensity != 0) { + total_size += 5; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleExterior::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleExterior::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleExterior::GetClassData() const { return &_class_data_; } + + +void VehicleExterior::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleExterior) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_airtemperature = from._internal_airtemperature(); + ::uint32_t raw_airtemperature; + memcpy(&raw_airtemperature, &tmp_airtemperature, sizeof(tmp_airtemperature)); + if (raw_airtemperature != 0) { + _this->_internal_set_airtemperature(from._internal_airtemperature()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_humidity = from._internal_humidity(); + ::uint32_t raw_humidity; + memcpy(&raw_humidity, &tmp_humidity, sizeof(tmp_humidity)); + if (raw_humidity != 0) { + _this->_internal_set_humidity(from._internal_humidity()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_lightintensity = from._internal_lightintensity(); + ::uint32_t raw_lightintensity; + memcpy(&raw_lightintensity, &tmp_lightintensity, sizeof(tmp_lightintensity)); + if (raw_lightintensity != 0) { + _this->_internal_set_lightintensity(from._internal_lightintensity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleExterior::CopyFrom(const VehicleExterior& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleExterior) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleExterior::IsInitialized() const { + return true; +} + +void VehicleExterior::InternalSwap(VehicleExterior* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleExterior, _impl_.lightintensity_) + + sizeof(VehicleExterior::_impl_.lightintensity_) + - PROTOBUF_FIELD_OFFSET(VehicleExterior, _impl_.airtemperature_)>( + reinterpret_cast(&_impl_.airtemperature_), + reinterpret_cast(&other->_impl_.airtemperature_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleExterior::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[266]); +} +// =================================================================== + +class VehicleService::_Internal { + public: +}; + +VehicleService::VehicleService(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleService) +} +VehicleService::VehicleService(const VehicleService& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleService) +} + +inline void VehicleService::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isservicedue_) { false } + + , decltype(_impl_.distancetoservice_) { 0 } + + , decltype(_impl_.timetoservice_) { 0 } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleService::~VehicleService() { + // @@protoc_insertion_point(destructor:vss.VehicleService) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleService::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleService::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleService::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleService) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.isservicedue_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.timetoservice_) - + reinterpret_cast(&_impl_.isservicedue_)) + sizeof(_impl_.timetoservice_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleService::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsServiceDue = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isservicedue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + // float DistanceToService = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 21)) { + _impl_.distancetoservice_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else { + goto handle_unusual; + } + continue; + // int32 TimeToService = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { + _impl_.timetoservice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleService::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleService) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsServiceDue = 1; + if (this->_internal_isservicedue() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isservicedue(), target); + } + + // float DistanceToService = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancetoservice = this->_internal_distancetoservice(); + ::uint32_t raw_distancetoservice; + memcpy(&raw_distancetoservice, &tmp_distancetoservice, sizeof(tmp_distancetoservice)); + if (raw_distancetoservice != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this->_internal_distancetoservice(), target); + } + + // int32 TimeToService = 3; + if (this->_internal_timetoservice() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray( + 3, this->_internal_timetoservice(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleService) + return target; +} + +::size_t VehicleService::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleService) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsServiceDue = 1; + if (this->_internal_isservicedue() != 0) { + total_size += 2; + } + + // float DistanceToService = 2; + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancetoservice = this->_internal_distancetoservice(); + ::uint32_t raw_distancetoservice; + memcpy(&raw_distancetoservice, &tmp_distancetoservice, sizeof(tmp_distancetoservice)); + if (raw_distancetoservice != 0) { + total_size += 5; + } + + // int32 TimeToService = 3; + if (this->_internal_timetoservice() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this->_internal_timetoservice()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleService::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleService::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleService::GetClassData() const { return &_class_data_; } + + +void VehicleService::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleService) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isservicedue() != 0) { + _this->_internal_set_isservicedue(from._internal_isservicedue()); + } + static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); + float tmp_distancetoservice = from._internal_distancetoservice(); + ::uint32_t raw_distancetoservice; + memcpy(&raw_distancetoservice, &tmp_distancetoservice, sizeof(tmp_distancetoservice)); + if (raw_distancetoservice != 0) { + _this->_internal_set_distancetoservice(from._internal_distancetoservice()); + } + if (from._internal_timetoservice() != 0) { + _this->_internal_set_timetoservice(from._internal_timetoservice()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleService::CopyFrom(const VehicleService& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleService::IsInitialized() const { + return true; +} + +void VehicleService::InternalSwap(VehicleService* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(VehicleService, _impl_.timetoservice_) + + sizeof(VehicleService::_impl_.timetoservice_) + - PROTOBUF_FIELD_OFFSET(VehicleService, _impl_.isservicedue_)>( + reinterpret_cast(&_impl_.isservicedue_), + reinterpret_cast(&other->_impl_.isservicedue_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleService::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[267]); +} +// =================================================================== + +class VehicleConnectivity::_Internal { + public: +}; + +VehicleConnectivity::VehicleConnectivity(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:vss.VehicleConnectivity) +} +VehicleConnectivity::VehicleConnectivity(const VehicleConnectivity& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:vss.VehicleConnectivity) +} + +inline void VehicleConnectivity::SharedCtor(::_pb::Arena* arena) { + (void)arena; + new (&_impl_) Impl_{ + decltype(_impl_.isconnectivityavailable_) { false } + + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +VehicleConnectivity::~VehicleConnectivity() { + // @@protoc_insertion_point(destructor:vss.VehicleConnectivity) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void VehicleConnectivity::SharedDtor() { + ABSL_DCHECK(GetArenaForAllocation() == nullptr); +} + +void VehicleConnectivity::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void VehicleConnectivity::Clear() { +// @@protoc_insertion_point(message_clear_start:vss.VehicleConnectivity) + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isconnectivityavailable_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* VehicleConnectivity::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool IsConnectivityAvailable = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { + _impl_.isconnectivityavailable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else { + goto handle_unusual; + } + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +::uint8_t* VehicleConnectivity::_InternalSerialize( + ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:vss.VehicleConnectivity) + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsConnectivityAvailable = 1; + if (this->_internal_isconnectivityavailable() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this->_internal_isconnectivityavailable(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:vss.VehicleConnectivity) + return target; +} + +::size_t VehicleConnectivity::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:vss.VehicleConnectivity) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsConnectivityAvailable = 1; + if (this->_internal_isconnectivityavailable() != 0) { + total_size += 2; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VehicleConnectivity::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + VehicleConnectivity::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VehicleConnectivity::GetClassData() const { return &_class_data_; } + + +void VehicleConnectivity::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:vss.VehicleConnectivity) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isconnectivityavailable() != 0) { + _this->_internal_set_isconnectivityavailable(from._internal_isconnectivityavailable()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void VehicleConnectivity::CopyFrom(const VehicleConnectivity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:vss.VehicleConnectivity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleConnectivity::IsInitialized() const { + return true; +} + +void VehicleConnectivity::InternalSwap(VehicleConnectivity* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + + swap(_impl_.isconnectivityavailable_, other->_impl_.isconnectivityavailable_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleConnectivity::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_vss_2fvspec_2eproto_getter, &descriptor_table_vss_2fvspec_2eproto_once, + file_level_metadata_vss_2fvspec_2eproto[268]); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace vss +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::vss::Vehicle* +Arena::CreateMaybeMessage< ::vss::Vehicle >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::Vehicle >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleVersionVSS* +Arena::CreateMaybeMessage< ::vss::VehicleVersionVSS >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleVersionVSS >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleVehicleIdentification* +Arena::CreateMaybeMessage< ::vss::VehicleVehicleIdentification >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleVehicleIdentification >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleLowVoltageBattery* +Arena::CreateMaybeMessage< ::vss::VehicleLowVoltageBattery >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleLowVoltageBattery >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleAcceleration* +Arena::CreateMaybeMessage< ::vss::VehicleAcceleration >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleAcceleration >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleAngularVelocity* +Arena::CreateMaybeMessage< ::vss::VehicleAngularVelocity >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleAngularVelocity >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleTrailer* +Arena::CreateMaybeMessage< ::vss::VehicleTrailer >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleTrailer >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCurrentLocation* +Arena::CreateMaybeMessage< ::vss::VehicleCurrentLocation >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCurrentLocation >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCurrentLocationGNSSReceiver* +Arena::CreateMaybeMessage< ::vss::VehicleCurrentLocationGNSSReceiver >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCurrentLocationGNSSReceiver >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition* +Arena::CreateMaybeMessage< ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCurrentLocationGNSSReceiverMountingPosition >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrain* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrain >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrain >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainCombustionEngine* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainCombustionEngine >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainCombustionEngine >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainCombustionEngineDieselExhaustFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainCombustionEngineDieselParticulateFilter >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTransmission* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTransmission >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTransmission >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainElectricMotor* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainElectricMotor >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainElectricMotor >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBattery* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBattery >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBattery >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryTemperature* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryTemperature >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryTemperature >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryStateOfCharge* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryStateOfCharge >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryStateOfCharge >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryCharging* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryCharging >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryCharging >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryChargingChargeCurrent >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryChargingChargeVoltage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryChargingTimer* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryChargingTimer >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryChargingTimer >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainTractionBatteryDCDC* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainTractionBatteryDCDC >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainTractionBatteryDCDC >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehiclePowertrainFuelSystem* +Arena::CreateMaybeMessage< ::vss::VehiclePowertrainFuelSystem >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehiclePowertrainFuelSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBody* +Arena::CreateMaybeMessage< ::vss::VehicleBody >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBody >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyHood* +Arena::CreateMaybeMessage< ::vss::VehicleBodyHood >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyHood >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyTrunk* +Arena::CreateMaybeMessage< ::vss::VehicleBodyTrunk >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyTrunk >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyTrunkFront* +Arena::CreateMaybeMessage< ::vss::VehicleBodyTrunkFront >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyTrunkFront >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyTrunkRear* +Arena::CreateMaybeMessage< ::vss::VehicleBodyTrunkRear >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyTrunkRear >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyHorn* +Arena::CreateMaybeMessage< ::vss::VehicleBodyHorn >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyHorn >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyRaindetection* +Arena::CreateMaybeMessage< ::vss::VehicleBodyRaindetection >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyRaindetection >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshield* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshield >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshield >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldFront* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldFront >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldFront >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldFrontWiping* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldFrontWiping >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldFrontWiping >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldFrontWipingSystem* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldFrontWipingSystem >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldFrontWipingSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldFrontWasherFluid* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldFrontWasherFluid >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldFrontWasherFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldRear* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldRear >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldRear >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldRearWiping* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldRearWiping >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldRearWiping >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldRearWipingSystem* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldRearWipingSystem >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldRearWipingSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyWindshieldRearWasherFluid* +Arena::CreateMaybeMessage< ::vss::VehicleBodyWindshieldRearWasherFluid >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyWindshieldRearWasherFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLights* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLights >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLights >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsBeam* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsBeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsBeam >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsBeamLow* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsBeamLow >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsBeamLow >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsBeamHigh* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsBeamHigh >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsBeamHigh >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsRunning* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsRunning >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsRunning >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsBackup* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsBackup >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsBackup >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsParking* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsParking >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsParking >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsFog* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsFog >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsFog >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsFogRear* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsFogRear >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsFogRear >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsFogFront* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsFogFront >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsFogFront >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsLicensePlate* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsLicensePlate >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsLicensePlate >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsBrake* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsHazard* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsHazard >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsHazard >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsDirectionIndicator* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsDirectionIndicator >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsDirectionIndicator >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsDirectionIndicatorLeft* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsDirectionIndicatorLeft >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsDirectionIndicatorLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyLightsDirectionIndicatorRight* +Arena::CreateMaybeMessage< ::vss::VehicleBodyLightsDirectionIndicatorRight >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyLightsDirectionIndicatorRight >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyMirrors* +Arena::CreateMaybeMessage< ::vss::VehicleBodyMirrors >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyMirrors >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyMirrorsLeft* +Arena::CreateMaybeMessage< ::vss::VehicleBodyMirrorsLeft >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyMirrorsLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleBodyMirrorsRight* +Arena::CreateMaybeMessage< ::vss::VehicleBodyMirrorsRight >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleBodyMirrorsRight >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabin* +Arena::CreateMaybeMessage< ::vss::VehicleCabin >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabin >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinRearShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinRearShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinRearShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVAC* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVAC >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVAC >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStation* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStation >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStation >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow1Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow1Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow1Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow1Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow1Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow1Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow2Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow2Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow2Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow2Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow2Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow2Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow3* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow3Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow3Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow3Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow3Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow3Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow3Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow4* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow4 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow4 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow4Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow4Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow4Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinHVACStationRow4Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinHVACStationRow4Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinHVACStationRow4Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainment* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainment >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainment >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentMedia* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentMedia >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentMedia >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentMediaPlayed* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentMediaPlayed >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentMediaPlayed >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentNavigation* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentNavigation >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentNavigation >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentNavigationDestinationSet* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentNavigationDestinationSet >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentNavigationDestinationSet >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentHMI* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentHMI >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentHMI >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinInfotainmentSmartphoneProjection* +Arena::CreateMaybeMessage< ::vss::VehicleCabinInfotainmentSmartphoneProjection >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinInfotainmentSmartphoneProjection >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSunroof* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSunroof >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSunroof >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSunroofShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSunroofShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSunroofShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinRearviewMirror* +Arena::CreateMaybeMessage< ::vss::VehicleCabinRearviewMirror >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinRearviewMirror >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLights* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLights >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLights >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLightsSpotlight* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLightsSpotlight >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLightsSpotlight >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLightsSpotlightRow1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLightsSpotlightRow1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLightsSpotlightRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLightsSpotlightRow2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLightsSpotlightRow2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLightsSpotlightRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLightsSpotlightRow3* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLightsSpotlightRow3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLightsSpotlightRow3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinLightsSpotlightRow4* +Arena::CreateMaybeMessage< ::vss::VehicleCabinLightsSpotlightRow4 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinLightsSpotlightRow4 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoor* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoor >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoor >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1LeftWindow* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1LeftWindow >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1LeftWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1LeftShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1LeftShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1LeftShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1RightWindow* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1RightWindow >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1RightWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow1RightShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow1RightShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow1RightShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2Left* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2Left >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2Left >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2LeftWindow* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2LeftWindow >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2LeftWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2LeftShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2LeftShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2LeftShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2Right* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2Right >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2Right >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2RightWindow* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2RightWindow >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2RightWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinDoorRow2RightShade* +Arena::CreateMaybeMessage< ::vss::VehicleCabinDoorRow2RightShade >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinDoorRow2RightShade >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeat* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeat >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeat >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos1SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos1SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos1SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos2SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos2SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos2SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow1Pos3SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow1Pos3SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow1Pos3SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos1SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos1SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos1SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos2SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos2SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos2SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Occupant* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Occupant >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Backrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Backrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Seating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Seating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Headrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Headrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Airbag* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Airbag >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3Switch* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3Switch >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchSeating* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchSeating >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinSeatRow2Pos3SwitchMassage* +Arena::CreateMaybeMessage< ::vss::VehicleCabinSeatRow2Pos3SwitchMassage >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinSeatRow2Pos3SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleCabinConvertible* +Arena::CreateMaybeMessage< ::vss::VehicleCabinConvertible >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleCabinConvertible >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADAS* +Arena::CreateMaybeMessage< ::vss::VehicleADAS >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADAS >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASCruiseControl* +Arena::CreateMaybeMessage< ::vss::VehicleADASCruiseControl >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASCruiseControl >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASLaneDepartureDetection* +Arena::CreateMaybeMessage< ::vss::VehicleADASLaneDepartureDetection >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASLaneDepartureDetection >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASObstacleDetection* +Arena::CreateMaybeMessage< ::vss::VehicleADASObstacleDetection >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASObstacleDetection >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASABS* +Arena::CreateMaybeMessage< ::vss::VehicleADASABS >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASABS >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASTCS* +Arena::CreateMaybeMessage< ::vss::VehicleADASTCS >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASTCS >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASESC* +Arena::CreateMaybeMessage< ::vss::VehicleADASESC >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASESC >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASESCRoadFriction* +Arena::CreateMaybeMessage< ::vss::VehicleADASESCRoadFriction >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASESCRoadFriction >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASEBD* +Arena::CreateMaybeMessage< ::vss::VehicleADASEBD >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASEBD >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleADASEBA* +Arena::CreateMaybeMessage< ::vss::VehicleADASEBA >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleADASEBA >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassis* +Arena::CreateMaybeMessage< ::vss::VehicleChassis >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassis >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxle* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxle >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxle >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1Wheel* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1Wheel >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1Wheel >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelLeft* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelLeft >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelLeftBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelLeftBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelLeftBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelLeftTire* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelLeftTire >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelLeftTire >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelRight* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelRight >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelRight >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelRightBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelRightBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelRightBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow1WheelRightTire* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow1WheelRightTire >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow1WheelRightTire >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2Wheel* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2Wheel >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2Wheel >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelLeft* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelLeft >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelLeftBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelLeftBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelLeftBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelLeftTire* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelLeftTire >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelLeftTire >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelRight* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelRight >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelRight >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelRightBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelRightBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelRightBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAxleRow2WheelRightTire* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAxleRow2WheelRightTire >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAxleRow2WheelRightTire >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisParkingBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisParkingBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisParkingBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisSteeringWheel* +Arena::CreateMaybeMessage< ::vss::VehicleChassisSteeringWheel >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisSteeringWheel >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisAccelerator* +Arena::CreateMaybeMessage< ::vss::VehicleChassisAccelerator >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisAccelerator >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleChassisBrake* +Arena::CreateMaybeMessage< ::vss::VehicleChassisBrake >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleChassisBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBD* +Arena::CreateMaybeMessage< ::vss::VehicleOBD >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBD >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDStatus* +Arena::CreateMaybeMessage< ::vss::VehicleOBDStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor1* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor2* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor3* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor4* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor4 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor4 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor5* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor5 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor5 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor6* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor6 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor6 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor7* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor7 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor7 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2Sensor8* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2Sensor8 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2Sensor8 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WR* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WR >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WR >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor1* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor2* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor3* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor3 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor4* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor4 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor4 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor5* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor5 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor5 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor6* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor6 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor6 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor7* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor7 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor7 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDO2WRSensor8* +Arena::CreateMaybeMessage< ::vss::VehicleOBDO2WRSensor8 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDO2WRSensor8 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDCatalyst* +Arena::CreateMaybeMessage< ::vss::VehicleOBDCatalyst >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDCatalyst >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDCatalystBank1* +Arena::CreateMaybeMessage< ::vss::VehicleOBDCatalystBank1 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDCatalystBank1 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDCatalystBank2* +Arena::CreateMaybeMessage< ::vss::VehicleOBDCatalystBank2 >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDCatalystBank2 >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleOBDDriveCycleStatus* +Arena::CreateMaybeMessage< ::vss::VehicleOBDDriveCycleStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleOBDDriveCycleStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleDriver* +Arena::CreateMaybeMessage< ::vss::VehicleDriver >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleDriver >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleDriverIdentifier* +Arena::CreateMaybeMessage< ::vss::VehicleDriverIdentifier >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleDriverIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleExterior* +Arena::CreateMaybeMessage< ::vss::VehicleExterior >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleExterior >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleService* +Arena::CreateMaybeMessage< ::vss::VehicleService >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleService >(arena); +} +template<> PROTOBUF_NOINLINE ::vss::VehicleConnectivity* +Arena::CreateMaybeMessage< ::vss::VehicleConnectivity >(Arena* arena) { + return Arena::CreateMessageInternal< ::vss::VehicleConnectivity >(arena); +} +PROTOBUF_NAMESPACE_CLOSE +// @@protoc_insertion_point(global_scope) +#include "google/protobuf/port_undef.inc" -- cgit 1.2.3-korg