|
@@ -0,0 +1,729 @@
|
|
|
+// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
+// source: communication.proto
|
|
|
+
|
|
|
+#include "communication.pb.h"
|
|
|
+
|
|
|
+#include <algorithm>
|
|
|
+
|
|
|
+#include <google/protobuf/stubs/common.h>
|
|
|
+#include <google/protobuf/stubs/port.h>
|
|
|
+#include <google/protobuf/stubs/once.h>
|
|
|
+#include <google/protobuf/io/coded_stream.h>
|
|
|
+#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
+#include <google/protobuf/descriptor.h>
|
|
|
+#include <google/protobuf/generated_message_reflection.h>
|
|
|
+#include <google/protobuf/reflection_ops.h>
|
|
|
+#include <google/protobuf/wire_format.h>
|
|
|
+// This is a temporary google only hack
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+#include "third_party/protobuf/version.h"
|
|
|
+#endif
|
|
|
+// @@protoc_insertion_point(includes)
|
|
|
+namespace Communication_proto {
|
|
|
+class Communication_parameterDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter>
|
|
|
+ _instance;
|
|
|
+} _Communication_parameter_default_instance_;
|
|
|
+class Communication_parameter_allDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<Communication_parameter_all>
|
|
|
+ _instance;
|
|
|
+} _Communication_parameter_all_default_instance_;
|
|
|
+} // namespace Communication_proto
|
|
|
+namespace protobuf_communication_2eproto {
|
|
|
+void InitDefaultsCommunication_parameterImpl() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
+#else
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
+#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ {
|
|
|
+ void* ptr = &::Communication_proto::_Communication_parameter_default_instance_;
|
|
|
+ new (ptr) ::Communication_proto::Communication_parameter();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::Communication_proto::Communication_parameter::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+void InitDefaultsCommunication_parameter() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCommunication_parameterImpl);
|
|
|
+}
|
|
|
+
|
|
|
+void InitDefaultsCommunication_parameter_allImpl() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
+#else
|
|
|
+ ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
+#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+ protobuf_communication_2eproto::InitDefaultsCommunication_parameter();
|
|
|
+ {
|
|
|
+ void* ptr = &::Communication_proto::_Communication_parameter_all_default_instance_;
|
|
|
+ new (ptr) ::Communication_proto::Communication_parameter_all();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::Communication_proto::Communication_parameter_all::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+void InitDefaultsCommunication_parameter_all() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCommunication_parameter_allImpl);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata file_level_metadata[2];
|
|
|
+
|
|
|
+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_
|
|
|
+ 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,
|
|
|
+ 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_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Communication_proto::Communication_parameter_all, communication_parameters_),
|
|
|
+ 0,
|
|
|
+};
|
|
|
+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 ::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_),
|
|
|
+};
|
|
|
+
|
|
|
+void protobuf_AssignDescriptors() {
|
|
|
+ AddDescriptors();
|
|
|
+ ::google::protobuf::MessageFactory* factory = NULL;
|
|
|
+ AssignDescriptors(
|
|
|
+ "communication.proto", schemas, file_default_instances, TableStruct::offsets, factory,
|
|
|
+ file_level_metadata, NULL, NULL);
|
|
|
+}
|
|
|
+
|
|
|
+void protobuf_AssignDescriptorsOnce() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
|
|
|
+}
|
|
|
+
|
|
|
+void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
|
|
|
+void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
+ protobuf_AssignDescriptorsOnce();
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 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);
|
|
|
+}
|
|
|
+
|
|
|
+void AddDescriptors() {
|
|
|
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
+ ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
|
|
|
+}
|
|
|
+// Force AddDescriptors() to be called at dynamic initialization time.
|
|
|
+struct StaticDescriptorInitializer {
|
|
|
+ StaticDescriptorInitializer() {
|
|
|
+ AddDescriptors();
|
|
|
+ }
|
|
|
+} static_descriptor_initializer;
|
|
|
+} // namespace protobuf_communication_2eproto
|
|
|
+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
|
|
|
+
|
|
|
+Communication_parameter::Communication_parameter()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
+ ::protobuf_communication_2eproto::InitDefaultsCommunication_parameter();
|
|
|
+ }
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter)
|
|
|
+}
|
|
|
+Communication_parameter::Communication_parameter(const Communication_parameter& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ _has_bits_(from._has_bits_),
|
|
|
+ _cached_size_(0),
|
|
|
+ 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_);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter)
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter::SharedCtor() {
|
|
|
+ _cached_size_ = 0;
|
|
|
+ bind_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+Communication_parameter::~Communication_parameter() {
|
|
|
+ // @@protoc_insertion_point(destructor:Communication_proto.Communication_parameter)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter::SharedDtor() {
|
|
|
+ bind_string_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+}
|
|
|
+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_communication_2eproto::InitDefaultsCommunication_parameter();
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+Communication_parameter* Communication_parameter::New(::google::protobuf::Arena* arena) const {
|
|
|
+ Communication_parameter* n = new Communication_parameter;
|
|
|
+ if (arena != NULL) {
|
|
|
+ arena->Own(n);
|
|
|
+ }
|
|
|
+ return n;
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter)
|
|
|
+ ::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) {
|
|
|
+ GOOGLE_DCHECK(!bind_string_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
+ (*bind_string_.UnsafeRawStringPointer())->clear();
|
|
|
+ }
|
|
|
+ _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)) {
|
|
|
+ // 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;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 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;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter)
|
|
|
+ return true;
|
|
|
+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)
|
|
|
+}
|
|
|
+
|
|
|
+::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)
|
|
|
+ ::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");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 1, this->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,
|
|
|
+ "Communication_proto.Communication_parameter.connect_string_vector");
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ WriteStringToArray(2, this->connect_string_vector(i), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+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());
|
|
|
+ }
|
|
|
+ // 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));
|
|
|
+ }
|
|
|
+
|
|
|
+ // optional string bind_string = 1;
|
|
|
+ if (has_bind_string()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->bind_string());
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = cached_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void 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 =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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;
|
|
|
+ (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_);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter::CopyFrom(const Communication_parameter& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:Communication_proto.Communication_parameter)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+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(&other->connect_string_vector_);
|
|
|
+ bind_string_.Swap(&other->bind_string_);
|
|
|
+ swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+ swap(_cached_size_, other->_cached_size_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata Communication_parameter::GetMetadata() const {
|
|
|
+ protobuf_communication_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_communication_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+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
|
|
|
+
|
|
|
+Communication_parameter_all::Communication_parameter_all()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
+ ::protobuf_communication_2eproto::InitDefaultsCommunication_parameter_all();
|
|
|
+ }
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:Communication_proto.Communication_parameter_all)
|
|
|
+}
|
|
|
+Communication_parameter_all::Communication_parameter_all(const Communication_parameter_all& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ _has_bits_(from._has_bits_),
|
|
|
+ _cached_size_(0) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ if (from.has_communication_parameters()) {
|
|
|
+ communication_parameters_ = new ::Communication_proto::Communication_parameter(*from.communication_parameters_);
|
|
|
+ } else {
|
|
|
+ communication_parameters_ = NULL;
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(copy_constructor:Communication_proto.Communication_parameter_all)
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter_all::SharedCtor() {
|
|
|
+ _cached_size_ = 0;
|
|
|
+ communication_parameters_ = NULL;
|
|
|
+}
|
|
|
+
|
|
|
+Communication_parameter_all::~Communication_parameter_all() {
|
|
|
+ // @@protoc_insertion_point(destructor:Communication_proto.Communication_parameter_all)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter_all::SharedDtor() {
|
|
|
+ if (this != internal_default_instance()) delete communication_parameters_;
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter_all::SetCachedSize(int size) const {
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+}
|
|
|
+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_communication_2eproto::InitDefaultsCommunication_parameter_all();
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+Communication_parameter_all* Communication_parameter_all::New(::google::protobuf::Arena* arena) const {
|
|
|
+ Communication_parameter_all* n = new Communication_parameter_all;
|
|
|
+ if (arena != NULL) {
|
|
|
+ arena->Own(n);
|
|
|
+ }
|
|
|
+ return n;
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter_all::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:Communication_proto.Communication_parameter_all)
|
|
|
+ ::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_ != NULL);
|
|
|
+ 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)) {
|
|
|
+ // 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;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:Communication_proto.Communication_parameter_all)
|
|
|
+ return true;
|
|
|
+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->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)
|
|
|
+}
|
|
|
+
|
|
|
+::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)
|
|
|
+ ::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 = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 1, *this->communication_parameters_, deterministic, target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (_internal_metadata_.have_unknown_fields()) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ _internal_metadata_.unknown_fields(), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:Communication_proto.Communication_parameter_all)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+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());
|
|
|
+ }
|
|
|
+ // optional .Communication_proto.Communication_parameter communication_parameters = 1;
|
|
|
+ if (has_communication_parameters()) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ *this->communication_parameters_);
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
+ _cached_size_ = cached_size;
|
|
|
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void 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 =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const Communication_parameter_all>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:Communication_proto.Communication_parameter_all)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:Communication_proto.Communication_parameter_all)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if (from.has_communication_parameters()) {
|
|
|
+ mutable_communication_parameters()->::Communication_proto::Communication_parameter::MergeFrom(from.communication_parameters());
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+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();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void Communication_parameter_all::CopyFrom(const Communication_parameter_all& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:Communication_proto.Communication_parameter_all)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+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_);
|
|
|
+ swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+ swap(_cached_size_, other->_cached_size_);
|
|
|
+}
|
|
|
+
|
|
|
+::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
|
|
|
+
|
|
|
+// @@protoc_insertion_point(global_scope)
|