// Generated by the protocol buffer compiler. DO NOT EDIT! // source: messages/VehiclePrecisionLocation.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_messages_2fVehiclePrecisionLocation_2eproto_2epb_2eh #define GOOGLE_PROTOBUF_INCLUDED_messages_2fVehiclePrecisionLocation_2eproto_2epb_2eh #include #include #include #include "google/protobuf/port_def.inc" #if PROTOBUF_VERSION < 4022000 #error "This file was generated by a newer version of protoc which is" #error "incompatible with your Protocol Buffer headers. Please update" #error "your headers." #endif // PROTOBUF_VERSION #if 4022000 < PROTOBUF_MIN_PROTOC_VERSION #error "This file was generated by an older version of protoc which is" #error "incompatible with your Protocol Buffer headers. Please" #error "regenerate this file with a newer version of protoc." #endif // PROTOBUF_MIN_PROTOC_VERSION #include "google/protobuf/port_undef.inc" #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/arena.h" #include "google/protobuf/arenastring.h" #include "google/protobuf/generated_message_util.h" #include "google/protobuf/metadata_lite.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/repeated_field.h" // IWYU pragma: export #include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "messages/VehicleMessageHeader.pb.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" #define PROTOBUF_INTERNAL_EXPORT_messages_2fVehiclePrecisionLocation_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_messages_2fVehiclePrecisionLocation_2eproto { static const ::uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_messages_2fVehiclePrecisionLocation_2eproto; namespace messages { class PublishCurrentVehicleLocation; struct PublishCurrentVehicleLocationDefaultTypeInternal; extern PublishCurrentVehicleLocationDefaultTypeInternal _PublishCurrentVehicleLocation_default_instance_; class RequestCurrentVehicleLocationTest; struct RequestCurrentVehicleLocationTestDefaultTypeInternal; extern RequestCurrentVehicleLocationTestDefaultTypeInternal _RequestCurrentVehicleLocationTest_default_instance_; class ResponseCurrentVehicleLocation; struct ResponseCurrentVehicleLocationDefaultTypeInternal; extern ResponseCurrentVehicleLocationDefaultTypeInternal _ResponseCurrentVehicleLocation_default_instance_; class VehicleCurrentLocation; struct VehicleCurrentLocationDefaultTypeInternal; extern VehicleCurrentLocationDefaultTypeInternal _VehicleCurrentLocation_default_instance_; class VehicleCurrentLocationGNSSReceiver; struct VehicleCurrentLocationGNSSReceiverDefaultTypeInternal; extern VehicleCurrentLocationGNSSReceiverDefaultTypeInternal _VehicleCurrentLocationGNSSReceiver_default_instance_; class VehicleCurrentLocationGNSSReceiverMountingPosition; struct VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal; extern VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal _VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_; } // namespace messages PROTOBUF_NAMESPACE_OPEN template <> ::messages::PublishCurrentVehicleLocation* Arena::CreateMaybeMessage<::messages::PublishCurrentVehicleLocation>(Arena*); template <> ::messages::RequestCurrentVehicleLocationTest* Arena::CreateMaybeMessage<::messages::RequestCurrentVehicleLocationTest>(Arena*); template <> ::messages::ResponseCurrentVehicleLocation* Arena::CreateMaybeMessage<::messages::ResponseCurrentVehicleLocation>(Arena*); template <> ::messages::VehicleCurrentLocation* Arena::CreateMaybeMessage<::messages::VehicleCurrentLocation>(Arena*); template <> ::messages::VehicleCurrentLocationGNSSReceiver* Arena::CreateMaybeMessage<::messages::VehicleCurrentLocationGNSSReceiver>(Arena*); template <> ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* Arena::CreateMaybeMessage<::messages::VehicleCurrentLocationGNSSReceiverMountingPosition>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace messages { enum ResponseStatusEnum : int { SUCCESS = 0, FAIL_NO_RESPONSE = 1, FAIL_DEGRADED_RESPONSE = 2, ResponseStatusEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), ResponseStatusEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max(), }; bool ResponseStatusEnum_IsValid(int value); constexpr ResponseStatusEnum ResponseStatusEnum_MIN = static_cast(0); constexpr ResponseStatusEnum ResponseStatusEnum_MAX = static_cast(2); constexpr int ResponseStatusEnum_ARRAYSIZE = 2 + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ResponseStatusEnum_descriptor(); template const std::string& ResponseStatusEnum_Name(T value) { static_assert(std::is_same::value || std::is_integral::value, "Incorrect type passed to ResponseStatusEnum_Name()."); return ResponseStatusEnum_Name(static_cast(value)); } template <> inline const std::string& ResponseStatusEnum_Name(ResponseStatusEnum value) { return ::PROTOBUF_NAMESPACE_ID::internal::NameOfDenseEnum( static_cast(value)); } inline bool ResponseStatusEnum_Parse(absl::string_view name, ResponseStatusEnum* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( ResponseStatusEnum_descriptor(), name, value); } // =================================================================== // ------------------------------------------------------------------- class RequestCurrentVehicleLocationTest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.RequestCurrentVehicleLocationTest) */ { public: inline RequestCurrentVehicleLocationTest() : RequestCurrentVehicleLocationTest(nullptr) {} ~RequestCurrentVehicleLocationTest() override; explicit PROTOBUF_CONSTEXPR RequestCurrentVehicleLocationTest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RequestCurrentVehicleLocationTest(const RequestCurrentVehicleLocationTest& from); RequestCurrentVehicleLocationTest(RequestCurrentVehicleLocationTest&& from) noexcept : RequestCurrentVehicleLocationTest() { *this = ::std::move(from); } inline RequestCurrentVehicleLocationTest& operator=(const RequestCurrentVehicleLocationTest& from) { CopyFrom(from); return *this; } inline RequestCurrentVehicleLocationTest& operator=(RequestCurrentVehicleLocationTest&& 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 RequestCurrentVehicleLocationTest& default_instance() { return *internal_default_instance(); } static inline const RequestCurrentVehicleLocationTest* internal_default_instance() { return reinterpret_cast( &_RequestCurrentVehicleLocationTest_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(RequestCurrentVehicleLocationTest& a, RequestCurrentVehicleLocationTest& b) { a.Swap(&b); } inline void Swap(RequestCurrentVehicleLocationTest* 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(RequestCurrentVehicleLocationTest* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- RequestCurrentVehicleLocationTest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const RequestCurrentVehicleLocationTest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const RequestCurrentVehicleLocationTest& from) { RequestCurrentVehicleLocationTest::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(RequestCurrentVehicleLocationTest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.RequestCurrentVehicleLocationTest"; } protected: explicit RequestCurrentVehicleLocationTest(::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 { kVehicleIdentityFieldNumber = 1, }; // string vehicle_identity = 1; void clear_vehicle_identity() ; const std::string& vehicle_identity() const; template void set_vehicle_identity(Arg_&& arg, Args_... args); std::string* mutable_vehicle_identity(); PROTOBUF_NODISCARD std::string* release_vehicle_identity(); void set_allocated_vehicle_identity(std::string* ptr); private: const std::string& _internal_vehicle_identity() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_vehicle_identity( const std::string& value); std::string* _internal_mutable_vehicle_identity(); public: // @@protoc_insertion_point(class_scope:messages.RequestCurrentVehicleLocationTest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vehicle_identity_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; };// ------------------------------------------------------------------- class ResponseCurrentVehicleLocation final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.ResponseCurrentVehicleLocation) */ { public: inline ResponseCurrentVehicleLocation() : ResponseCurrentVehicleLocation(nullptr) {} ~ResponseCurrentVehicleLocation() override; explicit PROTOBUF_CONSTEXPR ResponseCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ResponseCurrentVehicleLocation(const ResponseCurrentVehicleLocation& from); ResponseCurrentVehicleLocation(ResponseCurrentVehicleLocation&& from) noexcept : ResponseCurrentVehicleLocation() { *this = ::std::move(from); } inline ResponseCurrentVehicleLocation& operator=(const ResponseCurrentVehicleLocation& from) { CopyFrom(from); return *this; } inline ResponseCurrentVehicleLocation& operator=(ResponseCurrentVehicleLocation&& 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 ResponseCurrentVehicleLocation& default_instance() { return *internal_default_instance(); } static inline const ResponseCurrentVehicleLocation* internal_default_instance() { return reinterpret_cast( &_ResponseCurrentVehicleLocation_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(ResponseCurrentVehicleLocation& a, ResponseCurrentVehicleLocation& b) { a.Swap(&b); } inline void Swap(ResponseCurrentVehicleLocation* 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(ResponseCurrentVehicleLocation* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ResponseCurrentVehicleLocation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const ResponseCurrentVehicleLocation& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const ResponseCurrentVehicleLocation& from) { ResponseCurrentVehicleLocation::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(ResponseCurrentVehicleLocation* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.ResponseCurrentVehicleLocation"; } protected: explicit ResponseCurrentVehicleLocation(::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, kResponseStatusFieldNumber = 3, }; // .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(); // .messages.VehicleCurrentLocation vehicleCurrentLocation = 2; bool has_vehiclecurrentlocation() const; private: bool _internal_has_vehiclecurrentlocation() const; public: void clear_vehiclecurrentlocation() ; const ::messages::VehicleCurrentLocation& vehiclecurrentlocation() const; PROTOBUF_NODISCARD ::messages::VehicleCurrentLocation* release_vehiclecurrentlocation(); ::messages::VehicleCurrentLocation* mutable_vehiclecurrentlocation(); void set_allocated_vehiclecurrentlocation(::messages::VehicleCurrentLocation* vehiclecurrentlocation); private: const ::messages::VehicleCurrentLocation& _internal_vehiclecurrentlocation() const; ::messages::VehicleCurrentLocation* _internal_mutable_vehiclecurrentlocation(); public: void unsafe_arena_set_allocated_vehiclecurrentlocation( ::messages::VehicleCurrentLocation* vehiclecurrentlocation); ::messages::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; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::messages::VehicleMessageHeading* vehiclemessageheading_; ::messages::VehicleCurrentLocation* vehiclecurrentlocation_; int responsestatus_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; };// ------------------------------------------------------------------- class PublishCurrentVehicleLocation final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.PublishCurrentVehicleLocation) */ { public: inline PublishCurrentVehicleLocation() : PublishCurrentVehicleLocation(nullptr) {} ~PublishCurrentVehicleLocation() override; explicit PROTOBUF_CONSTEXPR PublishCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PublishCurrentVehicleLocation(const PublishCurrentVehicleLocation& from); PublishCurrentVehicleLocation(PublishCurrentVehicleLocation&& from) noexcept : PublishCurrentVehicleLocation() { *this = ::std::move(from); } inline PublishCurrentVehicleLocation& operator=(const PublishCurrentVehicleLocation& from) { CopyFrom(from); return *this; } inline PublishCurrentVehicleLocation& operator=(PublishCurrentVehicleLocation&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE && GetOwningArena() != nullptr #endif // !PROTOBUF_FORCE_COPY_IN_MOVE ) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const PublishCurrentVehicleLocation& default_instance() { return *internal_default_instance(); } static inline const PublishCurrentVehicleLocation* internal_default_instance() { return reinterpret_cast( &_PublishCurrentVehicleLocation_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(PublishCurrentVehicleLocation& a, PublishCurrentVehicleLocation& b) { a.Swap(&b); } inline void Swap(PublishCurrentVehicleLocation* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && GetOwningArena() == other->GetOwningArena()) { #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() == other->GetOwningArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PublishCurrentVehicleLocation* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- PublishCurrentVehicleLocation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const PublishCurrentVehicleLocation& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const PublishCurrentVehicleLocation& from) { PublishCurrentVehicleLocation::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; ::size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _impl_._cached_size_.Get(); } private: void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PublishCurrentVehicleLocation* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.PublishCurrentVehicleLocation"; } protected: explicit PublishCurrentVehicleLocation(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: static const ClassData _class_data_; const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kVehicleMessageHeadingFieldNumber = 1, kVehicleCurrentLocationFieldNumber = 2, }; // .messages.VehicleMessageHeading vehicleMessageHeading = 1; bool has_vehiclemessageheading() const; private: bool _internal_has_vehiclemessageheading() const; public: void clear_vehiclemessageheading() ; const ::messages::VehicleMessageHeading& vehiclemessageheading() const; PROTOBUF_NODISCARD ::messages::VehicleMessageHeading* release_vehiclemessageheading(); ::messages::VehicleMessageHeading* mutable_vehiclemessageheading(); void set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading); private: const ::messages::VehicleMessageHeading& _internal_vehiclemessageheading() const; ::messages::VehicleMessageHeading* _internal_mutable_vehiclemessageheading(); public: void unsafe_arena_set_allocated_vehiclemessageheading( ::messages::VehicleMessageHeading* vehiclemessageheading); ::messages::VehicleMessageHeading* unsafe_arena_release_vehiclemessageheading(); // .messages.VehicleCurrentLocation vehicleCurrentLocation = 2; bool has_vehiclecurrentlocation() const; private: bool _internal_has_vehiclecurrentlocation() const; public: void clear_vehiclecurrentlocation() ; const ::messages::VehicleCurrentLocation& vehiclecurrentlocation() const; PROTOBUF_NODISCARD ::messages::VehicleCurrentLocation* release_vehiclecurrentlocation(); ::messages::VehicleCurrentLocation* mutable_vehiclecurrentlocation(); void set_allocated_vehiclecurrentlocation(::messages::VehicleCurrentLocation* vehiclecurrentlocation); private: const ::messages::VehicleCurrentLocation& _internal_vehiclecurrentlocation() const; ::messages::VehicleCurrentLocation* _internal_mutable_vehiclecurrentlocation(); public: void unsafe_arena_set_allocated_vehiclecurrentlocation( ::messages::VehicleCurrentLocation* vehiclecurrentlocation); ::messages::VehicleCurrentLocation* unsafe_arena_release_vehiclecurrentlocation(); // @@protoc_insertion_point(class_scope:messages.PublishCurrentVehicleLocation) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::messages::VehicleMessageHeading* vehiclemessageheading_; ::messages::VehicleCurrentLocation* vehiclecurrentlocation_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; };// ------------------------------------------------------------------- class VehicleCurrentLocation final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.VehicleCurrentLocation) */ { public: inline VehicleCurrentLocation() : VehicleCurrentLocation(nullptr) {} ~VehicleCurrentLocation() override; explicit PROTOBUF_CONSTEXPR VehicleCurrentLocation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VehicleCurrentLocation(const VehicleCurrentLocation& from); VehicleCurrentLocation(VehicleCurrentLocation&& from) noexcept : VehicleCurrentLocation() { *this = ::std::move(from); } inline VehicleCurrentLocation& operator=(const VehicleCurrentLocation& from) { CopyFrom(from); return *this; } inline VehicleCurrentLocation& operator=(VehicleCurrentLocation&& 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 VehicleCurrentLocation& default_instance() { return *internal_default_instance(); } static inline const VehicleCurrentLocation* internal_default_instance() { return reinterpret_cast( &_VehicleCurrentLocation_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(VehicleCurrentLocation& a, VehicleCurrentLocation& b) { a.Swap(&b); } inline void Swap(VehicleCurrentLocation* 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(VehicleCurrentLocation* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- VehicleCurrentLocation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const VehicleCurrentLocation& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const VehicleCurrentLocation& from) { VehicleCurrentLocation::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(VehicleCurrentLocation* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.VehicleCurrentLocation"; } protected: explicit VehicleCurrentLocation(::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 { kTimestampFieldNumber = 1, kGNSSReceiverFieldNumber = 8, kLatitudeFieldNumber = 2, kLongitudeFieldNumber = 3, kHeadingFieldNumber = 4, kHorizontalAccuracyFieldNumber = 5, kAltitudeFieldNumber = 6, kVerticalAccuracyFieldNumber = 7, }; // string Timestamp = 1; void clear_timestamp() ; const std::string& timestamp() const; template void set_timestamp(Arg_&& arg, Args_... args); std::string* mutable_timestamp(); PROTOBUF_NODISCARD std::string* release_timestamp(); void set_allocated_timestamp(std::string* ptr); private: const std::string& _internal_timestamp() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_timestamp( const std::string& value); std::string* _internal_mutable_timestamp(); public: // .messages.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; bool has_gnssreceiver() const; private: bool _internal_has_gnssreceiver() const; public: void clear_gnssreceiver() ; const ::messages::VehicleCurrentLocationGNSSReceiver& gnssreceiver() const; PROTOBUF_NODISCARD ::messages::VehicleCurrentLocationGNSSReceiver* release_gnssreceiver(); ::messages::VehicleCurrentLocationGNSSReceiver* mutable_gnssreceiver(); void set_allocated_gnssreceiver(::messages::VehicleCurrentLocationGNSSReceiver* gnssreceiver); private: const ::messages::VehicleCurrentLocationGNSSReceiver& _internal_gnssreceiver() const; ::messages::VehicleCurrentLocationGNSSReceiver* _internal_mutable_gnssreceiver(); public: void unsafe_arena_set_allocated_gnssreceiver( ::messages::VehicleCurrentLocationGNSSReceiver* gnssreceiver); ::messages::VehicleCurrentLocationGNSSReceiver* unsafe_arena_release_gnssreceiver(); // double Latitude = 2; void clear_latitude() ; double latitude() const; void set_latitude(double value); private: double _internal_latitude() const; void _internal_set_latitude(double value); public: // double Longitude = 3; void clear_longitude() ; double longitude() const; void set_longitude(double value); private: double _internal_longitude() const; void _internal_set_longitude(double value); public: // double Heading = 4; void clear_heading() ; double heading() const; void set_heading(double value); private: double _internal_heading() const; void _internal_set_heading(double value); public: // double HorizontalAccuracy = 5; void clear_horizontalaccuracy() ; double horizontalaccuracy() const; void set_horizontalaccuracy(double value); private: double _internal_horizontalaccuracy() const; void _internal_set_horizontalaccuracy(double value); public: // double Altitude = 6; void clear_altitude() ; double altitude() const; void set_altitude(double value); private: double _internal_altitude() const; void _internal_set_altitude(double value); public: // double VerticalAccuracy = 7; void clear_verticalaccuracy() ; double verticalaccuracy() const; void set_verticalaccuracy(double value); private: double _internal_verticalaccuracy() const; void _internal_set_verticalaccuracy(double value); public: // @@protoc_insertion_point(class_scope:messages.VehicleCurrentLocation) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timestamp_; ::messages::VehicleCurrentLocationGNSSReceiver* gnssreceiver_; double latitude_; double longitude_; double heading_; double horizontalaccuracy_; double altitude_; double verticalaccuracy_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; };// ------------------------------------------------------------------- class VehicleCurrentLocationGNSSReceiver final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.VehicleCurrentLocationGNSSReceiver) */ { public: inline VehicleCurrentLocationGNSSReceiver() : VehicleCurrentLocationGNSSReceiver(nullptr) {} ~VehicleCurrentLocationGNSSReceiver() override; explicit PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VehicleCurrentLocationGNSSReceiver(const VehicleCurrentLocationGNSSReceiver& from); VehicleCurrentLocationGNSSReceiver(VehicleCurrentLocationGNSSReceiver&& from) noexcept : VehicleCurrentLocationGNSSReceiver() { *this = ::std::move(from); } inline VehicleCurrentLocationGNSSReceiver& operator=(const VehicleCurrentLocationGNSSReceiver& from) { CopyFrom(from); return *this; } inline VehicleCurrentLocationGNSSReceiver& operator=(VehicleCurrentLocationGNSSReceiver&& 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 VehicleCurrentLocationGNSSReceiver& default_instance() { return *internal_default_instance(); } static inline const VehicleCurrentLocationGNSSReceiver* internal_default_instance() { return reinterpret_cast( &_VehicleCurrentLocationGNSSReceiver_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(VehicleCurrentLocationGNSSReceiver& a, VehicleCurrentLocationGNSSReceiver& b) { a.Swap(&b); } inline void Swap(VehicleCurrentLocationGNSSReceiver* 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(VehicleCurrentLocationGNSSReceiver* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- VehicleCurrentLocationGNSSReceiver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const VehicleCurrentLocationGNSSReceiver& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const VehicleCurrentLocationGNSSReceiver& from) { VehicleCurrentLocationGNSSReceiver::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(VehicleCurrentLocationGNSSReceiver* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.VehicleCurrentLocationGNSSReceiver"; } protected: explicit VehicleCurrentLocationGNSSReceiver(::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 { kFixTypeFieldNumber = 1, kMountingPositionFieldNumber = 2, }; // string FixType = 1; void clear_fixtype() ; const std::string& fixtype() const; template void set_fixtype(Arg_&& arg, Args_... args); std::string* mutable_fixtype(); PROTOBUF_NODISCARD std::string* release_fixtype(); void set_allocated_fixtype(std::string* ptr); private: const std::string& _internal_fixtype() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_fixtype( const std::string& value); std::string* _internal_mutable_fixtype(); public: // .messages.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; bool has_mountingposition() const; private: bool _internal_has_mountingposition() const; public: void clear_mountingposition() ; const ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& mountingposition() const; PROTOBUF_NODISCARD ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* release_mountingposition(); ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mutable_mountingposition(); void set_allocated_mountingposition(::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mountingposition); private: const ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& _internal_mountingposition() const; ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* _internal_mutable_mountingposition(); public: void unsafe_arena_set_allocated_mountingposition( ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mountingposition); ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* unsafe_arena_release_mountingposition(); // @@protoc_insertion_point(class_scope:messages.VehicleCurrentLocationGNSSReceiver) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fixtype_; ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mountingposition_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; };// ------------------------------------------------------------------- class VehicleCurrentLocationGNSSReceiverMountingPosition final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.VehicleCurrentLocationGNSSReceiverMountingPosition) */ { public: inline VehicleCurrentLocationGNSSReceiverMountingPosition() : VehicleCurrentLocationGNSSReceiverMountingPosition(nullptr) {} ~VehicleCurrentLocationGNSSReceiverMountingPosition() override; explicit PROTOBUF_CONSTEXPR VehicleCurrentLocationGNSSReceiverMountingPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VehicleCurrentLocationGNSSReceiverMountingPosition(const VehicleCurrentLocationGNSSReceiverMountingPosition& from); VehicleCurrentLocationGNSSReceiverMountingPosition(VehicleCurrentLocationGNSSReceiverMountingPosition&& from) noexcept : VehicleCurrentLocationGNSSReceiverMountingPosition() { *this = ::std::move(from); } inline VehicleCurrentLocationGNSSReceiverMountingPosition& operator=(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) { CopyFrom(from); return *this; } inline VehicleCurrentLocationGNSSReceiverMountingPosition& operator=(VehicleCurrentLocationGNSSReceiverMountingPosition&& 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 VehicleCurrentLocationGNSSReceiverMountingPosition& default_instance() { return *internal_default_instance(); } static inline const VehicleCurrentLocationGNSSReceiverMountingPosition* internal_default_instance() { return reinterpret_cast( &_VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(VehicleCurrentLocationGNSSReceiverMountingPosition& a, VehicleCurrentLocationGNSSReceiverMountingPosition& b) { a.Swap(&b); } inline void Swap(VehicleCurrentLocationGNSSReceiverMountingPosition* 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(VehicleCurrentLocationGNSSReceiverMountingPosition* other) { if (other == this) return; ABSL_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- VehicleCurrentLocationGNSSReceiverMountingPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; void CopyFrom(const VehicleCurrentLocationGNSSReceiverMountingPosition& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; void MergeFrom( const VehicleCurrentLocationGNSSReceiverMountingPosition& from) { VehicleCurrentLocationGNSSReceiverMountingPosition::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(VehicleCurrentLocationGNSSReceiverMountingPosition* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "messages.VehicleCurrentLocationGNSSReceiverMountingPosition"; } protected: explicit VehicleCurrentLocationGNSSReceiverMountingPosition(::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 { kXFieldNumber = 1, kYFieldNumber = 2, kZFieldNumber = 3, }; // int32 X = 1; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // int32 Y = 2; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // int32 Z = 3; void clear_z() ; ::int32_t z() const; void set_z(::int32_t value); private: ::int32_t _internal_z() const; void _internal_set_z(::int32_t value); public: // @@protoc_insertion_point(class_scope:messages.VehicleCurrentLocationGNSSReceiverMountingPosition) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { ::int32_t x_; ::int32_t y_; ::int32_t z_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_messages_2fVehiclePrecisionLocation_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ------------------------------------------------------------------- // RequestCurrentVehicleLocationTest // string vehicle_identity = 1; inline void RequestCurrentVehicleLocationTest::clear_vehicle_identity() { _impl_.vehicle_identity_.ClearToEmpty(); } inline const std::string& RequestCurrentVehicleLocationTest::vehicle_identity() const { // @@protoc_insertion_point(field_get:messages.RequestCurrentVehicleLocationTest.vehicle_identity) return _internal_vehicle_identity(); } template inline PROTOBUF_ALWAYS_INLINE void RequestCurrentVehicleLocationTest::set_vehicle_identity(Arg_&& arg, Args_... args) { ; _impl_.vehicle_identity_.Set(static_cast(arg), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:messages.RequestCurrentVehicleLocationTest.vehicle_identity) } inline std::string* RequestCurrentVehicleLocationTest::mutable_vehicle_identity() { std::string* _s = _internal_mutable_vehicle_identity(); // @@protoc_insertion_point(field_mutable:messages.RequestCurrentVehicleLocationTest.vehicle_identity) return _s; } inline const std::string& RequestCurrentVehicleLocationTest::_internal_vehicle_identity() const { return _impl_.vehicle_identity_.Get(); } inline void RequestCurrentVehicleLocationTest::_internal_set_vehicle_identity(const std::string& value) { ; _impl_.vehicle_identity_.Set(value, GetArenaForAllocation()); } inline std::string* RequestCurrentVehicleLocationTest::_internal_mutable_vehicle_identity() { ; return _impl_.vehicle_identity_.Mutable( GetArenaForAllocation()); } inline std::string* RequestCurrentVehicleLocationTest::release_vehicle_identity() { // @@protoc_insertion_point(field_release:messages.RequestCurrentVehicleLocationTest.vehicle_identity) return _impl_.vehicle_identity_.Release(); } inline void RequestCurrentVehicleLocationTest::set_allocated_vehicle_identity(std::string* value) { _impl_.vehicle_identity_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.vehicle_identity_.IsDefault()) { _impl_.vehicle_identity_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:messages.RequestCurrentVehicleLocationTest.vehicle_identity) } // ------------------------------------------------------------------- // ResponseCurrentVehicleLocation // .messages.VehicleMessageHeading vehicleMessageHeading = 1; inline bool ResponseCurrentVehicleLocation::_internal_has_vehiclemessageheading() const { return this != internal_default_instance() && _impl_.vehiclemessageheading_ != nullptr; } inline bool ResponseCurrentVehicleLocation::has_vehiclemessageheading() const { return _internal_has_vehiclemessageheading(); } inline const ::messages::VehicleMessageHeading& ResponseCurrentVehicleLocation::_internal_vehiclemessageheading() const { const ::messages::VehicleMessageHeading* p = _impl_.vehiclemessageheading_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleMessageHeading_default_instance_); } inline const ::messages::VehicleMessageHeading& ResponseCurrentVehicleLocation::vehiclemessageheading() const { // @@protoc_insertion_point(field_get:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) return _internal_vehiclemessageheading(); } inline void ResponseCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclemessageheading( ::messages::VehicleMessageHeading* vehiclemessageheading) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); } _impl_.vehiclemessageheading_ = vehiclemessageheading; // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) } inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::release_vehiclemessageheading() { ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; _impl_.vehiclemessageheading_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); if (GetArenaForAllocation() == nullptr) { delete old; } #else // PROTOBUF_FORCE_COPY_IN_RELEASE if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::unsafe_arena_release_vehiclemessageheading() { // @@protoc_insertion_point(field_release:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; _impl_.vehiclemessageheading_ = nullptr; return temp; } inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::_internal_mutable_vehiclemessageheading() { if (_impl_.vehiclemessageheading_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); _impl_.vehiclemessageheading_ = p; } return _impl_.vehiclemessageheading_; } inline ::messages::VehicleMessageHeading* ResponseCurrentVehicleLocation::mutable_vehiclemessageheading() { ::messages::VehicleMessageHeading* _msg = _internal_mutable_vehiclemessageheading(); // @@protoc_insertion_point(field_mutable:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) return _msg; } inline void ResponseCurrentVehicleLocation::set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); } if (vehiclemessageheading) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehiclemessageheading)); if (message_arena != submessage_arena) { vehiclemessageheading = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, vehiclemessageheading, submessage_arena); } } else { } _impl_.vehiclemessageheading_ = vehiclemessageheading; // @@protoc_insertion_point(field_set_allocated:messages.ResponseCurrentVehicleLocation.vehicleMessageHeading) } // .messages.VehicleCurrentLocation vehicleCurrentLocation = 2; inline bool ResponseCurrentVehicleLocation::_internal_has_vehiclecurrentlocation() const { return this != internal_default_instance() && _impl_.vehiclecurrentlocation_ != nullptr; } inline bool ResponseCurrentVehicleLocation::has_vehiclecurrentlocation() const { return _internal_has_vehiclecurrentlocation(); } inline void ResponseCurrentVehicleLocation::clear_vehiclecurrentlocation() { if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { delete _impl_.vehiclecurrentlocation_; } _impl_.vehiclecurrentlocation_ = nullptr; } inline const ::messages::VehicleCurrentLocation& ResponseCurrentVehicleLocation::_internal_vehiclecurrentlocation() const { const ::messages::VehicleCurrentLocation* p = _impl_.vehiclecurrentlocation_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleCurrentLocation_default_instance_); } inline const ::messages::VehicleCurrentLocation& ResponseCurrentVehicleLocation::vehiclecurrentlocation() const { // @@protoc_insertion_point(field_get:messages.ResponseCurrentVehicleLocation.vehicleCurrentLocation) return _internal_vehiclecurrentlocation(); } inline void ResponseCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclecurrentlocation( ::messages::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.ResponseCurrentVehicleLocation.vehicleCurrentLocation) } inline ::messages::VehicleCurrentLocation* ResponseCurrentVehicleLocation::release_vehiclecurrentlocation() { ::messages::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 ::messages::VehicleCurrentLocation* ResponseCurrentVehicleLocation::unsafe_arena_release_vehiclecurrentlocation() { // @@protoc_insertion_point(field_release:messages.ResponseCurrentVehicleLocation.vehicleCurrentLocation) ::messages::VehicleCurrentLocation* temp = _impl_.vehiclecurrentlocation_; _impl_.vehiclecurrentlocation_ = nullptr; return temp; } inline ::messages::VehicleCurrentLocation* ResponseCurrentVehicleLocation::_internal_mutable_vehiclecurrentlocation() { if (_impl_.vehiclecurrentlocation_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleCurrentLocation>(GetArenaForAllocation()); _impl_.vehiclecurrentlocation_ = p; } return _impl_.vehiclecurrentlocation_; } inline ::messages::VehicleCurrentLocation* ResponseCurrentVehicleLocation::mutable_vehiclecurrentlocation() { ::messages::VehicleCurrentLocation* _msg = _internal_mutable_vehiclecurrentlocation(); // @@protoc_insertion_point(field_mutable:messages.ResponseCurrentVehicleLocation.vehicleCurrentLocation) return _msg; } inline void ResponseCurrentVehicleLocation::set_allocated_vehiclecurrentlocation(::messages::VehicleCurrentLocation* vehiclecurrentlocation) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.vehiclecurrentlocation_; } if (vehiclecurrentlocation) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(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.ResponseCurrentVehicleLocation.vehicleCurrentLocation) } // .messages.ResponseStatusEnum responseStatus = 3; inline void ResponseCurrentVehicleLocation::clear_responsestatus() { _impl_.responsestatus_ = 0; } inline ::messages::ResponseStatusEnum ResponseCurrentVehicleLocation::responsestatus() const { // @@protoc_insertion_point(field_get:messages.ResponseCurrentVehicleLocation.responseStatus) return _internal_responsestatus(); } inline void ResponseCurrentVehicleLocation::set_responsestatus(::messages::ResponseStatusEnum value) { _internal_set_responsestatus(value); // @@protoc_insertion_point(field_set:messages.ResponseCurrentVehicleLocation.responseStatus) } inline ::messages::ResponseStatusEnum ResponseCurrentVehicleLocation::_internal_responsestatus() const { return static_cast<::messages::ResponseStatusEnum>(_impl_.responsestatus_); } inline void ResponseCurrentVehicleLocation::_internal_set_responsestatus(::messages::ResponseStatusEnum value) { ; _impl_.responsestatus_ = value; } // ------------------------------------------------------------------- // PublishCurrentVehicleLocation // .messages.VehicleMessageHeading vehicleMessageHeading = 1; inline bool PublishCurrentVehicleLocation::_internal_has_vehiclemessageheading() const { return this != internal_default_instance() && _impl_.vehiclemessageheading_ != nullptr; } inline bool PublishCurrentVehicleLocation::has_vehiclemessageheading() const { return _internal_has_vehiclemessageheading(); } inline const ::messages::VehicleMessageHeading& PublishCurrentVehicleLocation::_internal_vehiclemessageheading() const { const ::messages::VehicleMessageHeading* p = _impl_.vehiclemessageheading_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleMessageHeading_default_instance_); } inline const ::messages::VehicleMessageHeading& PublishCurrentVehicleLocation::vehiclemessageheading() const { // @@protoc_insertion_point(field_get:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) return _internal_vehiclemessageheading(); } inline void PublishCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclemessageheading( ::messages::VehicleMessageHeading* vehiclemessageheading) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); } _impl_.vehiclemessageheading_ = vehiclemessageheading; // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) } inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::release_vehiclemessageheading() { ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; _impl_.vehiclemessageheading_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); if (GetArenaForAllocation() == nullptr) { delete old; } #else // PROTOBUF_FORCE_COPY_IN_RELEASE if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::unsafe_arena_release_vehiclemessageheading() { // @@protoc_insertion_point(field_release:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) ::messages::VehicleMessageHeading* temp = _impl_.vehiclemessageheading_; _impl_.vehiclemessageheading_ = nullptr; return temp; } inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::_internal_mutable_vehiclemessageheading() { if (_impl_.vehiclemessageheading_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleMessageHeading>(GetArenaForAllocation()); _impl_.vehiclemessageheading_ = p; } return _impl_.vehiclemessageheading_; } inline ::messages::VehicleMessageHeading* PublishCurrentVehicleLocation::mutable_vehiclemessageheading() { ::messages::VehicleMessageHeading* _msg = _internal_mutable_vehiclemessageheading(); // @@protoc_insertion_point(field_mutable:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) return _msg; } inline void PublishCurrentVehicleLocation::set_allocated_vehiclemessageheading(::messages::VehicleMessageHeading* vehiclemessageheading) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vehiclemessageheading_); } if (vehiclemessageheading) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vehiclemessageheading)); if (message_arena != submessage_arena) { vehiclemessageheading = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, vehiclemessageheading, submessage_arena); } } else { } _impl_.vehiclemessageheading_ = vehiclemessageheading; // @@protoc_insertion_point(field_set_allocated:messages.PublishCurrentVehicleLocation.vehicleMessageHeading) } // .messages.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 void PublishCurrentVehicleLocation::clear_vehiclecurrentlocation() { if (GetArenaForAllocation() == nullptr && _impl_.vehiclecurrentlocation_ != nullptr) { delete _impl_.vehiclecurrentlocation_; } _impl_.vehiclecurrentlocation_ = nullptr; } inline const ::messages::VehicleCurrentLocation& PublishCurrentVehicleLocation::_internal_vehiclecurrentlocation() const { const ::messages::VehicleCurrentLocation* p = _impl_.vehiclecurrentlocation_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleCurrentLocation_default_instance_); } inline const ::messages::VehicleCurrentLocation& PublishCurrentVehicleLocation::vehiclecurrentlocation() const { // @@protoc_insertion_point(field_get:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) return _internal_vehiclecurrentlocation(); } inline void PublishCurrentVehicleLocation::unsafe_arena_set_allocated_vehiclecurrentlocation( ::messages::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 ::messages::VehicleCurrentLocation* PublishCurrentVehicleLocation::release_vehiclecurrentlocation() { ::messages::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 ::messages::VehicleCurrentLocation* PublishCurrentVehicleLocation::unsafe_arena_release_vehiclecurrentlocation() { // @@protoc_insertion_point(field_release:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) ::messages::VehicleCurrentLocation* temp = _impl_.vehiclecurrentlocation_; _impl_.vehiclecurrentlocation_ = nullptr; return temp; } inline ::messages::VehicleCurrentLocation* PublishCurrentVehicleLocation::_internal_mutable_vehiclecurrentlocation() { if (_impl_.vehiclecurrentlocation_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleCurrentLocation>(GetArenaForAllocation()); _impl_.vehiclecurrentlocation_ = p; } return _impl_.vehiclecurrentlocation_; } inline ::messages::VehicleCurrentLocation* PublishCurrentVehicleLocation::mutable_vehiclecurrentlocation() { ::messages::VehicleCurrentLocation* _msg = _internal_mutable_vehiclecurrentlocation(); // @@protoc_insertion_point(field_mutable:messages.PublishCurrentVehicleLocation.vehicleCurrentLocation) return _msg; } inline void PublishCurrentVehicleLocation::set_allocated_vehiclecurrentlocation(::messages::VehicleCurrentLocation* vehiclecurrentlocation) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.vehiclecurrentlocation_; } if (vehiclecurrentlocation) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(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) } // ------------------------------------------------------------------- // VehicleCurrentLocation // string Timestamp = 1; inline void VehicleCurrentLocation::clear_timestamp() { _impl_.timestamp_.ClearToEmpty(); } inline const std::string& VehicleCurrentLocation::timestamp() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.Timestamp) return _internal_timestamp(); } template inline PROTOBUF_ALWAYS_INLINE void VehicleCurrentLocation::set_timestamp(Arg_&& arg, Args_... args) { ; _impl_.timestamp_.Set(static_cast(arg), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.Timestamp) } inline std::string* VehicleCurrentLocation::mutable_timestamp() { std::string* _s = _internal_mutable_timestamp(); // @@protoc_insertion_point(field_mutable:messages.VehicleCurrentLocation.Timestamp) return _s; } inline const std::string& VehicleCurrentLocation::_internal_timestamp() const { return _impl_.timestamp_.Get(); } inline void VehicleCurrentLocation::_internal_set_timestamp(const std::string& value) { ; _impl_.timestamp_.Set(value, GetArenaForAllocation()); } inline std::string* VehicleCurrentLocation::_internal_mutable_timestamp() { ; return _impl_.timestamp_.Mutable( GetArenaForAllocation()); } inline std::string* VehicleCurrentLocation::release_timestamp() { // @@protoc_insertion_point(field_release:messages.VehicleCurrentLocation.Timestamp) return _impl_.timestamp_.Release(); } inline void VehicleCurrentLocation::set_allocated_timestamp(std::string* value) { _impl_.timestamp_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.timestamp_.IsDefault()) { _impl_.timestamp_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:messages.VehicleCurrentLocation.Timestamp) } // double Latitude = 2; inline void VehicleCurrentLocation::clear_latitude() { _impl_.latitude_ = 0; } inline double VehicleCurrentLocation::latitude() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.Latitude) return _internal_latitude(); } inline void VehicleCurrentLocation::set_latitude(double value) { _internal_set_latitude(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.Latitude) } inline double VehicleCurrentLocation::_internal_latitude() const { return _impl_.latitude_; } inline void VehicleCurrentLocation::_internal_set_latitude(double value) { ; _impl_.latitude_ = value; } // double Longitude = 3; inline void VehicleCurrentLocation::clear_longitude() { _impl_.longitude_ = 0; } inline double VehicleCurrentLocation::longitude() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.Longitude) return _internal_longitude(); } inline void VehicleCurrentLocation::set_longitude(double value) { _internal_set_longitude(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.Longitude) } inline double VehicleCurrentLocation::_internal_longitude() const { return _impl_.longitude_; } inline void VehicleCurrentLocation::_internal_set_longitude(double value) { ; _impl_.longitude_ = value; } // double Heading = 4; inline void VehicleCurrentLocation::clear_heading() { _impl_.heading_ = 0; } inline double VehicleCurrentLocation::heading() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.Heading) return _internal_heading(); } inline void VehicleCurrentLocation::set_heading(double value) { _internal_set_heading(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.Heading) } inline double VehicleCurrentLocation::_internal_heading() const { return _impl_.heading_; } inline void VehicleCurrentLocation::_internal_set_heading(double value) { ; _impl_.heading_ = value; } // double HorizontalAccuracy = 5; inline void VehicleCurrentLocation::clear_horizontalaccuracy() { _impl_.horizontalaccuracy_ = 0; } inline double VehicleCurrentLocation::horizontalaccuracy() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.HorizontalAccuracy) return _internal_horizontalaccuracy(); } inline void VehicleCurrentLocation::set_horizontalaccuracy(double value) { _internal_set_horizontalaccuracy(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.HorizontalAccuracy) } inline double VehicleCurrentLocation::_internal_horizontalaccuracy() const { return _impl_.horizontalaccuracy_; } inline void VehicleCurrentLocation::_internal_set_horizontalaccuracy(double value) { ; _impl_.horizontalaccuracy_ = value; } // double Altitude = 6; inline void VehicleCurrentLocation::clear_altitude() { _impl_.altitude_ = 0; } inline double VehicleCurrentLocation::altitude() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.Altitude) return _internal_altitude(); } inline void VehicleCurrentLocation::set_altitude(double value) { _internal_set_altitude(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.Altitude) } inline double VehicleCurrentLocation::_internal_altitude() const { return _impl_.altitude_; } inline void VehicleCurrentLocation::_internal_set_altitude(double value) { ; _impl_.altitude_ = value; } // double VerticalAccuracy = 7; inline void VehicleCurrentLocation::clear_verticalaccuracy() { _impl_.verticalaccuracy_ = 0; } inline double VehicleCurrentLocation::verticalaccuracy() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.VerticalAccuracy) return _internal_verticalaccuracy(); } inline void VehicleCurrentLocation::set_verticalaccuracy(double value) { _internal_set_verticalaccuracy(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocation.VerticalAccuracy) } inline double VehicleCurrentLocation::_internal_verticalaccuracy() const { return _impl_.verticalaccuracy_; } inline void VehicleCurrentLocation::_internal_set_verticalaccuracy(double value) { ; _impl_.verticalaccuracy_ = value; } // .messages.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; inline bool VehicleCurrentLocation::_internal_has_gnssreceiver() const { return this != internal_default_instance() && _impl_.gnssreceiver_ != nullptr; } inline bool VehicleCurrentLocation::has_gnssreceiver() const { return _internal_has_gnssreceiver(); } inline void VehicleCurrentLocation::clear_gnssreceiver() { if (GetArenaForAllocation() == nullptr && _impl_.gnssreceiver_ != nullptr) { delete _impl_.gnssreceiver_; } _impl_.gnssreceiver_ = nullptr; } inline const ::messages::VehicleCurrentLocationGNSSReceiver& VehicleCurrentLocation::_internal_gnssreceiver() const { const ::messages::VehicleCurrentLocationGNSSReceiver* p = _impl_.gnssreceiver_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleCurrentLocationGNSSReceiver_default_instance_); } inline const ::messages::VehicleCurrentLocationGNSSReceiver& VehicleCurrentLocation::gnssreceiver() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocation.GNSSReceiver) return _internal_gnssreceiver(); } inline void VehicleCurrentLocation::unsafe_arena_set_allocated_gnssreceiver( ::messages::VehicleCurrentLocationGNSSReceiver* gnssreceiver) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gnssreceiver_); } _impl_.gnssreceiver_ = gnssreceiver; // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.VehicleCurrentLocation.GNSSReceiver) } inline ::messages::VehicleCurrentLocationGNSSReceiver* VehicleCurrentLocation::release_gnssreceiver() { ::messages::VehicleCurrentLocationGNSSReceiver* temp = _impl_.gnssreceiver_; _impl_.gnssreceiver_ = 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::VehicleCurrentLocationGNSSReceiver* VehicleCurrentLocation::unsafe_arena_release_gnssreceiver() { // @@protoc_insertion_point(field_release:messages.VehicleCurrentLocation.GNSSReceiver) ::messages::VehicleCurrentLocationGNSSReceiver* temp = _impl_.gnssreceiver_; _impl_.gnssreceiver_ = nullptr; return temp; } inline ::messages::VehicleCurrentLocationGNSSReceiver* VehicleCurrentLocation::_internal_mutable_gnssreceiver() { if (_impl_.gnssreceiver_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleCurrentLocationGNSSReceiver>(GetArenaForAllocation()); _impl_.gnssreceiver_ = p; } return _impl_.gnssreceiver_; } inline ::messages::VehicleCurrentLocationGNSSReceiver* VehicleCurrentLocation::mutable_gnssreceiver() { ::messages::VehicleCurrentLocationGNSSReceiver* _msg = _internal_mutable_gnssreceiver(); // @@protoc_insertion_point(field_mutable:messages.VehicleCurrentLocation.GNSSReceiver) return _msg; } inline void VehicleCurrentLocation::set_allocated_gnssreceiver(::messages::VehicleCurrentLocationGNSSReceiver* gnssreceiver) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.gnssreceiver_; } if (gnssreceiver) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(gnssreceiver); if (message_arena != submessage_arena) { gnssreceiver = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gnssreceiver, submessage_arena); } } else { } _impl_.gnssreceiver_ = gnssreceiver; // @@protoc_insertion_point(field_set_allocated:messages.VehicleCurrentLocation.GNSSReceiver) } // ------------------------------------------------------------------- // VehicleCurrentLocationGNSSReceiver // string FixType = 1; inline void VehicleCurrentLocationGNSSReceiver::clear_fixtype() { _impl_.fixtype_.ClearToEmpty(); } inline const std::string& VehicleCurrentLocationGNSSReceiver::fixtype() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocationGNSSReceiver.FixType) return _internal_fixtype(); } template inline PROTOBUF_ALWAYS_INLINE void VehicleCurrentLocationGNSSReceiver::set_fixtype(Arg_&& arg, Args_... args) { ; _impl_.fixtype_.Set(static_cast(arg), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocationGNSSReceiver.FixType) } inline std::string* VehicleCurrentLocationGNSSReceiver::mutable_fixtype() { std::string* _s = _internal_mutable_fixtype(); // @@protoc_insertion_point(field_mutable:messages.VehicleCurrentLocationGNSSReceiver.FixType) return _s; } inline const std::string& VehicleCurrentLocationGNSSReceiver::_internal_fixtype() const { return _impl_.fixtype_.Get(); } inline void VehicleCurrentLocationGNSSReceiver::_internal_set_fixtype(const std::string& value) { ; _impl_.fixtype_.Set(value, GetArenaForAllocation()); } inline std::string* VehicleCurrentLocationGNSSReceiver::_internal_mutable_fixtype() { ; return _impl_.fixtype_.Mutable( GetArenaForAllocation()); } inline std::string* VehicleCurrentLocationGNSSReceiver::release_fixtype() { // @@protoc_insertion_point(field_release:messages.VehicleCurrentLocationGNSSReceiver.FixType) return _impl_.fixtype_.Release(); } inline void VehicleCurrentLocationGNSSReceiver::set_allocated_fixtype(std::string* value) { _impl_.fixtype_.SetAllocated(value, GetArenaForAllocation()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.fixtype_.IsDefault()) { _impl_.fixtype_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:messages.VehicleCurrentLocationGNSSReceiver.FixType) } // .messages.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; inline bool VehicleCurrentLocationGNSSReceiver::_internal_has_mountingposition() const { return this != internal_default_instance() && _impl_.mountingposition_ != nullptr; } inline bool VehicleCurrentLocationGNSSReceiver::has_mountingposition() const { return _internal_has_mountingposition(); } inline void VehicleCurrentLocationGNSSReceiver::clear_mountingposition() { if (GetArenaForAllocation() == nullptr && _impl_.mountingposition_ != nullptr) { delete _impl_.mountingposition_; } _impl_.mountingposition_ = nullptr; } inline const ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& VehicleCurrentLocationGNSSReceiver::_internal_mountingposition() const { const ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* p = _impl_.mountingposition_; return p != nullptr ? *p : reinterpret_cast( ::messages::_VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_); } inline const ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& VehicleCurrentLocationGNSSReceiver::mountingposition() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocationGNSSReceiver.MountingPosition) return _internal_mountingposition(); } inline void VehicleCurrentLocationGNSSReceiver::unsafe_arena_set_allocated_mountingposition( ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mountingposition) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mountingposition_); } _impl_.mountingposition_ = mountingposition; // @@protoc_insertion_point(field_unsafe_arena_set_allocated:messages.VehicleCurrentLocationGNSSReceiver.MountingPosition) } inline ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* VehicleCurrentLocationGNSSReceiver::release_mountingposition() { ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* temp = _impl_.mountingposition_; _impl_.mountingposition_ = 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::VehicleCurrentLocationGNSSReceiverMountingPosition* VehicleCurrentLocationGNSSReceiver::unsafe_arena_release_mountingposition() { // @@protoc_insertion_point(field_release:messages.VehicleCurrentLocationGNSSReceiver.MountingPosition) ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* temp = _impl_.mountingposition_; _impl_.mountingposition_ = nullptr; return temp; } inline ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* VehicleCurrentLocationGNSSReceiver::_internal_mutable_mountingposition() { if (_impl_.mountingposition_ == nullptr) { auto* p = CreateMaybeMessage<::messages::VehicleCurrentLocationGNSSReceiverMountingPosition>(GetArenaForAllocation()); _impl_.mountingposition_ = p; } return _impl_.mountingposition_; } inline ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* VehicleCurrentLocationGNSSReceiver::mutable_mountingposition() { ::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* _msg = _internal_mutable_mountingposition(); // @@protoc_insertion_point(field_mutable:messages.VehicleCurrentLocationGNSSReceiver.MountingPosition) return _msg; } inline void VehicleCurrentLocationGNSSReceiver::set_allocated_mountingposition(::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* mountingposition) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete _impl_.mountingposition_; } if (mountingposition) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(mountingposition); if (message_arena != submessage_arena) { mountingposition = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, mountingposition, submessage_arena); } } else { } _impl_.mountingposition_ = mountingposition; // @@protoc_insertion_point(field_set_allocated:messages.VehicleCurrentLocationGNSSReceiver.MountingPosition) } // ------------------------------------------------------------------- // VehicleCurrentLocationGNSSReceiverMountingPosition // int32 X = 1; inline void VehicleCurrentLocationGNSSReceiverMountingPosition::clear_x() { _impl_.x_ = 0; } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::x() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.X) return _internal_x(); } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::set_x(::int32_t value) { _internal_set_x(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.X) } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_x() const { return _impl_.x_; } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_set_x(::int32_t value) { ; _impl_.x_ = value; } // int32 Y = 2; inline void VehicleCurrentLocationGNSSReceiverMountingPosition::clear_y() { _impl_.y_ = 0; } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::y() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.Y) return _internal_y(); } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::set_y(::int32_t value) { _internal_set_y(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.Y) } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_y() const { return _impl_.y_; } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_set_y(::int32_t value) { ; _impl_.y_ = value; } // int32 Z = 3; inline void VehicleCurrentLocationGNSSReceiverMountingPosition::clear_z() { _impl_.z_ = 0; } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::z() const { // @@protoc_insertion_point(field_get:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.Z) return _internal_z(); } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::set_z(::int32_t value) { _internal_set_z(value); // @@protoc_insertion_point(field_set:messages.VehicleCurrentLocationGNSSReceiverMountingPosition.Z) } inline ::int32_t VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_z() const { return _impl_.z_; } inline void VehicleCurrentLocationGNSSReceiverMountingPosition::_internal_set_z(::int32_t value) { ; _impl_.z_ = 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::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" #endif // GOOGLE_PROTOBUF_INCLUDED_messages_2fVehiclePrecisionLocation_2eproto_2epb_2eh