// Generated by the protocol buffer compiler. DO NOT EDIT! // source: setting.proto #include "setting.pb.h" #include #include #include #include #include #include #include #include #include #include // This is a temporary google only hack #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS #include "third_party/protobuf/version.h" #endif // @@protoc_insertion_point(includes) namespace setting { class locate_settingDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _locate_setting_default_instance_; class global_settingDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _global_setting_default_instance_; } // namespace setting namespace protobuf_setting_2eproto { void InitDefaultslocate_settingImpl() { 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 = &::setting::_locate_setting_default_instance_; new (ptr) ::setting::locate_setting(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::setting::locate_setting::InitAsDefaultInstance(); } void InitDefaultslocate_setting() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultslocate_settingImpl); } void InitDefaultsglobal_settingImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); #else ::google::protobuf::internal::InitProtobufDefaults(); #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS protobuf_setting_2eproto::InitDefaultslocate_setting(); { void* ptr = &::setting::_global_setting_default_instance_; new (ptr) ::setting::global_setting(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::setting::global_setting::InitAsDefaultInstance(); } void InitDefaultsglobal_setting() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsglobal_settingImpl); } ::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(::setting::locate_setting, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::locate_setting, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::locate_setting, ip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::locate_setting, port_), 0, 1, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::global_setting, _has_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::global_setting, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::setting::global_setting, locate_parameter_), 0, }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 7, sizeof(::setting::locate_setting)}, { 9, 15, sizeof(::setting::global_setting)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::setting::_locate_setting_default_instance_), reinterpret_cast(&::setting::_global_setting_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "setting.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\rsetting.proto\022\007setting\"*\n\016locate_setti" "ng\022\n\n\002ip\030\001 \002(\t\022\014\n\004port\030\002 \002(\005\"C\n\016global_s" "etting\0221\n\020locate_parameter\030\001 \002(\0132\027.setti" "ng.locate_setting" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 137); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "setting.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_setting_2eproto namespace setting { // =================================================================== void locate_setting::InitAsDefaultInstance() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int locate_setting::kIpFieldNumber; const int locate_setting::kPortFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 locate_setting::locate_setting() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_setting_2eproto::InitDefaultslocate_setting(); } SharedCtor(); // @@protoc_insertion_point(constructor:setting.locate_setting) } locate_setting::locate_setting(const locate_setting& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_ip()) { ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ip_); } port_ = from.port_; // @@protoc_insertion_point(copy_constructor:setting.locate_setting) } void locate_setting::SharedCtor() { _cached_size_ = 0; ip_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); port_ = 0; } locate_setting::~locate_setting() { // @@protoc_insertion_point(destructor:setting.locate_setting) SharedDtor(); } void locate_setting::SharedDtor() { ip_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void locate_setting::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* locate_setting::descriptor() { ::protobuf_setting_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_setting_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const locate_setting& locate_setting::default_instance() { ::protobuf_setting_2eproto::InitDefaultslocate_setting(); return *internal_default_instance(); } locate_setting* locate_setting::New(::google::protobuf::Arena* arena) const { locate_setting* n = new locate_setting; if (arena != NULL) { arena->Own(n); } return n; } void locate_setting::Clear() { // @@protoc_insertion_point(message_clear_start:setting.locate_setting) ::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(!ip_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*ip_.UnsafeRawStringPointer())->clear(); } port_ = 0; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool locate_setting::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:setting.locate_setting) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string ip = 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_ip())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->ip().data(), static_cast(this->ip().length()), ::google::protobuf::internal::WireFormat::PARSE, "setting.locate_setting.ip"); } else { goto handle_unusual; } break; } // required int32 port = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { set_has_port(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &port_))); } 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:setting.locate_setting) return true; failure: // @@protoc_insertion_point(parse_failure:setting.locate_setting) return false; #undef DO_ } void locate_setting::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:setting.locate_setting) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string ip = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->ip().data(), static_cast(this->ip().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "setting.locate_setting.ip"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->ip(), output); } // required int32 port = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->port(), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:setting.locate_setting) } ::google::protobuf::uint8* locate_setting::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:setting.locate_setting) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string ip = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->ip().data(), static_cast(this->ip().length()), ::google::protobuf::internal::WireFormat::SERIALIZE, "setting.locate_setting.ip"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->ip(), target); } // required int32 port = 2; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->port(), 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:setting.locate_setting) return target; } size_t locate_setting::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:setting.locate_setting) size_t total_size = 0; if (has_ip()) { // required string ip = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->ip()); } if (has_port()) { // required int32 port = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->port()); } return total_size; } size_t locate_setting::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:setting.locate_setting) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string ip = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->ip()); // required int32 port = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->port()); } else { total_size += RequiredFieldsByteSizeFallback(); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = cached_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void locate_setting::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:setting.locate_setting) GOOGLE_DCHECK_NE(&from, this); const locate_setting* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:setting.locate_setting) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:setting.locate_setting) MergeFrom(*source); } } void locate_setting::MergeFrom(const locate_setting& from) { // @@protoc_insertion_point(class_specific_merge_from_start:setting.locate_setting) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { set_has_ip(); ip_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ip_); } if (cached_has_bits & 0x00000002u) { port_ = from.port_; } _has_bits_[0] |= cached_has_bits; } } void locate_setting::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:setting.locate_setting) if (&from == this) return; Clear(); MergeFrom(from); } void locate_setting::CopyFrom(const locate_setting& from) { // @@protoc_insertion_point(class_specific_copy_from_start:setting.locate_setting) if (&from == this) return; Clear(); MergeFrom(from); } bool locate_setting::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void locate_setting::Swap(locate_setting* other) { if (other == this) return; InternalSwap(other); } void locate_setting::InternalSwap(locate_setting* other) { using std::swap; ip_.Swap(&other->ip_); swap(port_, other->port_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata locate_setting::GetMetadata() const { protobuf_setting_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_setting_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void global_setting::InitAsDefaultInstance() { ::setting::_global_setting_default_instance_._instance.get_mutable()->locate_parameter_ = const_cast< ::setting::locate_setting*>( ::setting::locate_setting::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int global_setting::kLocateParameterFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 global_setting::global_setting() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { ::protobuf_setting_2eproto::InitDefaultsglobal_setting(); } SharedCtor(); // @@protoc_insertion_point(constructor:setting.global_setting) } global_setting::global_setting(const global_setting& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_locate_parameter()) { locate_parameter_ = new ::setting::locate_setting(*from.locate_parameter_); } else { locate_parameter_ = NULL; } // @@protoc_insertion_point(copy_constructor:setting.global_setting) } void global_setting::SharedCtor() { _cached_size_ = 0; locate_parameter_ = NULL; } global_setting::~global_setting() { // @@protoc_insertion_point(destructor:setting.global_setting) SharedDtor(); } void global_setting::SharedDtor() { if (this != internal_default_instance()) delete locate_parameter_; } void global_setting::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* global_setting::descriptor() { ::protobuf_setting_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_setting_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const global_setting& global_setting::default_instance() { ::protobuf_setting_2eproto::InitDefaultsglobal_setting(); return *internal_default_instance(); } global_setting* global_setting::New(::google::protobuf::Arena* arena) const { global_setting* n = new global_setting; if (arena != NULL) { arena->Own(n); } return n; } void global_setting::Clear() { // @@protoc_insertion_point(message_clear_start:setting.global_setting) ::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(locate_parameter_ != NULL); locate_parameter_->Clear(); } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool global_setting::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:setting.global_setting) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .setting.locate_setting locate_parameter = 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_locate_parameter())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:setting.global_setting) return true; failure: // @@protoc_insertion_point(parse_failure:setting.global_setting) return false; #undef DO_ } void global_setting::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:setting.global_setting) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .setting.locate_setting locate_parameter = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, *this->locate_parameter_, output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:setting.global_setting) } ::google::protobuf::uint8* global_setting::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:setting.global_setting) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .setting.locate_setting locate_parameter = 1; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, *this->locate_parameter_, 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:setting.global_setting) return target; } size_t global_setting::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:setting.global_setting) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } // required .setting.locate_setting locate_parameter = 1; if (has_locate_parameter()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *this->locate_parameter_); } 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 global_setting::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:setting.global_setting) GOOGLE_DCHECK_NE(&from, this); const global_setting* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:setting.global_setting) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:setting.global_setting) MergeFrom(*source); } } void global_setting::MergeFrom(const global_setting& from) { // @@protoc_insertion_point(class_specific_merge_from_start:setting.global_setting) 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_locate_parameter()) { mutable_locate_parameter()->::setting::locate_setting::MergeFrom(from.locate_parameter()); } } void global_setting::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:setting.global_setting) if (&from == this) return; Clear(); MergeFrom(from); } void global_setting::CopyFrom(const global_setting& from) { // @@protoc_insertion_point(class_specific_copy_from_start:setting.global_setting) if (&from == this) return; Clear(); MergeFrom(from); } bool global_setting::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; if (has_locate_parameter()) { if (!this->locate_parameter_->IsInitialized()) return false; } return true; } void global_setting::Swap(global_setting* other) { if (other == this) return; InternalSwap(other); } void global_setting::InternalSwap(global_setting* other) { using std::swap; swap(locate_parameter_, other->locate_parameter_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata global_setting::GetMetadata() const { protobuf_setting_2eproto::protobuf_AssignDescriptorsOnce(); return ::protobuf_setting_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace setting // @@protoc_insertion_point(global_scope)