123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Terminor_parameter.proto
- #include "Terminor_parameter.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/port.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // This is a temporary google only hack
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- #include "third_party/protobuf/version.h"
- #endif
- // @@protoc_insertion_point(includes)
- namespace Terminal {
- class Area3dDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Area3d>
- _instance;
- } _Area3d_default_instance_;
- class Laser_parameterDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Laser_parameter>
- _instance;
- } _Laser_parameter_default_instance_;
- class Terminor_parameterDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Terminor_parameter>
- _instance;
- } _Terminor_parameter_default_instance_;
- class Terminor_parameter_allDefaultTypeInternal {
- public:
- ::google::protobuf::internal::ExplicitlyConstructed<Terminor_parameter_all>
- _instance;
- } _Terminor_parameter_all_default_instance_;
- } // namespace Terminal
- namespace protobuf_Terminor_5fparameter_2eproto {
- void InitDefaultsArea3dImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::Terminal::_Area3d_default_instance_;
- new (ptr) ::Terminal::Area3d();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Terminal::Area3d::InitAsDefaultInstance();
- }
- void InitDefaultsArea3d() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsArea3dImpl);
- }
- void InitDefaultsLaser_parameterImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- {
- void* ptr = &::Terminal::_Laser_parameter_default_instance_;
- new (ptr) ::Terminal::Laser_parameter();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Terminal::Laser_parameter::InitAsDefaultInstance();
- }
- void InitDefaultsLaser_parameter() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsLaser_parameterImpl);
- }
- void InitDefaultsTerminor_parameterImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3d();
- protobuf_Terminor_5fparameter_2eproto::InitDefaultsLaser_parameter();
- {
- void* ptr = &::Terminal::_Terminor_parameter_default_instance_;
- new (ptr) ::Terminal::Terminor_parameter();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Terminal::Terminor_parameter::InitAsDefaultInstance();
- }
- void InitDefaultsTerminor_parameter() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTerminor_parameterImpl);
- }
- void InitDefaultsTerminor_parameter_allImpl() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
- #else
- ::google::protobuf::internal::InitProtobufDefaults();
- #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
- protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter();
- {
- void* ptr = &::Terminal::_Terminor_parameter_all_default_instance_;
- new (ptr) ::Terminal::Terminor_parameter_all();
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
- }
- ::Terminal::Terminor_parameter_all::InitAsDefaultInstance();
- }
- void InitDefaultsTerminor_parameter_all() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTerminor_parameter_allImpl);
- }
- ::google::protobuf::Metadata file_level_metadata[4];
- const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, min_x_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, max_x_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, min_y_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, max_y_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, min_z_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Area3d, max_z_),
- 0,
- 1,
- 2,
- 3,
- 4,
- 5,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Laser_parameter, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Laser_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Laser_parameter, id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Laser_parameter, frame_count_),
- 0,
- 1,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, area_3d_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, laser_parameter_),
- 0,
- 1,
- ~0u,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter_all, _has_bits_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter_all, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter_all, terminor_parameters_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter_all, save_root_path_),
- ~0u,
- 0,
- };
- static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- { 0, 11, sizeof(::Terminal::Area3d)},
- { 17, 24, sizeof(::Terminal::Laser_parameter)},
- { 26, 34, sizeof(::Terminal::Terminor_parameter)},
- { 37, 44, sizeof(::Terminal::Terminor_parameter_all)},
- };
- static ::google::protobuf::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::google::protobuf::Message*>(&::Terminal::_Area3d_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::Terminal::_Laser_parameter_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::Terminal::_Terminor_parameter_default_instance_),
- reinterpret_cast<const ::google::protobuf::Message*>(&::Terminal::_Terminor_parameter_all_default_instance_),
- };
- void protobuf_AssignDescriptors() {
- AddDescriptors();
- ::google::protobuf::MessageFactory* factory = NULL;
- AssignDescriptors(
- "Terminor_parameter.proto", schemas, file_default_instances, TableStruct::offsets, factory,
- file_level_metadata, NULL, NULL);
- }
- void protobuf_AssignDescriptorsOnce() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
- }
- void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 4);
- }
- void AddDescriptorsImpl() {
- InitDefaults();
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
- "\n\030Terminor_parameter.proto\022\010Terminal\"b\n\006"
- "Area3d\022\r\n\005min_x\030\001 \002(\002\022\r\n\005max_x\030\002 \002(\002\022\r\n\005"
- "min_y\030\003 \002(\002\022\r\n\005max_y\030\004 \002(\002\022\r\n\005min_z\030\005 \002("
- "\002\022\r\n\005max_z\030\006 \002(\002\"2\n\017Laser_parameter\022\n\n\002i"
- "d\030\001 \002(\003\022\023\n\013frame_count\030\002 \001(\003\"w\n\022Terminor"
- "_parameter\022!\n\007area_3d\030\001 \002(\0132\020.Terminal.A"
- "rea3d\022\n\n\002id\030\002 \002(\003\0222\n\017laser_parameter\030\003 \003"
- "(\0132\031.Terminal.Laser_parameter\"k\n\026Termino"
- "r_parameter_all\0229\n\023terminor_parameters\030\001"
- " \003(\0132\034.Terminal.Terminor_parameter\022\026\n\016sa"
- "ve_root_path\030\002 \002(\t"
- };
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- descriptor, 418);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "Terminor_parameter.proto", &protobuf_RegisterTypes);
- }
- void AddDescriptors() {
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
- ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
- }
- // Force AddDescriptors() to be called at dynamic initialization time.
- struct StaticDescriptorInitializer {
- StaticDescriptorInitializer() {
- AddDescriptors();
- }
- } static_descriptor_initializer;
- } // namespace protobuf_Terminor_5fparameter_2eproto
- namespace Terminal {
- // ===================================================================
- void Area3d::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Area3d::kMinXFieldNumber;
- const int Area3d::kMaxXFieldNumber;
- const int Area3d::kMinYFieldNumber;
- const int Area3d::kMaxYFieldNumber;
- const int Area3d::kMinZFieldNumber;
- const int Area3d::kMaxZFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Area3d::Area3d()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3d();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Terminal.Area3d)
- }
- Area3d::Area3d(const Area3d& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&min_x_, &from.min_x_,
- static_cast<size_t>(reinterpret_cast<char*>(&max_z_) -
- reinterpret_cast<char*>(&min_x_)) + sizeof(max_z_));
- // @@protoc_insertion_point(copy_constructor:Terminal.Area3d)
- }
- void Area3d::SharedCtor() {
- _cached_size_ = 0;
- ::memset(&min_x_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&max_z_) -
- reinterpret_cast<char*>(&min_x_)) + sizeof(max_z_));
- }
- Area3d::~Area3d() {
- // @@protoc_insertion_point(destructor:Terminal.Area3d)
- SharedDtor();
- }
- void Area3d::SharedDtor() {
- }
- void Area3d::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Area3d::descriptor() {
- ::protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Area3d& Area3d::default_instance() {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3d();
- return *internal_default_instance();
- }
- Area3d* Area3d::New(::google::protobuf::Arena* arena) const {
- Area3d* n = new Area3d;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Area3d::Clear() {
- // @@protoc_insertion_point(message_clear_start:Terminal.Area3d)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 63u) {
- ::memset(&min_x_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&max_z_) -
- reinterpret_cast<char*>(&min_x_)) + sizeof(max_z_));
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Area3d::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Terminal.Area3d)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required float min_x = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) {
- set_has_min_x();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &min_x_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required float max_x = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(21u /* 21 & 0xFF */)) {
- set_has_max_x();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &max_x_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required float min_y = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
- set_has_min_y();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &min_y_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required float max_y = 4;
- case 4: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(37u /* 37 & 0xFF */)) {
- set_has_max_y();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &max_y_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required float min_z = 5;
- case 5: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {
- set_has_min_z();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &min_z_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required float max_z = 6;
- case 6: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(53u /* 53 & 0xFF */)) {
- set_has_max_z();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
- input, &max_z_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Terminal.Area3d)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Terminal.Area3d)
- return false;
- #undef DO_
- }
- void Area3d::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Terminal.Area3d)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required float min_x = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->min_x(), output);
- }
- // required float max_x = 2;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->max_x(), output);
- }
- // required float min_y = 3;
- if (cached_has_bits & 0x00000004u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->min_y(), output);
- }
- // required float max_y = 4;
- if (cached_has_bits & 0x00000008u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->max_y(), output);
- }
- // required float min_z = 5;
- if (cached_has_bits & 0x00000010u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->min_z(), output);
- }
- // required float max_z = 6;
- if (cached_has_bits & 0x00000020u) {
- ::google::protobuf::internal::WireFormatLite::WriteFloat(6, this->max_z(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Terminal.Area3d)
- }
- ::google::protobuf::uint8* Area3d::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Terminal.Area3d)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required float min_x = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->min_x(), target);
- }
- // required float max_x = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->max_x(), target);
- }
- // required float min_y = 3;
- if (cached_has_bits & 0x00000004u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->min_y(), target);
- }
- // required float max_y = 4;
- if (cached_has_bits & 0x00000008u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->max_y(), target);
- }
- // required float min_z = 5;
- if (cached_has_bits & 0x00000010u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->min_z(), target);
- }
- // required float max_z = 6;
- if (cached_has_bits & 0x00000020u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(6, this->max_z(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Terminal.Area3d)
- return target;
- }
- size_t Area3d::RequiredFieldsByteSizeFallback() const {
- // @@protoc_insertion_point(required_fields_byte_size_fallback_start:Terminal.Area3d)
- size_t total_size = 0;
- if (has_min_x()) {
- // required float min_x = 1;
- total_size += 1 + 4;
- }
- if (has_max_x()) {
- // required float max_x = 2;
- total_size += 1 + 4;
- }
- if (has_min_y()) {
- // required float min_y = 3;
- total_size += 1 + 4;
- }
- if (has_max_y()) {
- // required float max_y = 4;
- total_size += 1 + 4;
- }
- if (has_min_z()) {
- // required float min_z = 5;
- total_size += 1 + 4;
- }
- if (has_max_z()) {
- // required float max_z = 6;
- total_size += 1 + 4;
- }
- return total_size;
- }
- size_t Area3d::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Terminal.Area3d)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- if (((_has_bits_[0] & 0x0000003f) ^ 0x0000003f) == 0) { // All required fields are present.
- // required float min_x = 1;
- total_size += 1 + 4;
- // required float max_x = 2;
- total_size += 1 + 4;
- // required float min_y = 3;
- total_size += 1 + 4;
- // required float max_y = 4;
- total_size += 1 + 4;
- // required float min_z = 5;
- total_size += 1 + 4;
- // required float max_z = 6;
- total_size += 1 + 4;
- } else {
- total_size += RequiredFieldsByteSizeFallback();
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Area3d::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Terminal.Area3d)
- GOOGLE_DCHECK_NE(&from, this);
- const Area3d* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Area3d>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Terminal.Area3d)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Terminal.Area3d)
- MergeFrom(*source);
- }
- }
- void Area3d::MergeFrom(const Area3d& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Terminal.Area3d)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 63u) {
- if (cached_has_bits & 0x00000001u) {
- min_x_ = from.min_x_;
- }
- if (cached_has_bits & 0x00000002u) {
- max_x_ = from.max_x_;
- }
- if (cached_has_bits & 0x00000004u) {
- min_y_ = from.min_y_;
- }
- if (cached_has_bits & 0x00000008u) {
- max_y_ = from.max_y_;
- }
- if (cached_has_bits & 0x00000010u) {
- min_z_ = from.min_z_;
- }
- if (cached_has_bits & 0x00000020u) {
- max_z_ = from.max_z_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- }
- void Area3d::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Terminal.Area3d)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Area3d::CopyFrom(const Area3d& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Terminal.Area3d)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Area3d::IsInitialized() const {
- if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
- return true;
- }
- void Area3d::Swap(Area3d* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Area3d::InternalSwap(Area3d* other) {
- using std::swap;
- swap(min_x_, other->min_x_);
- swap(max_x_, other->max_x_);
- swap(min_y_, other->min_y_);
- swap(max_y_, other->max_y_);
- swap(min_z_, other->min_z_);
- swap(max_z_, other->max_z_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Area3d::GetMetadata() const {
- protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Laser_parameter::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Laser_parameter::kIdFieldNumber;
- const int Laser_parameter::kFrameCountFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Laser_parameter::Laser_parameter()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsLaser_parameter();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Terminal.Laser_parameter)
- }
- Laser_parameter::Laser_parameter(const Laser_parameter& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::memcpy(&id_, &from.id_,
- static_cast<size_t>(reinterpret_cast<char*>(&frame_count_) -
- reinterpret_cast<char*>(&id_)) + sizeof(frame_count_));
- // @@protoc_insertion_point(copy_constructor:Terminal.Laser_parameter)
- }
- void Laser_parameter::SharedCtor() {
- _cached_size_ = 0;
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&frame_count_) -
- reinterpret_cast<char*>(&id_)) + sizeof(frame_count_));
- }
- Laser_parameter::~Laser_parameter() {
- // @@protoc_insertion_point(destructor:Terminal.Laser_parameter)
- SharedDtor();
- }
- void Laser_parameter::SharedDtor() {
- }
- void Laser_parameter::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Laser_parameter::descriptor() {
- ::protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Laser_parameter& Laser_parameter::default_instance() {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsLaser_parameter();
- return *internal_default_instance();
- }
- Laser_parameter* Laser_parameter::New(::google::protobuf::Arena* arena) const {
- Laser_parameter* n = new Laser_parameter;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Laser_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:Terminal.Laser_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 3u) {
- ::memset(&id_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&frame_count_) -
- reinterpret_cast<char*>(&id_)) + sizeof(frame_count_));
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Laser_parameter::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Terminal.Laser_parameter)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required int64 id = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
- set_has_id();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
- input, &id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // optional int64 frame_count = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- set_has_frame_count();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
- input, &frame_count_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Terminal.Laser_parameter)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Terminal.Laser_parameter)
- return false;
- #undef DO_
- }
- void Laser_parameter::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Terminal.Laser_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required int64 id = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->id(), output);
- }
- // optional int64 frame_count = 2;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->frame_count(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Terminal.Laser_parameter)
- }
- ::google::protobuf::uint8* Laser_parameter::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Terminal.Laser_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required int64 id = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->id(), target);
- }
- // optional int64 frame_count = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->frame_count(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Terminal.Laser_parameter)
- return target;
- }
- size_t Laser_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Terminal.Laser_parameter)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // required int64 id = 1;
- if (has_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int64Size(
- this->id());
- }
- // optional int64 frame_count = 2;
- if (has_frame_count()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int64Size(
- this->frame_count());
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Laser_parameter::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Terminal.Laser_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- const Laser_parameter* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Laser_parameter>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Terminal.Laser_parameter)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Terminal.Laser_parameter)
- MergeFrom(*source);
- }
- }
- void Laser_parameter::MergeFrom(const Laser_parameter& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Terminal.Laser_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 3u) {
- if (cached_has_bits & 0x00000001u) {
- id_ = from.id_;
- }
- if (cached_has_bits & 0x00000002u) {
- frame_count_ = from.frame_count_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- }
- void Laser_parameter::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Terminal.Laser_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Laser_parameter::CopyFrom(const Laser_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Terminal.Laser_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Laser_parameter::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- return true;
- }
- void Laser_parameter::Swap(Laser_parameter* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Laser_parameter::InternalSwap(Laser_parameter* other) {
- using std::swap;
- swap(id_, other->id_);
- swap(frame_count_, other->frame_count_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Laser_parameter::GetMetadata() const {
- protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Terminor_parameter::InitAsDefaultInstance() {
- ::Terminal::_Terminor_parameter_default_instance_._instance.get_mutable()->area_3d_ = const_cast< ::Terminal::Area3d*>(
- ::Terminal::Area3d::internal_default_instance());
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Terminor_parameter::kArea3DFieldNumber;
- const int Terminor_parameter::kIdFieldNumber;
- const int Terminor_parameter::kLaserParameterFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Terminor_parameter::Terminor_parameter()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Terminal.Terminor_parameter)
- }
- Terminor_parameter::Terminor_parameter(const Terminor_parameter& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0),
- laser_parameter_(from.laser_parameter_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- if (from.has_area_3d()) {
- area_3d_ = new ::Terminal::Area3d(*from.area_3d_);
- } else {
- area_3d_ = NULL;
- }
- id_ = from.id_;
- // @@protoc_insertion_point(copy_constructor:Terminal.Terminor_parameter)
- }
- void Terminor_parameter::SharedCtor() {
- _cached_size_ = 0;
- ::memset(&area_3d_, 0, static_cast<size_t>(
- reinterpret_cast<char*>(&id_) -
- reinterpret_cast<char*>(&area_3d_)) + sizeof(id_));
- }
- Terminor_parameter::~Terminor_parameter() {
- // @@protoc_insertion_point(destructor:Terminal.Terminor_parameter)
- SharedDtor();
- }
- void Terminor_parameter::SharedDtor() {
- if (this != internal_default_instance()) delete area_3d_;
- }
- void Terminor_parameter::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Terminor_parameter::descriptor() {
- ::protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Terminor_parameter& Terminor_parameter::default_instance() {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter();
- return *internal_default_instance();
- }
- Terminor_parameter* Terminor_parameter::New(::google::protobuf::Arena* arena) const {
- Terminor_parameter* n = new Terminor_parameter;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Terminor_parameter::Clear() {
- // @@protoc_insertion_point(message_clear_start:Terminal.Terminor_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- laser_parameter_.Clear();
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(area_3d_ != NULL);
- area_3d_->Clear();
- }
- id_ = GOOGLE_LONGLONG(0);
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Terminor_parameter::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Terminal.Terminor_parameter)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required .Terminal.Area3d area_3d = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
- input, mutable_area_3d()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required int64 id = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
- set_has_id();
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
- input, &id_)));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .Terminal.Laser_parameter laser_parameter = 3;
- case 3: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_laser_parameter()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Terminal.Terminor_parameter)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Terminal.Terminor_parameter)
- return false;
- #undef DO_
- }
- void Terminor_parameter::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Terminal.Terminor_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .Terminal.Area3d area_3d = 1;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, *this->area_3d_, output);
- }
- // required int64 id = 2;
- if (cached_has_bits & 0x00000002u) {
- ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->id(), output);
- }
- // repeated .Terminal.Laser_parameter laser_parameter = 3;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->laser_parameter_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->laser_parameter(static_cast<int>(i)), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Terminal.Terminor_parameter)
- }
- ::google::protobuf::uint8* Terminor_parameter::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Terminal.Terminor_parameter)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _has_bits_[0];
- // required .Terminal.Area3d area_3d = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, *this->area_3d_, deterministic, target);
- }
- // required int64 id = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->id(), target);
- }
- // repeated .Terminal.Laser_parameter laser_parameter = 3;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->laser_parameter_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 3, this->laser_parameter(static_cast<int>(i)), deterministic, target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Terminal.Terminor_parameter)
- return target;
- }
- size_t Terminor_parameter::RequiredFieldsByteSizeFallback() const {
- // @@protoc_insertion_point(required_fields_byte_size_fallback_start:Terminal.Terminor_parameter)
- size_t total_size = 0;
- if (has_area_3d()) {
- // required .Terminal.Area3d area_3d = 1;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->area_3d_);
- }
- if (has_id()) {
- // required int64 id = 2;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int64Size(
- this->id());
- }
- return total_size;
- }
- size_t Terminor_parameter::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Terminal.Terminor_parameter)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present.
- // required .Terminal.Area3d area_3d = 1;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *this->area_3d_);
- // required int64 id = 2;
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int64Size(
- this->id());
- } else {
- total_size += RequiredFieldsByteSizeFallback();
- }
- // repeated .Terminal.Laser_parameter laser_parameter = 3;
- {
- unsigned int count = static_cast<unsigned int>(this->laser_parameter_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->laser_parameter(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Terminor_parameter::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Terminal.Terminor_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- const Terminor_parameter* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Terminor_parameter>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Terminal.Terminor_parameter)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Terminal.Terminor_parameter)
- MergeFrom(*source);
- }
- }
- void Terminor_parameter::MergeFrom(const Terminor_parameter& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Terminal.Terminor_parameter)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- laser_parameter_.MergeFrom(from.laser_parameter_);
- cached_has_bits = from._has_bits_[0];
- if (cached_has_bits & 3u) {
- if (cached_has_bits & 0x00000001u) {
- mutable_area_3d()->::Terminal::Area3d::MergeFrom(from.area_3d());
- }
- if (cached_has_bits & 0x00000002u) {
- id_ = from.id_;
- }
- _has_bits_[0] |= cached_has_bits;
- }
- }
- void Terminor_parameter::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Terminal.Terminor_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Terminor_parameter::CopyFrom(const Terminor_parameter& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Terminal.Terminor_parameter)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Terminor_parameter::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
- if (!::google::protobuf::internal::AllAreInitialized(this->laser_parameter())) return false;
- if (has_area_3d()) {
- if (!this->area_3d_->IsInitialized()) return false;
- }
- return true;
- }
- void Terminor_parameter::Swap(Terminor_parameter* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Terminor_parameter::InternalSwap(Terminor_parameter* other) {
- using std::swap;
- laser_parameter_.InternalSwap(&other->laser_parameter_);
- swap(area_3d_, other->area_3d_);
- swap(id_, other->id_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Terminor_parameter::GetMetadata() const {
- protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // ===================================================================
- void Terminor_parameter_all::InitAsDefaultInstance() {
- }
- #if !defined(_MSC_VER) || _MSC_VER >= 1900
- const int Terminor_parameter_all::kTerminorParametersFieldNumber;
- const int Terminor_parameter_all::kSaveRootPathFieldNumber;
- #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
- Terminor_parameter_all::Terminor_parameter_all()
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter_all();
- }
- SharedCtor();
- // @@protoc_insertion_point(constructor:Terminal.Terminor_parameter_all)
- }
- Terminor_parameter_all::Terminor_parameter_all(const Terminor_parameter_all& from)
- : ::google::protobuf::Message(),
- _internal_metadata_(NULL),
- _has_bits_(from._has_bits_),
- _cached_size_(0),
- terminor_parameters_(from.terminor_parameters_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- save_root_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- if (from.has_save_root_path()) {
- save_root_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.save_root_path_);
- }
- // @@protoc_insertion_point(copy_constructor:Terminal.Terminor_parameter_all)
- }
- void Terminor_parameter_all::SharedCtor() {
- _cached_size_ = 0;
- save_root_path_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- Terminor_parameter_all::~Terminor_parameter_all() {
- // @@protoc_insertion_point(destructor:Terminal.Terminor_parameter_all)
- SharedDtor();
- }
- void Terminor_parameter_all::SharedDtor() {
- save_root_path_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- void Terminor_parameter_all::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* Terminor_parameter_all::descriptor() {
- ::protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
- }
- const Terminor_parameter_all& Terminor_parameter_all::default_instance() {
- ::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter_all();
- return *internal_default_instance();
- }
- Terminor_parameter_all* Terminor_parameter_all::New(::google::protobuf::Arena* arena) const {
- Terminor_parameter_all* n = new Terminor_parameter_all;
- if (arena != NULL) {
- arena->Own(n);
- }
- return n;
- }
- void Terminor_parameter_all::Clear() {
- // @@protoc_insertion_point(message_clear_start:Terminal.Terminor_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- terminor_parameters_.Clear();
- cached_has_bits = _has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- GOOGLE_DCHECK(!save_root_path_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
- (*save_root_path_.UnsafeRawStringPointer())->clear();
- }
- _has_bits_.Clear();
- _internal_metadata_.Clear();
- }
- bool Terminor_parameter_all::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:Terminal.Terminor_parameter_all)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .Terminal.Terminor_parameter terminor_parameters = 1;
- case 1: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_terminor_parameters()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // required string save_root_path = 2;
- case 2: {
- if (static_cast< ::google::protobuf::uint8>(tag) ==
- static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_save_root_path()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->save_root_path().data(), static_cast<int>(this->save_root_path().length()),
- ::google::protobuf::internal::WireFormat::PARSE,
- "Terminal.Terminor_parameter_all.save_root_path");
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:Terminal.Terminor_parameter_all)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:Terminal.Terminor_parameter_all)
- return false;
- #undef DO_
- }
- void Terminor_parameter_all::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:Terminal.Terminor_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .Terminal.Terminor_parameter terminor_parameters = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->terminor_parameters_size()); i < n; i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->terminor_parameters(static_cast<int>(i)), output);
- }
- cached_has_bits = _has_bits_[0];
- // required string save_root_path = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->save_root_path().data(), static_cast<int>(this->save_root_path().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Terminal.Terminor_parameter_all.save_root_path");
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
- 2, this->save_root_path(), output);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- _internal_metadata_.unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:Terminal.Terminor_parameter_all)
- }
- ::google::protobuf::uint8* Terminor_parameter_all::InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const {
- (void)deterministic; // Unused
- // @@protoc_insertion_point(serialize_to_array_start:Terminal.Terminor_parameter_all)
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .Terminal.Terminor_parameter terminor_parameters = 1;
- for (unsigned int i = 0,
- n = static_cast<unsigned int>(this->terminor_parameters_size()); i < n; i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessageToArray(
- 1, this->terminor_parameters(static_cast<int>(i)), deterministic, target);
- }
- cached_has_bits = _has_bits_[0];
- // required string save_root_path = 2;
- if (cached_has_bits & 0x00000001u) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
- this->save_root_path().data(), static_cast<int>(this->save_root_path().length()),
- ::google::protobuf::internal::WireFormat::SERIALIZE,
- "Terminal.Terminor_parameter_all.save_root_path");
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->save_root_path(), target);
- }
- if (_internal_metadata_.have_unknown_fields()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:Terminal.Terminor_parameter_all)
- return target;
- }
- size_t Terminor_parameter_all::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:Terminal.Terminor_parameter_all)
- size_t total_size = 0;
- if (_internal_metadata_.have_unknown_fields()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- _internal_metadata_.unknown_fields());
- }
- // required string save_root_path = 2;
- if (has_save_root_path()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->save_root_path());
- }
- // repeated .Terminal.Terminor_parameter terminor_parameters = 1;
- {
- unsigned int count = static_cast<unsigned int>(this->terminor_parameters_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- this->terminor_parameters(static_cast<int>(i)));
- }
- }
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = cached_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void Terminor_parameter_all::MergeFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:Terminal.Terminor_parameter_all)
- GOOGLE_DCHECK_NE(&from, this);
- const Terminor_parameter_all* source =
- ::google::protobuf::internal::DynamicCastToGenerated<const Terminor_parameter_all>(
- &from);
- if (source == NULL) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:Terminal.Terminor_parameter_all)
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:Terminal.Terminor_parameter_all)
- MergeFrom(*source);
- }
- }
- void Terminor_parameter_all::MergeFrom(const Terminor_parameter_all& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:Terminal.Terminor_parameter_all)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::google::protobuf::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- terminor_parameters_.MergeFrom(from.terminor_parameters_);
- if (from.has_save_root_path()) {
- set_has_save_root_path();
- save_root_path_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.save_root_path_);
- }
- }
- void Terminor_parameter_all::CopyFrom(const ::google::protobuf::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:Terminal.Terminor_parameter_all)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void Terminor_parameter_all::CopyFrom(const Terminor_parameter_all& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:Terminal.Terminor_parameter_all)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool Terminor_parameter_all::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- if (!::google::protobuf::internal::AllAreInitialized(this->terminor_parameters())) return false;
- return true;
- }
- void Terminor_parameter_all::Swap(Terminor_parameter_all* other) {
- if (other == this) return;
- InternalSwap(other);
- }
- void Terminor_parameter_all::InternalSwap(Terminor_parameter_all* other) {
- using std::swap;
- terminor_parameters_.InternalSwap(&other->terminor_parameters_);
- save_root_path_.Swap(&other->save_root_path_);
- swap(_has_bits_[0], other->_has_bits_[0]);
- _internal_metadata_.Swap(&other->_internal_metadata_);
- swap(_cached_size_, other->_cached_size_);
- }
- ::google::protobuf::Metadata Terminor_parameter_all::GetMetadata() const {
- protobuf_Terminor_5fparameter_2eproto::protobuf_AssignDescriptorsOnce();
- return ::protobuf_Terminor_5fparameter_2eproto::file_level_metadata[kIndexInFileMessages];
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace Terminal
- // @@protoc_insertion_point(global_scope)
|