diff options
author | James Simon <jamsimox@amazon.com> | 2023-03-31 10:54:54 -0400 |
---|---|---|
committer | James Simon <jamsimox@amazon.com> | 2023-03-31 10:54:54 -0400 |
commit | 57e11c93c40098dac59e31501bb1dc360e56acb0 (patch) | |
tree | cf28adeed46871102ce5df0db2397fd61cb8b906 /src | |
parent | e92aaf9131f8a4bfbc75aef3c3d966dff8d6efc5 (diff) |
added hvac
Signed-off-by: James Simon <jamsimox@amazon.com>
Change-Id: Iadd0b162f1ae73ea7787247747915ad1b84cc545
Diffstat (limited to 'src')
-rw-r--r-- | src/main/cpp/messages/VehicleMessageHeader.pb.cc | 9 | ||||
-rw-r--r-- | src/main/cpp/messages/VehiclePrecisionLocation.pb.cc | 434 | ||||
-rw-r--r-- | src/main/cpp/messages/VehiclePrecisionLocation.pb.h | 528 | ||||
-rw-r--r-- | src/main/cpp/messages/VehicleRemoteHvac.pb.cc | 1598 | ||||
-rw-r--r-- | src/main/cpp/messages/VehicleRemoteHvac.pb.h | 1786 | ||||
-rw-r--r-- | src/main/cpp/vss/vspec.pb.cc | 9 | ||||
-rw-r--r-- | src/main/doc/ v2c.md | 744 | ||||
-rw-r--r-- | src/main/doc/images/VehicleMessageHeader.png (renamed from src/main/doc/images/Vehicle Message Header.png) | bin | 23182 -> 23182 bytes | |||
-rw-r--r-- | src/main/java/messages/VehiclePrecisionLocation.java | 1353 | ||||
-rw-r--r-- | src/main/java/messages/VehicleRemoteHvac.java | 4222 | ||||
-rw-r--r-- | src/main/proto/messages/VehiclePrecisionLocation.proto | 47 | ||||
-rw-r--r-- | src/main/proto/messages/VehicleRemoteHvac.proto | 78 |
12 files changed, 10445 insertions, 363 deletions
diff --git a/src/main/cpp/messages/VehicleMessageHeader.pb.cc b/src/main/cpp/messages/VehicleMessageHeader.pb.cc index dff3482..b858bb7 100644 --- a/src/main/cpp/messages/VehicleMessageHeader.pb.cc +++ b/src/main/cpp/messages/VehicleMessageHeader.pb.cc @@ -118,12 +118,7 @@ const char descriptor_table_protodef_messages_2fVehicleMessageHeader_2eproto[] P "amp\030\004 \001(\003\022\030\n\020protocol_version\030\005 \001(\001\022$\n\010l" "ocation\030\006 \001(\0132\022.messages.lat_long\"/\n\010lat" "_long\022\020\n\010latitude\030\001 \001(\001\022\021\n\tlongitude\030\002 \001" -<<<<<<< HEAD "(\001b\006proto3" -======= - "(\001B\"\n\024com.vehicle.messagesB\nfuckerydoob\006" - "proto3" ->>>>>>> 4167b134485cabd6a9e19564baa130146183cfb8 }; static const ::_pbi::DescriptorTable* const descriptor_table_messages_2fVehicleMessageHeader_2eproto_deps[1] = { @@ -133,11 +128,7 @@ static ::absl::once_flag descriptor_table_messages_2fVehicleMessageHeader_2eprot const ::_pbi::DescriptorTable descriptor_table_messages_2fVehicleMessageHeader_2eproto = { false, false, -<<<<<<< HEAD 370, -======= - 406, ->>>>>>> 4167b134485cabd6a9e19564baa130146183cfb8 descriptor_table_protodef_messages_2fVehicleMessageHeader_2eproto, "messages/VehicleMessageHeader.proto", &descriptor_table_messages_2fVehicleMessageHeader_2eproto_once, diff --git a/src/main/cpp/messages/VehiclePrecisionLocation.pb.cc b/src/main/cpp/messages/VehiclePrecisionLocation.pb.cc index c0fdc1c..e77684c 100644 --- a/src/main/cpp/messages/VehiclePrecisionLocation.pb.cc +++ b/src/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<char*>(&_impl_.vehiclemessageheading_), + reinterpret_cast<char*>(&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<PublishCurrentVehicleLocation*>(&to_msg); + auto& from = static_cast<const PublishCurrentVehicleLocation&>(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<char*>(&_impl_.vehiclemessageheading_), + reinterpret_cast<char*>(&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/src/main/cpp/messages/VehiclePrecisionLocation.pb.h b/src/main/cpp/messages/VehiclePrecisionLocation.pb.h index 7ea08e7..88a1a49 100644 --- a/src/main/cpp/messages/VehiclePrecisionLocation.pb.h +++ b/src/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<ResponseStatusEnum>(0); +constexpr ResponseStatusEnum ResponseStatusEnum_MAX = static_cast<ResponseStatusEnum>(2); +constexpr int ResponseStatusEnum_ARRAYSIZE = 2 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +ResponseStatusEnum_descriptor(); +template <typename T> +const std::string& ResponseStatusEnum_Name(T value) { + static_assert(std::is_same<T, ResponseStatusEnum>::value || + std::is_integral<T>::value, + "Incorrect type passed to ResponseStatusEnum_Name()."); + return ResponseStatusEnum_Name(static_cast<ResponseStatusEnum>(value)); +} +template <> +inline const std::string& ResponseStatusEnum_Name(ResponseStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<ResponseStatusEnum_descriptor, + 0, 2>( + static_cast<int>(value)); +} +inline bool ResponseStatusEnum_Parse(absl::string_view name, ResponseStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ResponseStatusEnum>( + 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<const PublishCurrentVehicleLocation*>( + &_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<PublishCurrentVehicleLocation>(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 <typename T> 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<const ::messages::VehicleMessageHeading&>( + ::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<const ::messages::VehicleMessageHeading&>( + ::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<const ::vss::VehicleCurrentLocation&>( + ::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/src/main/cpp/messages/VehicleRemoteHvac.pb.cc b/src/main/cpp/messages/VehicleRemoteHvac.pb.cc new file mode 100644 index 0000000..894932e --- /dev/null +++ b/src/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 <algorithm> +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// 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<CabinPreconditionRequest*>(&to_msg); + auto& from = static_cast<const CabinPreconditionRequest&>(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<char*>(&_impl_.messageheader_), + reinterpret_cast<char*>(&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<CabinPreConditionReponse*>(&to_msg); + auto& from = static_cast<const CabinPreConditionReponse&>(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<char*>(&_impl_.messageheader_), + reinterpret_cast<char*>(&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<SetAcStatusRequest*>(&to_msg); + auto& from = static_cast<const SetAcStatusRequest&>(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<SetAcStatusReply*>(&to_msg); + auto& from = static_cast<const SetAcStatusReply&>(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<float>(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<SetTemperatureRequest*>(&to_msg); + auto& from = static_cast<const SetTemperatureRequest&>(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<SetTemperatureReply*>(&to_msg); + auto& from = static_cast<const SetTemperatureReply&>(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/src/main/cpp/messages/VehicleRemoteHvac.pb.h b/src/main/cpp/messages/VehicleRemoteHvac.pb.h new file mode 100644 index 0000000..af50b78 --- /dev/null +++ b/src/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 <limits> +#include <string> +#include <type_traits> + +#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<AcStatusEnum>(0); +constexpr AcStatusEnum AcStatusEnum_MAX = static_cast<AcStatusEnum>(2); +constexpr int AcStatusEnum_ARRAYSIZE = 2 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +AcStatusEnum_descriptor(); +template <typename T> +const std::string& AcStatusEnum_Name(T value) { + static_assert(std::is_same<T, AcStatusEnum>::value || + std::is_integral<T>::value, + "Incorrect type passed to AcStatusEnum_Name()."); + return AcStatusEnum_Name(static_cast<AcStatusEnum>(value)); +} +template <> +inline const std::string& AcStatusEnum_Name(AcStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<AcStatusEnum_descriptor, + 0, 2>( + static_cast<int>(value)); +} +inline bool AcStatusEnum_Parse(absl::string_view name, AcStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<AcStatusEnum>( + 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<SetTempStatusEnum>(0); +constexpr SetTempStatusEnum SetTempStatusEnum_MAX = static_cast<SetTempStatusEnum>(1); +constexpr int SetTempStatusEnum_ARRAYSIZE = 1 + 1; +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* +SetTempStatusEnum_descriptor(); +template <typename T> +const std::string& SetTempStatusEnum_Name(T value) { + static_assert(std::is_same<T, SetTempStatusEnum>::value || + std::is_integral<T>::value, + "Incorrect type passed to SetTempStatusEnum_Name()."); + return SetTempStatusEnum_Name(static_cast<SetTempStatusEnum>(value)); +} +template <> +inline const std::string& SetTempStatusEnum_Name(SetTempStatusEnum value) { + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum<SetTempStatusEnum_descriptor, + 0, 1>( + static_cast<int>(value)); +} +inline bool SetTempStatusEnum_Parse(absl::string_view name, SetTempStatusEnum* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SetTempStatusEnum>( + 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<const CabinPreconditionRequest*>( + &_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<CabinPreconditionRequest>(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 <typename T> 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<const CabinPreConditionReponse*>( + &_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<CabinPreConditionReponse>(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 <typename T> 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<const SetAcStatusRequest*>( + &_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<SetAcStatusRequest>(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 <typename T> 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<const SetAcStatusReply*>( + &_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<SetAcStatusReply>(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 <typename T> 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<const SetTemperatureRequest*>( + &_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<SetTemperatureRequest>(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 <typename T> 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<const SetTemperatureReply*>( + &_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<SetTemperatureReply>(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 <typename T> 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<const ::messages::VehicleMessageHeading&>( + ::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<const ::messages::SetAcStatusRequest&>( + ::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<const ::messages::SetTemperatureRequest&>( + ::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<const ::messages::VehicleMessageHeading&>( + ::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<const ::messages::SetAcStatusReply&>( + ::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<const ::messages::SetTemperatureReply&>( + ::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/src/main/cpp/vss/vspec.pb.cc b/src/main/cpp/vss/vspec.pb.cc index 61ac97c..356a4a3 100644 --- a/src/main/cpp/vss/vspec.pb.cc +++ b/src/main/cpp/vss/vspec.pb.cc @@ -10592,22 +10592,13 @@ const char descriptor_table_protodef_vss_2fvspec_2eproto[] PROTOBUF_SECTION_VARI "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" -<<<<<<< HEAD "vityAvailable\030\001 \001(\010b\006proto3" -======= - "vityAvailable\030\001 \001(\010B\021\n\017com.vehicle.vssb\006" - "proto3" ->>>>>>> 4167b134485cabd6a9e19564baa130146183cfb8 }; static ::absl::once_flag descriptor_table_vss_2fvspec_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_vss_2fvspec_2eproto = { false, false, -<<<<<<< HEAD 42027, -======= - 42046, ->>>>>>> 4167b134485cabd6a9e19564baa130146183cfb8 descriptor_table_protodef_vss_2fvspec_2eproto, "vss/vspec.proto", &descriptor_table_vss_2fvspec_2eproto_once, diff --git a/src/main/doc/ v2c.md b/src/main/doc/ v2c.md index 3f64b4f..0d16428 100644 --- a/src/main/doc/ v2c.md +++ b/src/main/doc/ v2c.md @@ -3,288 +3,300 @@ ## Table of Contents -- [Protocol Documentation](#protocol-documentation) - - [Table of Contents](#table-of-contents) - - [messages/VehicleMessageHeader.proto](#messagesvehiclemessageheaderproto) - - [VehicleMessageHeading](#vehiclemessageheading) -- [Vehicle Message Header](#vehicle-message-header) - - [Message Orchestration](#message-orchestration) - - [MQTT Topic Design](#mqtt-topic-design) - - [lat\_long](#lat_long) - - [messages/VehiclePrecisionLocation.proto](#messagesvehicleprecisionlocationproto) - - [RequestCurrentVehicleLocation](#requestcurrentvehiclelocation) - - [ResponseCurrentVehicleLocation](#responsecurrentvehiclelocation) - - [vss/vspec.proto](#vssvspecproto) - - [Vehicle](#vehicle) - - [VehicleADAS](#vehicleadas) - - [VehicleADASABS](#vehicleadasabs) - - [VehicleADASCruiseControl](#vehicleadascruisecontrol) - - [VehicleADASEBA](#vehicleadaseba) - - [VehicleADASEBD](#vehicleadasebd) - - [VehicleADASESC](#vehicleadasesc) - - [VehicleADASESCRoadFriction](#vehicleadasescroadfriction) - - [VehicleADASLaneDepartureDetection](#vehicleadaslanedeparturedetection) - - [VehicleADASObstacleDetection](#vehicleadasobstacledetection) - - [VehicleADASTCS](#vehicleadastcs) - - [VehicleAcceleration](#vehicleacceleration) - - [VehicleAngularVelocity](#vehicleangularvelocity) - - [VehicleBody](#vehiclebody) - - [VehicleBodyHood](#vehiclebodyhood) - - [VehicleBodyHorn](#vehiclebodyhorn) - - [VehicleBodyLights](#vehiclebodylights) - - [VehicleBodyLightsBackup](#vehiclebodylightsbackup) - - [VehicleBodyLightsBeam](#vehiclebodylightsbeam) - - [VehicleBodyLightsBeamHigh](#vehiclebodylightsbeamhigh) - - [VehicleBodyLightsBeamLow](#vehiclebodylightsbeamlow) - - [VehicleBodyLightsBrake](#vehiclebodylightsbrake) - - [VehicleBodyLightsDirectionIndicator](#vehiclebodylightsdirectionindicator) - - [VehicleBodyLightsDirectionIndicatorLeft](#vehiclebodylightsdirectionindicatorleft) - - [VehicleBodyLightsDirectionIndicatorRight](#vehiclebodylightsdirectionindicatorright) - - [VehicleBodyLightsFog](#vehiclebodylightsfog) - - [VehicleBodyLightsFogFront](#vehiclebodylightsfogfront) - - [VehicleBodyLightsFogRear](#vehiclebodylightsfogrear) - - [VehicleBodyLightsHazard](#vehiclebodylightshazard) - - [VehicleBodyLightsLicensePlate](#vehiclebodylightslicenseplate) - - [VehicleBodyLightsParking](#vehiclebodylightsparking) - - [VehicleBodyLightsRunning](#vehiclebodylightsrunning) - - [VehicleBodyMirrors](#vehiclebodymirrors) - - [VehicleBodyMirrorsLeft](#vehiclebodymirrorsleft) - - [VehicleBodyMirrorsRight](#vehiclebodymirrorsright) - - [VehicleBodyRaindetection](#vehiclebodyraindetection) - - [VehicleBodyTrunk](#vehiclebodytrunk) - - [VehicleBodyTrunkFront](#vehiclebodytrunkfront) - - [VehicleBodyTrunkRear](#vehiclebodytrunkrear) - - [VehicleBodyWindshield](#vehiclebodywindshield) - - [VehicleBodyWindshieldFront](#vehiclebodywindshieldfront) - - [VehicleBodyWindshieldFrontWasherFluid](#vehiclebodywindshieldfrontwasherfluid) - - [VehicleBodyWindshieldFrontWiping](#vehiclebodywindshieldfrontwiping) - - [VehicleBodyWindshieldFrontWipingSystem](#vehiclebodywindshieldfrontwipingsystem) - - [VehicleBodyWindshieldRear](#vehiclebodywindshieldrear) - - [VehicleBodyWindshieldRearWasherFluid](#vehiclebodywindshieldrearwasherfluid) - - [VehicleBodyWindshieldRearWiping](#vehiclebodywindshieldrearwiping) - - [VehicleBodyWindshieldRearWipingSystem](#vehiclebodywindshieldrearwipingsystem) - - [VehicleCabin](#vehiclecabin) - - [VehicleCabinConvertible](#vehiclecabinconvertible) - - [VehicleCabinDoor](#vehiclecabindoor) - - [VehicleCabinDoorRow1](#vehiclecabindoorrow1) - - [VehicleCabinDoorRow1Left](#vehiclecabindoorrow1left) - - [VehicleCabinDoorRow1LeftShade](#vehiclecabindoorrow1leftshade) - - [VehicleCabinDoorRow1LeftWindow](#vehiclecabindoorrow1leftwindow) - - [VehicleCabinDoorRow1Right](#vehiclecabindoorrow1right) - - [VehicleCabinDoorRow1RightShade](#vehiclecabindoorrow1rightshade) - - [VehicleCabinDoorRow1RightWindow](#vehiclecabindoorrow1rightwindow) - - [VehicleCabinDoorRow2](#vehiclecabindoorrow2) - - [VehicleCabinDoorRow2Left](#vehiclecabindoorrow2left) - - [VehicleCabinDoorRow2LeftShade](#vehiclecabindoorrow2leftshade) - - [VehicleCabinDoorRow2LeftWindow](#vehiclecabindoorrow2leftwindow) - - [VehicleCabinDoorRow2Right](#vehiclecabindoorrow2right) - - [VehicleCabinDoorRow2RightShade](#vehiclecabindoorrow2rightshade) - - [VehicleCabinDoorRow2RightWindow](#vehiclecabindoorrow2rightwindow) - - [VehicleCabinHVAC](#vehiclecabinhvac) - - [VehicleCabinHVACStation](#vehiclecabinhvacstation) - - [VehicleCabinHVACStationRow1](#vehiclecabinhvacstationrow1) - - [VehicleCabinHVACStationRow1Left](#vehiclecabinhvacstationrow1left) - - [VehicleCabinHVACStationRow1Right](#vehiclecabinhvacstationrow1right) - - [VehicleCabinHVACStationRow2](#vehiclecabinhvacstationrow2) - - [VehicleCabinHVACStationRow2Left](#vehiclecabinhvacstationrow2left) - - [VehicleCabinHVACStationRow2Right](#vehiclecabinhvacstationrow2right) - - [VehicleCabinHVACStationRow3](#vehiclecabinhvacstationrow3) - - [VehicleCabinHVACStationRow3Left](#vehiclecabinhvacstationrow3left) - - [VehicleCabinHVACStationRow3Right](#vehiclecabinhvacstationrow3right) - - [VehicleCabinHVACStationRow4](#vehiclecabinhvacstationrow4) - - [VehicleCabinHVACStationRow4Left](#vehiclecabinhvacstationrow4left) - - [VehicleCabinHVACStationRow4Right](#vehiclecabinhvacstationrow4right) - - [VehicleCabinInfotainment](#vehiclecabininfotainment) - - [VehicleCabinInfotainmentHMI](#vehiclecabininfotainmenthmi) - - [VehicleCabinInfotainmentMedia](#vehiclecabininfotainmentmedia) - - [VehicleCabinInfotainmentMediaPlayed](#vehiclecabininfotainmentmediaplayed) - - [VehicleCabinInfotainmentNavigation](#vehiclecabininfotainmentnavigation) - - [VehicleCabinInfotainmentNavigationDestinationSet](#vehiclecabininfotainmentnavigationdestinationset) - - [VehicleCabinInfotainmentSmartphoneProjection](#vehiclecabininfotainmentsmartphoneprojection) - - [VehicleCabinLights](#vehiclecabinlights) - - [VehicleCabinLightsSpotlight](#vehiclecabinlightsspotlight) - - [VehicleCabinLightsSpotlightRow1](#vehiclecabinlightsspotlightrow1) - - [VehicleCabinLightsSpotlightRow2](#vehiclecabinlightsspotlightrow2) - - [VehicleCabinLightsSpotlightRow3](#vehiclecabinlightsspotlightrow3) - - [VehicleCabinLightsSpotlightRow4](#vehiclecabinlightsspotlightrow4) - - [VehicleCabinRearShade](#vehiclecabinrearshade) - - [VehicleCabinRearviewMirror](#vehiclecabinrearviewmirror) - - [VehicleCabinSeat](#vehiclecabinseat) - - [VehicleCabinSeatRow1](#vehiclecabinseatrow1) - - [VehicleCabinSeatRow1Pos1](#vehiclecabinseatrow1pos1) - - [VehicleCabinSeatRow1Pos1Airbag](#vehiclecabinseatrow1pos1airbag) - - [VehicleCabinSeatRow1Pos1Backrest](#vehiclecabinseatrow1pos1backrest) - - [VehicleCabinSeatRow1Pos1BackrestLumbar](#vehiclecabinseatrow1pos1backrestlumbar) - - [VehicleCabinSeatRow1Pos1BackrestSideBolster](#vehiclecabinseatrow1pos1backrestsidebolster) - - [VehicleCabinSeatRow1Pos1Headrest](#vehiclecabinseatrow1pos1headrest) - - [VehicleCabinSeatRow1Pos1Occupant](#vehiclecabinseatrow1pos1occupant) - - [VehicleCabinSeatRow1Pos1OccupantIdentifier](#vehiclecabinseatrow1pos1occupantidentifier) - - [VehicleCabinSeatRow1Pos1Seating](#vehiclecabinseatrow1pos1seating) - - [VehicleCabinSeatRow1Pos1Switch](#vehiclecabinseatrow1pos1switch) - - [VehicleCabinSeatRow1Pos1SwitchBackrest](#vehiclecabinseatrow1pos1switchbackrest) - - [VehicleCabinSeatRow1Pos1SwitchBackrestLumbar](#vehiclecabinseatrow1pos1switchbackrestlumbar) - - [VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster](#vehiclecabinseatrow1pos1switchbackrestsidebolster) - - [VehicleCabinSeatRow1Pos1SwitchHeadrest](#vehiclecabinseatrow1pos1switchheadrest) - - [VehicleCabinSeatRow1Pos1SwitchMassage](#vehiclecabinseatrow1pos1switchmassage) - - [VehicleCabinSeatRow1Pos1SwitchSeating](#vehiclecabinseatrow1pos1switchseating) - - [VehicleCabinSeatRow1Pos2](#vehiclecabinseatrow1pos2) - - [VehicleCabinSeatRow1Pos2Airbag](#vehiclecabinseatrow1pos2airbag) - - [VehicleCabinSeatRow1Pos2Backrest](#vehiclecabinseatrow1pos2backrest) - - [VehicleCabinSeatRow1Pos2BackrestLumbar](#vehiclecabinseatrow1pos2backrestlumbar) - - [VehicleCabinSeatRow1Pos2BackrestSideBolster](#vehiclecabinseatrow1pos2backrestsidebolster) - - [VehicleCabinSeatRow1Pos2Headrest](#vehiclecabinseatrow1pos2headrest) - - [VehicleCabinSeatRow1Pos2Occupant](#vehiclecabinseatrow1pos2occupant) - - [VehicleCabinSeatRow1Pos2OccupantIdentifier](#vehiclecabinseatrow1pos2occupantidentifier) - - [VehicleCabinSeatRow1Pos2Seating](#vehiclecabinseatrow1pos2seating) - - [VehicleCabinSeatRow1Pos2Switch](#vehiclecabinseatrow1pos2switch) - - [VehicleCabinSeatRow1Pos2SwitchBackrest](#vehiclecabinseatrow1pos2switchbackrest) - - [VehicleCabinSeatRow1Pos2SwitchBackrestLumbar](#vehiclecabinseatrow1pos2switchbackrestlumbar) - - [VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster](#vehiclecabinseatrow1pos2switchbackrestsidebolster) - - [VehicleCabinSeatRow1Pos2SwitchHeadrest](#vehiclecabinseatrow1pos2switchheadrest) - - [VehicleCabinSeatRow1Pos2SwitchMassage](#vehiclecabinseatrow1pos2switchmassage) - - [VehicleCabinSeatRow1Pos2SwitchSeating](#vehiclecabinseatrow1pos2switchseating) - - [VehicleCabinSeatRow1Pos3](#vehiclecabinseatrow1pos3) - - [VehicleCabinSeatRow1Pos3Airbag](#vehiclecabinseatrow1pos3airbag) - - [VehicleCabinSeatRow1Pos3Backrest](#vehiclecabinseatrow1pos3backrest) - - [VehicleCabinSeatRow1Pos3BackrestLumbar](#vehiclecabinseatrow1pos3backrestlumbar) - - [VehicleCabinSeatRow1Pos3BackrestSideBolster](#vehiclecabinseatrow1pos3backrestsidebolster) - - [VehicleCabinSeatRow1Pos3Headrest](#vehiclecabinseatrow1pos3headrest) - - [VehicleCabinSeatRow1Pos3Occupant](#vehiclecabinseatrow1pos3occupant) - - [VehicleCabinSeatRow1Pos3OccupantIdentifier](#vehiclecabinseatrow1pos3occupantidentifier) - - [VehicleCabinSeatRow1Pos3Seating](#vehiclecabinseatrow1pos3seating) - - [VehicleCabinSeatRow1Pos3Switch](#vehiclecabinseatrow1pos3switch) - - [VehicleCabinSeatRow1Pos3SwitchBackrest](#vehiclecabinseatrow1pos3switchbackrest) - - [VehicleCabinSeatRow1Pos3SwitchBackrestLumbar](#vehiclecabinseatrow1pos3switchbackrestlumbar) - - [VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster](#vehiclecabinseatrow1pos3switchbackrestsidebolster) - - [VehicleCabinSeatRow1Pos3SwitchHeadrest](#vehiclecabinseatrow1pos3switchheadrest) - - [VehicleCabinSeatRow1Pos3SwitchMassage](#vehiclecabinseatrow1pos3switchmassage) - - [VehicleCabinSeatRow1Pos3SwitchSeating](#vehiclecabinseatrow1pos3switchseating) - - [VehicleCabinSeatRow2](#vehiclecabinseatrow2) - - [VehicleCabinSeatRow2Pos1](#vehiclecabinseatrow2pos1) - - [VehicleCabinSeatRow2Pos1Airbag](#vehiclecabinseatrow2pos1airbag) - - [VehicleCabinSeatRow2Pos1Backrest](#vehiclecabinseatrow2pos1backrest) - - [VehicleCabinSeatRow2Pos1BackrestLumbar](#vehiclecabinseatrow2pos1backrestlumbar) - - [VehicleCabinSeatRow2Pos1BackrestSideBolster](#vehiclecabinseatrow2pos1backrestsidebolster) - - [VehicleCabinSeatRow2Pos1Headrest](#vehiclecabinseatrow2pos1headrest) - - [VehicleCabinSeatRow2Pos1Occupant](#vehiclecabinseatrow2pos1occupant) - - [VehicleCabinSeatRow2Pos1OccupantIdentifier](#vehiclecabinseatrow2pos1occupantidentifier) - - [VehicleCabinSeatRow2Pos1Seating](#vehiclecabinseatrow2pos1seating) - - [VehicleCabinSeatRow2Pos1Switch](#vehiclecabinseatrow2pos1switch) - - [VehicleCabinSeatRow2Pos1SwitchBackrest](#vehiclecabinseatrow2pos1switchbackrest) - - [VehicleCabinSeatRow2Pos1SwitchBackrestLumbar](#vehiclecabinseatrow2pos1switchbackrestlumbar) - - [VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster](#vehiclecabinseatrow2pos1switchbackrestsidebolster) - - [VehicleCabinSeatRow2Pos1SwitchHeadrest](#vehiclecabinseatrow2pos1switchheadrest) - - [VehicleCabinSeatRow2Pos1SwitchMassage](#vehiclecabinseatrow2pos1switchmassage) - - [VehicleCabinSeatRow2Pos1SwitchSeating](#vehiclecabinseatrow2pos1switchseating) - - [VehicleCabinSeatRow2Pos2](#vehiclecabinseatrow2pos2) - - [VehicleCabinSeatRow2Pos2Airbag](#vehiclecabinseatrow2pos2airbag) - - [VehicleCabinSeatRow2Pos2Backrest](#vehiclecabinseatrow2pos2backrest) - - [VehicleCabinSeatRow2Pos2BackrestLumbar](#vehiclecabinseatrow2pos2backrestlumbar) - - [VehicleCabinSeatRow2Pos2BackrestSideBolster](#vehiclecabinseatrow2pos2backrestsidebolster) - - [VehicleCabinSeatRow2Pos2Headrest](#vehiclecabinseatrow2pos2headrest) - - [VehicleCabinSeatRow2Pos2Occupant](#vehiclecabinseatrow2pos2occupant) - - [VehicleCabinSeatRow2Pos2OccupantIdentifier](#vehiclecabinseatrow2pos2occupantidentifier) - - [VehicleCabinSeatRow2Pos2Seating](#vehiclecabinseatrow2pos2seating) - - [VehicleCabinSeatRow2Pos2Switch](#vehiclecabinseatrow2pos2switch) - - [VehicleCabinSeatRow2Pos2SwitchBackrest](#vehiclecabinseatrow2pos2switchbackrest) - - [VehicleCabinSeatRow2Pos2SwitchBackrestLumbar](#vehiclecabinseatrow2pos2switchbackrestlumbar) - - [VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster](#vehiclecabinseatrow2pos2switchbackrestsidebolster) - - [VehicleCabinSeatRow2Pos2SwitchHeadrest](#vehiclecabinseatrow2pos2switchheadrest) - - [VehicleCabinSeatRow2Pos2SwitchMassage](#vehiclecabinseatrow2pos2switchmassage) - - [VehicleCabinSeatRow2Pos2SwitchSeating](#vehiclecabinseatrow2pos2switchseating) - - [VehicleCabinSeatRow2Pos3](#vehiclecabinseatrow2pos3) - - [VehicleCabinSeatRow2Pos3Airbag](#vehiclecabinseatrow2pos3airbag) - - [VehicleCabinSeatRow2Pos3Backrest](#vehiclecabinseatrow2pos3backrest) - - [VehicleCabinSeatRow2Pos3BackrestLumbar](#vehiclecabinseatrow2pos3backrestlumbar) - - [VehicleCabinSeatRow2Pos3BackrestSideBolster](#vehiclecabinseatrow2pos3backrestsidebolster) - - [VehicleCabinSeatRow2Pos3Headrest](#vehiclecabinseatrow2pos3headrest) - - [VehicleCabinSeatRow2Pos3Occupant](#vehiclecabinseatrow2pos3occupant) - - [VehicleCabinSeatRow2Pos3OccupantIdentifier](#vehiclecabinseatrow2pos3occupantidentifier) - - [VehicleCabinSeatRow2Pos3Seating](#vehiclecabinseatrow2pos3seating) - - [VehicleCabinSeatRow2Pos3Switch](#vehiclecabinseatrow2pos3switch) - - [VehicleCabinSeatRow2Pos3SwitchBackrest](#vehiclecabinseatrow2pos3switchbackrest) - - [VehicleCabinSeatRow2Pos3SwitchBackrestLumbar](#vehiclecabinseatrow2pos3switchbackrestlumbar) - - [VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster](#vehiclecabinseatrow2pos3switchbackrestsidebolster) - - [VehicleCabinSeatRow2Pos3SwitchHeadrest](#vehiclecabinseatrow2pos3switchheadrest) - - [VehicleCabinSeatRow2Pos3SwitchMassage](#vehiclecabinseatrow2pos3switchmassage) - - [VehicleCabinSeatRow2Pos3SwitchSeating](#vehiclecabinseatrow2pos3switchseating) - - [VehicleCabinSunroof](#vehiclecabinsunroof) - - [VehicleCabinSunroofShade](#vehiclecabinsunroofshade) - - [VehicleChassis](#vehiclechassis) - - [VehicleChassisAccelerator](#vehiclechassisaccelerator) - - [VehicleChassisAxle](#vehiclechassisaxle) - - [VehicleChassisAxleRow1](#vehiclechassisaxlerow1) - - [VehicleChassisAxleRow1Wheel](#vehiclechassisaxlerow1wheel) - - [VehicleChassisAxleRow1WheelLeft](#vehiclechassisaxlerow1wheelleft) - - [VehicleChassisAxleRow1WheelLeftBrake](#vehiclechassisaxlerow1wheelleftbrake) - - [VehicleChassisAxleRow1WheelLeftTire](#vehiclechassisaxlerow1wheellefttire) - - [VehicleChassisAxleRow1WheelRight](#vehiclechassisaxlerow1wheelright) - - [VehicleChassisAxleRow1WheelRightBrake](#vehiclechassisaxlerow1wheelrightbrake) - - [VehicleChassisAxleRow1WheelRightTire](#vehiclechassisaxlerow1wheelrighttire) - - [VehicleChassisAxleRow2](#vehiclechassisaxlerow2) - - [VehicleChassisAxleRow2Wheel](#vehiclechassisaxlerow2wheel) - - [VehicleChassisAxleRow2WheelLeft](#vehiclechassisaxlerow2wheelleft) - - [VehicleChassisAxleRow2WheelLeftBrake](#vehiclechassisaxlerow2wheelleftbrake) - - [VehicleChassisAxleRow2WheelLeftTire](#vehiclechassisaxlerow2wheellefttire) - - [VehicleChassisAxleRow2WheelRight](#vehiclechassisaxlerow2wheelright) - - [VehicleChassisAxleRow2WheelRightBrake](#vehiclechassisaxlerow2wheelrightbrake) - - [VehicleChassisAxleRow2WheelRightTire](#vehiclechassisaxlerow2wheelrighttire) - - [VehicleChassisBrake](#vehiclechassisbrake) - - [VehicleChassisParkingBrake](#vehiclechassisparkingbrake) - - [VehicleChassisSteeringWheel](#vehiclechassissteeringwheel) - - [VehicleConnectivity](#vehicleconnectivity) - - [VehicleCurrentLocation](#vehiclecurrentlocation) - - [VehicleCurrentLocationGNSSReceiver](#vehiclecurrentlocationgnssreceiver) - - [VehicleCurrentLocationGNSSReceiverMountingPosition](#vehiclecurrentlocationgnssreceivermountingposition) - - [VehicleDriver](#vehicledriver) - - [VehicleDriverIdentifier](#vehicledriveridentifier) - - [VehicleExterior](#vehicleexterior) - - [VehicleLowVoltageBattery](#vehiclelowvoltagebattery) - - [VehicleOBD](#vehicleobd) - - [VehicleOBDCatalyst](#vehicleobdcatalyst) - - [VehicleOBDCatalystBank1](#vehicleobdcatalystbank1) - - [VehicleOBDCatalystBank2](#vehicleobdcatalystbank2) - - [VehicleOBDDriveCycleStatus](#vehicleobddrivecyclestatus) - - [VehicleOBDO2](#vehicleobdo2) - - [VehicleOBDO2Sensor1](#vehicleobdo2sensor1) - - [VehicleOBDO2Sensor2](#vehicleobdo2sensor2) - - [VehicleOBDO2Sensor3](#vehicleobdo2sensor3) - - [VehicleOBDO2Sensor4](#vehicleobdo2sensor4) - - [VehicleOBDO2Sensor5](#vehicleobdo2sensor5) - - [VehicleOBDO2Sensor6](#vehicleobdo2sensor6) - - [VehicleOBDO2Sensor7](#vehicleobdo2sensor7) - - [VehicleOBDO2Sensor8](#vehicleobdo2sensor8) - - [VehicleOBDO2WR](#vehicleobdo2wr) - - [VehicleOBDO2WRSensor1](#vehicleobdo2wrsensor1) - - [VehicleOBDO2WRSensor2](#vehicleobdo2wrsensor2) - - [VehicleOBDO2WRSensor3](#vehicleobdo2wrsensor3) - - [VehicleOBDO2WRSensor4](#vehicleobdo2wrsensor4) - - [VehicleOBDO2WRSensor5](#vehicleobdo2wrsensor5) - - [VehicleOBDO2WRSensor6](#vehicleobdo2wrsensor6) - - [VehicleOBDO2WRSensor7](#vehicleobdo2wrsensor7) - - [VehicleOBDO2WRSensor8](#vehicleobdo2wrsensor8) - - [VehicleOBDStatus](#vehicleobdstatus) - - [VehiclePowertrain](#vehiclepowertrain) - - [VehiclePowertrainCombustionEngine](#vehiclepowertraincombustionengine) - - [VehiclePowertrainCombustionEngineDieselExhaustFluid](#vehiclepowertraincombustionenginedieselexhaustfluid) - - [VehiclePowertrainCombustionEngineDieselParticulateFilter](#vehiclepowertraincombustionenginedieselparticulatefilter) - - [VehiclePowertrainElectricMotor](#vehiclepowertrainelectricmotor) - - [VehiclePowertrainFuelSystem](#vehiclepowertrainfuelsystem) - - [VehiclePowertrainTractionBattery](#vehiclepowertraintractionbattery) - - [VehiclePowertrainTractionBatteryCharging](#vehiclepowertraintractionbatterycharging) - - [VehiclePowertrainTractionBatteryChargingChargeCurrent](#vehiclepowertraintractionbatterychargingchargecurrent) - - [VehiclePowertrainTractionBatteryChargingChargeVoltage](#vehiclepowertraintractionbatterychargingchargevoltage) - - [VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent](#vehiclepowertraintractionbatterychargingmaximumchargingcurrent) - - [VehiclePowertrainTractionBatteryChargingTimer](#vehiclepowertraintractionbatterychargingtimer) - - [VehiclePowertrainTractionBatteryDCDC](#vehiclepowertraintractionbatterydcdc) - - [VehiclePowertrainTractionBatteryStateOfCharge](#vehiclepowertraintractionbatterystateofcharge) - - [VehiclePowertrainTractionBatteryTemperature](#vehiclepowertraintractionbatterytemperature) - - [VehiclePowertrainTransmission](#vehiclepowertraintransmission) - - [VehicleService](#vehicleservice) - - [VehicleTrailer](#vehicletrailer) - - [VehicleVehicleIdentification](#vehiclevehicleidentification) - - [VehicleVersionVSS](#vehicleversionvss) - - [Scalar Value Types](#scalar-value-types) +- [messages/VehicleMessageHeader.proto](#messages_VehicleMessageHeader-proto) + - [VehicleMessageHeading](#messages-VehicleMessageHeading) + - [lat_long](#messages-lat_long) + +- [messages/VehiclePrecisionLocation.proto](#messages_VehiclePrecisionLocation-proto) + - [PublishCurrentVehicleLocation](#messages-PublishCurrentVehicleLocation) + - [RequestCurrentVehicleLocation](#messages-RequestCurrentVehicleLocation) + - [ResponseCurrentVehicleLocation](#messages-ResponseCurrentVehicleLocation) + + - [ResponseStatusEnum](#messages-ResponseStatusEnum) + +- [messages/VehicleRemoteHvac.proto](#messages_VehicleRemoteHvac-proto) + - [CabinPreConditionReponse](#messages-CabinPreConditionReponse) + - [CabinPreconditionRequest](#messages-CabinPreconditionRequest) + - [SetAcStatusReply](#messages-SetAcStatusReply) + - [SetAcStatusRequest](#messages-SetAcStatusRequest) + - [SetTemperatureReply](#messages-SetTemperatureReply) + - [SetTemperatureRequest](#messages-SetTemperatureRequest) + + - [AcStatusEnum](#messages-AcStatusEnum) + - [SetTempStatusEnum](#messages-SetTempStatusEnum) + +- [vss/vspec.proto](#vss_vspec-proto) + - [Vehicle](#vss-Vehicle) + - [VehicleADAS](#vss-VehicleADAS) + - [VehicleADASABS](#vss-VehicleADASABS) + - [VehicleADASCruiseControl](#vss-VehicleADASCruiseControl) + - [VehicleADASEBA](#vss-VehicleADASEBA) + - [VehicleADASEBD](#vss-VehicleADASEBD) + - [VehicleADASESC](#vss-VehicleADASESC) + - [VehicleADASESCRoadFriction](#vss-VehicleADASESCRoadFriction) + - [VehicleADASLaneDepartureDetection](#vss-VehicleADASLaneDepartureDetection) + - [VehicleADASObstacleDetection](#vss-VehicleADASObstacleDetection) + - [VehicleADASTCS](#vss-VehicleADASTCS) + - [VehicleAcceleration](#vss-VehicleAcceleration) + - [VehicleAngularVelocity](#vss-VehicleAngularVelocity) + - [VehicleBody](#vss-VehicleBody) + - [VehicleBodyHood](#vss-VehicleBodyHood) + - [VehicleBodyHorn](#vss-VehicleBodyHorn) + - [VehicleBodyLights](#vss-VehicleBodyLights) + - [VehicleBodyLightsBackup](#vss-VehicleBodyLightsBackup) + - [VehicleBodyLightsBeam](#vss-VehicleBodyLightsBeam) + - [VehicleBodyLightsBeamHigh](#vss-VehicleBodyLightsBeamHigh) + - [VehicleBodyLightsBeamLow](#vss-VehicleBodyLightsBeamLow) + - [VehicleBodyLightsBrake](#vss-VehicleBodyLightsBrake) + - [VehicleBodyLightsDirectionIndicator](#vss-VehicleBodyLightsDirectionIndicator) + - [VehicleBodyLightsDirectionIndicatorLeft](#vss-VehicleBodyLightsDirectionIndicatorLeft) + - [VehicleBodyLightsDirectionIndicatorRight](#vss-VehicleBodyLightsDirectionIndicatorRight) + - [VehicleBodyLightsFog](#vss-VehicleBodyLightsFog) + - [VehicleBodyLightsFogFront](#vss-VehicleBodyLightsFogFront) + - [VehicleBodyLightsFogRear](#vss-VehicleBodyLightsFogRear) + - [VehicleBodyLightsHazard](#vss-VehicleBodyLightsHazard) + - [VehicleBodyLightsLicensePlate](#vss-VehicleBodyLightsLicensePlate) + - [VehicleBodyLightsParking](#vss-VehicleBodyLightsParking) + - [VehicleBodyLightsRunning](#vss-VehicleBodyLightsRunning) + - [VehicleBodyMirrors](#vss-VehicleBodyMirrors) + - [VehicleBodyMirrorsLeft](#vss-VehicleBodyMirrorsLeft) + - [VehicleBodyMirrorsRight](#vss-VehicleBodyMirrorsRight) + - [VehicleBodyRaindetection](#vss-VehicleBodyRaindetection) + - [VehicleBodyTrunk](#vss-VehicleBodyTrunk) + - [VehicleBodyTrunkFront](#vss-VehicleBodyTrunkFront) + - [VehicleBodyTrunkRear](#vss-VehicleBodyTrunkRear) + - [VehicleBodyWindshield](#vss-VehicleBodyWindshield) + - [VehicleBodyWindshieldFront](#vss-VehicleBodyWindshieldFront) + - [VehicleBodyWindshieldFrontWasherFluid](#vss-VehicleBodyWindshieldFrontWasherFluid) + - [VehicleBodyWindshieldFrontWiping](#vss-VehicleBodyWindshieldFrontWiping) + - [VehicleBodyWindshieldFrontWipingSystem](#vss-VehicleBodyWindshieldFrontWipingSystem) + - [VehicleBodyWindshieldRear](#vss-VehicleBodyWindshieldRear) + - [VehicleBodyWindshieldRearWasherFluid](#vss-VehicleBodyWindshieldRearWasherFluid) + - [VehicleBodyWindshieldRearWiping](#vss-VehicleBodyWindshieldRearWiping) + - [VehicleBodyWindshieldRearWipingSystem](#vss-VehicleBodyWindshieldRearWipingSystem) + - [VehicleCabin](#vss-VehicleCabin) + - [VehicleCabinConvertible](#vss-VehicleCabinConvertible) + - [VehicleCabinDoor](#vss-VehicleCabinDoor) + - [VehicleCabinDoorRow1](#vss-VehicleCabinDoorRow1) + - [VehicleCabinDoorRow1Left](#vss-VehicleCabinDoorRow1Left) + - [VehicleCabinDoorRow1LeftShade](#vss-VehicleCabinDoorRow1LeftShade) + - [VehicleCabinDoorRow1LeftWindow](#vss-VehicleCabinDoorRow1LeftWindow) + - [VehicleCabinDoorRow1Right](#vss-VehicleCabinDoorRow1Right) + - [VehicleCabinDoorRow1RightShade](#vss-VehicleCabinDoorRow1RightShade) + - [VehicleCabinDoorRow1RightWindow](#vss-VehicleCabinDoorRow1RightWindow) + - [VehicleCabinDoorRow2](#vss-VehicleCabinDoorRow2) + - [VehicleCabinDoorRow2Left](#vss-VehicleCabinDoorRow2Left) + - [VehicleCabinDoorRow2LeftShade](#vss-VehicleCabinDoorRow2LeftShade) + - [VehicleCabinDoorRow2LeftWindow](#vss-VehicleCabinDoorRow2LeftWindow) + - [VehicleCabinDoorRow2Right](#vss-VehicleCabinDoorRow2Right) + - [VehicleCabinDoorRow2RightShade](#vss-VehicleCabinDoorRow2RightShade) + - [VehicleCabinDoorRow2RightWindow](#vss-VehicleCabinDoorRow2RightWindow) + - [VehicleCabinHVAC](#vss-VehicleCabinHVAC) + - [VehicleCabinHVACStation](#vss-VehicleCabinHVACStation) + - [VehicleCabinHVACStationRow1](#vss-VehicleCabinHVACStationRow1) + - [VehicleCabinHVACStationRow1Left](#vss-VehicleCabinHVACStationRow1Left) + - [VehicleCabinHVACStationRow1Right](#vss-VehicleCabinHVACStationRow1Right) + - [VehicleCabinHVACStationRow2](#vss-VehicleCabinHVACStationRow2) + - [VehicleCabinHVACStationRow2Left](#vss-VehicleCabinHVACStationRow2Left) + - [VehicleCabinHVACStationRow2Right](#vss-VehicleCabinHVACStationRow2Right) + - [VehicleCabinHVACStationRow3](#vss-VehicleCabinHVACStationRow3) + - [VehicleCabinHVACStationRow3Left](#vss-VehicleCabinHVACStationRow3Left) + - [VehicleCabinHVACStationRow3Right](#vss-VehicleCabinHVACStationRow3Right) + - [VehicleCabinHVACStationRow4](#vss-VehicleCabinHVACStationRow4) + - [VehicleCabinHVACStationRow4Left](#vss-VehicleCabinHVACStationRow4Left) + - [VehicleCabinHVACStationRow4Right](#vss-VehicleCabinHVACStationRow4Right) + - [VehicleCabinInfotainment](#vss-VehicleCabinInfotainment) + - [VehicleCabinInfotainmentHMI](#vss-VehicleCabinInfotainmentHMI) + - [VehicleCabinInfotainmentMedia](#vss-VehicleCabinInfotainmentMedia) + - [VehicleCabinInfotainmentMediaPlayed](#vss-VehicleCabinInfotainmentMediaPlayed) + - [VehicleCabinInfotainmentNavigation](#vss-VehicleCabinInfotainmentNavigation) + - [VehicleCabinInfotainmentNavigationDestinationSet](#vss-VehicleCabinInfotainmentNavigationDestinationSet) + - [VehicleCabinInfotainmentSmartphoneProjection](#vss-VehicleCabinInfotainmentSmartphoneProjection) + - [VehicleCabinLights](#vss-VehicleCabinLights) + - [VehicleCabinLightsSpotlight](#vss-VehicleCabinLightsSpotlight) + - [VehicleCabinLightsSpotlightRow1](#vss-VehicleCabinLightsSpotlightRow1) + - [VehicleCabinLightsSpotlightRow2](#vss-VehicleCabinLightsSpotlightRow2) + - [VehicleCabinLightsSpotlightRow3](#vss-VehicleCabinLightsSpotlightRow3) + - [VehicleCabinLightsSpotlightRow4](#vss-VehicleCabinLightsSpotlightRow4) + - [VehicleCabinRearShade](#vss-VehicleCabinRearShade) + - [VehicleCabinRearviewMirror](#vss-VehicleCabinRearviewMirror) + - [VehicleCabinSeat](#vss-VehicleCabinSeat) + - [VehicleCabinSeatRow1](#vss-VehicleCabinSeatRow1) + - [VehicleCabinSeatRow1Pos1](#vss-VehicleCabinSeatRow1Pos1) + - [VehicleCabinSeatRow1Pos1Airbag](#vss-VehicleCabinSeatRow1Pos1Airbag) + - [VehicleCabinSeatRow1Pos1Backrest](#vss-VehicleCabinSeatRow1Pos1Backrest) + - [VehicleCabinSeatRow1Pos1BackrestLumbar](#vss-VehicleCabinSeatRow1Pos1BackrestLumbar) + - [VehicleCabinSeatRow1Pos1BackrestSideBolster](#vss-VehicleCabinSeatRow1Pos1BackrestSideBolster) + - [VehicleCabinSeatRow1Pos1Headrest](#vss-VehicleCabinSeatRow1Pos1Headrest) + - [VehicleCabinSeatRow1Pos1Occupant](#vss-VehicleCabinSeatRow1Pos1Occupant) + - [VehicleCabinSeatRow1Pos1OccupantIdentifier](#vss-VehicleCabinSeatRow1Pos1OccupantIdentifier) + - [VehicleCabinSeatRow1Pos1Seating](#vss-VehicleCabinSeatRow1Pos1Seating) + - [VehicleCabinSeatRow1Pos1Switch](#vss-VehicleCabinSeatRow1Pos1Switch) + - [VehicleCabinSeatRow1Pos1SwitchBackrest](#vss-VehicleCabinSeatRow1Pos1SwitchBackrest) + - [VehicleCabinSeatRow1Pos1SwitchBackrestLumbar](#vss-VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + - [VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + - [VehicleCabinSeatRow1Pos1SwitchHeadrest](#vss-VehicleCabinSeatRow1Pos1SwitchHeadrest) + - [VehicleCabinSeatRow1Pos1SwitchMassage](#vss-VehicleCabinSeatRow1Pos1SwitchMassage) + - [VehicleCabinSeatRow1Pos1SwitchSeating](#vss-VehicleCabinSeatRow1Pos1SwitchSeating) + - [VehicleCabinSeatRow1Pos2](#vss-VehicleCabinSeatRow1Pos2) + - [VehicleCabinSeatRow1Pos2Airbag](#vss-VehicleCabinSeatRow1Pos2Airbag) + - [VehicleCabinSeatRow1Pos2Backrest](#vss-VehicleCabinSeatRow1Pos2Backrest) + - [VehicleCabinSeatRow1Pos2BackrestLumbar](#vss-VehicleCabinSeatRow1Pos2BackrestLumbar) + - [VehicleCabinSeatRow1Pos2BackrestSideBolster](#vss-VehicleCabinSeatRow1Pos2BackrestSideBolster) + - [VehicleCabinSeatRow1Pos2Headrest](#vss-VehicleCabinSeatRow1Pos2Headrest) + - [VehicleCabinSeatRow1Pos2Occupant](#vss-VehicleCabinSeatRow1Pos2Occupant) + - [VehicleCabinSeatRow1Pos2OccupantIdentifier](#vss-VehicleCabinSeatRow1Pos2OccupantIdentifier) + - [VehicleCabinSeatRow1Pos2Seating](#vss-VehicleCabinSeatRow1Pos2Seating) + - [VehicleCabinSeatRow1Pos2Switch](#vss-VehicleCabinSeatRow1Pos2Switch) + - [VehicleCabinSeatRow1Pos2SwitchBackrest](#vss-VehicleCabinSeatRow1Pos2SwitchBackrest) + - [VehicleCabinSeatRow1Pos2SwitchBackrestLumbar](#vss-VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + - [VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + - [VehicleCabinSeatRow1Pos2SwitchHeadrest](#vss-VehicleCabinSeatRow1Pos2SwitchHeadrest) + - [VehicleCabinSeatRow1Pos2SwitchMassage](#vss-VehicleCabinSeatRow1Pos2SwitchMassage) + - [VehicleCabinSeatRow1Pos2SwitchSeating](#vss-VehicleCabinSeatRow1Pos2SwitchSeating) + - [VehicleCabinSeatRow1Pos3](#vss-VehicleCabinSeatRow1Pos3) + - [VehicleCabinSeatRow1Pos3Airbag](#vss-VehicleCabinSeatRow1Pos3Airbag) + - [VehicleCabinSeatRow1Pos3Backrest](#vss-VehicleCabinSeatRow1Pos3Backrest) + - [VehicleCabinSeatRow1Pos3BackrestLumbar](#vss-VehicleCabinSeatRow1Pos3BackrestLumbar) + - [VehicleCabinSeatRow1Pos3BackrestSideBolster](#vss-VehicleCabinSeatRow1Pos3BackrestSideBolster) + - [VehicleCabinSeatRow1Pos3Headrest](#vss-VehicleCabinSeatRow1Pos3Headrest) + - [VehicleCabinSeatRow1Pos3Occupant](#vss-VehicleCabinSeatRow1Pos3Occupant) + - [VehicleCabinSeatRow1Pos3OccupantIdentifier](#vss-VehicleCabinSeatRow1Pos3OccupantIdentifier) + - [VehicleCabinSeatRow1Pos3Seating](#vss-VehicleCabinSeatRow1Pos3Seating) + - [VehicleCabinSeatRow1Pos3Switch](#vss-VehicleCabinSeatRow1Pos3Switch) + - [VehicleCabinSeatRow1Pos3SwitchBackrest](#vss-VehicleCabinSeatRow1Pos3SwitchBackrest) + - [VehicleCabinSeatRow1Pos3SwitchBackrestLumbar](#vss-VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + - [VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + - [VehicleCabinSeatRow1Pos3SwitchHeadrest](#vss-VehicleCabinSeatRow1Pos3SwitchHeadrest) + - [VehicleCabinSeatRow1Pos3SwitchMassage](#vss-VehicleCabinSeatRow1Pos3SwitchMassage) + - [VehicleCabinSeatRow1Pos3SwitchSeating](#vss-VehicleCabinSeatRow1Pos3SwitchSeating) + - [VehicleCabinSeatRow2](#vss-VehicleCabinSeatRow2) + - [VehicleCabinSeatRow2Pos1](#vss-VehicleCabinSeatRow2Pos1) + - [VehicleCabinSeatRow2Pos1Airbag](#vss-VehicleCabinSeatRow2Pos1Airbag) + - [VehicleCabinSeatRow2Pos1Backrest](#vss-VehicleCabinSeatRow2Pos1Backrest) + - [VehicleCabinSeatRow2Pos1BackrestLumbar](#vss-VehicleCabinSeatRow2Pos1BackrestLumbar) + - [VehicleCabinSeatRow2Pos1BackrestSideBolster](#vss-VehicleCabinSeatRow2Pos1BackrestSideBolster) + - [VehicleCabinSeatRow2Pos1Headrest](#vss-VehicleCabinSeatRow2Pos1Headrest) + - [VehicleCabinSeatRow2Pos1Occupant](#vss-VehicleCabinSeatRow2Pos1Occupant) + - [VehicleCabinSeatRow2Pos1OccupantIdentifier](#vss-VehicleCabinSeatRow2Pos1OccupantIdentifier) + - [VehicleCabinSeatRow2Pos1Seating](#vss-VehicleCabinSeatRow2Pos1Seating) + - [VehicleCabinSeatRow2Pos1Switch](#vss-VehicleCabinSeatRow2Pos1Switch) + - [VehicleCabinSeatRow2Pos1SwitchBackrest](#vss-VehicleCabinSeatRow2Pos1SwitchBackrest) + - [VehicleCabinSeatRow2Pos1SwitchBackrestLumbar](#vss-VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + - [VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + - [VehicleCabinSeatRow2Pos1SwitchHeadrest](#vss-VehicleCabinSeatRow2Pos1SwitchHeadrest) + - [VehicleCabinSeatRow2Pos1SwitchMassage](#vss-VehicleCabinSeatRow2Pos1SwitchMassage) + - [VehicleCabinSeatRow2Pos1SwitchSeating](#vss-VehicleCabinSeatRow2Pos1SwitchSeating) + - [VehicleCabinSeatRow2Pos2](#vss-VehicleCabinSeatRow2Pos2) + - [VehicleCabinSeatRow2Pos2Airbag](#vss-VehicleCabinSeatRow2Pos2Airbag) + - [VehicleCabinSeatRow2Pos2Backrest](#vss-VehicleCabinSeatRow2Pos2Backrest) + - [VehicleCabinSeatRow2Pos2BackrestLumbar](#vss-VehicleCabinSeatRow2Pos2BackrestLumbar) + - [VehicleCabinSeatRow2Pos2BackrestSideBolster](#vss-VehicleCabinSeatRow2Pos2BackrestSideBolster) + - [VehicleCabinSeatRow2Pos2Headrest](#vss-VehicleCabinSeatRow2Pos2Headrest) + - [VehicleCabinSeatRow2Pos2Occupant](#vss-VehicleCabinSeatRow2Pos2Occupant) + - [VehicleCabinSeatRow2Pos2OccupantIdentifier](#vss-VehicleCabinSeatRow2Pos2OccupantIdentifier) + - [VehicleCabinSeatRow2Pos2Seating](#vss-VehicleCabinSeatRow2Pos2Seating) + - [VehicleCabinSeatRow2Pos2Switch](#vss-VehicleCabinSeatRow2Pos2Switch) + - [VehicleCabinSeatRow2Pos2SwitchBackrest](#vss-VehicleCabinSeatRow2Pos2SwitchBackrest) + - [VehicleCabinSeatRow2Pos2SwitchBackrestLumbar](#vss-VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + - [VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + - [VehicleCabinSeatRow2Pos2SwitchHeadrest](#vss-VehicleCabinSeatRow2Pos2SwitchHeadrest) + - [VehicleCabinSeatRow2Pos2SwitchMassage](#vss-VehicleCabinSeatRow2Pos2SwitchMassage) + - [VehicleCabinSeatRow2Pos2SwitchSeating](#vss-VehicleCabinSeatRow2Pos2SwitchSeating) + - [VehicleCabinSeatRow2Pos3](#vss-VehicleCabinSeatRow2Pos3) + - [VehicleCabinSeatRow2Pos3Airbag](#vss-VehicleCabinSeatRow2Pos3Airbag) + - [VehicleCabinSeatRow2Pos3Backrest](#vss-VehicleCabinSeatRow2Pos3Backrest) + - [VehicleCabinSeatRow2Pos3BackrestLumbar](#vss-VehicleCabinSeatRow2Pos3BackrestLumbar) + - [VehicleCabinSeatRow2Pos3BackrestSideBolster](#vss-VehicleCabinSeatRow2Pos3BackrestSideBolster) + - [VehicleCabinSeatRow2Pos3Headrest](#vss-VehicleCabinSeatRow2Pos3Headrest) + - [VehicleCabinSeatRow2Pos3Occupant](#vss-VehicleCabinSeatRow2Pos3Occupant) + - [VehicleCabinSeatRow2Pos3OccupantIdentifier](#vss-VehicleCabinSeatRow2Pos3OccupantIdentifier) + - [VehicleCabinSeatRow2Pos3Seating](#vss-VehicleCabinSeatRow2Pos3Seating) + - [VehicleCabinSeatRow2Pos3Switch](#vss-VehicleCabinSeatRow2Pos3Switch) + - [VehicleCabinSeatRow2Pos3SwitchBackrest](#vss-VehicleCabinSeatRow2Pos3SwitchBackrest) + - [VehicleCabinSeatRow2Pos3SwitchBackrestLumbar](#vss-VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + - [VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster](#vss-VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + - [VehicleCabinSeatRow2Pos3SwitchHeadrest](#vss-VehicleCabinSeatRow2Pos3SwitchHeadrest) + - [VehicleCabinSeatRow2Pos3SwitchMassage](#vss-VehicleCabinSeatRow2Pos3SwitchMassage) + - [VehicleCabinSeatRow2Pos3SwitchSeating](#vss-VehicleCabinSeatRow2Pos3SwitchSeating) + - [VehicleCabinSunroof](#vss-VehicleCabinSunroof) + - [VehicleCabinSunroofShade](#vss-VehicleCabinSunroofShade) + - [VehicleChassis](#vss-VehicleChassis) + - [VehicleChassisAccelerator](#vss-VehicleChassisAccelerator) + - [VehicleChassisAxle](#vss-VehicleChassisAxle) + - [VehicleChassisAxleRow1](#vss-VehicleChassisAxleRow1) + - [VehicleChassisAxleRow1Wheel](#vss-VehicleChassisAxleRow1Wheel) + - [VehicleChassisAxleRow1WheelLeft](#vss-VehicleChassisAxleRow1WheelLeft) + - [VehicleChassisAxleRow1WheelLeftBrake](#vss-VehicleChassisAxleRow1WheelLeftBrake) + - [VehicleChassisAxleRow1WheelLeftTire](#vss-VehicleChassisAxleRow1WheelLeftTire) + - [VehicleChassisAxleRow1WheelRight](#vss-VehicleChassisAxleRow1WheelRight) + - [VehicleChassisAxleRow1WheelRightBrake](#vss-VehicleChassisAxleRow1WheelRightBrake) + - [VehicleChassisAxleRow1WheelRightTire](#vss-VehicleChassisAxleRow1WheelRightTire) + - [VehicleChassisAxleRow2](#vss-VehicleChassisAxleRow2) + - [VehicleChassisAxleRow2Wheel](#vss-VehicleChassisAxleRow2Wheel) + - [VehicleChassisAxleRow2WheelLeft](#vss-VehicleChassisAxleRow2WheelLeft) + - [VehicleChassisAxleRow2WheelLeftBrake](#vss-VehicleChassisAxleRow2WheelLeftBrake) + - [VehicleChassisAxleRow2WheelLeftTire](#vss-VehicleChassisAxleRow2WheelLeftTire) + - [VehicleChassisAxleRow2WheelRight](#vss-VehicleChassisAxleRow2WheelRight) + - [VehicleChassisAxleRow2WheelRightBrake](#vss-VehicleChassisAxleRow2WheelRightBrake) + - [VehicleChassisAxleRow2WheelRightTire](#vss-VehicleChassisAxleRow2WheelRightTire) + - [VehicleChassisBrake](#vss-VehicleChassisBrake) + - [VehicleChassisParkingBrake](#vss-VehicleChassisParkingBrake) + - [VehicleChassisSteeringWheel](#vss-VehicleChassisSteeringWheel) + - [VehicleConnectivity](#vss-VehicleConnectivity) + - [VehicleCurrentLocation](#vss-VehicleCurrentLocation) + - [VehicleCurrentLocationGNSSReceiver](#vss-VehicleCurrentLocationGNSSReceiver) + - [VehicleCurrentLocationGNSSReceiverMountingPosition](#vss-VehicleCurrentLocationGNSSReceiverMountingPosition) + - [VehicleDriver](#vss-VehicleDriver) + - [VehicleDriverIdentifier](#vss-VehicleDriverIdentifier) + - [VehicleExterior](#vss-VehicleExterior) + - [VehicleLowVoltageBattery](#vss-VehicleLowVoltageBattery) + - [VehicleOBD](#vss-VehicleOBD) + - [VehicleOBDCatalyst](#vss-VehicleOBDCatalyst) + - [VehicleOBDCatalystBank1](#vss-VehicleOBDCatalystBank1) + - [VehicleOBDCatalystBank2](#vss-VehicleOBDCatalystBank2) + - [VehicleOBDDriveCycleStatus](#vss-VehicleOBDDriveCycleStatus) + - [VehicleOBDO2](#vss-VehicleOBDO2) + - [VehicleOBDO2Sensor1](#vss-VehicleOBDO2Sensor1) + - [VehicleOBDO2Sensor2](#vss-VehicleOBDO2Sensor2) + - [VehicleOBDO2Sensor3](#vss-VehicleOBDO2Sensor3) + - [VehicleOBDO2Sensor4](#vss-VehicleOBDO2Sensor4) + - [VehicleOBDO2Sensor5](#vss-VehicleOBDO2Sensor5) + - [VehicleOBDO2Sensor6](#vss-VehicleOBDO2Sensor6) + - [VehicleOBDO2Sensor7](#vss-VehicleOBDO2Sensor7) + - [VehicleOBDO2Sensor8](#vss-VehicleOBDO2Sensor8) + - [VehicleOBDO2WR](#vss-VehicleOBDO2WR) + - [VehicleOBDO2WRSensor1](#vss-VehicleOBDO2WRSensor1) + - [VehicleOBDO2WRSensor2](#vss-VehicleOBDO2WRSensor2) + - [VehicleOBDO2WRSensor3](#vss-VehicleOBDO2WRSensor3) + - [VehicleOBDO2WRSensor4](#vss-VehicleOBDO2WRSensor4) + - [VehicleOBDO2WRSensor5](#vss-VehicleOBDO2WRSensor5) + - [VehicleOBDO2WRSensor6](#vss-VehicleOBDO2WRSensor6) + - [VehicleOBDO2WRSensor7](#vss-VehicleOBDO2WRSensor7) + - [VehicleOBDO2WRSensor8](#vss-VehicleOBDO2WRSensor8) + - [VehicleOBDStatus](#vss-VehicleOBDStatus) + - [VehiclePowertrain](#vss-VehiclePowertrain) + - [VehiclePowertrainCombustionEngine](#vss-VehiclePowertrainCombustionEngine) + - [VehiclePowertrainCombustionEngineDieselExhaustFluid](#vss-VehiclePowertrainCombustionEngineDieselExhaustFluid) + - [VehiclePowertrainCombustionEngineDieselParticulateFilter](#vss-VehiclePowertrainCombustionEngineDieselParticulateFilter) + - [VehiclePowertrainElectricMotor](#vss-VehiclePowertrainElectricMotor) + - [VehiclePowertrainFuelSystem](#vss-VehiclePowertrainFuelSystem) + - [VehiclePowertrainTractionBattery](#vss-VehiclePowertrainTractionBattery) + - [VehiclePowertrainTractionBatteryCharging](#vss-VehiclePowertrainTractionBatteryCharging) + - [VehiclePowertrainTractionBatteryChargingChargeCurrent](#vss-VehiclePowertrainTractionBatteryChargingChargeCurrent) + - [VehiclePowertrainTractionBatteryChargingChargeVoltage](#vss-VehiclePowertrainTractionBatteryChargingChargeVoltage) + - [VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent](#vss-VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + - [VehiclePowertrainTractionBatteryChargingTimer](#vss-VehiclePowertrainTractionBatteryChargingTimer) + - [VehiclePowertrainTractionBatteryDCDC](#vss-VehiclePowertrainTractionBatteryDCDC) + - [VehiclePowertrainTractionBatteryStateOfCharge](#vss-VehiclePowertrainTractionBatteryStateOfCharge) + - [VehiclePowertrainTractionBatteryTemperature](#vss-VehiclePowertrainTractionBatteryTemperature) + - [VehiclePowertrainTransmission](#vss-VehiclePowertrainTransmission) + - [VehicleService](#vss-VehicleService) + - [VehicleTrailer](#vss-VehicleTrailer) + - [VehicleVehicleIdentification](#vss-VehicleVehicleIdentification) + - [VehicleVersionVSS](#vss-VehicleVersionVSS) + +- [Scalar Value Types](#scalar-value-types) @@ -362,6 +374,22 @@ services deeper in the vehicle or the cloud services. +<a name="messages-PublishCurrentVehicleLocation"></a> + +### PublishCurrentVehicleLocation + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| vehicleMessageHeading | [VehicleMessageHeading](#messages-VehicleMessageHeading) | | | +| vehicleCurrentLocation | [vss.VehicleCurrentLocation](#vss-VehicleCurrentLocation) | | | + + + + + + <a name="messages-RequestCurrentVehicleLocation"></a> ### RequestCurrentVehicleLocation @@ -370,7 +398,7 @@ services deeper in the vehicle or the cloud services. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| vehicleIdentification | [vss.VehicleVehicleIdentification](#vss-VehicleVehicleIdentification) | | | +| vehicleIdentification | [vss.VehicleVehicleIdentification](#vss-VehicleVehicleIdentification) | | At most this identity should be all that is required to trigger the request for location | @@ -385,7 +413,132 @@ services deeper in the vehicle or the cloud services. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | +| vehicleMessageHeading | [VehicleMessageHeading](#messages-VehicleMessageHeading) | | | | vehicleCurrentLocation | [vss.VehicleCurrentLocation](#vss-VehicleCurrentLocation) | | | +| responseStatus | [ResponseStatusEnum](#messages-ResponseStatusEnum) | | | + + + + + + + + +<a name="messages-ResponseStatusEnum"></a> + +### ResponseStatusEnum + + +| Name | Number | Description | +| ---- | ------ | ----------- | +| SUCCESS | 0 | A good GPS Location response was possible and GPS data is being returned in the payload | +| FAIL_NO_RESPONSE | 1 | No GPS information was able to be retrieved | +| FAIL_DEGRADED_RESPONSE | 2 | GPS location available but degraded accuracy | + + + + + + + + + + +<a name="messages_VehicleRemoteHvac-proto"></a> +<p align="right"><a href="#top">Top</a></p> + +## messages/VehicleRemoteHvac.proto + + + +<a name="messages-CabinPreConditionReponse"></a> + +### CabinPreConditionReponse + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| messageHeader | [VehicleMessageHeading](#messages-VehicleMessageHeading) | | | +| setAcStatusReply | [SetAcStatusReply](#messages-SetAcStatusReply) | | | +| setTemperatureReply | [SetTemperatureReply](#messages-SetTemperatureReply) | | | + + + + + + +<a name="messages-CabinPreconditionRequest"></a> + +### CabinPreconditionRequest + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| messageHeader | [VehicleMessageHeading](#messages-VehicleMessageHeading) | | | +| setAcStatus | [SetAcStatusRequest](#messages-SetAcStatusRequest) | | | +| setTemp | [SetTemperatureRequest](#messages-SetTemperatureRequest) | | | + + + + + + +<a name="messages-SetAcStatusReply"></a> + +### SetAcStatusReply +@brief + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| status | [AcStatusEnum](#messages-AcStatusEnum) | | | + + + + + + +<a name="messages-SetAcStatusRequest"></a> + +### SetAcStatusRequest + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| desiredStatus | [AcStatusEnum](#messages-AcStatusEnum) | | The desired status of A/C | + + + + + + +<a name="messages-SetTemperatureReply"></a> + +### SetTemperatureReply +@brief + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| tempStatus | [SetTempStatusEnum](#messages-SetTempStatusEnum) | | | + + + + + + +<a name="messages-SetTemperatureRequest"></a> + +### SetTemperatureRequest +@brief + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| temperature | [float](#float) | | The desired cabin temperature in degree Celsius | @@ -393,6 +546,31 @@ services deeper in the vehicle or the cloud services. + +<a name="messages-AcStatusEnum"></a> + +### AcStatusEnum + + +| Name | Number | Description | +| ---- | ------ | ----------- | +| ON | 0 | | +| OFF | 1 | | +| UKNONWN_ERROR | 2 | | + + + +<a name="messages-SetTempStatusEnum"></a> + +### SetTempStatusEnum + + +| Name | Number | Description | +| ---- | ------ | ----------- | +| TEMP_SUCCESS | 0 | | +| TEMP_ERROR | 1 | | + + diff --git a/src/main/doc/images/Vehicle Message Header.png b/src/main/doc/images/VehicleMessageHeader.png Binary files differindex ed8d6fe..ed8d6fe 100644 --- a/src/main/doc/images/Vehicle Message Header.png +++ b/src/main/doc/images/VehicleMessageHeader.png diff --git a/src/main/java/messages/VehiclePrecisionLocation.java b/src/main/java/messages/VehiclePrecisionLocation.java index 1914db3..5594742 100644 --- a/src/main/java/messages/VehiclePrecisionLocation.java +++ b/src/main/java/messages/VehiclePrecisionLocation.java @@ -14,21 +14,174 @@ public final class VehiclePrecisionLocation { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } + /** + * Protobuf enum {@code messages.ResponseStatusEnum} + */ + public enum ResponseStatusEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <pre> + */ A good GPS Location response was possible and GPS data is being returned in the payload + * </pre> + * + * <code>SUCCESS = 0;</code> + */ + SUCCESS(0), + /** + * <pre> + */ No GPS information was able to be retrieved + * </pre> + * + * <code>FAIL_NO_RESPONSE = 1;</code> + */ + FAIL_NO_RESPONSE(1), + /** + * <pre> + * GPS location available but degraded accuracy + * </pre> + * + * <code>FAIL_DEGRADED_RESPONSE = 2;</code> + */ + FAIL_DEGRADED_RESPONSE(2), + UNRECOGNIZED(-1), + ; + + /** + * <pre> + */ A good GPS Location response was possible and GPS data is being returned in the payload + * </pre> + * + * <code>SUCCESS = 0;</code> + */ + public static final int SUCCESS_VALUE = 0; + /** + * <pre> + */ No GPS information was able to be retrieved + * </pre> + * + * <code>FAIL_NO_RESPONSE = 1;</code> + */ + public static final int FAIL_NO_RESPONSE_VALUE = 1; + /** + * <pre> + * GPS location available but degraded accuracy + * </pre> + * + * <code>FAIL_DEGRADED_RESPONSE = 2;</code> + */ + public static final int FAIL_DEGRADED_RESPONSE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ResponseStatusEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ResponseStatusEnum forNumber(int value) { + switch (value) { + case 0: return SUCCESS; + case 1: return FAIL_NO_RESPONSE; + case 2: return FAIL_DEGRADED_RESPONSE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<ResponseStatusEnum> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ResponseStatusEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<ResponseStatusEnum>() { + public ResponseStatusEnum findValueByNumber(int number) { + return ResponseStatusEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.getDescriptor().getEnumTypes().get(0); + } + + private static final ResponseStatusEnum[] VALUES = values(); + + public static ResponseStatusEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ResponseStatusEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:messages.ResponseStatusEnum) + } + public interface RequestCurrentVehicleLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:messages.RequestCurrentVehicleLocation) com.google.protobuf.MessageOrBuilder { /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return Whether the vehicleIdentification field is set. */ boolean hasVehicleIdentification(); /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return The vehicleIdentification. */ vss.Vspec.VehicleVehicleIdentification getVehicleIdentification(); /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ vss.Vspec.VehicleVehicleIdentificationOrBuilder getVehicleIdentificationOrBuilder(); @@ -71,6 +224,10 @@ public final class VehiclePrecisionLocation { public static final int VEHICLEIDENTIFICATION_FIELD_NUMBER = 1; private vss.Vspec.VehicleVehicleIdentification vehicleIdentification_; /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return Whether the vehicleIdentification field is set. */ @@ -79,6 +236,10 @@ public final class VehiclePrecisionLocation { return vehicleIdentification_ != null; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return The vehicleIdentification. */ @@ -87,6 +248,10 @@ public final class VehiclePrecisionLocation { return vehicleIdentification_ == null ? vss.Vspec.VehicleVehicleIdentification.getDefaultInstance() : vehicleIdentification_; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ @java.lang.Override @@ -402,6 +567,10 @@ public final class VehiclePrecisionLocation { private com.google.protobuf.SingleFieldBuilderV3< vss.Vspec.VehicleVehicleIdentification, vss.Vspec.VehicleVehicleIdentification.Builder, vss.Vspec.VehicleVehicleIdentificationOrBuilder> vehicleIdentificationBuilder_; /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return Whether the vehicleIdentification field is set. */ @@ -409,6 +578,10 @@ public final class VehiclePrecisionLocation { return ((bitField0_ & 0x00000001) != 0); } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> * @return The vehicleIdentification. */ @@ -420,6 +593,10 @@ public final class VehiclePrecisionLocation { } } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public Builder setVehicleIdentification(vss.Vspec.VehicleVehicleIdentification value) { @@ -436,6 +613,10 @@ public final class VehiclePrecisionLocation { return this; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public Builder setVehicleIdentification( @@ -450,6 +631,10 @@ public final class VehiclePrecisionLocation { return this; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public Builder mergeVehicleIdentification(vss.Vspec.VehicleVehicleIdentification value) { @@ -469,6 +654,10 @@ public final class VehiclePrecisionLocation { return this; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public Builder clearVehicleIdentification() { @@ -482,6 +671,10 @@ public final class VehiclePrecisionLocation { return this; } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public vss.Vspec.VehicleVehicleIdentification.Builder getVehicleIdentificationBuilder() { @@ -490,6 +683,10 @@ public final class VehiclePrecisionLocation { return getVehicleIdentificationFieldBuilder().getBuilder(); } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ public vss.Vspec.VehicleVehicleIdentificationOrBuilder getVehicleIdentificationOrBuilder() { @@ -501,6 +698,10 @@ public final class VehiclePrecisionLocation { } } /** + * <pre> + */ At most this identity should be all that is required to trigger the request for location + * </pre> + * * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> */ private com.google.protobuf.SingleFieldBuilderV3< @@ -585,19 +786,45 @@ public final class VehiclePrecisionLocation { com.google.protobuf.MessageOrBuilder { /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + boolean hasVehicleMessageHeading(); + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading(); + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder(); + + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return Whether the vehicleCurrentLocation field is set. */ boolean hasVehicleCurrentLocation(); /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return The vehicleCurrentLocation. */ vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation(); /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder(); + + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The enum numeric value on the wire for responseStatus. + */ + int getResponseStatusValue(); + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The responseStatus. + */ + messages.VehiclePrecisionLocation.ResponseStatusEnum getResponseStatus(); } /** * Protobuf type {@code messages.ResponseCurrentVehicleLocation} @@ -612,6 +839,7 @@ public final class VehiclePrecisionLocation { super(builder); } private ResponseCurrentVehicleLocation() { + responseStatus_ = 0; } @java.lang.Override @@ -634,10 +862,36 @@ public final class VehiclePrecisionLocation { messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.Builder.class); } - public static final int VEHICLECURRENTLOCATION_FIELD_NUMBER = 1; + public static final int VEHICLEMESSAGEHEADING_FIELD_NUMBER = 1; + private messages.VehicleMessageHeader.VehicleMessageHeading vehicleMessageHeading_; + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + @java.lang.Override + public boolean hasVehicleMessageHeading() { + return vehicleMessageHeading_ != null; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading() { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder() { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + + public static final int VEHICLECURRENTLOCATION_FIELD_NUMBER = 2; private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return Whether the vehicleCurrentLocation field is set. */ @java.lang.Override @@ -645,7 +899,7 @@ public final class VehiclePrecisionLocation { return vehicleCurrentLocation_ != null; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return The vehicleCurrentLocation. */ @java.lang.Override @@ -653,13 +907,31 @@ public final class VehiclePrecisionLocation { return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ @java.lang.Override public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; } + public static final int RESPONSESTATUS_FIELD_NUMBER = 3; + private int responseStatus_ = 0; + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The enum numeric value on the wire for responseStatus. + */ + @java.lang.Override public int getResponseStatusValue() { + return responseStatus_; + } + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The responseStatus. + */ + @java.lang.Override public messages.VehiclePrecisionLocation.ResponseStatusEnum getResponseStatus() { + messages.VehiclePrecisionLocation.ResponseStatusEnum result = messages.VehiclePrecisionLocation.ResponseStatusEnum.forNumber(responseStatus_); + return result == null ? messages.VehiclePrecisionLocation.ResponseStatusEnum.UNRECOGNIZED : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -674,8 +946,14 @@ public final class VehiclePrecisionLocation { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (vehicleMessageHeading_ != null) { + output.writeMessage(1, getVehicleMessageHeading()); + } if (vehicleCurrentLocation_ != null) { - output.writeMessage(1, getVehicleCurrentLocation()); + output.writeMessage(2, getVehicleCurrentLocation()); + } + if (responseStatus_ != messages.VehiclePrecisionLocation.ResponseStatusEnum.SUCCESS.getNumber()) { + output.writeEnum(3, responseStatus_); } getUnknownFields().writeTo(output); } @@ -686,9 +964,17 @@ public final class VehiclePrecisionLocation { if (size != -1) return size; size = 0; + if (vehicleMessageHeading_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVehicleMessageHeading()); + } if (vehicleCurrentLocation_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVehicleCurrentLocation()); + .computeMessageSize(2, getVehicleCurrentLocation()); + } + if (responseStatus_ != messages.VehiclePrecisionLocation.ResponseStatusEnum.SUCCESS.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, responseStatus_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -705,11 +991,17 @@ public final class VehiclePrecisionLocation { } messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation other = (messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation) obj; + if (hasVehicleMessageHeading() != other.hasVehicleMessageHeading()) return false; + if (hasVehicleMessageHeading()) { + if (!getVehicleMessageHeading() + .equals(other.getVehicleMessageHeading())) return false; + } if (hasVehicleCurrentLocation() != other.hasVehicleCurrentLocation()) return false; if (hasVehicleCurrentLocation()) { if (!getVehicleCurrentLocation() .equals(other.getVehicleCurrentLocation())) return false; } + if (responseStatus_ != other.responseStatus_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -721,10 +1013,16 @@ public final class VehiclePrecisionLocation { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVehicleMessageHeading()) { + hash = (37 * hash) + VEHICLEMESSAGEHEADING_FIELD_NUMBER; + hash = (53 * hash) + getVehicleMessageHeading().hashCode(); + } if (hasVehicleCurrentLocation()) { hash = (37 * hash) + VEHICLECURRENTLOCATION_FIELD_NUMBER; hash = (53 * hash) + getVehicleCurrentLocation().hashCode(); } + hash = (37 * hash) + RESPONSESTATUS_FIELD_NUMBER; + hash = (53 * hash) + responseStatus_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -854,11 +1152,17 @@ public final class VehiclePrecisionLocation { public Builder clear() { super.clear(); bitField0_ = 0; + vehicleMessageHeading_ = null; + if (vehicleMessageHeadingBuilder_ != null) { + vehicleMessageHeadingBuilder_.dispose(); + vehicleMessageHeadingBuilder_ = null; + } vehicleCurrentLocation_ = null; if (vehicleCurrentLocationBuilder_ != null) { vehicleCurrentLocationBuilder_.dispose(); vehicleCurrentLocationBuilder_ = null; } + responseStatus_ = 0; return this; } @@ -893,10 +1197,18 @@ public final class VehiclePrecisionLocation { private void buildPartial0(messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { + result.vehicleMessageHeading_ = vehicleMessageHeadingBuilder_ == null + ? vehicleMessageHeading_ + : vehicleMessageHeadingBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { result.vehicleCurrentLocation_ = vehicleCurrentLocationBuilder_ == null ? vehicleCurrentLocation_ : vehicleCurrentLocationBuilder_.build(); } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.responseStatus_ = responseStatus_; + } } @java.lang.Override @@ -911,9 +1223,15 @@ public final class VehiclePrecisionLocation { public Builder mergeFrom(messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation other) { if (other == messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.getDefaultInstance()) return this; + if (other.hasVehicleMessageHeading()) { + mergeVehicleMessageHeading(other.getVehicleMessageHeading()); + } if (other.hasVehicleCurrentLocation()) { mergeVehicleCurrentLocation(other.getVehicleCurrentLocation()); } + if (other.responseStatus_ != 0) { + setResponseStatusValue(other.getResponseStatusValue()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -942,11 +1260,23 @@ public final class VehiclePrecisionLocation { break; case 10: { input.readMessage( - getVehicleCurrentLocationFieldBuilder().getBuilder(), + getVehicleMessageHeadingFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 + case 18: { + input.readMessage( + getVehicleCurrentLocationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + responseStatus_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -964,18 +1294,137 @@ public final class VehiclePrecisionLocation { } private int bitField0_; + private messages.VehicleMessageHeader.VehicleMessageHeading vehicleMessageHeading_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> vehicleMessageHeadingBuilder_; + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + public boolean hasVehicleMessageHeading() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + public messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading() { + if (vehicleMessageHeadingBuilder_ == null) { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } else { + return vehicleMessageHeadingBuilder_.getMessage(); + } + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder setVehicleMessageHeading(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (vehicleMessageHeadingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleMessageHeading_ = value; + } else { + vehicleMessageHeadingBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder setVehicleMessageHeading( + messages.VehicleMessageHeader.VehicleMessageHeading.Builder builderForValue) { + if (vehicleMessageHeadingBuilder_ == null) { + vehicleMessageHeading_ = builderForValue.build(); + } else { + vehicleMessageHeadingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder mergeVehicleMessageHeading(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (vehicleMessageHeadingBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + vehicleMessageHeading_ != null && + vehicleMessageHeading_ != messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance()) { + getVehicleMessageHeadingBuilder().mergeFrom(value); + } else { + vehicleMessageHeading_ = value; + } + } else { + vehicleMessageHeadingBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder clearVehicleMessageHeading() { + bitField0_ = (bitField0_ & ~0x00000001); + vehicleMessageHeading_ = null; + if (vehicleMessageHeadingBuilder_ != null) { + vehicleMessageHeadingBuilder_.dispose(); + vehicleMessageHeadingBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeading.Builder getVehicleMessageHeadingBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getVehicleMessageHeadingFieldBuilder().getBuilder(); + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder() { + if (vehicleMessageHeadingBuilder_ != null) { + return vehicleMessageHeadingBuilder_.getMessageOrBuilder(); + } else { + return vehicleMessageHeading_ == null ? + messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> + getVehicleMessageHeadingFieldBuilder() { + if (vehicleMessageHeadingBuilder_ == null) { + vehicleMessageHeadingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder>( + getVehicleMessageHeading(), + getParentForChildren(), + isClean()); + vehicleMessageHeading_ = null; + } + return vehicleMessageHeadingBuilder_; + } + private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; private com.google.protobuf.SingleFieldBuilderV3< vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> vehicleCurrentLocationBuilder_; /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return Whether the vehicleCurrentLocation field is set. */ public boolean hasVehicleCurrentLocation() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> * @return The vehicleCurrentLocation. */ public vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation() { @@ -986,7 +1435,7 @@ public final class VehiclePrecisionLocation { } } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public Builder setVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { if (vehicleCurrentLocationBuilder_ == null) { @@ -997,12 +1446,12 @@ public final class VehiclePrecisionLocation { } else { vehicleCurrentLocationBuilder_.setMessage(value); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public Builder setVehicleCurrentLocation( vss.Vspec.VehicleCurrentLocation.Builder builderForValue) { @@ -1011,16 +1460,16 @@ public final class VehiclePrecisionLocation { } else { vehicleCurrentLocationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public Builder mergeVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { if (vehicleCurrentLocationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && + if (((bitField0_ & 0x00000002) != 0) && vehicleCurrentLocation_ != null && vehicleCurrentLocation_ != vss.Vspec.VehicleCurrentLocation.getDefaultInstance()) { getVehicleCurrentLocationBuilder().mergeFrom(value); @@ -1030,15 +1479,15 @@ public final class VehiclePrecisionLocation { } else { vehicleCurrentLocationBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public Builder clearVehicleCurrentLocation() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); vehicleCurrentLocation_ = null; if (vehicleCurrentLocationBuilder_ != null) { vehicleCurrentLocationBuilder_.dispose(); @@ -1048,15 +1497,15 @@ public final class VehiclePrecisionLocation { return this; } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public vss.Vspec.VehicleCurrentLocation.Builder getVehicleCurrentLocationBuilder() { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return getVehicleCurrentLocationFieldBuilder().getBuilder(); } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { if (vehicleCurrentLocationBuilder_ != null) { @@ -1067,7 +1516,7 @@ public final class VehiclePrecisionLocation { } } /** - * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> */ private com.google.protobuf.SingleFieldBuilderV3< vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> @@ -1082,6 +1531,59 @@ public final class VehiclePrecisionLocation { } return vehicleCurrentLocationBuilder_; } + + private int responseStatus_ = 0; + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The enum numeric value on the wire for responseStatus. + */ + @java.lang.Override public int getResponseStatusValue() { + return responseStatus_; + } + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @param value The enum numeric value on the wire for responseStatus to set. + * @return This builder for chaining. + */ + public Builder setResponseStatusValue(int value) { + responseStatus_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return The responseStatus. + */ + @java.lang.Override + public messages.VehiclePrecisionLocation.ResponseStatusEnum getResponseStatus() { + messages.VehiclePrecisionLocation.ResponseStatusEnum result = messages.VehiclePrecisionLocation.ResponseStatusEnum.forNumber(responseStatus_); + return result == null ? messages.VehiclePrecisionLocation.ResponseStatusEnum.UNRECOGNIZED : result; + } + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @param value The responseStatus to set. + * @return This builder for chaining. + */ + public Builder setResponseStatus(messages.VehiclePrecisionLocation.ResponseStatusEnum value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + responseStatus_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.messages.ResponseStatusEnum responseStatus = 3;</code> + * @return This builder for chaining. + */ + public Builder clearResponseStatus() { + bitField0_ = (bitField0_ & ~0x00000004); + responseStatus_ = 0; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1146,6 +1648,768 @@ public final class VehiclePrecisionLocation { } + public interface PublishCurrentVehicleLocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.PublishCurrentVehicleLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + boolean hasVehicleMessageHeading(); + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading(); + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder(); + + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + boolean hasVehicleCurrentLocation(); + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return The vehicleCurrentLocation. + */ + vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation(); + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder(); + } + /** + * Protobuf type {@code messages.PublishCurrentVehicleLocation} + */ + public static final class PublishCurrentVehicleLocation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.PublishCurrentVehicleLocation) + PublishCurrentVehicleLocationOrBuilder { + private static final long serialVersionUID = 0L; + // Use PublishCurrentVehicleLocation.newBuilder() to construct. + private PublishCurrentVehicleLocation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private PublishCurrentVehicleLocation() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PublishCurrentVehicleLocation(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_PublishCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_PublishCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.Builder.class); + } + + public static final int VEHICLEMESSAGEHEADING_FIELD_NUMBER = 1; + private messages.VehicleMessageHeader.VehicleMessageHeading vehicleMessageHeading_; + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + @java.lang.Override + public boolean hasVehicleMessageHeading() { + return vehicleMessageHeading_ != null; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading() { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder() { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + + public static final int VEHICLECURRENTLOCATION_FIELD_NUMBER = 2; + private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + @java.lang.Override + public boolean hasVehicleCurrentLocation() { + return vehicleCurrentLocation_ != null; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return The vehicleCurrentLocation. + */ + @java.lang.Override + public vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation() { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + @java.lang.Override + public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (vehicleMessageHeading_ != null) { + output.writeMessage(1, getVehicleMessageHeading()); + } + if (vehicleCurrentLocation_ != null) { + output.writeMessage(2, getVehicleCurrentLocation()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (vehicleMessageHeading_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVehicleMessageHeading()); + } + if (vehicleCurrentLocation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getVehicleCurrentLocation()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation)) { + return super.equals(obj); + } + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation other = (messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation) obj; + + if (hasVehicleMessageHeading() != other.hasVehicleMessageHeading()) return false; + if (hasVehicleMessageHeading()) { + if (!getVehicleMessageHeading() + .equals(other.getVehicleMessageHeading())) return false; + } + if (hasVehicleCurrentLocation() != other.hasVehicleCurrentLocation()) return false; + if (hasVehicleCurrentLocation()) { + if (!getVehicleCurrentLocation() + .equals(other.getVehicleCurrentLocation())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVehicleMessageHeading()) { + hash = (37 * hash) + VEHICLEMESSAGEHEADING_FIELD_NUMBER; + hash = (53 * hash) + getVehicleMessageHeading().hashCode(); + } + if (hasVehicleCurrentLocation()) { + hash = (37 * hash) + VEHICLECURRENTLOCATION_FIELD_NUMBER; + hash = (53 * hash) + getVehicleCurrentLocation().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code messages.PublishCurrentVehicleLocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.PublishCurrentVehicleLocation) + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_PublishCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_PublishCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.Builder.class); + } + + // Construct using messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + vehicleMessageHeading_ = null; + if (vehicleMessageHeadingBuilder_ != null) { + vehicleMessageHeadingBuilder_.dispose(); + vehicleMessageHeadingBuilder_ = null; + } + vehicleCurrentLocation_ = null; + if (vehicleCurrentLocationBuilder_ != null) { + vehicleCurrentLocationBuilder_.dispose(); + vehicleCurrentLocationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehiclePrecisionLocation.internal_static_messages_PublishCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation getDefaultInstanceForType() { + return messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation build() { + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation buildPartial() { + messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation result = new messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.vehicleMessageHeading_ = vehicleMessageHeadingBuilder_ == null + ? vehicleMessageHeading_ + : vehicleMessageHeadingBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.vehicleCurrentLocation_ = vehicleCurrentLocationBuilder_ == null + ? vehicleCurrentLocation_ + : vehicleCurrentLocationBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation) { + return mergeFrom((messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation other) { + if (other == messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation.getDefaultInstance()) return this; + if (other.hasVehicleMessageHeading()) { + mergeVehicleMessageHeading(other.getVehicleMessageHeading()); + } + if (other.hasVehicleCurrentLocation()) { + mergeVehicleCurrentLocation(other.getVehicleCurrentLocation()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getVehicleMessageHeadingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getVehicleCurrentLocationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private messages.VehicleMessageHeader.VehicleMessageHeading vehicleMessageHeading_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> vehicleMessageHeadingBuilder_; + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return Whether the vehicleMessageHeading field is set. + */ + public boolean hasVehicleMessageHeading() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + * @return The vehicleMessageHeading. + */ + public messages.VehicleMessageHeader.VehicleMessageHeading getVehicleMessageHeading() { + if (vehicleMessageHeadingBuilder_ == null) { + return vehicleMessageHeading_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } else { + return vehicleMessageHeadingBuilder_.getMessage(); + } + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder setVehicleMessageHeading(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (vehicleMessageHeadingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleMessageHeading_ = value; + } else { + vehicleMessageHeadingBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder setVehicleMessageHeading( + messages.VehicleMessageHeader.VehicleMessageHeading.Builder builderForValue) { + if (vehicleMessageHeadingBuilder_ == null) { + vehicleMessageHeading_ = builderForValue.build(); + } else { + vehicleMessageHeadingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder mergeVehicleMessageHeading(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (vehicleMessageHeadingBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + vehicleMessageHeading_ != null && + vehicleMessageHeading_ != messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance()) { + getVehicleMessageHeadingBuilder().mergeFrom(value); + } else { + vehicleMessageHeading_ = value; + } + } else { + vehicleMessageHeadingBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public Builder clearVehicleMessageHeading() { + bitField0_ = (bitField0_ & ~0x00000001); + vehicleMessageHeading_ = null; + if (vehicleMessageHeadingBuilder_ != null) { + vehicleMessageHeadingBuilder_.dispose(); + vehicleMessageHeadingBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeading.Builder getVehicleMessageHeadingBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getVehicleMessageHeadingFieldBuilder().getBuilder(); + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getVehicleMessageHeadingOrBuilder() { + if (vehicleMessageHeadingBuilder_ != null) { + return vehicleMessageHeadingBuilder_.getMessageOrBuilder(); + } else { + return vehicleMessageHeading_ == null ? + messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : vehicleMessageHeading_; + } + } + /** + * <code>.messages.VehicleMessageHeading vehicleMessageHeading = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> + getVehicleMessageHeadingFieldBuilder() { + if (vehicleMessageHeadingBuilder_ == null) { + vehicleMessageHeadingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder>( + getVehicleMessageHeading(), + getParentForChildren(), + isClean()); + vehicleMessageHeading_ = null; + } + return vehicleMessageHeadingBuilder_; + } + + private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> vehicleCurrentLocationBuilder_; + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + public boolean hasVehicleCurrentLocation() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + * @return The vehicleCurrentLocation. + */ + public vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation() { + if (vehicleCurrentLocationBuilder_ == null) { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } else { + return vehicleCurrentLocationBuilder_.getMessage(); + } + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public Builder setVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { + if (vehicleCurrentLocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleCurrentLocation_ = value; + } else { + vehicleCurrentLocationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public Builder setVehicleCurrentLocation( + vss.Vspec.VehicleCurrentLocation.Builder builderForValue) { + if (vehicleCurrentLocationBuilder_ == null) { + vehicleCurrentLocation_ = builderForValue.build(); + } else { + vehicleCurrentLocationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public Builder mergeVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { + if (vehicleCurrentLocationBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + vehicleCurrentLocation_ != null && + vehicleCurrentLocation_ != vss.Vspec.VehicleCurrentLocation.getDefaultInstance()) { + getVehicleCurrentLocationBuilder().mergeFrom(value); + } else { + vehicleCurrentLocation_ = value; + } + } else { + vehicleCurrentLocationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public Builder clearVehicleCurrentLocation() { + bitField0_ = (bitField0_ & ~0x00000002); + vehicleCurrentLocation_ = null; + if (vehicleCurrentLocationBuilder_ != null) { + vehicleCurrentLocationBuilder_.dispose(); + vehicleCurrentLocationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public vss.Vspec.VehicleCurrentLocation.Builder getVehicleCurrentLocationBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getVehicleCurrentLocationFieldBuilder().getBuilder(); + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { + if (vehicleCurrentLocationBuilder_ != null) { + return vehicleCurrentLocationBuilder_.getMessageOrBuilder(); + } else { + return vehicleCurrentLocation_ == null ? + vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 2;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> + getVehicleCurrentLocationFieldBuilder() { + if (vehicleCurrentLocationBuilder_ == null) { + vehicleCurrentLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder>( + getVehicleCurrentLocation(), + getParentForChildren(), + isClean()); + vehicleCurrentLocation_ = null; + } + return vehicleCurrentLocationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.PublishCurrentVehicleLocation) + } + + // @@protoc_insertion_point(class_scope:messages.PublishCurrentVehicleLocation) + private static final messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation(); + } + + public static messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<PublishCurrentVehicleLocation> + PARSER = new com.google.protobuf.AbstractParser<PublishCurrentVehicleLocation>() { + @java.lang.Override + public PublishCurrentVehicleLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<PublishCurrentVehicleLocation> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<PublishCurrentVehicleLocation> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.PublishCurrentVehicleLocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_messages_RequestCurrentVehicleLocation_descriptor; private static final @@ -1156,6 +2420,11 @@ public final class VehiclePrecisionLocation { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_messages_ResponseCurrentVehicleLocation_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_PublishCurrentVehicleLocation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_PublishCurrentVehicleLocation_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -1166,17 +2435,28 @@ public final class VehiclePrecisionLocation { static { java.lang.String[] descriptorData = { "\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" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { vss.Vspec.getDescriptor(), + messages.VehicleMessageHeader.getDescriptor(), }); internal_static_messages_RequestCurrentVehicleLocation_descriptor = getDescriptor().getMessageTypes().get(0); @@ -1189,8 +2469,15 @@ public final class VehiclePrecisionLocation { internal_static_messages_ResponseCurrentVehicleLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_messages_ResponseCurrentVehicleLocation_descriptor, - new java.lang.String[] { "VehicleCurrentLocation", }); + new java.lang.String[] { "VehicleMessageHeading", "VehicleCurrentLocation", "ResponseStatus", }); + internal_static_messages_PublishCurrentVehicleLocation_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_messages_PublishCurrentVehicleLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_PublishCurrentVehicleLocation_descriptor, + new java.lang.String[] { "VehicleMessageHeading", "VehicleCurrentLocation", }); vss.Vspec.getDescriptor(); + messages.VehicleMessageHeader.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/messages/VehicleRemoteHvac.java b/src/main/java/messages/VehicleRemoteHvac.java new file mode 100644 index 0000000..d8b05ff --- /dev/null +++ b/src/main/java/messages/VehicleRemoteHvac.java @@ -0,0 +1,4222 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: messages/VehicleRemoteHvac.proto + +package messages; + +public final class VehicleRemoteHvac { + private VehicleRemoteHvac() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + * Protobuf enum {@code messages.AcStatusEnum} + */ + public enum AcStatusEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <code>ON = 0;</code> + */ + ON(0), + /** + * <code>OFF = 1;</code> + */ + OFF(1), + /** + * <code>UKNONWN_ERROR = 2;</code> + */ + UKNONWN_ERROR(2), + UNRECOGNIZED(-1), + ; + + /** + * <code>ON = 0;</code> + */ + public static final int ON_VALUE = 0; + /** + * <code>OFF = 1;</code> + */ + public static final int OFF_VALUE = 1; + /** + * <code>UKNONWN_ERROR = 2;</code> + */ + public static final int UKNONWN_ERROR_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AcStatusEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AcStatusEnum forNumber(int value) { + switch (value) { + case 0: return ON; + case 1: return OFF; + case 2: return UKNONWN_ERROR; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<AcStatusEnum> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AcStatusEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<AcStatusEnum>() { + public AcStatusEnum findValueByNumber(int number) { + return AcStatusEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return messages.VehicleRemoteHvac.getDescriptor().getEnumTypes().get(0); + } + + private static final AcStatusEnum[] VALUES = values(); + + public static AcStatusEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AcStatusEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:messages.AcStatusEnum) + } + + /** + * Protobuf enum {@code messages.SetTempStatusEnum} + */ + public enum SetTempStatusEnum + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <code>TEMP_SUCCESS = 0;</code> + */ + TEMP_SUCCESS(0), + /** + * <code>TEMP_ERROR = 1;</code> + */ + TEMP_ERROR(1), + UNRECOGNIZED(-1), + ; + + /** + * <code>TEMP_SUCCESS = 0;</code> + */ + public static final int TEMP_SUCCESS_VALUE = 0; + /** + * <code>TEMP_ERROR = 1;</code> + */ + public static final int TEMP_ERROR_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SetTempStatusEnum valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SetTempStatusEnum forNumber(int value) { + switch (value) { + case 0: return TEMP_SUCCESS; + case 1: return TEMP_ERROR; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<SetTempStatusEnum> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + SetTempStatusEnum> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<SetTempStatusEnum>() { + public SetTempStatusEnum findValueByNumber(int number) { + return SetTempStatusEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return messages.VehicleRemoteHvac.getDescriptor().getEnumTypes().get(1); + } + + private static final SetTempStatusEnum[] VALUES = values(); + + public static SetTempStatusEnum valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SetTempStatusEnum(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:messages.SetTempStatusEnum) + } + + public interface CabinPreconditionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.CabinPreconditionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + boolean hasMessageHeader(); + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader(); + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder(); + + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return Whether the setAcStatus field is set. + */ + boolean hasSetAcStatus(); + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return The setAcStatus. + */ + messages.VehicleRemoteHvac.SetAcStatusRequest getSetAcStatus(); + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder getSetAcStatusOrBuilder(); + + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return Whether the setTemp field is set. + */ + boolean hasSetTemp(); + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return The setTemp. + */ + messages.VehicleRemoteHvac.SetTemperatureRequest getSetTemp(); + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder getSetTempOrBuilder(); + } + /** + * Protobuf type {@code messages.CabinPreconditionRequest} + */ + public static final class CabinPreconditionRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.CabinPreconditionRequest) + CabinPreconditionRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CabinPreconditionRequest.newBuilder() to construct. + private CabinPreconditionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private CabinPreconditionRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CabinPreconditionRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreconditionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreconditionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.CabinPreconditionRequest.class, messages.VehicleRemoteHvac.CabinPreconditionRequest.Builder.class); + } + + public static final int MESSAGEHEADER_FIELD_NUMBER = 1; + private messages.VehicleMessageHeader.VehicleMessageHeading messageHeader_; + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + @java.lang.Override + public boolean hasMessageHeader() { + return messageHeader_ != null; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader() { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder() { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + + public static final int SETACSTATUS_FIELD_NUMBER = 2; + private messages.VehicleRemoteHvac.SetAcStatusRequest setAcStatus_; + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return Whether the setAcStatus field is set. + */ + @java.lang.Override + public boolean hasSetAcStatus() { + return setAcStatus_ != null; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return The setAcStatus. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequest getSetAcStatus() { + return setAcStatus_ == null ? messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance() : setAcStatus_; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder getSetAcStatusOrBuilder() { + return setAcStatus_ == null ? messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance() : setAcStatus_; + } + + public static final int SETTEMP_FIELD_NUMBER = 3; + private messages.VehicleRemoteHvac.SetTemperatureRequest setTemp_; + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return Whether the setTemp field is set. + */ + @java.lang.Override + public boolean hasSetTemp() { + return setTemp_ != null; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return The setTemp. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequest getSetTemp() { + return setTemp_ == null ? messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance() : setTemp_; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder getSetTempOrBuilder() { + return setTemp_ == null ? messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance() : setTemp_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (messageHeader_ != null) { + output.writeMessage(1, getMessageHeader()); + } + if (setAcStatus_ != null) { + output.writeMessage(2, getSetAcStatus()); + } + if (setTemp_ != null) { + output.writeMessage(3, getSetTemp()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageHeader_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMessageHeader()); + } + if (setAcStatus_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSetAcStatus()); + } + if (setTemp_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSetTemp()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.CabinPreconditionRequest)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.CabinPreconditionRequest other = (messages.VehicleRemoteHvac.CabinPreconditionRequest) obj; + + if (hasMessageHeader() != other.hasMessageHeader()) return false; + if (hasMessageHeader()) { + if (!getMessageHeader() + .equals(other.getMessageHeader())) return false; + } + if (hasSetAcStatus() != other.hasSetAcStatus()) return false; + if (hasSetAcStatus()) { + if (!getSetAcStatus() + .equals(other.getSetAcStatus())) return false; + } + if (hasSetTemp() != other.hasSetTemp()) return false; + if (hasSetTemp()) { + if (!getSetTemp() + .equals(other.getSetTemp())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMessageHeader()) { + hash = (37 * hash) + MESSAGEHEADER_FIELD_NUMBER; + hash = (53 * hash) + getMessageHeader().hashCode(); + } + if (hasSetAcStatus()) { + hash = (37 * hash) + SETACSTATUS_FIELD_NUMBER; + hash = (53 * hash) + getSetAcStatus().hashCode(); + } + if (hasSetTemp()) { + hash = (37 * hash) + SETTEMP_FIELD_NUMBER; + hash = (53 * hash) + getSetTemp().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreconditionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.CabinPreconditionRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code messages.CabinPreconditionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.CabinPreconditionRequest) + messages.VehicleRemoteHvac.CabinPreconditionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreconditionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreconditionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.CabinPreconditionRequest.class, messages.VehicleRemoteHvac.CabinPreconditionRequest.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.CabinPreconditionRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + messageHeader_ = null; + if (messageHeaderBuilder_ != null) { + messageHeaderBuilder_.dispose(); + messageHeaderBuilder_ = null; + } + setAcStatus_ = null; + if (setAcStatusBuilder_ != null) { + setAcStatusBuilder_.dispose(); + setAcStatusBuilder_ = null; + } + setTemp_ = null; + if (setTempBuilder_ != null) { + setTempBuilder_.dispose(); + setTempBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreconditionRequest_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreconditionRequest getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.CabinPreconditionRequest.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreconditionRequest build() { + messages.VehicleRemoteHvac.CabinPreconditionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreconditionRequest buildPartial() { + messages.VehicleRemoteHvac.CabinPreconditionRequest result = new messages.VehicleRemoteHvac.CabinPreconditionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.CabinPreconditionRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.messageHeader_ = messageHeaderBuilder_ == null + ? messageHeader_ + : messageHeaderBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.setAcStatus_ = setAcStatusBuilder_ == null + ? setAcStatus_ + : setAcStatusBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.setTemp_ = setTempBuilder_ == null + ? setTemp_ + : setTempBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.CabinPreconditionRequest) { + return mergeFrom((messages.VehicleRemoteHvac.CabinPreconditionRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.CabinPreconditionRequest other) { + if (other == messages.VehicleRemoteHvac.CabinPreconditionRequest.getDefaultInstance()) return this; + if (other.hasMessageHeader()) { + mergeMessageHeader(other.getMessageHeader()); + } + if (other.hasSetAcStatus()) { + mergeSetAcStatus(other.getSetAcStatus()); + } + if (other.hasSetTemp()) { + mergeSetTemp(other.getSetTemp()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMessageHeaderFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSetAcStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getSetTempFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private messages.VehicleMessageHeader.VehicleMessageHeading messageHeader_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> messageHeaderBuilder_; + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + public boolean hasMessageHeader() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + public messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader() { + if (messageHeaderBuilder_ == null) { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } else { + return messageHeaderBuilder_.getMessage(); + } + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder setMessageHeader(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (messageHeaderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + messageHeader_ = value; + } else { + messageHeaderBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder setMessageHeader( + messages.VehicleMessageHeader.VehicleMessageHeading.Builder builderForValue) { + if (messageHeaderBuilder_ == null) { + messageHeader_ = builderForValue.build(); + } else { + messageHeaderBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder mergeMessageHeader(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (messageHeaderBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + messageHeader_ != null && + messageHeader_ != messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance()) { + getMessageHeaderBuilder().mergeFrom(value); + } else { + messageHeader_ = value; + } + } else { + messageHeaderBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder clearMessageHeader() { + bitField0_ = (bitField0_ & ~0x00000001); + messageHeader_ = null; + if (messageHeaderBuilder_ != null) { + messageHeaderBuilder_.dispose(); + messageHeaderBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeading.Builder getMessageHeaderBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getMessageHeaderFieldBuilder().getBuilder(); + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder() { + if (messageHeaderBuilder_ != null) { + return messageHeaderBuilder_.getMessageOrBuilder(); + } else { + return messageHeader_ == null ? + messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> + getMessageHeaderFieldBuilder() { + if (messageHeaderBuilder_ == null) { + messageHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder>( + getMessageHeader(), + getParentForChildren(), + isClean()); + messageHeader_ = null; + } + return messageHeaderBuilder_; + } + + private messages.VehicleRemoteHvac.SetAcStatusRequest setAcStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusRequest, messages.VehicleRemoteHvac.SetAcStatusRequest.Builder, messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder> setAcStatusBuilder_; + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return Whether the setAcStatus field is set. + */ + public boolean hasSetAcStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + * @return The setAcStatus. + */ + public messages.VehicleRemoteHvac.SetAcStatusRequest getSetAcStatus() { + if (setAcStatusBuilder_ == null) { + return setAcStatus_ == null ? messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance() : setAcStatus_; + } else { + return setAcStatusBuilder_.getMessage(); + } + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public Builder setSetAcStatus(messages.VehicleRemoteHvac.SetAcStatusRequest value) { + if (setAcStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + setAcStatus_ = value; + } else { + setAcStatusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public Builder setSetAcStatus( + messages.VehicleRemoteHvac.SetAcStatusRequest.Builder builderForValue) { + if (setAcStatusBuilder_ == null) { + setAcStatus_ = builderForValue.build(); + } else { + setAcStatusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public Builder mergeSetAcStatus(messages.VehicleRemoteHvac.SetAcStatusRequest value) { + if (setAcStatusBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + setAcStatus_ != null && + setAcStatus_ != messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance()) { + getSetAcStatusBuilder().mergeFrom(value); + } else { + setAcStatus_ = value; + } + } else { + setAcStatusBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public Builder clearSetAcStatus() { + bitField0_ = (bitField0_ & ~0x00000002); + setAcStatus_ = null; + if (setAcStatusBuilder_ != null) { + setAcStatusBuilder_.dispose(); + setAcStatusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public messages.VehicleRemoteHvac.SetAcStatusRequest.Builder getSetAcStatusBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSetAcStatusFieldBuilder().getBuilder(); + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + public messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder getSetAcStatusOrBuilder() { + if (setAcStatusBuilder_ != null) { + return setAcStatusBuilder_.getMessageOrBuilder(); + } else { + return setAcStatus_ == null ? + messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance() : setAcStatus_; + } + } + /** + * <code>.messages.SetAcStatusRequest setAcStatus = 2;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusRequest, messages.VehicleRemoteHvac.SetAcStatusRequest.Builder, messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder> + getSetAcStatusFieldBuilder() { + if (setAcStatusBuilder_ == null) { + setAcStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusRequest, messages.VehicleRemoteHvac.SetAcStatusRequest.Builder, messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder>( + getSetAcStatus(), + getParentForChildren(), + isClean()); + setAcStatus_ = null; + } + return setAcStatusBuilder_; + } + + private messages.VehicleRemoteHvac.SetTemperatureRequest setTemp_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureRequest, messages.VehicleRemoteHvac.SetTemperatureRequest.Builder, messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder> setTempBuilder_; + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return Whether the setTemp field is set. + */ + public boolean hasSetTemp() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + * @return The setTemp. + */ + public messages.VehicleRemoteHvac.SetTemperatureRequest getSetTemp() { + if (setTempBuilder_ == null) { + return setTemp_ == null ? messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance() : setTemp_; + } else { + return setTempBuilder_.getMessage(); + } + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public Builder setSetTemp(messages.VehicleRemoteHvac.SetTemperatureRequest value) { + if (setTempBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + setTemp_ = value; + } else { + setTempBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public Builder setSetTemp( + messages.VehicleRemoteHvac.SetTemperatureRequest.Builder builderForValue) { + if (setTempBuilder_ == null) { + setTemp_ = builderForValue.build(); + } else { + setTempBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public Builder mergeSetTemp(messages.VehicleRemoteHvac.SetTemperatureRequest value) { + if (setTempBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + setTemp_ != null && + setTemp_ != messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance()) { + getSetTempBuilder().mergeFrom(value); + } else { + setTemp_ = value; + } + } else { + setTempBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public Builder clearSetTemp() { + bitField0_ = (bitField0_ & ~0x00000004); + setTemp_ = null; + if (setTempBuilder_ != null) { + setTempBuilder_.dispose(); + setTempBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public messages.VehicleRemoteHvac.SetTemperatureRequest.Builder getSetTempBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSetTempFieldBuilder().getBuilder(); + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + public messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder getSetTempOrBuilder() { + if (setTempBuilder_ != null) { + return setTempBuilder_.getMessageOrBuilder(); + } else { + return setTemp_ == null ? + messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance() : setTemp_; + } + } + /** + * <code>.messages.SetTemperatureRequest setTemp = 3;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureRequest, messages.VehicleRemoteHvac.SetTemperatureRequest.Builder, messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder> + getSetTempFieldBuilder() { + if (setTempBuilder_ == null) { + setTempBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureRequest, messages.VehicleRemoteHvac.SetTemperatureRequest.Builder, messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder>( + getSetTemp(), + getParentForChildren(), + isClean()); + setTemp_ = null; + } + return setTempBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.CabinPreconditionRequest) + } + + // @@protoc_insertion_point(class_scope:messages.CabinPreconditionRequest) + private static final messages.VehicleRemoteHvac.CabinPreconditionRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.CabinPreconditionRequest(); + } + + public static messages.VehicleRemoteHvac.CabinPreconditionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<CabinPreconditionRequest> + PARSER = new com.google.protobuf.AbstractParser<CabinPreconditionRequest>() { + @java.lang.Override + public CabinPreconditionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<CabinPreconditionRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<CabinPreconditionRequest> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreconditionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CabinPreConditionReponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.CabinPreConditionReponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + boolean hasMessageHeader(); + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader(); + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder(); + + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return Whether the setAcStatusReply field is set. + */ + boolean hasSetAcStatusReply(); + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return The setAcStatusReply. + */ + messages.VehicleRemoteHvac.SetAcStatusReply getSetAcStatusReply(); + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder getSetAcStatusReplyOrBuilder(); + + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return Whether the setTemperatureReply field is set. + */ + boolean hasSetTemperatureReply(); + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return The setTemperatureReply. + */ + messages.VehicleRemoteHvac.SetTemperatureReply getSetTemperatureReply(); + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder getSetTemperatureReplyOrBuilder(); + } + /** + * Protobuf type {@code messages.CabinPreConditionReponse} + */ + public static final class CabinPreConditionReponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.CabinPreConditionReponse) + CabinPreConditionReponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CabinPreConditionReponse.newBuilder() to construct. + private CabinPreConditionReponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private CabinPreConditionReponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CabinPreConditionReponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreConditionReponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreConditionReponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.CabinPreConditionReponse.class, messages.VehicleRemoteHvac.CabinPreConditionReponse.Builder.class); + } + + public static final int MESSAGEHEADER_FIELD_NUMBER = 1; + private messages.VehicleMessageHeader.VehicleMessageHeading messageHeader_; + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + @java.lang.Override + public boolean hasMessageHeader() { + return messageHeader_ != null; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader() { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + @java.lang.Override + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder() { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + + public static final int SETACSTATUSREPLY_FIELD_NUMBER = 2; + private messages.VehicleRemoteHvac.SetAcStatusReply setAcStatusReply_; + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return Whether the setAcStatusReply field is set. + */ + @java.lang.Override + public boolean hasSetAcStatusReply() { + return setAcStatusReply_ != null; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return The setAcStatusReply. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReply getSetAcStatusReply() { + return setAcStatusReply_ == null ? messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance() : setAcStatusReply_; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder getSetAcStatusReplyOrBuilder() { + return setAcStatusReply_ == null ? messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance() : setAcStatusReply_; + } + + public static final int SETTEMPERATUREREPLY_FIELD_NUMBER = 3; + private messages.VehicleRemoteHvac.SetTemperatureReply setTemperatureReply_; + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return Whether the setTemperatureReply field is set. + */ + @java.lang.Override + public boolean hasSetTemperatureReply() { + return setTemperatureReply_ != null; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return The setTemperatureReply. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReply getSetTemperatureReply() { + return setTemperatureReply_ == null ? messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance() : setTemperatureReply_; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder getSetTemperatureReplyOrBuilder() { + return setTemperatureReply_ == null ? messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance() : setTemperatureReply_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (messageHeader_ != null) { + output.writeMessage(1, getMessageHeader()); + } + if (setAcStatusReply_ != null) { + output.writeMessage(2, getSetAcStatusReply()); + } + if (setTemperatureReply_ != null) { + output.writeMessage(3, getSetTemperatureReply()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (messageHeader_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMessageHeader()); + } + if (setAcStatusReply_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSetAcStatusReply()); + } + if (setTemperatureReply_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSetTemperatureReply()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.CabinPreConditionReponse)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.CabinPreConditionReponse other = (messages.VehicleRemoteHvac.CabinPreConditionReponse) obj; + + if (hasMessageHeader() != other.hasMessageHeader()) return false; + if (hasMessageHeader()) { + if (!getMessageHeader() + .equals(other.getMessageHeader())) return false; + } + if (hasSetAcStatusReply() != other.hasSetAcStatusReply()) return false; + if (hasSetAcStatusReply()) { + if (!getSetAcStatusReply() + .equals(other.getSetAcStatusReply())) return false; + } + if (hasSetTemperatureReply() != other.hasSetTemperatureReply()) return false; + if (hasSetTemperatureReply()) { + if (!getSetTemperatureReply() + .equals(other.getSetTemperatureReply())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMessageHeader()) { + hash = (37 * hash) + MESSAGEHEADER_FIELD_NUMBER; + hash = (53 * hash) + getMessageHeader().hashCode(); + } + if (hasSetAcStatusReply()) { + hash = (37 * hash) + SETACSTATUSREPLY_FIELD_NUMBER; + hash = (53 * hash) + getSetAcStatusReply().hashCode(); + } + if (hasSetTemperatureReply()) { + hash = (37 * hash) + SETTEMPERATUREREPLY_FIELD_NUMBER; + hash = (53 * hash) + getSetTemperatureReply().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.CabinPreConditionReponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.CabinPreConditionReponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code messages.CabinPreConditionReponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.CabinPreConditionReponse) + messages.VehicleRemoteHvac.CabinPreConditionReponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreConditionReponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreConditionReponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.CabinPreConditionReponse.class, messages.VehicleRemoteHvac.CabinPreConditionReponse.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.CabinPreConditionReponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + messageHeader_ = null; + if (messageHeaderBuilder_ != null) { + messageHeaderBuilder_.dispose(); + messageHeaderBuilder_ = null; + } + setAcStatusReply_ = null; + if (setAcStatusReplyBuilder_ != null) { + setAcStatusReplyBuilder_.dispose(); + setAcStatusReplyBuilder_ = null; + } + setTemperatureReply_ = null; + if (setTemperatureReplyBuilder_ != null) { + setTemperatureReplyBuilder_.dispose(); + setTemperatureReplyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_CabinPreConditionReponse_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreConditionReponse getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.CabinPreConditionReponse.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreConditionReponse build() { + messages.VehicleRemoteHvac.CabinPreConditionReponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreConditionReponse buildPartial() { + messages.VehicleRemoteHvac.CabinPreConditionReponse result = new messages.VehicleRemoteHvac.CabinPreConditionReponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.CabinPreConditionReponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.messageHeader_ = messageHeaderBuilder_ == null + ? messageHeader_ + : messageHeaderBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.setAcStatusReply_ = setAcStatusReplyBuilder_ == null + ? setAcStatusReply_ + : setAcStatusReplyBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.setTemperatureReply_ = setTemperatureReplyBuilder_ == null + ? setTemperatureReply_ + : setTemperatureReplyBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.CabinPreConditionReponse) { + return mergeFrom((messages.VehicleRemoteHvac.CabinPreConditionReponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.CabinPreConditionReponse other) { + if (other == messages.VehicleRemoteHvac.CabinPreConditionReponse.getDefaultInstance()) return this; + if (other.hasMessageHeader()) { + mergeMessageHeader(other.getMessageHeader()); + } + if (other.hasSetAcStatusReply()) { + mergeSetAcStatusReply(other.getSetAcStatusReply()); + } + if (other.hasSetTemperatureReply()) { + mergeSetTemperatureReply(other.getSetTemperatureReply()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getMessageHeaderFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSetAcStatusReplyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getSetTemperatureReplyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private messages.VehicleMessageHeader.VehicleMessageHeading messageHeader_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> messageHeaderBuilder_; + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return Whether the messageHeader field is set. + */ + public boolean hasMessageHeader() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + * @return The messageHeader. + */ + public messages.VehicleMessageHeader.VehicleMessageHeading getMessageHeader() { + if (messageHeaderBuilder_ == null) { + return messageHeader_ == null ? messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } else { + return messageHeaderBuilder_.getMessage(); + } + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder setMessageHeader(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (messageHeaderBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + messageHeader_ = value; + } else { + messageHeaderBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder setMessageHeader( + messages.VehicleMessageHeader.VehicleMessageHeading.Builder builderForValue) { + if (messageHeaderBuilder_ == null) { + messageHeader_ = builderForValue.build(); + } else { + messageHeaderBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder mergeMessageHeader(messages.VehicleMessageHeader.VehicleMessageHeading value) { + if (messageHeaderBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + messageHeader_ != null && + messageHeader_ != messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance()) { + getMessageHeaderBuilder().mergeFrom(value); + } else { + messageHeader_ = value; + } + } else { + messageHeaderBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public Builder clearMessageHeader() { + bitField0_ = (bitField0_ & ~0x00000001); + messageHeader_ = null; + if (messageHeaderBuilder_ != null) { + messageHeaderBuilder_.dispose(); + messageHeaderBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeading.Builder getMessageHeaderBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getMessageHeaderFieldBuilder().getBuilder(); + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + public messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder getMessageHeaderOrBuilder() { + if (messageHeaderBuilder_ != null) { + return messageHeaderBuilder_.getMessageOrBuilder(); + } else { + return messageHeader_ == null ? + messages.VehicleMessageHeader.VehicleMessageHeading.getDefaultInstance() : messageHeader_; + } + } + /** + * <code>.messages.VehicleMessageHeading messageHeader = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder> + getMessageHeaderFieldBuilder() { + if (messageHeaderBuilder_ == null) { + messageHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleMessageHeader.VehicleMessageHeading, messages.VehicleMessageHeader.VehicleMessageHeading.Builder, messages.VehicleMessageHeader.VehicleMessageHeadingOrBuilder>( + getMessageHeader(), + getParentForChildren(), + isClean()); + messageHeader_ = null; + } + return messageHeaderBuilder_; + } + + private messages.VehicleRemoteHvac.SetAcStatusReply setAcStatusReply_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusReply, messages.VehicleRemoteHvac.SetAcStatusReply.Builder, messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder> setAcStatusReplyBuilder_; + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return Whether the setAcStatusReply field is set. + */ + public boolean hasSetAcStatusReply() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + * @return The setAcStatusReply. + */ + public messages.VehicleRemoteHvac.SetAcStatusReply getSetAcStatusReply() { + if (setAcStatusReplyBuilder_ == null) { + return setAcStatusReply_ == null ? messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance() : setAcStatusReply_; + } else { + return setAcStatusReplyBuilder_.getMessage(); + } + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public Builder setSetAcStatusReply(messages.VehicleRemoteHvac.SetAcStatusReply value) { + if (setAcStatusReplyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + setAcStatusReply_ = value; + } else { + setAcStatusReplyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public Builder setSetAcStatusReply( + messages.VehicleRemoteHvac.SetAcStatusReply.Builder builderForValue) { + if (setAcStatusReplyBuilder_ == null) { + setAcStatusReply_ = builderForValue.build(); + } else { + setAcStatusReplyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public Builder mergeSetAcStatusReply(messages.VehicleRemoteHvac.SetAcStatusReply value) { + if (setAcStatusReplyBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + setAcStatusReply_ != null && + setAcStatusReply_ != messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance()) { + getSetAcStatusReplyBuilder().mergeFrom(value); + } else { + setAcStatusReply_ = value; + } + } else { + setAcStatusReplyBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public Builder clearSetAcStatusReply() { + bitField0_ = (bitField0_ & ~0x00000002); + setAcStatusReply_ = null; + if (setAcStatusReplyBuilder_ != null) { + setAcStatusReplyBuilder_.dispose(); + setAcStatusReplyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public messages.VehicleRemoteHvac.SetAcStatusReply.Builder getSetAcStatusReplyBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSetAcStatusReplyFieldBuilder().getBuilder(); + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + public messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder getSetAcStatusReplyOrBuilder() { + if (setAcStatusReplyBuilder_ != null) { + return setAcStatusReplyBuilder_.getMessageOrBuilder(); + } else { + return setAcStatusReply_ == null ? + messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance() : setAcStatusReply_; + } + } + /** + * <code>.messages.SetAcStatusReply setAcStatusReply = 2;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusReply, messages.VehicleRemoteHvac.SetAcStatusReply.Builder, messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder> + getSetAcStatusReplyFieldBuilder() { + if (setAcStatusReplyBuilder_ == null) { + setAcStatusReplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetAcStatusReply, messages.VehicleRemoteHvac.SetAcStatusReply.Builder, messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder>( + getSetAcStatusReply(), + getParentForChildren(), + isClean()); + setAcStatusReply_ = null; + } + return setAcStatusReplyBuilder_; + } + + private messages.VehicleRemoteHvac.SetTemperatureReply setTemperatureReply_; + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureReply, messages.VehicleRemoteHvac.SetTemperatureReply.Builder, messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder> setTemperatureReplyBuilder_; + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return Whether the setTemperatureReply field is set. + */ + public boolean hasSetTemperatureReply() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + * @return The setTemperatureReply. + */ + public messages.VehicleRemoteHvac.SetTemperatureReply getSetTemperatureReply() { + if (setTemperatureReplyBuilder_ == null) { + return setTemperatureReply_ == null ? messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance() : setTemperatureReply_; + } else { + return setTemperatureReplyBuilder_.getMessage(); + } + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public Builder setSetTemperatureReply(messages.VehicleRemoteHvac.SetTemperatureReply value) { + if (setTemperatureReplyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + setTemperatureReply_ = value; + } else { + setTemperatureReplyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public Builder setSetTemperatureReply( + messages.VehicleRemoteHvac.SetTemperatureReply.Builder builderForValue) { + if (setTemperatureReplyBuilder_ == null) { + setTemperatureReply_ = builderForValue.build(); + } else { + setTemperatureReplyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public Builder mergeSetTemperatureReply(messages.VehicleRemoteHvac.SetTemperatureReply value) { + if (setTemperatureReplyBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + setTemperatureReply_ != null && + setTemperatureReply_ != messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance()) { + getSetTemperatureReplyBuilder().mergeFrom(value); + } else { + setTemperatureReply_ = value; + } + } else { + setTemperatureReplyBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public Builder clearSetTemperatureReply() { + bitField0_ = (bitField0_ & ~0x00000004); + setTemperatureReply_ = null; + if (setTemperatureReplyBuilder_ != null) { + setTemperatureReplyBuilder_.dispose(); + setTemperatureReplyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public messages.VehicleRemoteHvac.SetTemperatureReply.Builder getSetTemperatureReplyBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSetTemperatureReplyFieldBuilder().getBuilder(); + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + public messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder getSetTemperatureReplyOrBuilder() { + if (setTemperatureReplyBuilder_ != null) { + return setTemperatureReplyBuilder_.getMessageOrBuilder(); + } else { + return setTemperatureReply_ == null ? + messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance() : setTemperatureReply_; + } + } + /** + * <code>.messages.SetTemperatureReply setTemperatureReply = 3;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureReply, messages.VehicleRemoteHvac.SetTemperatureReply.Builder, messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder> + getSetTemperatureReplyFieldBuilder() { + if (setTemperatureReplyBuilder_ == null) { + setTemperatureReplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + messages.VehicleRemoteHvac.SetTemperatureReply, messages.VehicleRemoteHvac.SetTemperatureReply.Builder, messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder>( + getSetTemperatureReply(), + getParentForChildren(), + isClean()); + setTemperatureReply_ = null; + } + return setTemperatureReplyBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.CabinPreConditionReponse) + } + + // @@protoc_insertion_point(class_scope:messages.CabinPreConditionReponse) + private static final messages.VehicleRemoteHvac.CabinPreConditionReponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.CabinPreConditionReponse(); + } + + public static messages.VehicleRemoteHvac.CabinPreConditionReponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<CabinPreConditionReponse> + PARSER = new com.google.protobuf.AbstractParser<CabinPreConditionReponse>() { + @java.lang.Override + public CabinPreConditionReponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<CabinPreConditionReponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<CabinPreConditionReponse> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.CabinPreConditionReponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SetAcStatusRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.SetAcStatusRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The enum numeric value on the wire for desiredStatus. + */ + int getDesiredStatusValue(); + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The desiredStatus. + */ + messages.VehicleRemoteHvac.AcStatusEnum getDesiredStatus(); + } + /** + * Protobuf type {@code messages.SetAcStatusRequest} + */ + public static final class SetAcStatusRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.SetAcStatusRequest) + SetAcStatusRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetAcStatusRequest.newBuilder() to construct. + private SetAcStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private SetAcStatusRequest() { + desiredStatus_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetAcStatusRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetAcStatusRequest.class, messages.VehicleRemoteHvac.SetAcStatusRequest.Builder.class); + } + + public static final int DESIREDSTATUS_FIELD_NUMBER = 1; + private int desiredStatus_ = 0; + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The enum numeric value on the wire for desiredStatus. + */ + @java.lang.Override public int getDesiredStatusValue() { + return desiredStatus_; + } + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The desiredStatus. + */ + @java.lang.Override public messages.VehicleRemoteHvac.AcStatusEnum getDesiredStatus() { + messages.VehicleRemoteHvac.AcStatusEnum result = messages.VehicleRemoteHvac.AcStatusEnum.forNumber(desiredStatus_); + return result == null ? messages.VehicleRemoteHvac.AcStatusEnum.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (desiredStatus_ != messages.VehicleRemoteHvac.AcStatusEnum.ON.getNumber()) { + output.writeEnum(1, desiredStatus_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (desiredStatus_ != messages.VehicleRemoteHvac.AcStatusEnum.ON.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, desiredStatus_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.SetAcStatusRequest)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.SetAcStatusRequest other = (messages.VehicleRemoteHvac.SetAcStatusRequest) obj; + + if (desiredStatus_ != other.desiredStatus_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DESIREDSTATUS_FIELD_NUMBER; + hash = (53 * hash) + desiredStatus_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.SetAcStatusRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code messages.SetAcStatusRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.SetAcStatusRequest) + messages.VehicleRemoteHvac.SetAcStatusRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetAcStatusRequest.class, messages.VehicleRemoteHvac.SetAcStatusRequest.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.SetAcStatusRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + desiredStatus_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusRequest_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequest getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequest build() { + messages.VehicleRemoteHvac.SetAcStatusRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequest buildPartial() { + messages.VehicleRemoteHvac.SetAcStatusRequest result = new messages.VehicleRemoteHvac.SetAcStatusRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.SetAcStatusRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.desiredStatus_ = desiredStatus_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.SetAcStatusRequest) { + return mergeFrom((messages.VehicleRemoteHvac.SetAcStatusRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.SetAcStatusRequest other) { + if (other == messages.VehicleRemoteHvac.SetAcStatusRequest.getDefaultInstance()) return this; + if (other.desiredStatus_ != 0) { + setDesiredStatusValue(other.getDesiredStatusValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + desiredStatus_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int desiredStatus_ = 0; + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The enum numeric value on the wire for desiredStatus. + */ + @java.lang.Override public int getDesiredStatusValue() { + return desiredStatus_; + } + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @param value The enum numeric value on the wire for desiredStatus to set. + * @return This builder for chaining. + */ + public Builder setDesiredStatusValue(int value) { + desiredStatus_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return The desiredStatus. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.AcStatusEnum getDesiredStatus() { + messages.VehicleRemoteHvac.AcStatusEnum result = messages.VehicleRemoteHvac.AcStatusEnum.forNumber(desiredStatus_); + return result == null ? messages.VehicleRemoteHvac.AcStatusEnum.UNRECOGNIZED : result; + } + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @param value The desiredStatus to set. + * @return This builder for chaining. + */ + public Builder setDesiredStatus(messages.VehicleRemoteHvac.AcStatusEnum value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + desiredStatus_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <pre> + * The desired status of A/C + * </pre> + * + * <code>.messages.AcStatusEnum desiredStatus = 1;</code> + * @return This builder for chaining. + */ + public Builder clearDesiredStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + desiredStatus_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.SetAcStatusRequest) + } + + // @@protoc_insertion_point(class_scope:messages.SetAcStatusRequest) + private static final messages.VehicleRemoteHvac.SetAcStatusRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.SetAcStatusRequest(); + } + + public static messages.VehicleRemoteHvac.SetAcStatusRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<SetAcStatusRequest> + PARSER = new com.google.protobuf.AbstractParser<SetAcStatusRequest>() { + @java.lang.Override + public SetAcStatusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<SetAcStatusRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<SetAcStatusRequest> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SetAcStatusReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.SetAcStatusReply) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The enum numeric value on the wire for status. + */ + int getStatusValue(); + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The status. + */ + messages.VehicleRemoteHvac.AcStatusEnum getStatus(); + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetAcStatusReply} + */ + public static final class SetAcStatusReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.SetAcStatusReply) + SetAcStatusReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetAcStatusReply.newBuilder() to construct. + private SetAcStatusReply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private SetAcStatusReply() { + status_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetAcStatusReply(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetAcStatusReply.class, messages.VehicleRemoteHvac.SetAcStatusReply.Builder.class); + } + + public static final int STATUS_FIELD_NUMBER = 1; + private int status_ = 0; + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The enum numeric value on the wire for status. + */ + @java.lang.Override public int getStatusValue() { + return status_; + } + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The status. + */ + @java.lang.Override public messages.VehicleRemoteHvac.AcStatusEnum getStatus() { + messages.VehicleRemoteHvac.AcStatusEnum result = messages.VehicleRemoteHvac.AcStatusEnum.forNumber(status_); + return result == null ? messages.VehicleRemoteHvac.AcStatusEnum.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (status_ != messages.VehicleRemoteHvac.AcStatusEnum.ON.getNumber()) { + output.writeEnum(1, status_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (status_ != messages.VehicleRemoteHvac.AcStatusEnum.ON.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, status_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.SetAcStatusReply)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.SetAcStatusReply other = (messages.VehicleRemoteHvac.SetAcStatusReply) obj; + + if (status_ != other.status_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + status_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetAcStatusReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.SetAcStatusReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetAcStatusReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.SetAcStatusReply) + messages.VehicleRemoteHvac.SetAcStatusReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetAcStatusReply.class, messages.VehicleRemoteHvac.SetAcStatusReply.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.SetAcStatusReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + status_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_SetAcStatusReply_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReply getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReply build() { + messages.VehicleRemoteHvac.SetAcStatusReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReply buildPartial() { + messages.VehicleRemoteHvac.SetAcStatusReply result = new messages.VehicleRemoteHvac.SetAcStatusReply(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.SetAcStatusReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.status_ = status_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.SetAcStatusReply) { + return mergeFrom((messages.VehicleRemoteHvac.SetAcStatusReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.SetAcStatusReply other) { + if (other == messages.VehicleRemoteHvac.SetAcStatusReply.getDefaultInstance()) return this; + if (other.status_ != 0) { + setStatusValue(other.getStatusValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + status_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int status_ = 0; + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The enum numeric value on the wire for status. + */ + @java.lang.Override public int getStatusValue() { + return status_; + } + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @param value The enum numeric value on the wire for status to set. + * @return This builder for chaining. + */ + public Builder setStatusValue(int value) { + status_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return The status. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.AcStatusEnum getStatus() { + messages.VehicleRemoteHvac.AcStatusEnum result = messages.VehicleRemoteHvac.AcStatusEnum.forNumber(status_); + return result == null ? messages.VehicleRemoteHvac.AcStatusEnum.UNRECOGNIZED : result; + } + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @param value The status to set. + * @return This builder for chaining. + */ + public Builder setStatus(messages.VehicleRemoteHvac.AcStatusEnum value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + status_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.messages.AcStatusEnum status = 1;</code> + * @return This builder for chaining. + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + status_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.SetAcStatusReply) + } + + // @@protoc_insertion_point(class_scope:messages.SetAcStatusReply) + private static final messages.VehicleRemoteHvac.SetAcStatusReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.SetAcStatusReply(); + } + + public static messages.VehicleRemoteHvac.SetAcStatusReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<SetAcStatusReply> + PARSER = new com.google.protobuf.AbstractParser<SetAcStatusReply>() { + @java.lang.Override + public SetAcStatusReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<SetAcStatusReply> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<SetAcStatusReply> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetAcStatusReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SetTemperatureRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.SetTemperatureRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <pre> + * The desired cabin temperature in degree Celsius + * </pre> + * + * <code>float temperature = 1;</code> + * @return The temperature. + */ + float getTemperature(); + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetTemperatureRequest} + */ + public static final class SetTemperatureRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.SetTemperatureRequest) + SetTemperatureRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetTemperatureRequest.newBuilder() to construct. + private SetTemperatureRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private SetTemperatureRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetTemperatureRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetTemperatureRequest.class, messages.VehicleRemoteHvac.SetTemperatureRequest.Builder.class); + } + + public static final int TEMPERATURE_FIELD_NUMBER = 1; + private float temperature_ = 0F; + /** + * <pre> + * The desired cabin temperature in degree Celsius + * </pre> + * + * <code>float temperature = 1;</code> + * @return The temperature. + */ + @java.lang.Override + public float getTemperature() { + return temperature_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (java.lang.Float.floatToRawIntBits(temperature_) != 0) { + output.writeFloat(1, temperature_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(temperature_) != 0) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, temperature_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.SetTemperatureRequest)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.SetTemperatureRequest other = (messages.VehicleRemoteHvac.SetTemperatureRequest) obj; + + if (java.lang.Float.floatToIntBits(getTemperature()) + != java.lang.Float.floatToIntBits( + other.getTemperature())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TEMPERATURE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTemperature()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.SetTemperatureRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetTemperatureRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.SetTemperatureRequest) + messages.VehicleRemoteHvac.SetTemperatureRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetTemperatureRequest.class, messages.VehicleRemoteHvac.SetTemperatureRequest.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.SetTemperatureRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + temperature_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureRequest_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequest getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequest build() { + messages.VehicleRemoteHvac.SetTemperatureRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequest buildPartial() { + messages.VehicleRemoteHvac.SetTemperatureRequest result = new messages.VehicleRemoteHvac.SetTemperatureRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.SetTemperatureRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.temperature_ = temperature_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.SetTemperatureRequest) { + return mergeFrom((messages.VehicleRemoteHvac.SetTemperatureRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.SetTemperatureRequest other) { + if (other == messages.VehicleRemoteHvac.SetTemperatureRequest.getDefaultInstance()) return this; + if (other.getTemperature() != 0F) { + setTemperature(other.getTemperature()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + temperature_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private float temperature_ ; + /** + * <pre> + * The desired cabin temperature in degree Celsius + * </pre> + * + * <code>float temperature = 1;</code> + * @return The temperature. + */ + @java.lang.Override + public float getTemperature() { + return temperature_; + } + /** + * <pre> + * The desired cabin temperature in degree Celsius + * </pre> + * + * <code>float temperature = 1;</code> + * @param value The temperature to set. + * @return This builder for chaining. + */ + public Builder setTemperature(float value) { + + temperature_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <pre> + * The desired cabin temperature in degree Celsius + * </pre> + * + * <code>float temperature = 1;</code> + * @return This builder for chaining. + */ + public Builder clearTemperature() { + bitField0_ = (bitField0_ & ~0x00000001); + temperature_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.SetTemperatureRequest) + } + + // @@protoc_insertion_point(class_scope:messages.SetTemperatureRequest) + private static final messages.VehicleRemoteHvac.SetTemperatureRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.SetTemperatureRequest(); + } + + public static messages.VehicleRemoteHvac.SetTemperatureRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<SetTemperatureRequest> + PARSER = new com.google.protobuf.AbstractParser<SetTemperatureRequest>() { + @java.lang.Override + public SetTemperatureRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<SetTemperatureRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<SetTemperatureRequest> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SetTemperatureReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.SetTemperatureReply) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The enum numeric value on the wire for tempStatus. + */ + int getTempStatusValue(); + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The tempStatus. + */ + messages.VehicleRemoteHvac.SetTempStatusEnum getTempStatus(); + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetTemperatureReply} + */ + public static final class SetTemperatureReply extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.SetTemperatureReply) + SetTemperatureReplyOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetTemperatureReply.newBuilder() to construct. + private SetTemperatureReply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private SetTemperatureReply() { + tempStatus_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetTemperatureReply(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetTemperatureReply.class, messages.VehicleRemoteHvac.SetTemperatureReply.Builder.class); + } + + public static final int TEMPSTATUS_FIELD_NUMBER = 1; + private int tempStatus_ = 0; + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The enum numeric value on the wire for tempStatus. + */ + @java.lang.Override public int getTempStatusValue() { + return tempStatus_; + } + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The tempStatus. + */ + @java.lang.Override public messages.VehicleRemoteHvac.SetTempStatusEnum getTempStatus() { + messages.VehicleRemoteHvac.SetTempStatusEnum result = messages.VehicleRemoteHvac.SetTempStatusEnum.forNumber(tempStatus_); + return result == null ? messages.VehicleRemoteHvac.SetTempStatusEnum.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tempStatus_ != messages.VehicleRemoteHvac.SetTempStatusEnum.TEMP_SUCCESS.getNumber()) { + output.writeEnum(1, tempStatus_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tempStatus_ != messages.VehicleRemoteHvac.SetTempStatusEnum.TEMP_SUCCESS.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, tempStatus_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehicleRemoteHvac.SetTemperatureReply)) { + return super.equals(obj); + } + messages.VehicleRemoteHvac.SetTemperatureReply other = (messages.VehicleRemoteHvac.SetTemperatureReply) obj; + + if (tempStatus_ != other.tempStatus_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TEMPSTATUS_FIELD_NUMBER; + hash = (53 * hash) + tempStatus_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehicleRemoteHvac.SetTemperatureReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehicleRemoteHvac.SetTemperatureReply prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * <pre> + ** + * @brief + * </pre> + * + * Protobuf type {@code messages.SetTemperatureReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.SetTemperatureReply) + messages.VehicleRemoteHvac.SetTemperatureReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehicleRemoteHvac.SetTemperatureReply.class, messages.VehicleRemoteHvac.SetTemperatureReply.Builder.class); + } + + // Construct using messages.VehicleRemoteHvac.SetTemperatureReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tempStatus_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehicleRemoteHvac.internal_static_messages_SetTemperatureReply_descriptor; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReply getDefaultInstanceForType() { + return messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReply build() { + messages.VehicleRemoteHvac.SetTemperatureReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReply buildPartial() { + messages.VehicleRemoteHvac.SetTemperatureReply result = new messages.VehicleRemoteHvac.SetTemperatureReply(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehicleRemoteHvac.SetTemperatureReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tempStatus_ = tempStatus_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehicleRemoteHvac.SetTemperatureReply) { + return mergeFrom((messages.VehicleRemoteHvac.SetTemperatureReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehicleRemoteHvac.SetTemperatureReply other) { + if (other == messages.VehicleRemoteHvac.SetTemperatureReply.getDefaultInstance()) return this; + if (other.tempStatus_ != 0) { + setTempStatusValue(other.getTempStatusValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + tempStatus_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int tempStatus_ = 0; + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The enum numeric value on the wire for tempStatus. + */ + @java.lang.Override public int getTempStatusValue() { + return tempStatus_; + } + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @param value The enum numeric value on the wire for tempStatus to set. + * @return This builder for chaining. + */ + public Builder setTempStatusValue(int value) { + tempStatus_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return The tempStatus. + */ + @java.lang.Override + public messages.VehicleRemoteHvac.SetTempStatusEnum getTempStatus() { + messages.VehicleRemoteHvac.SetTempStatusEnum result = messages.VehicleRemoteHvac.SetTempStatusEnum.forNumber(tempStatus_); + return result == null ? messages.VehicleRemoteHvac.SetTempStatusEnum.UNRECOGNIZED : result; + } + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @param value The tempStatus to set. + * @return This builder for chaining. + */ + public Builder setTempStatus(messages.VehicleRemoteHvac.SetTempStatusEnum value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + tempStatus_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.messages.SetTempStatusEnum tempStatus = 1;</code> + * @return This builder for chaining. + */ + public Builder clearTempStatus() { + bitField0_ = (bitField0_ & ~0x00000001); + tempStatus_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.SetTemperatureReply) + } + + // @@protoc_insertion_point(class_scope:messages.SetTemperatureReply) + private static final messages.VehicleRemoteHvac.SetTemperatureReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehicleRemoteHvac.SetTemperatureReply(); + } + + public static messages.VehicleRemoteHvac.SetTemperatureReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<SetTemperatureReply> + PARSER = new com.google.protobuf.AbstractParser<SetTemperatureReply>() { + @java.lang.Override + public SetTemperatureReply parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<SetTemperatureReply> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<SetTemperatureReply> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehicleRemoteHvac.SetTemperatureReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_CabinPreconditionRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_CabinPreconditionRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_CabinPreConditionReponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_CabinPreConditionReponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_SetAcStatusRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_SetAcStatusRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_SetAcStatusReply_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_SetAcStatusReply_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_SetTemperatureRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_SetTemperatureRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_SetTemperatureReply_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_SetTemperatureReply_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\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" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + vss.Vspec.getDescriptor(), + messages.VehicleMessageHeader.getDescriptor(), + }); + internal_static_messages_CabinPreconditionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_messages_CabinPreconditionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_CabinPreconditionRequest_descriptor, + new java.lang.String[] { "MessageHeader", "SetAcStatus", "SetTemp", }); + internal_static_messages_CabinPreConditionReponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_messages_CabinPreConditionReponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_CabinPreConditionReponse_descriptor, + new java.lang.String[] { "MessageHeader", "SetAcStatusReply", "SetTemperatureReply", }); + internal_static_messages_SetAcStatusRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_messages_SetAcStatusRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_SetAcStatusRequest_descriptor, + new java.lang.String[] { "DesiredStatus", }); + internal_static_messages_SetAcStatusReply_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_messages_SetAcStatusReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_SetAcStatusReply_descriptor, + new java.lang.String[] { "Status", }); + internal_static_messages_SetTemperatureRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_messages_SetTemperatureRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_SetTemperatureRequest_descriptor, + new java.lang.String[] { "Temperature", }); + internal_static_messages_SetTemperatureReply_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_messages_SetTemperatureReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_SetTemperatureReply_descriptor, + new java.lang.String[] { "TempStatus", }); + vss.Vspec.getDescriptor(); + messages.VehicleMessageHeader.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/proto/messages/VehiclePrecisionLocation.proto b/src/main/proto/messages/VehiclePrecisionLocation.proto index 6439b74..f83da98 100644 --- a/src/main/proto/messages/VehiclePrecisionLocation.proto +++ b/src/main/proto/messages/VehiclePrecisionLocation.proto @@ -2,16 +2,51 @@ syntax = "proto3"; package messages; import "vss/vspec.proto"; +import "messages/VehicleMessageHeader.proto"; + + +// # Precise Vehicle Location +// +// This set of messages define how to aquire vehicle location, either on demand or by interval and events. +// +// ## Message Orchestration +// [TO-DO] +// +// ## MQTT Topic Design +// | Direction | Subscribe Topic | Publish Topic | +// | ----------- | ----- | -------- | +// | Vehicle to Cloud | vloc/* | vloc/<device_id> | +// | ----------- | ----- | -------- | +// | Cloud to Vehicle | <device_id>/vloc| <device_id>/vloc | +// +// + + +message RequestCurrentVehicleLocation +/// Requests vehicle location on demand +{ + .vss.VehicleVehicleIdentification vehicleIdentification = 1; /// At most this identity should be all that is required to trigger the request for location + +} +message ResponseCurrentVehicleLocation +/// Response to vehicle location request +{ + .messages.VehicleMessageHeading vehicleMessageHeading =1; + .vss.VehicleCurrentLocation vehicleCurrentLocation =2; + ResponseStatusEnum responseStatus = 3; +} - -message RequestCurrentVehicleLocation { - .vss.VehicleVehicleIdentification vehicleIdentification = 1; - +enum ResponseStatusEnum { + SUCCESS = 0; /// A good GPS Location response was possible and GPS data is being returned in the payload + FAIL_NO_RESPONSE = 1; /// No GPS information was able to be retrieved + FAIL_DEGRADED_RESPONSE = 2; // GPS location available but degraded accuracy } -message ResponseCurrentVehicleLocation { - .vss.VehicleCurrentLocation vehicleCurrentLocation =1; +message PublishCurrentVehicleLocation /// This is the event based version, proactively publishing location data without a cloud side request +{ + VehicleMessageHeading vehicleMessageHeading =1; + .vss.VehicleCurrentLocation vehicleCurrentLocation =2; } diff --git a/src/main/proto/messages/VehicleRemoteHvac.proto b/src/main/proto/messages/VehicleRemoteHvac.proto new file mode 100644 index 0000000..d122621 --- /dev/null +++ b/src/main/proto/messages/VehicleRemoteHvac.proto @@ -0,0 +1,78 @@ +syntax = "proto3"; + +package messages; +import "vss/vspec.proto"; +import "messages/VehicleMessageHeader.proto"; + + +// # Remote HVAC Commands and Settings +// +// This set of messages define requests and response for sending remote commands to vehicles +// +// ## Message Orchestration +// [TO-DO] +// +// ## MQTT Topic Design +// | Direction | Subscribe Topic | Publish Topic | +// | ----------- | ----- | -------- | +// | Vehicle to Cloud | rohv/* | rohv/<device_id> | +// | ----------- | ----- | -------- | +// | Cloud to Vehicle | <device_id>/rohv| <device_id>/rohv | + +/** +* Cabin Preconditioning can be used to remotely start and Set the Interior canbin HVAC and set the desired temperature. +*/ + +message CabinPreconditionRequest { + VehicleMessageHeading messageHeader = 1; + SetAcStatusRequest setAcStatus = 2; + SetTemperatureRequest setTemp = 3; +} + + +message CabinPreConditionReponse { + VehicleMessageHeading messageHeader = 1; + SetAcStatusReply setAcStatusReply = 2; + SetTemperatureReply setTemperatureReply = 3; +} + +message SetAcStatusRequest { + AcStatusEnum desiredStatus = 1; // The desired status of A/C +} + +/** + * @brief + * + */ +message SetAcStatusReply { + AcStatusEnum status = 1; + + +} + +enum AcStatusEnum { + ON = 0; + OFF = 1; + UKNONWN_ERROR = 2; +} + +/** + * @brief + * + */ +message SetTemperatureRequest { + float temperature = 1; // The desired cabin temperature in degree Celsius +} + +/** + * @brief + * + */ +message SetTemperatureReply { + SetTempStatusEnum tempStatus = 1; +} + +enum SetTempStatusEnum { + TEMP_SUCCESS = 0; + TEMP_ERROR = 1; +}
\ No newline at end of file |