|
@@ -5,280 +5,347 @@
|
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
+#include <google/protobuf/stubs/common.h>
|
|
|
+#include <google/protobuf/stubs/port.h>
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
-#include <google/protobuf/extension_set.h>
|
|
|
-#include <google/protobuf/wire_format_lite.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)
|
|
|
-#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 protobuf_communication_2eproto {
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_communication_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Communication_parameter;
|
|
|
+} // namespace protobuf_communication_2eproto
|
|
|
namespace Communication_proto {
|
|
|
class Communication_parameterDefaultTypeInternal {
|
|
|
public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Communication_parameter> _instance;
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter>
|
|
|
+ _instance;
|
|
|
} _Communication_parameter_default_instance_;
|
|
|
class Communication_parameter_allDefaultTypeInternal {
|
|
|
public:
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Communication_parameter_all> _instance;
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter_all>
|
|
|
+ _instance;
|
|
|
} _Communication_parameter_all_default_instance_;
|
|
|
} // namespace Communication_proto
|
|
|
-static void InitDefaultsscc_info_Communication_parameter_communication_2eproto() {
|
|
|
+namespace protobuf_communication_2eproto {
|
|
|
+static void InitDefaultsCommunication_parameter() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
{
|
|
|
void* ptr = &::Communication_proto::_Communication_parameter_default_instance_;
|
|
|
new (ptr) ::Communication_proto::Communication_parameter();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
::Communication_proto::Communication_parameter::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-::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}, {}};
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_Communication_parameter =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCommunication_parameter}, {}};
|
|
|
|
|
|
-static void InitDefaultsscc_info_Communication_parameter_all_communication_2eproto() {
|
|
|
+static void InitDefaultsCommunication_parameter_all() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
{
|
|
|
void* ptr = &::Communication_proto::_Communication_parameter_all_default_instance_;
|
|
|
new (ptr) ::Communication_proto::Communication_parameter_all();
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
}
|
|
|
::Communication_proto::Communication_parameter_all::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-::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::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);
|
|
|
+}
|
|
|
|
|
|
-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;
|
|
|
+::google::protobuf::Metadata file_level_metadata[2];
|
|
|
|
|
|
-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_),
|
|
|
+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_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, bind_string_),
|
|
|
- PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter, connect_string_vector_),
|
|
|
+ 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_),
|
|
|
0,
|
|
|
~0u,
|
|
|
- PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _has_bits_),
|
|
|
- PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, _internal_metadata_),
|
|
|
+ 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_),
|
|
|
~0u, // no _extensions_
|
|
|
~0u, // no _oneof_case_
|
|
|
~0u, // no _weak_field_map_
|
|
|
- PROTOBUF_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, communication_parameters_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, communication_parameters_),
|
|
|
0,
|
|
|
};
|
|
|
-static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
{ 0, 7, sizeof(::Communication_proto::Communication_parameter)},
|
|
|
{ 9, 15, sizeof(::Communication_proto::Communication_parameter_all)},
|
|
|
};
|
|
|
|
|
|
-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_),
|
|
|
+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_),
|
|
|
};
|
|
|
|
|
|
-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 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);
|
|
|
+}
|
|
|
|
|
|
-// 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);
|
|
|
+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);
|
|
|
+}
|
|
|
+
|
|
|
+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
|
|
|
namespace Communication_proto {
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
|
void Communication_parameter::InitAsDefaultInstance() {
|
|
|
}
|
|
|
-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;
|
|
|
- }
|
|
|
-};
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int Communication_parameter::kBindStringFieldNumber;
|
|
|
+const int Communication_parameter::kConnectStringVectorFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
-Communication_parameter::Communication_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(arena),
|
|
|
- connect_string_vector_(arena) {
|
|
|
+Communication_parameter::Communication_parameter()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_communication_2eproto::scc_info_Communication_parameter.base);
|
|
|
SharedCtor();
|
|
|
- RegisterArenaDtor(arena);
|
|
|
- // @@protoc_insertion_point(arena_constructor:Communication_proto.Communication_parameter)
|
|
|
+ // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter)
|
|
|
}
|
|
|
Communication_parameter::Communication_parameter(const Communication_parameter& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
_has_bits_(from._has_bits_),
|
|
|
connect_string_vector_(from.connect_string_vector_) {
|
|
|
- _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());
|
|
|
+ _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_);
|
|
|
}
|
|
|
// @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter)
|
|
|
}
|
|
|
|
|
|
void Communication_parameter::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Communication_parameter_communication_2eproto.base);
|
|
|
- bind_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
+ bind_string_.UnsafeSetDefault(&::google::protobuf::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() {
|
|
|
- GOOGLE_DCHECK(GetArena() == nullptr);
|
|
|
- bind_string_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
+ bind_string_.DestroyNoArena(&::google::protobuf::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() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Communication_parameter_communication_2eproto.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_communication_2eproto::scc_info_Communication_parameter.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
|
|
|
void Communication_parameter::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ ::google::protobuf::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_.ClearNonDefaultToEmpty();
|
|
|
+ bind_string_.ClearNonDefaultToEmptyNoArena();
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
- _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) {
|
|
|
+ _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)) {
|
|
|
// optional string bind_string = 1;
|
|
|
- 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;
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
// repeated string connect_string_vector = 2;
|
|
|
- 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;
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
+ if (tag == 0) {
|
|
|
goto success;
|
|
|
}
|
|
|
- ptr = UnknownFieldParse(tag,
|
|
|
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
|
|
- ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
}
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
+ }
|
|
|
+ }
|
|
|
success:
|
|
|
- _has_bits_.Or(has_bits);
|
|
|
- return ptr;
|
|
|
+ // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter)
|
|
|
+ return true;
|
|
|
failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
+ // @@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)
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* Communication_parameter::_InternalSerialize(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
+::google::protobuf::uint8* Communication_parameter::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:Communication_proto.Communication_parameter)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ ::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) {
|
|
|
- ::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,
|
|
|
+ ::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");
|
|
|
- target = stream->WriteStringMaybeAliased(
|
|
|
- 1, this->_internal_bind_string(), target);
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 1, this->bind_string(), target);
|
|
|
}
|
|
|
|
|
|
// repeated string connect_string_vector = 2;
|
|
|
- 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,
|
|
|
+ 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");
|
|
|
- target = stream->WriteString(2, s, target);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ WriteStringToArray(2, this->connect_string_vector(i), 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);
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
}
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter)
|
|
|
return target;
|
|
@@ -288,44 +355,40 @@ size_t Communication_parameter::ByteSizeLong() const {
|
|
|
// @@protoc_insertion_point(message_byte_size_start:Communication_proto.Communication_parameter)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_.unknown_fields());
|
|
|
+ }
|
|
|
// repeated string connect_string_vector = 2;
|
|
|
total_size += 1 *
|
|
|
- ::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));
|
|
|
+ ::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));
|
|
|
}
|
|
|
|
|
|
// optional string bind_string = 1;
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
+ if (has_bind_string()) {
|
|
|
total_size += 1 +
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
|
|
- this->_internal_bind_string());
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->bind_string());
|
|
|
}
|
|
|
|
|
|
- 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);
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
+void Communication_parameter::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_start:Communication_proto.Communication_parameter)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
const Communication_parameter* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Communication_parameter>(
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter>(
|
|
|
&from);
|
|
|
- if (source == nullptr) {
|
|
|
+ if (source == NULL) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter)
|
|
|
MergeFrom(*source);
|
|
@@ -335,17 +398,18 @@ void Communication_parameter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message&
|
|
|
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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
connect_string_vector_.MergeFrom(from.connect_string_vector_);
|
|
|
- if (from._internal_has_bind_string()) {
|
|
|
- _internal_set_bind_string(from._internal_bind_string());
|
|
|
+ if (from.has_bind_string()) {
|
|
|
+ set_has_bind_string();
|
|
|
+ bind_string_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.bind_string_);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
+void Communication_parameter::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_copy_from_start:Communication_proto.Communication_parameter)
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
@@ -363,16 +427,22 @@ 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;
|
|
|
- _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
|
|
|
+ connect_string_vector_.InternalSwap(CastToBase(&other->connect_string_vector_));
|
|
|
+ bind_string_.Swap(&other->bind_string_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
- connect_string_vector_.InternalSwap(&other->connect_string_vector_);
|
|
|
- bind_string_.Swap(&other->bind_string_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata Communication_parameter::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::google::protobuf::Metadata Communication_parameter::GetMetadata() const {
|
|
|
+ protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
}
|
|
|
|
|
|
|
|
@@ -382,140 +452,152 @@ 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());
|
|
|
}
|
|
|
-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;
|
|
|
- }
|
|
|
-};
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int Communication_parameter_all::kCommunicationParametersFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
|
|
|
-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) {
|
|
|
+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);
|
|
|
SharedCtor();
|
|
|
- RegisterArenaDtor(arena);
|
|
|
- // @@protoc_insertion_point(arena_constructor:Communication_proto.Communication_parameter_all)
|
|
|
+ // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter_all)
|
|
|
}
|
|
|
Communication_parameter_all::Communication_parameter_all(const Communication_parameter_all& from)
|
|
|
- : ::PROTOBUF_NAMESPACE_ID::Message(),
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
_has_bits_(from._has_bits_) {
|
|
|
- _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
- if (from._internal_has_communication_parameters()) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ if (from.has_communication_parameters()) {
|
|
|
communication_parameters_ = new ::Communication_proto::Communication_parameter(*from.communication_parameters_);
|
|
|
} else {
|
|
|
- communication_parameters_ = nullptr;
|
|
|
+ communication_parameters_ = NULL;
|
|
|
}
|
|
|
// @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter_all)
|
|
|
}
|
|
|
|
|
|
void Communication_parameter_all::SharedCtor() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Communication_parameter_all_communication_2eproto.base);
|
|
|
- communication_parameters_ = nullptr;
|
|
|
+ communication_parameters_ = NULL;
|
|
|
}
|
|
|
|
|
|
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() {
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Communication_parameter_all_communication_2eproto.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_communication_2eproto::scc_info_Communication_parameter_all.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
|
|
|
void Communication_parameter_all::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter_all)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ ::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 & 0x00000001u) {
|
|
|
- GOOGLE_DCHECK(communication_parameters_ != nullptr);
|
|
|
+ GOOGLE_DCHECK(communication_parameters_ != NULL);
|
|
|
communication_parameters_->Clear();
|
|
|
}
|
|
|
_has_bits_.Clear();
|
|
|
- _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) {
|
|
|
+ _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)) {
|
|
|
// optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
- 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;
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
default: {
|
|
|
handle_unusual:
|
|
|
- if ((tag & 7) == 4 || tag == 0) {
|
|
|
- ctx->SetLastTag(tag);
|
|
|
+ if (tag == 0) {
|
|
|
goto success;
|
|
|
}
|
|
|
- ptr = UnknownFieldParse(tag,
|
|
|
- _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
|
|
- ptr, ctx);
|
|
|
- CHK_(ptr != nullptr);
|
|
|
- continue;
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
}
|
|
|
- } // switch
|
|
|
- } // while
|
|
|
+ }
|
|
|
+ }
|
|
|
success:
|
|
|
- _has_bits_.Or(has_bits);
|
|
|
- return ptr;
|
|
|
+ // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter_all)
|
|
|
+ return true;
|
|
|
failure:
|
|
|
- ptr = nullptr;
|
|
|
- goto success;
|
|
|
-#undef CHK_
|
|
|
+ // @@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)
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::uint8* Communication_parameter_all::_InternalSerialize(
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
|
+::google::protobuf::uint8* Communication_parameter_all::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:Communication_proto.Communication_parameter_all)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ ::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) {
|
|
|
- target = stream->EnsureSpace(target);
|
|
|
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
|
|
- InternalWriteMessage(
|
|
|
- 1, _Internal::communication_parameters(this), target, stream);
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 1, this->_internal_communication_parameters(), deterministic, 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);
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
}
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter_all)
|
|
|
return target;
|
|
@@ -525,36 +607,32 @@ size_t Communication_parameter_all::ByteSizeLong() const {
|
|
|
// @@protoc_insertion_point(message_byte_size_start:Communication_proto.Communication_parameter_all)
|
|
|
size_t total_size = 0;
|
|
|
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ _internal_metadata_.unknown_fields());
|
|
|
+ }
|
|
|
// optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
- cached_has_bits = _has_bits_[0];
|
|
|
- if (cached_has_bits & 0x00000001u) {
|
|
|
+ if (has_communication_parameters()) {
|
|
|
total_size += 1 +
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
*communication_parameters_);
|
|
|
}
|
|
|
|
|
|
- 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);
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter_all::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
+void Communication_parameter_all::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_start:Communication_proto.Communication_parameter_all)
|
|
|
GOOGLE_DCHECK_NE(&from, this);
|
|
|
const Communication_parameter_all* source =
|
|
|
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Communication_parameter_all>(
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter_all>(
|
|
|
&from);
|
|
|
- if (source == nullptr) {
|
|
|
+ if (source == NULL) {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter_all)
|
|
|
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
} else {
|
|
|
// @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter_all)
|
|
|
MergeFrom(*source);
|
|
@@ -564,16 +642,16 @@ void Communication_parameter_all::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Messa
|
|
|
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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
|
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
(void) cached_has_bits;
|
|
|
|
|
|
- if (from._internal_has_communication_parameters()) {
|
|
|
- _internal_mutable_communication_parameters()->::Communication_proto::Communication_parameter::MergeFrom(from._internal_communication_parameters());
|
|
|
+ if (from.has_communication_parameters()) {
|
|
|
+ mutable_communication_parameters()->::Communication_proto::Communication_parameter::MergeFrom(from.communication_parameters());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void Communication_parameter_all::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
|
|
|
+void Communication_parameter_all::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
// @@protoc_insertion_point(generalized_copy_from_start:Communication_proto.Communication_parameter_all)
|
|
|
if (&from == this) return;
|
|
|
Clear();
|
|
@@ -591,28 +669,34 @@ 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;
|
|
|
- _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
|
|
|
- swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
swap(communication_parameters_, other->communication_parameters_);
|
|
|
+ swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
}
|
|
|
|
|
|
-::PROTOBUF_NAMESPACE_ID::Metadata Communication_parameter_all::GetMetadata() const {
|
|
|
- return GetMetadataStatic();
|
|
|
+::google::protobuf::Metadata Communication_parameter_all::GetMetadata() const {
|
|
|
+ protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
}
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
} // namespace Communication_proto
|
|
|
-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);
|
|
|
+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);
|
|
|
}
|
|
|
-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);
|
|
|
+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);
|
|
|
}
|
|
|
-PROTOBUF_NAMESPACE_CLOSE
|
|
|
+} // namespace protobuf
|
|
|
+} // namespace google
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
-#include <google/protobuf/port_undef.inc>
|