|
@@ -19,7 +19,7 @@
|
|
|
#include "third_party/protobuf/version.h"
|
|
|
#endif
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
-namespace LidarMeasure {
|
|
|
+namespace Terminal {
|
|
|
class Area3dDefaultTypeInternal {
|
|
|
public:
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Area3d>
|
|
@@ -30,7 +30,12 @@ class Terminor_parameterDefaultTypeInternal {
|
|
|
::google::protobuf::internal::ExplicitlyConstructed<Terminor_parameter>
|
|
|
_instance;
|
|
|
} _Terminor_parameter_default_instance_;
|
|
|
-} // namespace LidarMeasure
|
|
|
+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;
|
|
@@ -41,11 +46,11 @@ void InitDefaultsArea3dImpl() {
|
|
|
::google::protobuf::internal::InitProtobufDefaults();
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
{
|
|
|
- void* ptr = &::LidarMeasure::_Area3d_default_instance_;
|
|
|
- new (ptr) ::LidarMeasure::Area3d();
|
|
|
+ void* ptr = &::Terminal::_Area3d_default_instance_;
|
|
|
+ new (ptr) ::Terminal::Area3d();
|
|
|
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
- ::LidarMeasure::Area3d::InitAsDefaultInstance();
|
|
|
+ ::Terminal::Area3d::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
void InitDefaultsArea3d() {
|
|
@@ -63,11 +68,11 @@ void InitDefaultsTerminor_parameterImpl() {
|
|
|
#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3d();
|
|
|
{
|
|
|
- void* ptr = &::LidarMeasure::_Terminor_parameter_default_instance_;
|
|
|
- new (ptr) ::LidarMeasure::Terminor_parameter();
|
|
|
+ void* ptr = &::Terminal::_Terminor_parameter_default_instance_;
|
|
|
+ new (ptr) ::Terminal::Terminor_parameter();
|
|
|
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
- ::LidarMeasure::Terminor_parameter::InitAsDefaultInstance();
|
|
|
+ ::Terminal::Terminor_parameter::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
void InitDefaultsTerminor_parameter() {
|
|
@@ -75,42 +80,75 @@ void InitDefaultsTerminor_parameter() {
|
|
|
::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTerminor_parameterImpl);
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[2];
|
|
|
+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[3];
|
|
|
|
|
|
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, _internal_metadata_),
|
|
|
+ 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(::LidarMeasure::Area3d, min_x_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, max_x_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, min_y_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, max_y_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, min_z_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Area3d, max_z_),
|
|
|
+ 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(::LidarMeasure::Terminor_parameter, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::LidarMeasure::Terminor_parameter, _internal_metadata_),
|
|
|
+ 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(::LidarMeasure::Terminor_parameter, area_3d_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, area_3d_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Terminal::Terminor_parameter, id_),
|
|
|
0,
|
|
|
+ 1,
|
|
|
+ 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_),
|
|
|
+ ~0u,
|
|
|
};
|
|
|
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { 0, 11, sizeof(::LidarMeasure::Area3d)},
|
|
|
- { 17, 23, sizeof(::LidarMeasure::Terminor_parameter)},
|
|
|
+ { 0, 11, sizeof(::Terminal::Area3d)},
|
|
|
+ { 17, 24, sizeof(::Terminal::Terminor_parameter)},
|
|
|
+ { 26, 32, sizeof(::Terminal::Terminor_parameter_all)},
|
|
|
};
|
|
|
|
|
|
static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::LidarMeasure::_Area3d_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::LidarMeasure::_Terminor_parameter_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::Terminal::_Area3d_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() {
|
|
@@ -129,21 +167,23 @@ void protobuf_AssignDescriptorsOnce() {
|
|
|
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, 2);
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
|
|
|
}
|
|
|
|
|
|
void AddDescriptorsImpl() {
|
|
|
InitDefaults();
|
|
|
static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- "\n\030Terminor_parameter.proto\022\014LidarMeasure"
|
|
|
- "\"b\n\006Area3d\022\r\n\005min_x\030\001 \002(\002\022\r\n\005max_x\030\002 \002(\002"
|
|
|
- "\022\r\n\005min_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\";\n\022Terminor_paramet"
|
|
|
- "er\022%\n\007area_3d\030\001 \002(\0132\024.LidarMeasure.Area3"
|
|
|
- "d"
|
|
|
+ "\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\"C\n\022Terminor_parameter\022!"
|
|
|
+ "\n\007area_3d\030\001 \002(\0132\020.Terminal.Area3d\022\n\n\002id\030"
|
|
|
+ "\002 \002(\003\"S\n\026Terminor_parameter_all\0229\n\023termi"
|
|
|
+ "nor_parameters\030\001 \003(\0132\034.Terminal.Terminor"
|
|
|
+ "_parameter"
|
|
|
};
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 201);
|
|
|
+ descriptor, 290);
|
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
"Terminor_parameter.proto", &protobuf_RegisterTypes);
|
|
|
}
|
|
@@ -159,7 +199,7 @@ struct StaticDescriptorInitializer {
|
|
|
}
|
|
|
} static_descriptor_initializer;
|
|
|
} // namespace protobuf_Terminor_5fparameter_2eproto
|
|
|
-namespace LidarMeasure {
|
|
|
+namespace Terminal {
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
@@ -180,7 +220,7 @@ Area3d::Area3d()
|
|
|
::protobuf_Terminor_5fparameter_2eproto::InitDefaultsArea3d();
|
|
|
}
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(constructor:Terminal.Area3d)
|
|
|
}
|
|
|
Area3d::Area3d(const Area3d& from)
|
|
|
: ::google::protobuf::Message(),
|
|
@@ -191,7 +231,7 @@ Area3d::Area3d(const Area3d& from)
|
|
|
::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:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(copy_constructor:Terminal.Area3d)
|
|
|
}
|
|
|
|
|
|
void Area3d::SharedCtor() {
|
|
@@ -202,7 +242,7 @@ void Area3d::SharedCtor() {
|
|
|
}
|
|
|
|
|
|
Area3d::~Area3d() {
|
|
|
- // @@protoc_insertion_point(destructor:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(destructor:Terminal.Area3d)
|
|
|
SharedDtor();
|
|
|
}
|
|
|
|
|
@@ -233,7 +273,7 @@ Area3d* Area3d::New(::google::protobuf::Arena* arena) const {
|
|
|
}
|
|
|
|
|
|
void Area3d::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:LidarMeasure.Area3d)
|
|
|
+// @@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;
|
|
@@ -252,7 +292,7 @@ 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:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(parse_start:Terminal.Area3d)
|
|
|
for (;;) {
|
|
|
::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
tag = p.first;
|
|
@@ -354,17 +394,17 @@ bool Area3d::MergePartialFromCodedStream(
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(parse_success:Terminal.Area3d)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:LidarMeasure.Area3d)
|
|
|
+ // @@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:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(serialize_start:Terminal.Area3d)
|
|
|
::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
@@ -403,13 +443,13 @@ void Area3d::SerializeWithCachedSizes(
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_end:LidarMeasure.Area3d)
|
|
|
+ // @@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:LidarMeasure.Area3d)
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:Terminal.Area3d)
|
|
|
::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
@@ -448,12 +488,12 @@ void Area3d::SerializeWithCachedSizes(
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:LidarMeasure.Area3d)
|
|
|
+ // @@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:LidarMeasure.Area3d)
|
|
|
+// @@protoc_insertion_point(required_fields_byte_size_fallback_start:Terminal.Area3d)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
if (has_min_x()) {
|
|
@@ -489,7 +529,7 @@ size_t Area3d::RequiredFieldsByteSizeFallback() const {
|
|
|
return total_size;
|
|
|
}
|
|
|
size_t Area3d::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:LidarMeasure.Area3d)
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:Terminal.Area3d)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -527,22 +567,22 @@ size_t Area3d::ByteSizeLong() const {
|
|
|
}
|
|
|
|
|
|
void Area3d::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:LidarMeasure.Area3d)
|
|
|
+// @@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:LidarMeasure.Area3d)
|
|
|
+ // @@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:LidarMeasure.Area3d)
|
|
|
+ // @@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:LidarMeasure.Area3d)
|
|
|
+// @@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;
|
|
@@ -573,14 +613,14 @@ void Area3d::MergeFrom(const Area3d& from) {
|
|
|
}
|
|
|
|
|
|
void Area3d::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:LidarMeasure.Area3d)
|
|
|
+// @@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:LidarMeasure.Area3d)
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:Terminal.Area3d)
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
|
MergeFrom(from);
|
|
@@ -617,11 +657,12 @@ void Area3d::InternalSwap(Area3d* other) {
|
|
|
// ===================================================================
|
|
|
|
|
|
void Terminor_parameter::InitAsDefaultInstance() {
|
|
|
- ::LidarMeasure::_Terminor_parameter_default_instance_._instance.get_mutable()->area_3d_ = const_cast< ::LidarMeasure::Area3d*>(
|
|
|
- ::LidarMeasure::Area3d::internal_default_instance());
|
|
|
+ ::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;
|
|
|
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
Terminor_parameter::Terminor_parameter()
|
|
@@ -630,7 +671,7 @@ Terminor_parameter::Terminor_parameter()
|
|
|
::protobuf_Terminor_5fparameter_2eproto::InitDefaultsTerminor_parameter();
|
|
|
}
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@protoc_insertion_point(constructor:Terminal.Terminor_parameter)
|
|
|
}
|
|
|
Terminor_parameter::Terminor_parameter(const Terminor_parameter& from)
|
|
|
: ::google::protobuf::Message(),
|
|
@@ -639,20 +680,23 @@ Terminor_parameter::Terminor_parameter(const Terminor_parameter& from)
|
|
|
_cached_size_(0) {
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
if (from.has_area_3d()) {
|
|
|
- area_3d_ = new ::LidarMeasure::Area3d(*from.area_3d_);
|
|
|
+ area_3d_ = new ::Terminal::Area3d(*from.area_3d_);
|
|
|
} else {
|
|
|
area_3d_ = NULL;
|
|
|
}
|
|
|
- // @@protoc_insertion_point(copy_constructor:LidarMeasure.Terminor_parameter)
|
|
|
+ id_ = from.id_;
|
|
|
+ // @@protoc_insertion_point(copy_constructor:Terminal.Terminor_parameter)
|
|
|
}
|
|
|
|
|
|
void Terminor_parameter::SharedCtor() {
|
|
|
_cached_size_ = 0;
|
|
|
- area_3d_ = NULL;
|
|
|
+ ::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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@protoc_insertion_point(destructor:Terminal.Terminor_parameter)
|
|
|
SharedDtor();
|
|
|
}
|
|
|
|
|
@@ -684,7 +728,7 @@ Terminor_parameter* Terminor_parameter::New(::google::protobuf::Arena* arena) co
|
|
|
}
|
|
|
|
|
|
void Terminor_parameter::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:LidarMeasure.Terminor_parameter)
|
|
|
+// @@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;
|
|
@@ -694,6 +738,7 @@ void Terminor_parameter::Clear() {
|
|
|
GOOGLE_DCHECK(area_3d_ != NULL);
|
|
|
area_3d_->Clear();
|
|
|
}
|
|
|
+ id_ = GOOGLE_LONGLONG(0);
|
|
|
_has_bits_.Clear();
|
|
|
_internal_metadata_.Clear();
|
|
|
}
|
|
@@ -702,13 +747,13 @@ 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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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 .LidarMeasure.Area3d area_3d = 1;
|
|
|
+ // required .Terminal.Area3d area_3d = 1;
|
|
|
case 1: {
|
|
|
if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
@@ -720,6 +765,20 @@ bool Terminor_parameter::MergePartialFromCodedStream(
|
|
|
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;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
if (tag == 0) {
|
|
@@ -732,59 +791,89 @@ bool Terminor_parameter::MergePartialFromCodedStream(
|
|
|
}
|
|
|
}
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@protoc_insertion_point(parse_success:Terminal.Terminor_parameter)
|
|
|
return true;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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 .LidarMeasure.Area3d area_3d = 1;
|
|
|
+ // 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);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
_internal_metadata_.unknown_fields(), output);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_end:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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 .LidarMeasure.Area3d area_3d = 1;
|
|
|
+ // 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);
|
|
|
+ }
|
|
|
+
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
|
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
_internal_metadata_.unknown_fields(), target);
|
|
|
}
|
|
|
- // @@protoc_insertion_point(serialize_to_array_end:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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:LidarMeasure.Terminor_parameter)
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:Terminal.Terminor_parameter)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -792,11 +881,19 @@ size_t Terminor_parameter::ByteSizeLong() const {
|
|
|
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
_internal_metadata_.unknown_fields());
|
|
|
}
|
|
|
- // required .LidarMeasure.Area3d area_3d = 1;
|
|
|
- if (has_area_3d()) {
|
|
|
+ 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();
|
|
|
}
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
@@ -806,48 +903,55 @@ size_t Terminor_parameter::ByteSizeLong() const {
|
|
|
}
|
|
|
|
|
|
void Terminor_parameter::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:LidarMeasure.Terminor_parameter)
|
|
|
+// @@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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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:LidarMeasure.Terminor_parameter)
|
|
|
+ // @@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:LidarMeasure.Terminor_parameter)
|
|
|
+// @@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;
|
|
|
|
|
|
- if (from.has_area_3d()) {
|
|
|
- mutable_area_3d()->::LidarMeasure::Area3d::MergeFrom(from.area_3d());
|
|
|
+ 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:LidarMeasure.Terminor_parameter)
|
|
|
+// @@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:LidarMeasure.Terminor_parameter)
|
|
|
+// @@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] & 0x00000001) != 0x00000001) return false;
|
|
|
+ if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
|
|
|
if (has_area_3d()) {
|
|
|
if (!this->area_3d_->IsInitialized()) return false;
|
|
|
}
|
|
@@ -861,6 +965,7 @@ void Terminor_parameter::Swap(Terminor_parameter* other) {
|
|
|
void Terminor_parameter::InternalSwap(Terminor_parameter* other) {
|
|
|
using std::swap;
|
|
|
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_);
|
|
@@ -872,7 +977,252 @@ void Terminor_parameter::InternalSwap(Terminor_parameter* other) {
|
|
|
}
|
|
|
|
|
|
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void Terminor_parameter_all::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int Terminor_parameter_all::kTerminorParametersFieldNumber;
|
|
|
+#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_);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:Terminal.Terminor_parameter_all)
|
|
|
+}
|
|
|
+
|
|
|
+void Terminor_parameter_all::SharedCtor() {
|
|
|
+ _cached_size_ = 0;
|
|
|
+}
|
|
|
+
|
|
|
+Terminor_parameter_all::~Terminor_parameter_all() {
|
|
|
+ // @@protoc_insertion_point(destructor:Terminal.Terminor_parameter_all)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void Terminor_parameter_all::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+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();
|
|
|
+ _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;
|
|
|
+ }
|
|
|
+
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+
|
|
|
+ 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());
|
|
|
+ }
|
|
|
+ // 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_);
|
|
|
+}
|
|
|
+
|
|
|
+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 (!::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_);
|
|
|
+ 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 LidarMeasure
|
|
|
+} // namespace Terminal
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|