|
@@ -5,347 +5,280 @@
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
-#include <google/protobuf/stubs/common.h>
|
|
|
-#include <google/protobuf/stubs/port.h>
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
-#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
+#include <google/protobuf/extension_set.h>
|
|
|
+#include <google/protobuf/wire_format_lite.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 protobuf_communication_2eproto {
|
|
|
-extern PROTOBUF_INTERNAL_EXPORT_protobuf_communication_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Communication_parameter;
|
|
|
-} // namespace protobuf_communication_2eproto
|
|
|
+#include <google/protobuf/port_def.inc>
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_communication_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Communication_parameter_communication_2eproto;
|
|
|
namespace Communication_proto {
|
|
|
class Communication_parameterDefaultTypeInternal {
|
|
|
public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter>
|
|
|
- _instance;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Communication_parameter> _instance;
|
|
|
} _Communication_parameter_default_instance_;
|
|
|
class Communication_parameter_allDefaultTypeInternal {
|
|
|
public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter_all>
|
|
|
- _instance;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Communication_parameter_all> _instance;
|
|
|
} _Communication_parameter_all_default_instance_;
|
|
|
} // namespace Communication_proto
|
|
|
-namespace protobuf_communication_2eproto {
|
|
|
-static void InitDefaultsCommunication_parameter() {
|
|
|
+static void InitDefaultsscc_info_Communication_parameter_communication_2eproto() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
{
|
|
|
void* ptr = &::Communication_proto::_Communication_parameter_default_instance_;
|
|
|
new (ptr) ::Communication_proto::Communication_parameter();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
::Communication_proto::Communication_parameter::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::internal::SCCInfo<0> scc_info_Communication_parameter =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCommunication_parameter}, {}};
|
|
|
+::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Communication_parameter_communication_2eproto =
|
|
|
+ {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Communication_parameter_communication_2eproto}, {}};
|
|
|
|
|
|
-static void InitDefaultsCommunication_parameter_all() {
|
|
|
+static void InitDefaultsscc_info_Communication_parameter_all_communication_2eproto() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
{
|
|
|
void* ptr = &::Communication_proto::_Communication_parameter_all_default_instance_;
|
|
|
new (ptr) ::Communication_proto::Communication_parameter_all();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
::Communication_proto::Communication_parameter_all::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::internal::SCCInfo<1> scc_info_Communication_parameter_all =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCommunication_parameter_all}, {
|
|
|
- &protobuf_communication_2eproto::scc_info_Communication_parameter.base,}};
|
|
|
-
|
|
|
-void InitDefaults() {
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_Communication_parameter.base);
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_Communication_parameter_all.base);
|
|
|
-}
|
|
|
+::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Communication_parameter_all_communication_2eproto =
|
|
|
+ {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Communication_parameter_all_communication_2eproto}, {
|
|
|
+ &scc_info_Communication_parameter_communication_2eproto.base,}};
|
|
|
|
|
|
-::google::protobuf::Metadata file_level_metadata[2];
|
|
|
+static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_communication_2eproto[2];
|
|
|
+static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_communication_2eproto = nullptr;
|
|
|
+static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_communication_2eproto = nullptr;
|
|
|
|
|
|
-const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter, _internal_metadata_),
|
|
|
+const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_communication_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, _has_bits_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter, bind_string_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter, connect_string_vector_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, bind_string_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, connect_string_vector_),
|
|
|
0,
|
|
|
~0u,
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _has_bits_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _internal_metadata_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _has_bits_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _internal_metadata_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, communication_parameters_),
|
|
|
+ PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, communication_parameters_),
|
|
|
0,
|
|
|
};
|
|
|
-static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 7, sizeof(::Communication_proto::Communication_parameter)},
|
|
|
{ 9, 15, sizeof(::Communication_proto::Communication_parameter_all)},
|
|
|
};
|
|
|
|
|
|
-static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::Communication_proto::_Communication_parameter_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::Communication_proto::_Communication_parameter_all_default_instance_),
|
|
|
+static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
|
|
|
+ reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::Communication_proto::_Communication_parameter_default_instance_),
|
|
|
+ reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::Communication_proto::_Communication_parameter_all_default_instance_),
|
|
|
};
|
|
|
|
|
|
-void protobuf_AssignDescriptors() {
|
|
|
- AddDescriptors();
|
|
|
- AssignDescriptors(
|
|
|
- "communication.proto", schemas, file_default_instances, TableStruct::offsets,
|
|
|
- file_level_metadata, NULL, NULL);
|
|
|
-}
|
|
|
-
|
|
|
-void protobuf_AssignDescriptorsOnce() {
|
|
|
- static ::google::protobuf::internal::once_flag once;
|
|
|
- ::google::protobuf::internal::call_once(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, 2);
|
|
|
-}
|
|
|
-
|
|
|
-void AddDescriptorsImpl() {
|
|
|
- InitDefaults();
|
|
|
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- "\n\023communication.proto\022\023Communication_pro"
|
|
|
- "to\"M\n\027Communication_parameter\022\023\n\013bind_st"
|
|
|
- "ring\030\001 \001(\t\022\035\n\025connect_string_vector\030\002 \003("
|
|
|
- "\t\"m\n\033Communication_parameter_all\022N\n\030comm"
|
|
|
- "unication_parameters\030\001 \001(\0132,.Communicati"
|
|
|
- "on_proto.Communication_parameter"
|
|
|
- };
|
|
|
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 232);
|
|
|
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
- "communication.proto", &protobuf_RegisterTypes);
|
|
|
-}
|
|
|
+const char descriptor_table_protodef_communication_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
|
|
+ "\n\023communication.proto\022\023Communication_pro"
|
|
|
+ "to\"M\n\027Communication_parameter\022\023\n\013bind_st"
|
|
|
+ "ring\030\001 \001(\t\022\035\n\025connect_string_vector\030\002 \003("
|
|
|
+ "\t\"m\n\033Communication_parameter_all\022N\n\030comm"
|
|
|
+ "unication_parameters\030\001 \001(\0132,.Communicati"
|
|
|
+ "on_proto.Communication_parameter"
|
|
|
+ ;
|
|
|
+static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_communication_2eproto_deps[1] = {
|
|
|
+};
|
|
|
+static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_communication_2eproto_sccs[2] = {
|
|
|
+ &scc_info_Communication_parameter_communication_2eproto.base,
|
|
|
+ &scc_info_Communication_parameter_all_communication_2eproto.base,
|
|
|
+};
|
|
|
+static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_communication_2eproto_once;
|
|
|
+const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_communication_2eproto = {
|
|
|
+ false, false, descriptor_table_protodef_communication_2eproto, "communication.proto", 232,
|
|
|
+ &descriptor_table_communication_2eproto_once, descriptor_table_communication_2eproto_sccs, descriptor_table_communication_2eproto_deps, 2, 0,
|
|
|
+ schemas, file_default_instances, TableStruct_communication_2eproto::offsets,
|
|
|
+ file_level_metadata_communication_2eproto, 2, file_level_enum_descriptors_communication_2eproto, file_level_service_descriptors_communication_2eproto,
|
|
|
+};
|
|
|
|
|
|
-void AddDescriptors() {
|
|
|
- static ::google::protobuf::internal::once_flag once;
|
|
|
- ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
|
|
|
-}
|
|
|
-// Force AddDescriptors() to be called at dynamic initialization time.
|
|
|
-struct StaticDescriptorInitializer {
|
|
|
- StaticDescriptorInitializer() {
|
|
|
- AddDescriptors();
|
|
|
- }
|
|
|
-} static_descriptor_initializer;
|
|
|
-} // namespace protobuf_communication_2eproto
|
|
|
+// Force running AddDescriptors() at dynamic initialization time.
|
|
|
+static bool dynamic_init_dummy_communication_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_communication_2eproto)), true);
|
|
|
namespace Communication_proto {
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
void Communication_parameter::InitAsDefaultInstance() {
|
|
|
}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int Communication_parameter::kBindStringFieldNumber;
|
|
|
-const int Communication_parameter::kConnectStringVectorFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+class Communication_parameter::_Internal {
|
|
|
+ public:
|
|
|
+ using HasBits = decltype(std::declval<Communication_parameter>()._has_bits_);
|
|
|
+ static void set_has_bind_string(HasBits* has_bits) {
|
|
|
+ (*has_bits)[0] |= 1u;
|
|
|
+ }
|
|
|
+};
|
|
|
|
|
|
-Communication_parameter::Communication_parameter()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_communication_2eproto::scc_info_Communication_parameter.base);
|
|
|
+Communication_parameter::Communication_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena),
|
|
|
+ connect_string_vector_(arena) {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter)
|
|
|
+ RegisterArenaDtor(arena);
|
|
|
+ // @@protoc_insertion_point(arena_constructor:Communication_proto.Communication_parameter)
|
|
|
}
|
|
|
Communication_parameter::Communication_parameter(const Communication_parameter& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL),
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
_has_bits_(from._has_bits_),
|
|
|
connect_string_vector_(from.connect_string_vector_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- bind_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.has_bind_string()) {
|
|
|
- bind_string_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.bind_string_);
|
|
|
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
+ bind_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from._internal_has_bind_string()) {
|
|
|
+ bind_string_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_bind_string(),
|
|
|
+ GetArena());
|
|
|
}
|
|
|
// @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter)
|
|
|
}
|
|
|
|
|
|
void Communication_parameter::SharedCtor() {
|
|
|
- bind_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Communication_parameter_communication_2eproto.base);
|
|
|
+ bind_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
|
|
|
|
Communication_parameter::~Communication_parameter() {
|
|
|
// @@protoc_insertion_point(destructor:Communication_proto.Communication_parameter)
|
|
|
SharedDtor();
|
|
|
+ _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
}
|
|
|
|
|
|
void Communication_parameter::SharedDtor() {
|
|
|
- bind_string_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ GOOGLE_DCHECK(GetArena() == nullptr);
|
|
|
+ bind_string_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
}
|
|
|
|
|
|
+void Communication_parameter::ArenaDtor(void* object) {
|
|
|
+ Communication_parameter* _this = reinterpret_cast< Communication_parameter* >(object);
|
|
|
+ (void)_this;
|
|
|
+}
|
|
|
+void Communication_parameter::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
|
|
|
+}
|
|
|
void Communication_parameter::SetCachedSize(int size) const {
|
|
|
_cached_size_.Set(size);
|
|
|
}
|
|
|
-const ::google::protobuf::Descriptor* Communication_parameter::descriptor() {
|
|
|
- ::protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
const Communication_parameter& Communication_parameter::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_communication_2eproto::scc_info_Communication_parameter.base);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Communication_parameter_communication_2eproto.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
|
|
|
void Communication_parameter::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
connect_string_vector_.Clear();
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
- bind_string_.ClearNonDefaultToEmptyNoArena();
|
|
|
+ bind_string_.ClearNonDefaultToEmpty();
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool Communication_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:Communication_proto.Communication_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)) {
|
|
|
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
+}
|
|
|
+
|
|
|
+const char* Communication_parameter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
+#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
+ _Internal::HasBits has_bits{};
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
|
|
|
+ while (!ctx->Done(&ptr)) {
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
+ CHK_(ptr);
|
|
|
+ switch (tag >> 3) {
|
|
|
// optional string bind_string = 1;
|
|
|
- case 1: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
- input, this->mutable_bind_string()));
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->bind_string().data(), static_cast<int>(this->bind_string().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::PARSE,
|
|
|
- "Communication_proto.Communication_parameter.bind_string");
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
+ case 1:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
+ auto str = _internal_mutable_bind_string();
|
|
|
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
|
|
|
+ #ifndef NDEBUG
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "Communication_proto.Communication_parameter.bind_string");
|
|
|
+ #endif // !NDEBUG
|
|
|
+ CHK_(ptr);
|
|
|
+ } else goto handle_unusual;
|
|
|
+ continue;
|
|
|
// repeated string connect_string_vector = 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->add_connect_string_vector()));
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->connect_string_vector(this->connect_string_vector_size() - 1).data(),
|
|
|
- static_cast<int>(this->connect_string_vector(this->connect_string_vector_size() - 1).length()),
|
|
|
- ::google::protobuf::internal::WireFormat::PARSE,
|
|
|
- "Communication_proto.Communication_parameter.connect_string_vector");
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
+ case 2:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
|
|
|
+ ptr -= 1;
|
|
|
+ do {
|
|
|
+ ptr += 1;
|
|
|
+ auto str = _internal_add_connect_string_vector();
|
|
|
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
|
|
|
+ #ifndef NDEBUG
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "Communication_proto.Communication_parameter.connect_string_vector");
|
|
|
+ #endif // !NDEBUG
|
|
|
+ CHK_(ptr);
|
|
|
+ if (!ctx->DataAvailable(ptr)) break;
|
|
|
+ } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
|
|
|
+ } else goto handle_unusual;
|
|
|
+ continue;
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
- if (tag == 0) {
|
|
|
+ if ((tag & 7) == 4 || tag == 0) {
|
|
|
+ ctx->SetLastTag(tag);
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
- break;
|
|
|
+ ptr = UnknownFieldParse(tag,
|
|
|
+ _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
|
|
+ ptr, ctx);
|
|
|
+ CHK_(ptr != nullptr);
|
|
|
+ continue;
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+ } // switch
|
|
|
+ } // while
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter)
|
|
|
- return true;
|
|
|
+ _has_bits_.Or(has_bits);
|
|
|
+ return ptr;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:Communication_proto.Communication_parameter)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void Communication_parameter::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:Communication_proto.Communication_parameter)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- // optional string bind_string = 1;
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->bind_string().data(), static_cast<int>(this->bind_string().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "Communication_proto.Communication_parameter.bind_string");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 1, this->bind_string(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // repeated string connect_string_vector = 2;
|
|
|
- for (int i = 0, n = this->connect_string_vector_size(); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->connect_string_vector(i).data(), static_cast<int>(this->connect_string_vector(i).length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
- "Communication_proto.Communication_parameter.connect_string_vector");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteString(
|
|
|
- 2, this->connect_string_vector(i), output);
|
|
|
- }
|
|
|
-
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
- _internal_metadata_.unknown_fields(), output);
|
|
|
- }
|
|
|
- // @@protoc_insertion_point(serialize_end:Communication_proto.Communication_parameter)
|
|
|
+ ptr = nullptr;
|
|
|
+ goto success;
|
|
|
+#undef CHK_
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::uint8* Communication_parameter::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
+::PROTOBUF_NAMESPACE_ID::uint8* Communication_parameter::_InternalSerialize(
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:Communication_proto.Communication_parameter)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
// optional string bind_string = 1;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->bind_string().data(), static_cast<int>(this->bind_string().length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
+ this->_internal_bind_string().data(), static_cast<int>(this->_internal_bind_string().length()),
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
|
|
|
"Communication_proto.Communication_parameter.bind_string");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 1, this->bind_string(), target);
|
|
|
+ target = stream->WriteStringMaybeAliased(
|
|
|
+ 1, this->_internal_bind_string(), target);
|
|
|
}
|
|
|
|
|
|
// repeated string connect_string_vector = 2;
|
|
|
- for (int i = 0, n = this->connect_string_vector_size(); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
- this->connect_string_vector(i).data(), static_cast<int>(this->connect_string_vector(i).length()),
|
|
|
- ::google::protobuf::internal::WireFormat::SERIALIZE,
|
|
|
+ for (int i = 0, n = this->_internal_connect_string_vector_size(); i < n; i++) {
|
|
|
+ const auto& s = this->_internal_connect_string_vector(i);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
|
|
|
+ s.data(), static_cast<int>(s.length()),
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
|
|
|
"Communication_proto.Communication_parameter.connect_string_vector");
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- WriteStringToArray(2, this->connect_string_vector(i), target);
|
|
|
+ target = stream->WriteString(2, s, target);
|
|
|
}
|
|
|
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target);
|
|
|
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
+ target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
|
|
}
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter)
|
|
|
return target;
|
|
@@ -355,40 +288,44 @@ size_t Communication_parameter::ByteSizeLong() const {
|
|
|
// @@protoc_insertion_point(message_byte_size_start:Communication_proto.Communication_parameter)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- total_size +=
|
|
|
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_.unknown_fields());
|
|
|
- }
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
// repeated string connect_string_vector = 2;
|
|
|
total_size += 1 *
|
|
|
- ::google::protobuf::internal::FromIntSize(this->connect_string_vector_size());
|
|
|
- for (int i = 0, n = this->connect_string_vector_size(); i < n; i++) {
|
|
|
- total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->connect_string_vector(i));
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(connect_string_vector_.size());
|
|
|
+ for (int i = 0, n = connect_string_vector_.size(); i < n; i++) {
|
|
|
+ total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
|
|
+ connect_string_vector_.Get(i));
|
|
|
}
|
|
|
|
|
|
// optional string bind_string = 1;
|
|
|
- if (has_bind_string()) {
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->bind_string());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
|
|
+ this->_internal_bind_string());
|
|
|
}
|
|
|
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
+ return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_, total_size, &_cached_size_);
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+void Communication_parameter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_start:Communication_proto.Communication_parameter)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
const Communication_parameter* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter>(
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Communication_parameter>(
|
|
|
&from);
|
|
|
- if (source == NULL) {
|
|
|
+ if (source == nullptr) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter)
|
|
|
MergeFrom(*source);
|
|
@@ -398,18 +335,17 @@ void Communication_parameter::MergeFrom(const ::google::protobuf::Message& from)
|
|
|
void Communication_parameter::MergeFrom(const Communication_parameter& from) {
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:Communication_proto.Communication_parameter)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
connect_string_vector_.MergeFrom(from.connect_string_vector_);
|
|
|
- if (from.has_bind_string()) {
|
|
|
- set_has_bind_string();
|
|
|
- bind_string_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.bind_string_);
|
|
|
+ if (from._internal_has_bind_string()) {
|
|
|
+ _internal_set_bind_string(from._internal_bind_string());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+void Communication_parameter::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_copy_from_start:Communication_proto.Communication_parameter)
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
@@ -427,22 +363,16 @@ bool Communication_parameter::IsInitialized() const {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter::Swap(Communication_parameter* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
void Communication_parameter::InternalSwap(Communication_parameter* other) {
|
|
|
using std::swap;
|
|
|
- connect_string_vector_.InternalSwap(CastToBase(&other->connect_string_vector_));
|
|
|
- bind_string_.Swap(&other->bind_string_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- GetArenaNoVirtual());
|
|
|
+ _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+ connect_string_vector_.InternalSwap(&other->connect_string_vector_);
|
|
|
+ bind_string_.Swap(&other->bind_string_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata Communication_parameter::GetMetadata() const {
|
|
|
- protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+::PROTOBUF_NAMESPACE_ID::Metadata Communication_parameter::GetMetadata() const {
|
|
|
+ return GetMetadataStatic();
|
|
|
}
|
|
|
|
|
|
|
|
@@ -452,152 +382,140 @@ void Communication_parameter_all::InitAsDefaultInstance() {
|
|
|
::Communication_proto::_Communication_parameter_all_default_instance_._instance.get_mutable()->communication_parameters_ = const_cast< ::Communication_proto::Communication_parameter*>(
|
|
|
::Communication_proto::Communication_parameter::internal_default_instance());
|
|
|
}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int Communication_parameter_all::kCommunicationParametersFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+class Communication_parameter_all::_Internal {
|
|
|
+ public:
|
|
|
+ using HasBits = decltype(std::declval<Communication_parameter_all>()._has_bits_);
|
|
|
+ static const ::Communication_proto::Communication_parameter& communication_parameters(const Communication_parameter_all* msg);
|
|
|
+ static void set_has_communication_parameters(HasBits* has_bits) {
|
|
|
+ (*has_bits)[0] |= 1u;
|
|
|
+ }
|
|
|
+};
|
|
|
|
|
|
-Communication_parameter_all::Communication_parameter_all()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_communication_2eproto::scc_info_Communication_parameter_all.base);
|
|
|
+const ::Communication_proto::Communication_parameter&
|
|
|
+Communication_parameter_all::_Internal::communication_parameters(const Communication_parameter_all* msg) {
|
|
|
+ return *msg->communication_parameters_;
|
|
|
+}
|
|
|
+Communication_parameter_all::Communication_parameter_all(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
|
|
|
SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter_all)
|
|
|
+ RegisterArenaDtor(arena);
|
|
|
+ // @@protoc_insertion_point(arena_constructor:Communication_proto.Communication_parameter_all)
|
|
|
}
|
|
|
Communication_parameter_all::Communication_parameter_all(const Communication_parameter_all& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL),
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
_has_bits_(from._has_bits_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- if (from.has_communication_parameters()) {
|
|
|
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
+ if (from._internal_has_communication_parameters()) {
|
|
|
communication_parameters_ = new ::Communication_proto::Communication_parameter(*from.communication_parameters_);
|
|
|
} else {
|
|
|
- communication_parameters_ = NULL;
|
|
|
+ communication_parameters_ = nullptr;
|
|
|
}
|
|
|
// @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter_all)
|
|
|
}
|
|
|
|
|
|
void Communication_parameter_all::SharedCtor() {
|
|
|
- communication_parameters_ = NULL;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Communication_parameter_all_communication_2eproto.base);
|
|
|
+ communication_parameters_ = nullptr;
|
|
|
}
|
|
|
|
|
|
Communication_parameter_all::~Communication_parameter_all() {
|
|
|
// @@protoc_insertion_point(destructor:Communication_proto.Communication_parameter_all)
|
|
|
SharedDtor();
|
|
|
+ _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
}
|
|
|
|
|
|
void Communication_parameter_all::SharedDtor() {
|
|
|
+ GOOGLE_DCHECK(GetArena() == nullptr);
|
|
|
if (this != internal_default_instance()) delete communication_parameters_;
|
|
|
}
|
|
|
|
|
|
+void Communication_parameter_all::ArenaDtor(void* object) {
|
|
|
+ Communication_parameter_all* _this = reinterpret_cast< Communication_parameter_all* >(object);
|
|
|
+ (void)_this;
|
|
|
+}
|
|
|
+void Communication_parameter_all::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
|
|
|
+}
|
|
|
void Communication_parameter_all::SetCachedSize(int size) const {
|
|
|
_cached_size_.Set(size);
|
|
|
}
|
|
|
-const ::google::protobuf::Descriptor* Communication_parameter_all::descriptor() {
|
|
|
- ::protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
const Communication_parameter_all& Communication_parameter_all::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_communication_2eproto::scc_info_Communication_parameter_all.base);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Communication_parameter_all_communication_2eproto.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
|
|
|
void Communication_parameter_all::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter_all)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::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 & 0x00000001u) {
|
|
|
- GOOGLE_DCHECK(communication_parameters_ != NULL);
|
|
|
+ GOOGLE_DCHECK(communication_parameters_ != nullptr);
|
|
|
communication_parameters_->Clear();
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool Communication_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:Communication_proto.Communication_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)) {
|
|
|
+ _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
|
+}
|
|
|
+
|
|
|
+const char* Communication_parameter_all::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
|
|
|
+#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
|
|
+ _Internal::HasBits has_bits{};
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
|
|
|
+ while (!ctx->Done(&ptr)) {
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 tag;
|
|
|
+ ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
|
|
|
+ CHK_(ptr);
|
|
|
+ switch (tag >> 3) {
|
|
|
// optional .Communication_proto.Communication_parameter communication_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, mutable_communication_parameters()));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
+ case 1:
|
|
|
+ if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
|
|
|
+ ptr = ctx->ParseMessage(_internal_mutable_communication_parameters(), ptr);
|
|
|
+ CHK_(ptr);
|
|
|
+ } else goto handle_unusual;
|
|
|
+ continue;
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
- if (tag == 0) {
|
|
|
+ if ((tag & 7) == 4 || tag == 0) {
|
|
|
+ ctx->SetLastTag(tag);
|
|
|
goto success;
|
|
|
}
|
|
|
- DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
- input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
- break;
|
|
|
+ ptr = UnknownFieldParse(tag,
|
|
|
+ _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
|
|
+ ptr, ctx);
|
|
|
+ CHK_(ptr != nullptr);
|
|
|
+ continue;
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+ } // switch
|
|
|
+ } // while
|
|
|
success:
|
|
|
- // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter_all)
|
|
|
- return true;
|
|
|
+ _has_bits_.Or(has_bits);
|
|
|
+ return ptr;
|
|
|
failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:Communication_proto.Communication_parameter_all)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void Communication_parameter_all::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:Communication_proto.Communication_parameter_all)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- // optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 1, this->_internal_communication_parameters(), output);
|
|
|
- }
|
|
|
-
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
- _internal_metadata_.unknown_fields(), output);
|
|
|
- }
|
|
|
- // @@protoc_insertion_point(serialize_end:Communication_proto.Communication_parameter_all)
|
|
|
+ ptr = nullptr;
|
|
|
+ goto success;
|
|
|
+#undef CHK_
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::uint8* Communication_parameter_all::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
+::PROTOBUF_NAMESPACE_ID::uint8* Communication_parameter_all::_InternalSerialize(
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:Communication_proto.Communication_parameter_all)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
// optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- InternalWriteMessageToArray(
|
|
|
- 1, this->_internal_communication_parameters(), deterministic, target);
|
|
|
+ target = stream->EnsureSpace(target);
|
|
|
+ target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
|
|
+ InternalWriteMessage(
|
|
|
+ 1, _Internal::communication_parameters(this), target, stream);
|
|
|
}
|
|
|
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
- _internal_metadata_.unknown_fields(), target);
|
|
|
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
+ target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
|
|
}
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter_all)
|
|
|
return target;
|
|
@@ -607,32 +525,36 @@ size_t Communication_parameter_all::ByteSizeLong() const {
|
|
|
// @@protoc_insertion_point(message_byte_size_start:Communication_proto.Communication_parameter_all)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
- if (_internal_metadata_.have_unknown_fields()) {
|
|
|
- total_size +=
|
|
|
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
- _internal_metadata_.unknown_fields());
|
|
|
- }
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
// optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
- if (has_communication_parameters()) {
|
|
|
+ cached_has_bits = _has_bits_[0];
|
|
|
+ if (cached_has_bits & 0x00000001u) {
|
|
|
total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
|
|
*communication_parameters_);
|
|
|
}
|
|
|
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
|
+ return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_, total_size, &_cached_size_);
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter_all::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+void Communication_parameter_all::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_start:Communication_proto.Communication_parameter_all)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
const Communication_parameter_all* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter_all>(
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Communication_parameter_all>(
|
|
|
&from);
|
|
|
- if (source == NULL) {
|
|
|
+ if (source == nullptr) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter_all)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter_all)
|
|
|
MergeFrom(*source);
|
|
@@ -642,16 +564,16 @@ void Communication_parameter_all::MergeFrom(const ::google::protobuf::Message& f
|
|
|
void Communication_parameter_all::MergeFrom(const Communication_parameter_all& from) {
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:Communication_proto.Communication_parameter_all)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
- if (from.has_communication_parameters()) {
|
|
|
- mutable_communication_parameters()->::Communication_proto::Communication_parameter::MergeFrom(from.communication_parameters());
|
|
|
+ if (from._internal_has_communication_parameters()) {
|
|
|
+ _internal_mutable_communication_parameters()->::Communication_proto::Communication_parameter::MergeFrom(from._internal_communication_parameters());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter_all::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+void Communication_parameter_all::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_copy_from_start:Communication_proto.Communication_parameter_all)
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
@@ -669,34 +591,28 @@ bool Communication_parameter_all::IsInitialized() const {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter_all::Swap(Communication_parameter_all* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
void Communication_parameter_all::InternalSwap(Communication_parameter_all* other) {
|
|
|
using std::swap;
|
|
|
- swap(communication_parameters_, other->communication_parameters_);
|
|
|
+ _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+ swap(communication_parameters_, other->communication_parameters_);
|
|
|
}
|
|
|
|
|
|
-::google::protobuf::Metadata Communication_parameter_all::GetMetadata() const {
|
|
|
- protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+::PROTOBUF_NAMESPACE_ID::Metadata Communication_parameter_all::GetMetadata() const {
|
|
|
+ return GetMetadataStatic();
|
|
|
}
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
} // namespace Communication_proto
|
|
|
-namespace google {
|
|
|
-namespace protobuf {
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Communication_proto::Communication_parameter* Arena::CreateMaybeMessage< ::Communication_proto::Communication_parameter >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::Communication_proto::Communication_parameter >(arena);
|
|
|
+PROTOBUF_NAMESPACE_OPEN
|
|
|
+template<> PROTOBUF_NOINLINE ::Communication_proto::Communication_parameter* Arena::CreateMaybeMessage< ::Communication_proto::Communication_parameter >(Arena* arena) {
|
|
|
+ return Arena::CreateMessageInternal< ::Communication_proto::Communication_parameter >(arena);
|
|
|
}
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Communication_proto::Communication_parameter_all* Arena::CreateMaybeMessage< ::Communication_proto::Communication_parameter_all >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::Communication_proto::Communication_parameter_all >(arena);
|
|
|
+template<> PROTOBUF_NOINLINE ::Communication_proto::Communication_parameter_all* Arena::CreateMaybeMessage< ::Communication_proto::Communication_parameter_all >(Arena* arena) {
|
|
|
+ return Arena::CreateMessageInternal< ::Communication_proto::Communication_parameter_all >(arena);
|
|
|
}
|
|
|
-} // namespace protobuf
|
|
|
-} // namespace google
|
|
|
+PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
+#include <google/protobuf/port_undef.inc>
|