123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: terminor_msg.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3013000
- #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
- #if 3013000 < 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
- #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_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.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/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_terminor_5fmsg_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_terminor_5fmsg_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_terminor_5fmsg_2eproto;
- namespace Terminal {
- class Terminal_message;
- class Terminal_messageDefaultTypeInternal;
- extern Terminal_messageDefaultTypeInternal _Terminal_message_default_instance_;
- class wj_locate_information;
- class wj_locate_informationDefaultTypeInternal;
- extern wj_locate_informationDefaultTypeInternal _wj_locate_information_default_instance_;
- } // namespace Terminal
- PROTOBUF_NAMESPACE_OPEN
- template<> ::Terminal::Terminal_message* Arena::CreateMaybeMessage<::Terminal::Terminal_message>(Arena*);
- template<> ::Terminal::wj_locate_information* Arena::CreateMaybeMessage<::Terminal::wj_locate_information>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace Terminal {
- // ===================================================================
- class wj_locate_information PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Terminal.wj_locate_information) */ {
- public:
- inline wj_locate_information() : wj_locate_information(nullptr) {}
- virtual ~wj_locate_information();
- wj_locate_information(const wj_locate_information& from);
- wj_locate_information(wj_locate_information&& from) noexcept
- : wj_locate_information() {
- *this = ::std::move(from);
- }
- inline wj_locate_information& operator=(const wj_locate_information& from) {
- CopyFrom(from);
- return *this;
- }
- inline wj_locate_information& operator=(wj_locate_information&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const wj_locate_information& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const wj_locate_information* internal_default_instance() {
- return reinterpret_cast<const wj_locate_information*>(
- &_wj_locate_information_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(wj_locate_information& a, wj_locate_information& b) {
- a.Swap(&b);
- }
- inline void Swap(wj_locate_information* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(wj_locate_information* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline wj_locate_information* New() const final {
- return CreateMaybeMessage<wj_locate_information>(nullptr);
- }
- wj_locate_information* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<wj_locate_information>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const wj_locate_information& from);
- void MergeFrom(const wj_locate_information& from);
- 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;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(wj_locate_information* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "Terminal.wj_locate_information";
- }
- protected:
- explicit wj_locate_information(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_terminor_5fmsg_2eproto);
- return ::descriptor_table_terminor_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTimeFieldNumber = 1,
- kErrorFieldNumber = 12,
- kCorrectnessFieldNumber = 2,
- kParkSpaceIdFieldNumber = 3,
- kXFieldNumber = 5,
- kYFieldNumber = 6,
- kCFieldNumber = 7,
- kWheelBaseFieldNumber = 8,
- kLengthFieldNumber = 9,
- kWidthFieldNumber = 10,
- kHeightFieldNumber = 11,
- kLaserIdsFieldNumber = 4,
- };
- // required string time = 1 [default = ""];
- bool has_time() const;
- private:
- bool _internal_has_time() const;
- public:
- void clear_time();
- const std::string& time() const;
- void set_time(const std::string& value);
- void set_time(std::string&& value);
- void set_time(const char* value);
- void set_time(const char* value, size_t size);
- std::string* mutable_time();
- std::string* release_time();
- void set_allocated_time(std::string* time);
- private:
- const std::string& _internal_time() const;
- void _internal_set_time(const std::string& value);
- std::string* _internal_mutable_time();
- public:
- // optional string error = 12 [default = ""];
- bool has_error() const;
- private:
- bool _internal_has_error() const;
- public:
- void clear_error();
- const std::string& error() const;
- void set_error(const std::string& value);
- void set_error(std::string&& value);
- void set_error(const char* value);
- void set_error(const char* value, size_t size);
- std::string* mutable_error();
- std::string* release_error();
- void set_allocated_error(std::string* error);
- private:
- const std::string& _internal_error() const;
- void _internal_set_error(const std::string& value);
- std::string* _internal_mutable_error();
- public:
- // required bool correctness = 2;
- bool has_correctness() const;
- private:
- bool _internal_has_correctness() const;
- public:
- void clear_correctness();
- bool correctness() const;
- void set_correctness(bool value);
- private:
- bool _internal_correctness() const;
- void _internal_set_correctness(bool value);
- public:
- // optional int32 park_space_id = 3;
- bool has_park_space_id() const;
- private:
- bool _internal_has_park_space_id() const;
- public:
- void clear_park_space_id();
- ::PROTOBUF_NAMESPACE_ID::int32 park_space_id() const;
- void set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_park_space_id() const;
- void _internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // optional double x = 5;
- bool has_x() const;
- private:
- bool _internal_has_x() const;
- public:
- void clear_x();
- double x() const;
- void set_x(double value);
- private:
- double _internal_x() const;
- void _internal_set_x(double value);
- public:
- // optional double y = 6;
- bool has_y() const;
- private:
- bool _internal_has_y() const;
- public:
- void clear_y();
- double y() const;
- void set_y(double value);
- private:
- double _internal_y() const;
- void _internal_set_y(double value);
- public:
- // optional double c = 7;
- bool has_c() const;
- private:
- bool _internal_has_c() const;
- public:
- void clear_c();
- double c() const;
- void set_c(double value);
- private:
- double _internal_c() const;
- void _internal_set_c(double value);
- public:
- // optional double wheel_base = 8;
- bool has_wheel_base() const;
- private:
- bool _internal_has_wheel_base() const;
- public:
- void clear_wheel_base();
- double wheel_base() const;
- void set_wheel_base(double value);
- private:
- double _internal_wheel_base() const;
- void _internal_set_wheel_base(double value);
- public:
- // optional double length = 9;
- bool has_length() const;
- private:
- bool _internal_has_length() const;
- public:
- void clear_length();
- double length() const;
- void set_length(double value);
- private:
- double _internal_length() const;
- void _internal_set_length(double value);
- public:
- // optional double width = 10;
- bool has_width() const;
- private:
- bool _internal_has_width() const;
- public:
- void clear_width();
- double width() const;
- void set_width(double value);
- private:
- double _internal_width() const;
- void _internal_set_width(double value);
- public:
- // optional double height = 11;
- bool has_height() const;
- private:
- bool _internal_has_height() const;
- public:
- void clear_height();
- double height() const;
- void set_height(double value);
- private:
- double _internal_height() const;
- void _internal_set_height(double value);
- public:
- // optional int32 laser_ids = 4;
- bool has_laser_ids() const;
- private:
- bool _internal_has_laser_ids() const;
- public:
- void clear_laser_ids();
- ::PROTOBUF_NAMESPACE_ID::int32 laser_ids() const;
- void set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
- private:
- ::PROTOBUF_NAMESPACE_ID::int32 _internal_laser_ids() const;
- void _internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
- public:
- // @@protoc_insertion_point(class_scope:Terminal.wj_locate_information)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr time_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
- bool correctness_;
- ::PROTOBUF_NAMESPACE_ID::int32 park_space_id_;
- double x_;
- double y_;
- double c_;
- double wheel_base_;
- double length_;
- double width_;
- double height_;
- ::PROTOBUF_NAMESPACE_ID::int32 laser_ids_;
- friend struct ::TableStruct_terminor_5fmsg_2eproto;
- };
- // -------------------------------------------------------------------
- class Terminal_message PROTOBUF_FINAL :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Terminal.Terminal_message) */ {
- public:
- inline Terminal_message() : Terminal_message(nullptr) {}
- virtual ~Terminal_message();
- Terminal_message(const Terminal_message& from);
- Terminal_message(Terminal_message&& from) noexcept
- : Terminal_message() {
- *this = ::std::move(from);
- }
- inline Terminal_message& operator=(const Terminal_message& from) {
- CopyFrom(from);
- return *this;
- }
- inline Terminal_message& operator=(Terminal_message&& from) noexcept {
- if (GetArena() == from.GetArena()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return GetMetadataStatic().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return GetMetadataStatic().reflection;
- }
- static const Terminal_message& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Terminal_message* internal_default_instance() {
- return reinterpret_cast<const Terminal_message*>(
- &_Terminal_message_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(Terminal_message& a, Terminal_message& b) {
- a.Swap(&b);
- }
- inline void Swap(Terminal_message* other) {
- if (other == this) return;
- if (GetArena() == other->GetArena()) {
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Terminal_message* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- inline Terminal_message* New() const final {
- return CreateMaybeMessage<Terminal_message>(nullptr);
- }
- Terminal_message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
- return CreateMaybeMessage<Terminal_message>(arena);
- }
- void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
- void CopyFrom(const Terminal_message& from);
- void MergeFrom(const Terminal_message& from);
- 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;
- ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- inline void SharedCtor();
- inline void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Terminal_message* other);
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "Terminal.Terminal_message";
- }
- protected:
- explicit Terminal_message(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- private:
- static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
- ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_terminor_5fmsg_2eproto);
- return ::descriptor_table_terminor_5fmsg_2eproto.file_level_metadata[kIndexInFileMessages];
- }
- public:
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:Terminal.Terminal_message)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_terminor_5fmsg_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // wj_locate_information
- // required string time = 1 [default = ""];
- inline bool wj_locate_information::_internal_has_time() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_time() const {
- return _internal_has_time();
- }
- inline void wj_locate_information::clear_time() {
- time_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& wj_locate_information::time() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.time)
- return _internal_time();
- }
- inline void wj_locate_information::set_time(const std::string& value) {
- _internal_set_time(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.time)
- }
- inline std::string* wj_locate_information::mutable_time() {
- // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.time)
- return _internal_mutable_time();
- }
- inline const std::string& wj_locate_information::_internal_time() const {
- return time_.Get();
- }
- inline void wj_locate_information::_internal_set_time(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void wj_locate_information::set_time(std::string&& value) {
- _has_bits_[0] |= 0x00000001u;
- time_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.time)
- }
- inline void wj_locate_information::set_time(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000001u;
- time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.time)
- }
- inline void wj_locate_information::set_time(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000001u;
- time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.time)
- }
- inline std::string* wj_locate_information::_internal_mutable_time() {
- _has_bits_[0] |= 0x00000001u;
- return time_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* wj_locate_information::release_time() {
- // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.time)
- if (!_internal_has_time()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- return time_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void wj_locate_information::set_allocated_time(std::string* time) {
- if (time != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- time_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), time,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.time)
- }
- // required bool correctness = 2;
- inline bool wj_locate_information::_internal_has_correctness() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_correctness() const {
- return _internal_has_correctness();
- }
- inline void wj_locate_information::clear_correctness() {
- correctness_ = false;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline bool wj_locate_information::_internal_correctness() const {
- return correctness_;
- }
- inline bool wj_locate_information::correctness() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.correctness)
- return _internal_correctness();
- }
- inline void wj_locate_information::_internal_set_correctness(bool value) {
- _has_bits_[0] |= 0x00000004u;
- correctness_ = value;
- }
- inline void wj_locate_information::set_correctness(bool value) {
- _internal_set_correctness(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.correctness)
- }
- // optional int32 park_space_id = 3;
- inline bool wj_locate_information::_internal_has_park_space_id() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_park_space_id() const {
- return _internal_has_park_space_id();
- }
- inline void wj_locate_information::clear_park_space_id() {
- park_space_id_ = 0;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::_internal_park_space_id() const {
- return park_space_id_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::park_space_id() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.park_space_id)
- return _internal_park_space_id();
- }
- inline void wj_locate_information::_internal_set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000008u;
- park_space_id_ = value;
- }
- inline void wj_locate_information::set_park_space_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_park_space_id(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.park_space_id)
- }
- // optional int32 laser_ids = 4;
- inline bool wj_locate_information::_internal_has_laser_ids() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_laser_ids() const {
- return _internal_has_laser_ids();
- }
- inline void wj_locate_information::clear_laser_ids() {
- laser_ids_ = 0;
- _has_bits_[0] &= ~0x00000800u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::_internal_laser_ids() const {
- return laser_ids_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::int32 wj_locate_information::laser_ids() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.laser_ids)
- return _internal_laser_ids();
- }
- inline void wj_locate_information::_internal_set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _has_bits_[0] |= 0x00000800u;
- laser_ids_ = value;
- }
- inline void wj_locate_information::set_laser_ids(::PROTOBUF_NAMESPACE_ID::int32 value) {
- _internal_set_laser_ids(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.laser_ids)
- }
- // optional double x = 5;
- inline bool wj_locate_information::_internal_has_x() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_x() const {
- return _internal_has_x();
- }
- inline void wj_locate_information::clear_x() {
- x_ = 0;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline double wj_locate_information::_internal_x() const {
- return x_;
- }
- inline double wj_locate_information::x() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.x)
- return _internal_x();
- }
- inline void wj_locate_information::_internal_set_x(double value) {
- _has_bits_[0] |= 0x00000010u;
- x_ = value;
- }
- inline void wj_locate_information::set_x(double value) {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.x)
- }
- // optional double y = 6;
- inline bool wj_locate_information::_internal_has_y() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_y() const {
- return _internal_has_y();
- }
- inline void wj_locate_information::clear_y() {
- y_ = 0;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline double wj_locate_information::_internal_y() const {
- return y_;
- }
- inline double wj_locate_information::y() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.y)
- return _internal_y();
- }
- inline void wj_locate_information::_internal_set_y(double value) {
- _has_bits_[0] |= 0x00000020u;
- y_ = value;
- }
- inline void wj_locate_information::set_y(double value) {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.y)
- }
- // optional double c = 7;
- inline bool wj_locate_information::_internal_has_c() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_c() const {
- return _internal_has_c();
- }
- inline void wj_locate_information::clear_c() {
- c_ = 0;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline double wj_locate_information::_internal_c() const {
- return c_;
- }
- inline double wj_locate_information::c() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.c)
- return _internal_c();
- }
- inline void wj_locate_information::_internal_set_c(double value) {
- _has_bits_[0] |= 0x00000040u;
- c_ = value;
- }
- inline void wj_locate_information::set_c(double value) {
- _internal_set_c(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.c)
- }
- // optional double wheel_base = 8;
- inline bool wj_locate_information::_internal_has_wheel_base() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_wheel_base() const {
- return _internal_has_wheel_base();
- }
- inline void wj_locate_information::clear_wheel_base() {
- wheel_base_ = 0;
- _has_bits_[0] &= ~0x00000080u;
- }
- inline double wj_locate_information::_internal_wheel_base() const {
- return wheel_base_;
- }
- inline double wj_locate_information::wheel_base() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.wheel_base)
- return _internal_wheel_base();
- }
- inline void wj_locate_information::_internal_set_wheel_base(double value) {
- _has_bits_[0] |= 0x00000080u;
- wheel_base_ = value;
- }
- inline void wj_locate_information::set_wheel_base(double value) {
- _internal_set_wheel_base(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.wheel_base)
- }
- // optional double length = 9;
- inline bool wj_locate_information::_internal_has_length() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_length() const {
- return _internal_has_length();
- }
- inline void wj_locate_information::clear_length() {
- length_ = 0;
- _has_bits_[0] &= ~0x00000100u;
- }
- inline double wj_locate_information::_internal_length() const {
- return length_;
- }
- inline double wj_locate_information::length() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.length)
- return _internal_length();
- }
- inline void wj_locate_information::_internal_set_length(double value) {
- _has_bits_[0] |= 0x00000100u;
- length_ = value;
- }
- inline void wj_locate_information::set_length(double value) {
- _internal_set_length(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.length)
- }
- // optional double width = 10;
- inline bool wj_locate_information::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_width() const {
- return _internal_has_width();
- }
- inline void wj_locate_information::clear_width() {
- width_ = 0;
- _has_bits_[0] &= ~0x00000200u;
- }
- inline double wj_locate_information::_internal_width() const {
- return width_;
- }
- inline double wj_locate_information::width() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.width)
- return _internal_width();
- }
- inline void wj_locate_information::_internal_set_width(double value) {
- _has_bits_[0] |= 0x00000200u;
- width_ = value;
- }
- inline void wj_locate_information::set_width(double value) {
- _internal_set_width(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.width)
- }
- // optional double height = 11;
- inline bool wj_locate_information::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_height() const {
- return _internal_has_height();
- }
- inline void wj_locate_information::clear_height() {
- height_ = 0;
- _has_bits_[0] &= ~0x00000400u;
- }
- inline double wj_locate_information::_internal_height() const {
- return height_;
- }
- inline double wj_locate_information::height() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.height)
- return _internal_height();
- }
- inline void wj_locate_information::_internal_set_height(double value) {
- _has_bits_[0] |= 0x00000400u;
- height_ = value;
- }
- inline void wj_locate_information::set_height(double value) {
- _internal_set_height(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.height)
- }
- // optional string error = 12 [default = ""];
- inline bool wj_locate_information::_internal_has_error() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool wj_locate_information::has_error() const {
- return _internal_has_error();
- }
- inline void wj_locate_information::clear_error() {
- error_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& wj_locate_information::error() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.error)
- return _internal_error();
- }
- inline void wj_locate_information::set_error(const std::string& value) {
- _internal_set_error(value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.error)
- }
- inline std::string* wj_locate_information::mutable_error() {
- // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.error)
- return _internal_mutable_error();
- }
- inline const std::string& wj_locate_information::_internal_error() const {
- return error_.Get();
- }
- inline void wj_locate_information::_internal_set_error(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
- }
- inline void wj_locate_information::set_error(std::string&& value) {
- _has_bits_[0] |= 0x00000002u;
- error_.Set(
- &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
- // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.error)
- }
- inline void wj_locate_information::set_error(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- _has_bits_[0] |= 0x00000002u;
- error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
- GetArena());
- // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.error)
- }
- inline void wj_locate_information::set_error(const char* value,
- size_t size) {
- _has_bits_[0] |= 0x00000002u;
- error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
- reinterpret_cast<const char*>(value), size), GetArena());
- // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.error)
- }
- inline std::string* wj_locate_information::_internal_mutable_error() {
- _has_bits_[0] |= 0x00000002u;
- return error_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline std::string* wj_locate_information::release_error() {
- // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.error)
- if (!_internal_has_error()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- return error_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
- }
- inline void wj_locate_information::set_allocated_error(std::string* error) {
- if (error != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- error_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error,
- GetArena());
- // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.error)
- }
- // -------------------------------------------------------------------
- // Terminal_message
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace Terminal
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_terminor_5fmsg_2eproto
|