123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: terminor_msg.proto
- #ifndef PROTOBUF_terminor_5fmsg_2eproto__INCLUDED
- #define PROTOBUF_terminor_5fmsg_2eproto__INCLUDED
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3005000
- #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 3005000 < GOOGLE_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/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/metadata.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)
- namespace protobuf_terminor_5fmsg_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[2];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- void InitDefaultswj_locate_informationImpl();
- void InitDefaultswj_locate_information();
- void InitDefaultsTerminal_messageImpl();
- void InitDefaultsTerminal_message();
- inline void InitDefaults() {
- InitDefaultswj_locate_information();
- InitDefaultsTerminal_message();
- }
- } // namespace protobuf_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
- namespace Terminal {
- // ===================================================================
- class wj_locate_information : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Terminal.wj_locate_information) */ {
- public:
- wj_locate_information();
- virtual ~wj_locate_information();
- wj_locate_information(const wj_locate_information& from);
- inline wj_locate_information& operator=(const wj_locate_information& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- wj_locate_information(wj_locate_information&& from) noexcept
- : wj_locate_information() {
- *this = ::std::move(from);
- }
- inline wj_locate_information& operator=(wj_locate_information&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- 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 PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 0;
- void Swap(wj_locate_information* other);
- friend void swap(wj_locate_information& a, wj_locate_information& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline wj_locate_information* New() const PROTOBUF_FINAL { return New(NULL); }
- wj_locate_information* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const wj_locate_information& from);
- void MergeFrom(const wj_locate_information& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(wj_locate_information* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // required string time = 1 [default = ""];
- bool has_time() const;
- void clear_time();
- static const int kTimeFieldNumber = 1;
- const ::std::string& time() const;
- void set_time(const ::std::string& value);
- #if LANG_CXX11
- void set_time(::std::string&& value);
- #endif
- 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);
- // optional string error = 12 [default = ""];
- bool has_error() const;
- void clear_error();
- static const int kErrorFieldNumber = 12;
- const ::std::string& error() const;
- void set_error(const ::std::string& value);
- #if LANG_CXX11
- void set_error(::std::string&& value);
- #endif
- 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);
- // required bool correctness = 2;
- bool has_correctness() const;
- void clear_correctness();
- static const int kCorrectnessFieldNumber = 2;
- bool correctness() const;
- void set_correctness(bool value);
- // optional int32 park_space_id = 3;
- bool has_park_space_id() const;
- void clear_park_space_id();
- static const int kParkSpaceIdFieldNumber = 3;
- ::google::protobuf::int32 park_space_id() const;
- void set_park_space_id(::google::protobuf::int32 value);
- // optional double x = 5;
- bool has_x() const;
- void clear_x();
- static const int kXFieldNumber = 5;
- double x() const;
- void set_x(double value);
- // optional double y = 6;
- bool has_y() const;
- void clear_y();
- static const int kYFieldNumber = 6;
- double y() const;
- void set_y(double value);
- // optional double c = 7;
- bool has_c() const;
- void clear_c();
- static const int kCFieldNumber = 7;
- double c() const;
- void set_c(double value);
- // optional double wheel_base = 8;
- bool has_wheel_base() const;
- void clear_wheel_base();
- static const int kWheelBaseFieldNumber = 8;
- double wheel_base() const;
- void set_wheel_base(double value);
- // optional double length = 9;
- bool has_length() const;
- void clear_length();
- static const int kLengthFieldNumber = 9;
- double length() const;
- void set_length(double value);
- // optional double width = 10;
- bool has_width() const;
- void clear_width();
- static const int kWidthFieldNumber = 10;
- double width() const;
- void set_width(double value);
- // optional double height = 11;
- bool has_height() const;
- void clear_height();
- static const int kHeightFieldNumber = 11;
- double height() const;
- void set_height(double value);
- // optional int32 laser_ids = 4;
- bool has_laser_ids() const;
- void clear_laser_ids();
- static const int kLaserIdsFieldNumber = 4;
- ::google::protobuf::int32 laser_ids() const;
- void set_laser_ids(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:Terminal.wj_locate_information)
- private:
- void set_has_time();
- void clear_has_time();
- void set_has_correctness();
- void clear_has_correctness();
- void set_has_park_space_id();
- void clear_has_park_space_id();
- void set_has_laser_ids();
- void clear_has_laser_ids();
- void set_has_x();
- void clear_has_x();
- void set_has_y();
- void clear_has_y();
- void set_has_c();
- void clear_has_c();
- void set_has_wheel_base();
- void clear_has_wheel_base();
- void set_has_length();
- void clear_has_length();
- void set_has_width();
- void clear_has_width();
- void set_has_height();
- void clear_has_height();
- void set_has_error();
- void clear_has_error();
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- ::google::protobuf::internal::ArenaStringPtr time_;
- ::google::protobuf::internal::ArenaStringPtr error_;
- bool correctness_;
- ::google::protobuf::int32 park_space_id_;
- double x_;
- double y_;
- double c_;
- double wheel_base_;
- double length_;
- double width_;
- double height_;
- ::google::protobuf::int32 laser_ids_;
- friend struct ::protobuf_terminor_5fmsg_2eproto::TableStruct;
- friend void ::protobuf_terminor_5fmsg_2eproto::InitDefaultswj_locate_informationImpl();
- };
- // -------------------------------------------------------------------
- class Terminal_message : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Terminal.Terminal_message) */ {
- public:
- Terminal_message();
- virtual ~Terminal_message();
- Terminal_message(const Terminal_message& from);
- inline Terminal_message& operator=(const Terminal_message& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Terminal_message(Terminal_message&& from) noexcept
- : Terminal_message() {
- *this = ::std::move(from);
- }
- inline Terminal_message& operator=(Terminal_message&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields();
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields();
- }
- static const ::google::protobuf::Descriptor* descriptor();
- 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 PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
- 1;
- void Swap(Terminal_message* other);
- friend void swap(Terminal_message& a, Terminal_message& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Terminal_message* New() const PROTOBUF_FINAL { return New(NULL); }
- Terminal_message* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
- void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
- void CopyFrom(const Terminal_message& from);
- void MergeFrom(const Terminal_message& from);
- void Clear() PROTOBUF_FINAL;
- bool IsInitialized() const PROTOBUF_FINAL;
- size_t ByteSizeLong() const PROTOBUF_FINAL;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
- int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const PROTOBUF_FINAL;
- void InternalSwap(Terminal_message* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:Terminal.Terminal_message)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable int _cached_size_;
- friend struct ::protobuf_terminor_5fmsg_2eproto::TableStruct;
- friend void ::protobuf_terminor_5fmsg_2eproto::InitDefaultsTerminal_messageImpl();
- };
- // ===================================================================
- // ===================================================================
- #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::has_time() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
- }
- inline void wj_locate_information::set_has_time() {
- _has_bits_[0] |= 0x00000001u;
- }
- inline void wj_locate_information::clear_has_time() {
- _has_bits_[0] &= ~0x00000001u;
- }
- inline void wj_locate_information::clear_time() {
- time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_time();
- }
- inline const ::std::string& wj_locate_information::time() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.time)
- return time_.GetNoArena();
- }
- inline void wj_locate_information::set_time(const ::std::string& value) {
- set_has_time();
- time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.time)
- }
- #if LANG_CXX11
- inline void wj_locate_information::set_time(::std::string&& value) {
- set_has_time();
- time_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.time)
- }
- #endif
- inline void wj_locate_information::set_time(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_time();
- time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.time)
- }
- inline void wj_locate_information::set_time(const char* value, size_t size) {
- set_has_time();
- time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.time)
- }
- inline ::std::string* wj_locate_information::mutable_time() {
- set_has_time();
- // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.time)
- return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* wj_locate_information::release_time() {
- // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.time)
- clear_has_time();
- return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void wj_locate_information::set_allocated_time(::std::string* time) {
- if (time != NULL) {
- set_has_time();
- } else {
- clear_has_time();
- }
- time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
- // @@protoc_insertion_point(field_set_allocated:Terminal.wj_locate_information.time)
- }
- // required bool correctness = 2;
- inline bool wj_locate_information::has_correctness() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
- }
- inline void wj_locate_information::set_has_correctness() {
- _has_bits_[0] |= 0x00000004u;
- }
- inline void wj_locate_information::clear_has_correctness() {
- _has_bits_[0] &= ~0x00000004u;
- }
- inline void wj_locate_information::clear_correctness() {
- correctness_ = false;
- clear_has_correctness();
- }
- inline bool wj_locate_information::correctness() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.correctness)
- return correctness_;
- }
- inline void wj_locate_information::set_correctness(bool value) {
- set_has_correctness();
- correctness_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.correctness)
- }
- // optional int32 park_space_id = 3;
- inline bool wj_locate_information::has_park_space_id() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
- }
- inline void wj_locate_information::set_has_park_space_id() {
- _has_bits_[0] |= 0x00000008u;
- }
- inline void wj_locate_information::clear_has_park_space_id() {
- _has_bits_[0] &= ~0x00000008u;
- }
- inline void wj_locate_information::clear_park_space_id() {
- park_space_id_ = 0;
- clear_has_park_space_id();
- }
- inline ::google::protobuf::int32 wj_locate_information::park_space_id() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.park_space_id)
- return park_space_id_;
- }
- inline void wj_locate_information::set_park_space_id(::google::protobuf::int32 value) {
- set_has_park_space_id();
- 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::has_laser_ids() const {
- return (_has_bits_[0] & 0x00000800u) != 0;
- }
- inline void wj_locate_information::set_has_laser_ids() {
- _has_bits_[0] |= 0x00000800u;
- }
- inline void wj_locate_information::clear_has_laser_ids() {
- _has_bits_[0] &= ~0x00000800u;
- }
- inline void wj_locate_information::clear_laser_ids() {
- laser_ids_ = 0;
- clear_has_laser_ids();
- }
- inline ::google::protobuf::int32 wj_locate_information::laser_ids() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.laser_ids)
- return laser_ids_;
- }
- inline void wj_locate_information::set_laser_ids(::google::protobuf::int32 value) {
- set_has_laser_ids();
- laser_ids_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.laser_ids)
- }
- // optional double x = 5;
- inline bool wj_locate_information::has_x() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
- }
- inline void wj_locate_information::set_has_x() {
- _has_bits_[0] |= 0x00000010u;
- }
- inline void wj_locate_information::clear_has_x() {
- _has_bits_[0] &= ~0x00000010u;
- }
- inline void wj_locate_information::clear_x() {
- x_ = 0;
- clear_has_x();
- }
- inline double wj_locate_information::x() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.x)
- return x_;
- }
- inline void wj_locate_information::set_x(double value) {
- set_has_x();
- x_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.x)
- }
- // optional double y = 6;
- inline bool wj_locate_information::has_y() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
- }
- inline void wj_locate_information::set_has_y() {
- _has_bits_[0] |= 0x00000020u;
- }
- inline void wj_locate_information::clear_has_y() {
- _has_bits_[0] &= ~0x00000020u;
- }
- inline void wj_locate_information::clear_y() {
- y_ = 0;
- clear_has_y();
- }
- inline double wj_locate_information::y() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.y)
- return y_;
- }
- inline void wj_locate_information::set_y(double value) {
- set_has_y();
- y_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.y)
- }
- // optional double c = 7;
- inline bool wj_locate_information::has_c() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
- }
- inline void wj_locate_information::set_has_c() {
- _has_bits_[0] |= 0x00000040u;
- }
- inline void wj_locate_information::clear_has_c() {
- _has_bits_[0] &= ~0x00000040u;
- }
- inline void wj_locate_information::clear_c() {
- c_ = 0;
- clear_has_c();
- }
- inline double wj_locate_information::c() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.c)
- return c_;
- }
- inline void wj_locate_information::set_c(double value) {
- set_has_c();
- c_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.c)
- }
- // optional double wheel_base = 8;
- inline bool wj_locate_information::has_wheel_base() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
- }
- inline void wj_locate_information::set_has_wheel_base() {
- _has_bits_[0] |= 0x00000080u;
- }
- inline void wj_locate_information::clear_has_wheel_base() {
- _has_bits_[0] &= ~0x00000080u;
- }
- inline void wj_locate_information::clear_wheel_base() {
- wheel_base_ = 0;
- clear_has_wheel_base();
- }
- inline double wj_locate_information::wheel_base() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.wheel_base)
- return wheel_base_;
- }
- inline void wj_locate_information::set_wheel_base(double value) {
- set_has_wheel_base();
- wheel_base_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.wheel_base)
- }
- // optional double length = 9;
- inline bool wj_locate_information::has_length() const {
- return (_has_bits_[0] & 0x00000100u) != 0;
- }
- inline void wj_locate_information::set_has_length() {
- _has_bits_[0] |= 0x00000100u;
- }
- inline void wj_locate_information::clear_has_length() {
- _has_bits_[0] &= ~0x00000100u;
- }
- inline void wj_locate_information::clear_length() {
- length_ = 0;
- clear_has_length();
- }
- inline double wj_locate_information::length() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.length)
- return length_;
- }
- inline void wj_locate_information::set_length(double value) {
- set_has_length();
- length_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.length)
- }
- // optional double width = 10;
- inline bool wj_locate_information::has_width() const {
- return (_has_bits_[0] & 0x00000200u) != 0;
- }
- inline void wj_locate_information::set_has_width() {
- _has_bits_[0] |= 0x00000200u;
- }
- inline void wj_locate_information::clear_has_width() {
- _has_bits_[0] &= ~0x00000200u;
- }
- inline void wj_locate_information::clear_width() {
- width_ = 0;
- clear_has_width();
- }
- inline double wj_locate_information::width() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.width)
- return width_;
- }
- inline void wj_locate_information::set_width(double value) {
- set_has_width();
- width_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.width)
- }
- // optional double height = 11;
- inline bool wj_locate_information::has_height() const {
- return (_has_bits_[0] & 0x00000400u) != 0;
- }
- inline void wj_locate_information::set_has_height() {
- _has_bits_[0] |= 0x00000400u;
- }
- inline void wj_locate_information::clear_has_height() {
- _has_bits_[0] &= ~0x00000400u;
- }
- inline void wj_locate_information::clear_height() {
- height_ = 0;
- clear_has_height();
- }
- inline double wj_locate_information::height() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.height)
- return height_;
- }
- inline void wj_locate_information::set_height(double value) {
- set_has_height();
- height_ = value;
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.height)
- }
- // optional string error = 12 [default = ""];
- inline bool wj_locate_information::has_error() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
- }
- inline void wj_locate_information::set_has_error() {
- _has_bits_[0] |= 0x00000002u;
- }
- inline void wj_locate_information::clear_has_error() {
- _has_bits_[0] &= ~0x00000002u;
- }
- inline void wj_locate_information::clear_error() {
- error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- clear_has_error();
- }
- inline const ::std::string& wj_locate_information::error() const {
- // @@protoc_insertion_point(field_get:Terminal.wj_locate_information.error)
- return error_.GetNoArena();
- }
- inline void wj_locate_information::set_error(const ::std::string& value) {
- set_has_error();
- error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:Terminal.wj_locate_information.error)
- }
- #if LANG_CXX11
- inline void wj_locate_information::set_error(::std::string&& value) {
- set_has_error();
- error_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:Terminal.wj_locate_information.error)
- }
- #endif
- inline void wj_locate_information::set_error(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- set_has_error();
- error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:Terminal.wj_locate_information.error)
- }
- inline void wj_locate_information::set_error(const char* value, size_t size) {
- set_has_error();
- error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:Terminal.wj_locate_information.error)
- }
- inline ::std::string* wj_locate_information::mutable_error() {
- set_has_error();
- // @@protoc_insertion_point(field_mutable:Terminal.wj_locate_information.error)
- return error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* wj_locate_information::release_error() {
- // @@protoc_insertion_point(field_release:Terminal.wj_locate_information.error)
- clear_has_error();
- return error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void wj_locate_information::set_allocated_error(::std::string* error) {
- if (error != NULL) {
- set_has_error();
- } else {
- clear_has_error();
- }
- error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error);
- // @@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)
- #endif // PROTOBUF_terminor_5fmsg_2eproto__INCLUDED
|