aboutsummaryrefslogtreecommitdiffstats
path: root/build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc')
-rw-r--r--build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc1290
1 files changed, 1290 insertions, 0 deletions
diff --git a/build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc b/build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc
new file mode 100644
index 0000000..2027a14
--- /dev/null
+++ b/build/generated/source/proto/main/cpp/messages/VehicleIntelligentDataCollector.pb.cc
@@ -0,0 +1,1290 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: messages/VehicleIntelligentDataCollector.proto
+
+#include "messages/VehicleIntelligentDataCollector.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 PublishData::PublishData(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.datapayload_)*/{}
+ , /*decltype(_impl_.vehiclemessageheading_)*/nullptr
+ , /*decltype(_impl_._cached_size_)*/{}} {}
+struct PublishDataDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR PublishDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~PublishDataDefaultTypeInternal() {}
+ union {
+ PublishData _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishDataDefaultTypeInternal _PublishData_default_instance_;
+PROTOBUF_CONSTEXPR dataPayload::dataPayload(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.key_)*/ {
+ &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
+ }
+
+ , /*decltype(_impl_.stringvalue_)*/ {
+ &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
+ }
+
+ , /*decltype(_impl_.bytesvalue_)*/ {
+ &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
+ }
+
+ , /*decltype(_impl_.doublevalue_)*/ 0
+
+ , /*decltype(_impl_.intlongvalue_)*/ ::int64_t{0}
+
+ , /*decltype(_impl_.intshortvalue_)*/ 0
+
+ , /*decltype(_impl_.boolvalue_)*/ false
+
+ , /*decltype(_impl_._cached_size_)*/{}} {}
+struct dataPayloadDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR dataPayloadDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~dataPayloadDefaultTypeInternal() {}
+ union {
+ dataPayload _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 dataPayloadDefaultTypeInternal _dataPayload_default_instance_;
+PROTOBUF_CONSTEXPR PublishDataCollectionDescriptor::PublishDataCollectionDescriptor(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.datacollectionscheme_)*/ {
+ &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
+ }
+
+ , /*decltype(_impl_._cached_size_)*/{}} {}
+struct PublishDataCollectionDescriptorDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR PublishDataCollectionDescriptorDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~PublishDataCollectionDescriptorDefaultTypeInternal() {}
+ union {
+ PublishDataCollectionDescriptor _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishDataCollectionDescriptorDefaultTypeInternal _PublishDataCollectionDescriptor_default_instance_;
+PROTOBUF_CONSTEXPR PublishVehicleModelMapping::PublishVehicleModelMapping(
+ ::_pbi::ConstantInitialized): _impl_{
+ /*decltype(_impl_.datacollectionscheme_)*/ {
+ &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
+ }
+
+ , /*decltype(_impl_._cached_size_)*/{}} {}
+struct PublishVehicleModelMappingDefaultTypeInternal {
+ PROTOBUF_CONSTEXPR PublishVehicleModelMappingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
+ ~PublishVehicleModelMappingDefaultTypeInternal() {}
+ union {
+ PublishVehicleModelMapping _instance;
+ };
+};
+
+PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
+ PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishVehicleModelMappingDefaultTypeInternal _PublishVehicleModelMapping_default_instance_;
+} // namespace messages
+static ::_pb::Metadata file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto[4];
+static constexpr const ::_pb::EnumDescriptor**
+ file_level_enum_descriptors_messages_2fVehicleIntelligentDataCollector_2eproto = nullptr;
+static constexpr const ::_pb::ServiceDescriptor**
+ file_level_service_descriptors_messages_2fVehicleIntelligentDataCollector_2eproto = nullptr;
+const ::uint32_t TableStruct_messages_2fVehicleIntelligentDataCollector_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
+ protodesc_cold) = {
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::messages::PublishData, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~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::PublishData, _impl_.vehiclemessageheading_),
+ PROTOBUF_FIELD_OFFSET(::messages::PublishData, _impl_.datapayload_),
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~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::dataPayload, _impl_.key_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.stringvalue_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.doublevalue_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.intshortvalue_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.intlongvalue_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.boolvalue_),
+ PROTOBUF_FIELD_OFFSET(::messages::dataPayload, _impl_.bytesvalue_),
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::messages::PublishDataCollectionDescriptor, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~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::PublishDataCollectionDescriptor, _impl_.datacollectionscheme_),
+ ~0u, // no _has_bits_
+ PROTOBUF_FIELD_OFFSET(::messages::PublishVehicleModelMapping, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~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::PublishVehicleModelMapping, _impl_.datacollectionscheme_),
+};
+
+static const ::_pbi::MigrationSchema
+ schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+ { 0, -1, -1, sizeof(::messages::PublishData)},
+ { 10, -1, -1, sizeof(::messages::dataPayload)},
+ { 25, -1, -1, sizeof(::messages::PublishDataCollectionDescriptor)},
+ { 34, -1, -1, sizeof(::messages::PublishVehicleModelMapping)},
+};
+
+static const ::_pb::Message* const file_default_instances[] = {
+ &::messages::_PublishData_default_instance_._instance,
+ &::messages::_dataPayload_default_instance_._instance,
+ &::messages::_PublishDataCollectionDescriptor_default_instance_._instance,
+ &::messages::_PublishVehicleModelMapping_default_instance_._instance,
+};
+const char descriptor_table_protodef_messages_2fVehicleIntelligentDataCollector_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
+ "\n.messages/VehicleIntelligentDataCollect"
+ "or.proto\022\010messages\032#messages/VehicleMess"
+ "ageHeader.proto\"y\n\013PublishData\022>\n\025vehicl"
+ "eMessageHeading\030\001 \001(\0132\037.messages.Vehicle"
+ "MessageHeading\022*\n\013DataPayload\030\002 \003(\0132\025.me"
+ "ssages.dataPayload\"\230\001\n\013dataPayload\022\013\n\003ke"
+ "y\030\001 \001(\t\022\023\n\013stringValue\030\002 \001(\t\022\023\n\013doubleVa"
+ "lue\030\003 \001(\001\022\025\n\rintShortValue\030\004 \001(\005\022\024\n\014intL"
+ "ongValue\030\005 \001(\003\022\021\n\tboolValue\030\006 \001(\010\022\022\n\nbyt"
+ "esValue\030\007 \001(\014\"\?\n\037PublishDataCollectionDe"
+ "scriptor\022\034\n\024dataCollectionScheme\030\001 \001(\014\":"
+ "\n\032PublishVehicleModelMapping\022\034\n\024dataColl"
+ "ectionScheme\030\001 \001(\014b\006proto3"
+};
+static const ::_pbi::DescriptorTable* const descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_deps[1] =
+ {
+ &::descriptor_table_messages_2fVehicleMessageHeader_2eproto,
+};
+static ::absl::once_flag descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once;
+const ::_pbi::DescriptorTable descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto = {
+ false,
+ false,
+ 506,
+ descriptor_table_protodef_messages_2fVehicleIntelligentDataCollector_2eproto,
+ "messages/VehicleIntelligentDataCollector.proto",
+ &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once,
+ descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_deps,
+ 1,
+ 4,
+ schemas,
+ file_default_instances,
+ TableStruct_messages_2fVehicleIntelligentDataCollector_2eproto::offsets,
+ file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto,
+ file_level_enum_descriptors_messages_2fVehicleIntelligentDataCollector_2eproto,
+ file_level_service_descriptors_messages_2fVehicleIntelligentDataCollector_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_2fVehicleIntelligentDataCollector_2eproto_getter() {
+ return &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto;
+}
+// Force running AddDescriptors() at dynamic initialization time.
+PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
+static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_messages_2fVehicleIntelligentDataCollector_2eproto(&descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto);
+namespace messages {
+// ===================================================================
+
+class PublishData::_Internal {
+ public:
+ static const ::messages::VehicleMessageHeading& vehiclemessageheading(const PublishData* msg);
+};
+
+const ::messages::VehicleMessageHeading&
+PublishData::_Internal::vehiclemessageheading(const PublishData* msg) {
+ return *msg->_impl_.vehiclemessageheading_;
+}
+void PublishData::clear_vehiclemessageheading() {
+ if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) {
+ delete _impl_.vehiclemessageheading_;
+ }
+ _impl_.vehiclemessageheading_ = nullptr;
+}
+PublishData::PublishData(::PROTOBUF_NAMESPACE_ID::Arena* arena)
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:messages.PublishData)
+}
+PublishData::PublishData(const PublishData& from)
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ PublishData* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datapayload_){from._impl_.datapayload_}
+ , decltype(_impl_.vehiclemessageheading_){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_);
+ }
+ // @@protoc_insertion_point(copy_constructor:messages.PublishData)
+}
+
+inline void PublishData::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datapayload_){arena}
+ , decltype(_impl_.vehiclemessageheading_){nullptr}
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
+}
+
+PublishData::~PublishData() {
+ // @@protoc_insertion_point(destructor:messages.PublishData)
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
+ SharedDtor();
+}
+
+inline void PublishData::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.datapayload_.~RepeatedPtrField();
+ if (this != internal_default_instance()) delete _impl_.vehiclemessageheading_;
+}
+
+void PublishData::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+void PublishData::Clear() {
+// @@protoc_insertion_point(message_clear_start:messages.PublishData)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.datapayload_.Clear();
+ if (GetArenaForAllocation() == nullptr && _impl_.vehiclemessageheading_ != nullptr) {
+ delete _impl_.vehiclemessageheading_;
+ }
+ _impl_.vehiclemessageheading_ = nullptr;
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
+}
+
+const char* PublishData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
+#define 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;
+ // repeated .messages.dataPayload DataPayload = 2;
+ case 2:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
+ ptr -= 1;
+ do {
+ ptr += 1;
+ ptr = ctx->ParseMessage(_internal_add_datapayload(), ptr);
+ CHK_(ptr);
+ if (!ctx->DataAvailable(ptr)) break;
+ } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(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* PublishData::_InternalSerialize(
+ ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:messages.PublishData)
+ ::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);
+ }
+
+ // repeated .messages.dataPayload DataPayload = 2;
+ for (unsigned i = 0,
+ n = static_cast<unsigned>(this->_internal_datapayload_size()); i < n; i++) {
+ const auto& repfield = this->_internal_datapayload(i);
+ target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
+ InternalWriteMessage(2, repfield, repfield.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.PublishData)
+ return target;
+}
+
+::size_t PublishData::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:messages.PublishData)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // repeated .messages.dataPayload DataPayload = 2;
+ total_size += 1UL * this->_internal_datapayload_size();
+ for (const auto& msg : this->_impl_.datapayload_) {
+ total_size +=
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
+ }
+
+ // .messages.VehicleMessageHeading vehicleMessageHeading = 1;
+ if (this->_internal_has_vehiclemessageheading()) {
+ total_size += 1 +
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
+ *_impl_.vehiclemessageheading_);
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishData::_class_data_ = {
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
+ PublishData::MergeImpl
+};
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishData::GetClassData() const { return &_class_data_; }
+
+
+void PublishData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<PublishData*>(&to_msg);
+ auto& from = static_cast<const PublishData&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:messages.PublishData)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ _this->_impl_.datapayload_.MergeFrom(from._impl_.datapayload_);
+ if (from._internal_has_vehiclemessageheading()) {
+ _this->_internal_mutable_vehiclemessageheading()->::messages::VehicleMessageHeading::MergeFrom(
+ from._internal_vehiclemessageheading());
+ }
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void PublishData::CopyFrom(const PublishData& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:messages.PublishData)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool PublishData::IsInitialized() const {
+ return true;
+}
+
+void PublishData::InternalSwap(PublishData* other) {
+ using std::swap;
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ _impl_.datapayload_.InternalSwap(&other->_impl_.datapayload_);
+ swap(_impl_.vehiclemessageheading_, other->_impl_.vehiclemessageheading_);
+}
+
+::PROTOBUF_NAMESPACE_ID::Metadata PublishData::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_getter, &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once,
+ file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto[0]);
+}
+// ===================================================================
+
+class dataPayload::_Internal {
+ public:
+};
+
+dataPayload::dataPayload(::PROTOBUF_NAMESPACE_ID::Arena* arena)
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:messages.dataPayload)
+}
+dataPayload::dataPayload(const dataPayload& from)
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ dataPayload* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.key_) {}
+
+ , decltype(_impl_.stringvalue_) {}
+
+ , decltype(_impl_.bytesvalue_) {}
+
+ , decltype(_impl_.doublevalue_) {}
+
+ , decltype(_impl_.intlongvalue_) {}
+
+ , decltype(_impl_.intshortvalue_) {}
+
+ , decltype(_impl_.boolvalue_) {}
+
+ , /*decltype(_impl_._cached_size_)*/{}};
+
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _impl_.key_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.key_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_key().empty()) {
+ _this->_impl_.key_.Set(from._internal_key(), _this->GetArenaForAllocation());
+ }
+ _impl_.stringvalue_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.stringvalue_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_stringvalue().empty()) {
+ _this->_impl_.stringvalue_.Set(from._internal_stringvalue(), _this->GetArenaForAllocation());
+ }
+ _impl_.bytesvalue_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.bytesvalue_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_bytesvalue().empty()) {
+ _this->_impl_.bytesvalue_.Set(from._internal_bytesvalue(), _this->GetArenaForAllocation());
+ }
+ ::memcpy(&_impl_.doublevalue_, &from._impl_.doublevalue_,
+ static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.boolvalue_) -
+ reinterpret_cast<char*>(&_impl_.doublevalue_)) + sizeof(_impl_.boolvalue_));
+ // @@protoc_insertion_point(copy_constructor:messages.dataPayload)
+}
+
+inline void dataPayload::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.key_) {}
+
+ , decltype(_impl_.stringvalue_) {}
+
+ , decltype(_impl_.bytesvalue_) {}
+
+ , decltype(_impl_.doublevalue_) { 0 }
+
+ , decltype(_impl_.intlongvalue_) { ::int64_t{0} }
+
+ , decltype(_impl_.intshortvalue_) { 0 }
+
+ , decltype(_impl_.boolvalue_) { false }
+
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
+ _impl_.key_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.key_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.stringvalue_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.stringvalue_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.bytesvalue_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.bytesvalue_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+}
+
+dataPayload::~dataPayload() {
+ // @@protoc_insertion_point(destructor:messages.dataPayload)
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
+ SharedDtor();
+}
+
+inline void dataPayload::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.key_.Destroy();
+ _impl_.stringvalue_.Destroy();
+ _impl_.bytesvalue_.Destroy();
+}
+
+void dataPayload::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+void dataPayload::Clear() {
+// @@protoc_insertion_point(message_clear_start:messages.dataPayload)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.key_.ClearToEmpty();
+ _impl_.stringvalue_.ClearToEmpty();
+ _impl_.bytesvalue_.ClearToEmpty();
+ ::memset(&_impl_.doublevalue_, 0, static_cast<::size_t>(
+ reinterpret_cast<char*>(&_impl_.boolvalue_) -
+ reinterpret_cast<char*>(&_impl_.doublevalue_)) + sizeof(_impl_.boolvalue_));
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
+}
+
+const char* dataPayload::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
+#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
+ while (!ctx->Done(&ptr)) {
+ ::uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
+ switch (tag >> 3) {
+ // string key = 1;
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
+ auto str = _internal_mutable_key();
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
+ CHK_(::_pbi::VerifyUTF8(str, "messages.dataPayload.key"));
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // string stringValue = 2;
+ case 2:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
+ auto str = _internal_mutable_stringvalue();
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ CHK_(ptr);
+ CHK_(::_pbi::VerifyUTF8(str, "messages.dataPayload.stringValue"));
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // double doubleValue = 3;
+ case 3:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 25)) {
+ _impl_.doublevalue_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
+ ptr += sizeof(double);
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // int32 intShortValue = 4;
+ case 4:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
+ _impl_.intshortvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
+ CHK_(ptr);
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // int64 intLongValue = 5;
+ case 5:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
+ _impl_.intlongvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ CHK_(ptr);
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // bool boolValue = 6;
+ case 6:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
+ _impl_.boolvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
+ CHK_(ptr);
+ } else {
+ goto handle_unusual;
+ }
+ continue;
+ // bytes bytesValue = 7;
+ case 7:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
+ auto str = _internal_mutable_bytesvalue();
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ 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* dataPayload::_InternalSerialize(
+ ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:messages.dataPayload)
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // string key = 1;
+ if (!this->_internal_key().empty()) {
+ const std::string& _s = this->_internal_key();
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
+ _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "messages.dataPayload.key");
+ target = stream->WriteStringMaybeAliased(1, _s, target);
+ }
+
+ // string stringValue = 2;
+ if (!this->_internal_stringvalue().empty()) {
+ const std::string& _s = this->_internal_stringvalue();
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
+ _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "messages.dataPayload.stringValue");
+ target = stream->WriteStringMaybeAliased(2, _s, target);
+ }
+
+ // double doubleValue = 3;
+ static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
+ double tmp_doublevalue = this->_internal_doublevalue();
+ ::uint64_t raw_doublevalue;
+ memcpy(&raw_doublevalue, &tmp_doublevalue, sizeof(tmp_doublevalue));
+ if (raw_doublevalue != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteDoubleToArray(
+ 3, this->_internal_doublevalue(), target);
+ }
+
+ // int32 intShortValue = 4;
+ if (this->_internal_intshortvalue() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteInt32ToArray(
+ 4, this->_internal_intshortvalue(), target);
+ }
+
+ // int64 intLongValue = 5;
+ if (this->_internal_intlongvalue() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteInt64ToArray(
+ 5, this->_internal_intlongvalue(), target);
+ }
+
+ // bool boolValue = 6;
+ if (this->_internal_boolvalue() != 0) {
+ target = stream->EnsureSpace(target);
+ target = ::_pbi::WireFormatLite::WriteBoolToArray(
+ 6, this->_internal_boolvalue(), target);
+ }
+
+ // bytes bytesValue = 7;
+ if (!this->_internal_bytesvalue().empty()) {
+ const std::string& _s = this->_internal_bytesvalue();
+ target = stream->WriteBytesMaybeAliased(7, _s, target);
+ }
+
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
+ _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:messages.dataPayload)
+ return target;
+}
+
+::size_t dataPayload::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:messages.dataPayload)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // string key = 1;
+ if (!this->_internal_key().empty()) {
+ total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
+ this->_internal_key());
+ }
+
+ // string stringValue = 2;
+ if (!this->_internal_stringvalue().empty()) {
+ total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
+ this->_internal_stringvalue());
+ }
+
+ // bytes bytesValue = 7;
+ if (!this->_internal_bytesvalue().empty()) {
+ total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
+ this->_internal_bytesvalue());
+ }
+
+ // double doubleValue = 3;
+ static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
+ double tmp_doublevalue = this->_internal_doublevalue();
+ ::uint64_t raw_doublevalue;
+ memcpy(&raw_doublevalue, &tmp_doublevalue, sizeof(tmp_doublevalue));
+ if (raw_doublevalue != 0) {
+ total_size += 9;
+ }
+
+ // int64 intLongValue = 5;
+ if (this->_internal_intlongvalue() != 0) {
+ total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
+ this->_internal_intlongvalue());
+ }
+
+ // int32 intShortValue = 4;
+ if (this->_internal_intshortvalue() != 0) {
+ total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
+ this->_internal_intshortvalue());
+ }
+
+ // bool boolValue = 6;
+ if (this->_internal_boolvalue() != 0) {
+ total_size += 2;
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData dataPayload::_class_data_ = {
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
+ dataPayload::MergeImpl
+};
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*dataPayload::GetClassData() const { return &_class_data_; }
+
+
+void dataPayload::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<dataPayload*>(&to_msg);
+ auto& from = static_cast<const dataPayload&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:messages.dataPayload)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (!from._internal_key().empty()) {
+ _this->_internal_set_key(from._internal_key());
+ }
+ if (!from._internal_stringvalue().empty()) {
+ _this->_internal_set_stringvalue(from._internal_stringvalue());
+ }
+ if (!from._internal_bytesvalue().empty()) {
+ _this->_internal_set_bytesvalue(from._internal_bytesvalue());
+ }
+ static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
+ double tmp_doublevalue = from._internal_doublevalue();
+ ::uint64_t raw_doublevalue;
+ memcpy(&raw_doublevalue, &tmp_doublevalue, sizeof(tmp_doublevalue));
+ if (raw_doublevalue != 0) {
+ _this->_internal_set_doublevalue(from._internal_doublevalue());
+ }
+ if (from._internal_intlongvalue() != 0) {
+ _this->_internal_set_intlongvalue(from._internal_intlongvalue());
+ }
+ if (from._internal_intshortvalue() != 0) {
+ _this->_internal_set_intshortvalue(from._internal_intshortvalue());
+ }
+ if (from._internal_boolvalue() != 0) {
+ _this->_internal_set_boolvalue(from._internal_boolvalue());
+ }
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void dataPayload::CopyFrom(const dataPayload& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:messages.dataPayload)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool dataPayload::IsInitialized() const {
+ return true;
+}
+
+void dataPayload::InternalSwap(dataPayload* other) {
+ using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.key_, lhs_arena,
+ &other->_impl_.key_, rhs_arena);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.stringvalue_, lhs_arena,
+ &other->_impl_.stringvalue_, rhs_arena);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bytesvalue_, lhs_arena,
+ &other->_impl_.bytesvalue_, rhs_arena);
+ ::PROTOBUF_NAMESPACE_ID::internal::memswap<
+ PROTOBUF_FIELD_OFFSET(dataPayload, _impl_.boolvalue_)
+ + sizeof(dataPayload::_impl_.boolvalue_)
+ - PROTOBUF_FIELD_OFFSET(dataPayload, _impl_.doublevalue_)>(
+ reinterpret_cast<char*>(&_impl_.doublevalue_),
+ reinterpret_cast<char*>(&other->_impl_.doublevalue_));
+}
+
+::PROTOBUF_NAMESPACE_ID::Metadata dataPayload::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_getter, &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once,
+ file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto[1]);
+}
+// ===================================================================
+
+class PublishDataCollectionDescriptor::_Internal {
+ public:
+};
+
+PublishDataCollectionDescriptor::PublishDataCollectionDescriptor(::PROTOBUF_NAMESPACE_ID::Arena* arena)
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:messages.PublishDataCollectionDescriptor)
+}
+PublishDataCollectionDescriptor::PublishDataCollectionDescriptor(const PublishDataCollectionDescriptor& from)
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ PublishDataCollectionDescriptor* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datacollectionscheme_) {}
+
+ , /*decltype(_impl_._cached_size_)*/{}};
+
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _impl_.datacollectionscheme_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.datacollectionscheme_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_datacollectionscheme().empty()) {
+ _this->_impl_.datacollectionscheme_.Set(from._internal_datacollectionscheme(), _this->GetArenaForAllocation());
+ }
+ // @@protoc_insertion_point(copy_constructor:messages.PublishDataCollectionDescriptor)
+}
+
+inline void PublishDataCollectionDescriptor::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datacollectionscheme_) {}
+
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
+ _impl_.datacollectionscheme_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.datacollectionscheme_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+}
+
+PublishDataCollectionDescriptor::~PublishDataCollectionDescriptor() {
+ // @@protoc_insertion_point(destructor:messages.PublishDataCollectionDescriptor)
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
+ SharedDtor();
+}
+
+inline void PublishDataCollectionDescriptor::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.datacollectionscheme_.Destroy();
+}
+
+void PublishDataCollectionDescriptor::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+void PublishDataCollectionDescriptor::Clear() {
+// @@protoc_insertion_point(message_clear_start:messages.PublishDataCollectionDescriptor)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.datacollectionscheme_.ClearToEmpty();
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
+}
+
+const char* PublishDataCollectionDescriptor::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
+#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
+ while (!ctx->Done(&ptr)) {
+ ::uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
+ switch (tag >> 3) {
+ // bytes dataCollectionScheme = 1;
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
+ auto str = _internal_mutable_datacollectionscheme();
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ 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* PublishDataCollectionDescriptor::_InternalSerialize(
+ ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:messages.PublishDataCollectionDescriptor)
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // bytes dataCollectionScheme = 1;
+ if (!this->_internal_datacollectionscheme().empty()) {
+ const std::string& _s = this->_internal_datacollectionscheme();
+ target = stream->WriteBytesMaybeAliased(1, _s, target);
+ }
+
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
+ _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:messages.PublishDataCollectionDescriptor)
+ return target;
+}
+
+::size_t PublishDataCollectionDescriptor::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:messages.PublishDataCollectionDescriptor)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // bytes dataCollectionScheme = 1;
+ if (!this->_internal_datacollectionscheme().empty()) {
+ total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
+ this->_internal_datacollectionscheme());
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishDataCollectionDescriptor::_class_data_ = {
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
+ PublishDataCollectionDescriptor::MergeImpl
+};
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishDataCollectionDescriptor::GetClassData() const { return &_class_data_; }
+
+
+void PublishDataCollectionDescriptor::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<PublishDataCollectionDescriptor*>(&to_msg);
+ auto& from = static_cast<const PublishDataCollectionDescriptor&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:messages.PublishDataCollectionDescriptor)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (!from._internal_datacollectionscheme().empty()) {
+ _this->_internal_set_datacollectionscheme(from._internal_datacollectionscheme());
+ }
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void PublishDataCollectionDescriptor::CopyFrom(const PublishDataCollectionDescriptor& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:messages.PublishDataCollectionDescriptor)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool PublishDataCollectionDescriptor::IsInitialized() const {
+ return true;
+}
+
+void PublishDataCollectionDescriptor::InternalSwap(PublishDataCollectionDescriptor* other) {
+ using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.datacollectionscheme_, lhs_arena,
+ &other->_impl_.datacollectionscheme_, rhs_arena);
+}
+
+::PROTOBUF_NAMESPACE_ID::Metadata PublishDataCollectionDescriptor::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_getter, &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once,
+ file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto[2]);
+}
+// ===================================================================
+
+class PublishVehicleModelMapping::_Internal {
+ public:
+};
+
+PublishVehicleModelMapping::PublishVehicleModelMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena)
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
+ SharedCtor(arena);
+ // @@protoc_insertion_point(arena_constructor:messages.PublishVehicleModelMapping)
+}
+PublishVehicleModelMapping::PublishVehicleModelMapping(const PublishVehicleModelMapping& from)
+ : ::PROTOBUF_NAMESPACE_ID::Message() {
+ PublishVehicleModelMapping* const _this = this; (void)_this;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datacollectionscheme_) {}
+
+ , /*decltype(_impl_._cached_size_)*/{}};
+
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+ _impl_.datacollectionscheme_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.datacollectionscheme_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ if (!from._internal_datacollectionscheme().empty()) {
+ _this->_impl_.datacollectionscheme_.Set(from._internal_datacollectionscheme(), _this->GetArenaForAllocation());
+ }
+ // @@protoc_insertion_point(copy_constructor:messages.PublishVehicleModelMapping)
+}
+
+inline void PublishVehicleModelMapping::SharedCtor(::_pb::Arena* arena) {
+ (void)arena;
+ new (&_impl_) Impl_{
+ decltype(_impl_.datacollectionscheme_) {}
+
+ , /*decltype(_impl_._cached_size_)*/{}
+ };
+ _impl_.datacollectionscheme_.InitDefault();
+ #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
+ _impl_.datacollectionscheme_.Set("", GetArenaForAllocation());
+ #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
+}
+
+PublishVehicleModelMapping::~PublishVehicleModelMapping() {
+ // @@protoc_insertion_point(destructor:messages.PublishVehicleModelMapping)
+ if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
+ (void)arena;
+ return;
+ }
+ SharedDtor();
+}
+
+inline void PublishVehicleModelMapping::SharedDtor() {
+ ABSL_DCHECK(GetArenaForAllocation() == nullptr);
+ _impl_.datacollectionscheme_.Destroy();
+}
+
+void PublishVehicleModelMapping::SetCachedSize(int size) const {
+ _impl_._cached_size_.Set(size);
+}
+
+void PublishVehicleModelMapping::Clear() {
+// @@protoc_insertion_point(message_clear_start:messages.PublishVehicleModelMapping)
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ _impl_.datacollectionscheme_.ClearToEmpty();
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
+}
+
+const char* PublishVehicleModelMapping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
+#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
+ while (!ctx->Done(&ptr)) {
+ ::uint32_t tag;
+ ptr = ::_pbi::ReadTag(ptr, &tag);
+ switch (tag >> 3) {
+ // bytes dataCollectionScheme = 1;
+ case 1:
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
+ auto str = _internal_mutable_datacollectionscheme();
+ ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
+ 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* PublishVehicleModelMapping::_InternalSerialize(
+ ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
+ // @@protoc_insertion_point(serialize_to_array_start:messages.PublishVehicleModelMapping)
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // bytes dataCollectionScheme = 1;
+ if (!this->_internal_datacollectionscheme().empty()) {
+ const std::string& _s = this->_internal_datacollectionscheme();
+ target = stream->WriteBytesMaybeAliased(1, _s, target);
+ }
+
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
+ target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
+ _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:messages.PublishVehicleModelMapping)
+ return target;
+}
+
+::size_t PublishVehicleModelMapping::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:messages.PublishVehicleModelMapping)
+ ::size_t total_size = 0;
+
+ ::uint32_t cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ // bytes dataCollectionScheme = 1;
+ if (!this->_internal_datacollectionscheme().empty()) {
+ total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
+ this->_internal_datacollectionscheme());
+ }
+
+ return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
+}
+
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishVehicleModelMapping::_class_data_ = {
+ ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
+ PublishVehicleModelMapping::MergeImpl
+};
+const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishVehicleModelMapping::GetClassData() const { return &_class_data_; }
+
+
+void PublishVehicleModelMapping::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
+ auto* const _this = static_cast<PublishVehicleModelMapping*>(&to_msg);
+ auto& from = static_cast<const PublishVehicleModelMapping&>(from_msg);
+ // @@protoc_insertion_point(class_specific_merge_from_start:messages.PublishVehicleModelMapping)
+ ABSL_DCHECK_NE(&from, _this);
+ ::uint32_t cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (!from._internal_datacollectionscheme().empty()) {
+ _this->_internal_set_datacollectionscheme(from._internal_datacollectionscheme());
+ }
+ _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
+}
+
+void PublishVehicleModelMapping::CopyFrom(const PublishVehicleModelMapping& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:messages.PublishVehicleModelMapping)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool PublishVehicleModelMapping::IsInitialized() const {
+ return true;
+}
+
+void PublishVehicleModelMapping::InternalSwap(PublishVehicleModelMapping* other) {
+ using std::swap;
+ auto* lhs_arena = GetArenaForAllocation();
+ auto* rhs_arena = other->GetArenaForAllocation();
+ _internal_metadata_.InternalSwap(&other->_internal_metadata_);
+ ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.datacollectionscheme_, lhs_arena,
+ &other->_impl_.datacollectionscheme_, rhs_arena);
+}
+
+::PROTOBUF_NAMESPACE_ID::Metadata PublishVehicleModelMapping::GetMetadata() const {
+ return ::_pbi::AssignDescriptors(
+ &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_getter, &descriptor_table_messages_2fVehicleIntelligentDataCollector_2eproto_once,
+ file_level_metadata_messages_2fVehicleIntelligentDataCollector_2eproto[3]);
+}
+// @@protoc_insertion_point(namespace_scope)
+} // namespace messages
+PROTOBUF_NAMESPACE_OPEN
+template<> PROTOBUF_NOINLINE ::messages::PublishData*
+Arena::CreateMaybeMessage< ::messages::PublishData >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::messages::PublishData >(arena);
+}
+template<> PROTOBUF_NOINLINE ::messages::dataPayload*
+Arena::CreateMaybeMessage< ::messages::dataPayload >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::messages::dataPayload >(arena);
+}
+template<> PROTOBUF_NOINLINE ::messages::PublishDataCollectionDescriptor*
+Arena::CreateMaybeMessage< ::messages::PublishDataCollectionDescriptor >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::messages::PublishDataCollectionDescriptor >(arena);
+}
+template<> PROTOBUF_NOINLINE ::messages::PublishVehicleModelMapping*
+Arena::CreateMaybeMessage< ::messages::PublishVehicleModelMapping >(Arena* arena) {
+ return Arena::CreateMessageInternal< ::messages::PublishVehicleModelMapping >(arena);
+}
+PROTOBUF_NAMESPACE_CLOSE
+// @@protoc_insertion_point(global_scope)
+#include "google/protobuf/port_undef.inc"