// Generated by the protocol buffer compiler. DO NOT EDIT! // source: database_communication_configuration.proto #ifndef PROTOBUF_database_5fcommunication_5fconfiguration_2eproto__INCLUDED #define PROTOBUF_database_5fcommunication_5fconfiguration_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 3005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) namespace protobuf_database_5fcommunication_5fconfiguration_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[2]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); void InitDefaultsDatabase_communication_configurationImpl(); void InitDefaultsDatabase_communication_configuration(); void InitDefaultsDatabase_communication_configuration_allImpl(); void InitDefaultsDatabase_communication_configuration_all(); inline void InitDefaults() { InitDefaultsDatabase_communication_configuration(); InitDefaultsDatabase_communication_configuration_all(); } } // namespace protobuf_database_5fcommunication_5fconfiguration_2eproto namespace parkspace_proto { class Database_communication_configuration; class Database_communication_configurationDefaultTypeInternal; extern Database_communication_configurationDefaultTypeInternal _Database_communication_configuration_default_instance_; class Database_communication_configuration_all; class Database_communication_configuration_allDefaultTypeInternal; extern Database_communication_configuration_allDefaultTypeInternal _Database_communication_configuration_all_default_instance_; } // namespace parkspace_proto namespace parkspace_proto { // =================================================================== class Database_communication_configuration : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:parkspace_proto.Database_communication_configuration) */ { public: Database_communication_configuration(); virtual ~Database_communication_configuration(); Database_communication_configuration(const Database_communication_configuration& from); inline Database_communication_configuration& operator=(const Database_communication_configuration& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Database_communication_configuration(Database_communication_configuration&& from) noexcept : Database_communication_configuration() { *this = ::std::move(from); } inline Database_communication_configuration& operator=(Database_communication_configuration&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Database_communication_configuration& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Database_communication_configuration* internal_default_instance() { return reinterpret_cast( &_Database_communication_configuration_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; void Swap(Database_communication_configuration* other); friend void swap(Database_communication_configuration& a, Database_communication_configuration& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Database_communication_configuration* New() const PROTOBUF_FINAL { return New(NULL); } Database_communication_configuration* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Database_communication_configuration& from); void MergeFrom(const Database_communication_configuration& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Database_communication_configuration* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required string db_ip = 1; bool has_db_ip() const; void clear_db_ip(); static const int kDbIpFieldNumber = 1; const ::std::string& db_ip() const; void set_db_ip(const ::std::string& value); #if LANG_CXX11 void set_db_ip(::std::string&& value); #endif void set_db_ip(const char* value); void set_db_ip(const char* value, size_t size); ::std::string* mutable_db_ip(); ::std::string* release_db_ip(); void set_allocated_db_ip(::std::string* db_ip); // required string db_username = 3; bool has_db_username() const; void clear_db_username(); static const int kDbUsernameFieldNumber = 3; const ::std::string& db_username() const; void set_db_username(const ::std::string& value); #if LANG_CXX11 void set_db_username(::std::string&& value); #endif void set_db_username(const char* value); void set_db_username(const char* value, size_t size); ::std::string* mutable_db_username(); ::std::string* release_db_username(); void set_allocated_db_username(::std::string* db_username); // optional string db_passwd = 4 [default = ""]; bool has_db_passwd() const; void clear_db_passwd(); static const int kDbPasswdFieldNumber = 4; const ::std::string& db_passwd() const; void set_db_passwd(const ::std::string& value); #if LANG_CXX11 void set_db_passwd(::std::string&& value); #endif void set_db_passwd(const char* value); void set_db_passwd(const char* value, size_t size); ::std::string* mutable_db_passwd(); ::std::string* release_db_passwd(); void set_allocated_db_passwd(::std::string* db_passwd); // required string db_name = 5; bool has_db_name() const; void clear_db_name(); static const int kDbNameFieldNumber = 5; const ::std::string& db_name() const; void set_db_name(const ::std::string& value); #if LANG_CXX11 void set_db_name(::std::string&& value); #endif void set_db_name(const char* value); void set_db_name(const char* value, size_t size); ::std::string* mutable_db_name(); ::std::string* release_db_name(); void set_allocated_db_name(::std::string* db_name); // required int64 db_port = 2; bool has_db_port() const; void clear_db_port(); static const int kDbPortFieldNumber = 2; ::google::protobuf::int64 db_port() const; void set_db_port(::google::protobuf::int64 value); // optional int64 db_conn_pool_size = 6; bool has_db_conn_pool_size() const; void clear_db_conn_pool_size(); static const int kDbConnPoolSizeFieldNumber = 6; ::google::protobuf::int64 db_conn_pool_size() const; void set_db_conn_pool_size(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:parkspace_proto.Database_communication_configuration) private: void set_has_db_ip(); void clear_has_db_ip(); void set_has_db_port(); void clear_has_db_port(); void set_has_db_username(); void clear_has_db_username(); void set_has_db_passwd(); void clear_has_db_passwd(); void set_has_db_name(); void clear_has_db_name(); void set_has_db_conn_pool_size(); void clear_has_db_conn_pool_size(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::google::protobuf::internal::ArenaStringPtr db_ip_; ::google::protobuf::internal::ArenaStringPtr db_username_; ::google::protobuf::internal::ArenaStringPtr db_passwd_; ::google::protobuf::internal::ArenaStringPtr db_name_; ::google::protobuf::int64 db_port_; ::google::protobuf::int64 db_conn_pool_size_; friend struct ::protobuf_database_5fcommunication_5fconfiguration_2eproto::TableStruct; friend void ::protobuf_database_5fcommunication_5fconfiguration_2eproto::InitDefaultsDatabase_communication_configurationImpl(); }; // ------------------------------------------------------------------- class Database_communication_configuration_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:parkspace_proto.Database_communication_configuration_all) */ { public: Database_communication_configuration_all(); virtual ~Database_communication_configuration_all(); Database_communication_configuration_all(const Database_communication_configuration_all& from); inline Database_communication_configuration_all& operator=(const Database_communication_configuration_all& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Database_communication_configuration_all(Database_communication_configuration_all&& from) noexcept : Database_communication_configuration_all() { *this = ::std::move(from); } inline Database_communication_configuration_all& operator=(Database_communication_configuration_all&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ::google::protobuf::Descriptor* descriptor(); static const Database_communication_configuration_all& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Database_communication_configuration_all* internal_default_instance() { return reinterpret_cast( &_Database_communication_configuration_all_default_instance_); } static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 1; void Swap(Database_communication_configuration_all* other); friend void swap(Database_communication_configuration_all& a, Database_communication_configuration_all& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Database_communication_configuration_all* New() const PROTOBUF_FINAL { return New(NULL); } Database_communication_configuration_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Database_communication_configuration_all& from); void MergeFrom(const Database_communication_configuration_all& from); void Clear() PROTOBUF_FINAL; bool IsInitialized() const PROTOBUF_FINAL; size_t ByteSizeLong() const PROTOBUF_FINAL; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Database_communication_configuration_all* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .parkspace_proto.Database_communication_configuration database_communication_configurations = 1; bool has_database_communication_configurations() const; void clear_database_communication_configurations(); static const int kDatabaseCommunicationConfigurationsFieldNumber = 1; const ::parkspace_proto::Database_communication_configuration& database_communication_configurations() const; ::parkspace_proto::Database_communication_configuration* release_database_communication_configurations(); ::parkspace_proto::Database_communication_configuration* mutable_database_communication_configurations(); void set_allocated_database_communication_configurations(::parkspace_proto::Database_communication_configuration* database_communication_configurations); // @@protoc_insertion_point(class_scope:parkspace_proto.Database_communication_configuration_all) private: void set_has_database_communication_configurations(); void clear_has_database_communication_configurations(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::HasBits<1> _has_bits_; mutable int _cached_size_; ::parkspace_proto::Database_communication_configuration* database_communication_configurations_; friend struct ::protobuf_database_5fcommunication_5fconfiguration_2eproto::TableStruct; friend void ::protobuf_database_5fcommunication_5fconfiguration_2eproto::InitDefaultsDatabase_communication_configuration_allImpl(); }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Database_communication_configuration // required string db_ip = 1; inline bool Database_communication_configuration::has_db_ip() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Database_communication_configuration::set_has_db_ip() { _has_bits_[0] |= 0x00000001u; } inline void Database_communication_configuration::clear_has_db_ip() { _has_bits_[0] &= ~0x00000001u; } inline void Database_communication_configuration::clear_db_ip() { db_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_db_ip(); } inline const ::std::string& Database_communication_configuration::db_ip() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_ip) return db_ip_.GetNoArena(); } inline void Database_communication_configuration::set_db_ip(const ::std::string& value) { set_has_db_ip(); db_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_ip) } #if LANG_CXX11 inline void Database_communication_configuration::set_db_ip(::std::string&& value) { set_has_db_ip(); db_ip_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:parkspace_proto.Database_communication_configuration.db_ip) } #endif inline void Database_communication_configuration::set_db_ip(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_db_ip(); db_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:parkspace_proto.Database_communication_configuration.db_ip) } inline void Database_communication_configuration::set_db_ip(const char* value, size_t size) { set_has_db_ip(); db_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:parkspace_proto.Database_communication_configuration.db_ip) } inline ::std::string* Database_communication_configuration::mutable_db_ip() { set_has_db_ip(); // @@protoc_insertion_point(field_mutable:parkspace_proto.Database_communication_configuration.db_ip) return db_ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Database_communication_configuration::release_db_ip() { // @@protoc_insertion_point(field_release:parkspace_proto.Database_communication_configuration.db_ip) clear_has_db_ip(); return db_ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Database_communication_configuration::set_allocated_db_ip(::std::string* db_ip) { if (db_ip != NULL) { set_has_db_ip(); } else { clear_has_db_ip(); } db_ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_ip); // @@protoc_insertion_point(field_set_allocated:parkspace_proto.Database_communication_configuration.db_ip) } // required int64 db_port = 2; inline bool Database_communication_configuration::has_db_port() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void Database_communication_configuration::set_has_db_port() { _has_bits_[0] |= 0x00000010u; } inline void Database_communication_configuration::clear_has_db_port() { _has_bits_[0] &= ~0x00000010u; } inline void Database_communication_configuration::clear_db_port() { db_port_ = GOOGLE_LONGLONG(0); clear_has_db_port(); } inline ::google::protobuf::int64 Database_communication_configuration::db_port() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_port) return db_port_; } inline void Database_communication_configuration::set_db_port(::google::protobuf::int64 value) { set_has_db_port(); db_port_ = value; // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_port) } // required string db_username = 3; inline bool Database_communication_configuration::has_db_username() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void Database_communication_configuration::set_has_db_username() { _has_bits_[0] |= 0x00000002u; } inline void Database_communication_configuration::clear_has_db_username() { _has_bits_[0] &= ~0x00000002u; } inline void Database_communication_configuration::clear_db_username() { db_username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_db_username(); } inline const ::std::string& Database_communication_configuration::db_username() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_username) return db_username_.GetNoArena(); } inline void Database_communication_configuration::set_db_username(const ::std::string& value) { set_has_db_username(); db_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_username) } #if LANG_CXX11 inline void Database_communication_configuration::set_db_username(::std::string&& value) { set_has_db_username(); db_username_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:parkspace_proto.Database_communication_configuration.db_username) } #endif inline void Database_communication_configuration::set_db_username(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_db_username(); db_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:parkspace_proto.Database_communication_configuration.db_username) } inline void Database_communication_configuration::set_db_username(const char* value, size_t size) { set_has_db_username(); db_username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:parkspace_proto.Database_communication_configuration.db_username) } inline ::std::string* Database_communication_configuration::mutable_db_username() { set_has_db_username(); // @@protoc_insertion_point(field_mutable:parkspace_proto.Database_communication_configuration.db_username) return db_username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Database_communication_configuration::release_db_username() { // @@protoc_insertion_point(field_release:parkspace_proto.Database_communication_configuration.db_username) clear_has_db_username(); return db_username_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Database_communication_configuration::set_allocated_db_username(::std::string* db_username) { if (db_username != NULL) { set_has_db_username(); } else { clear_has_db_username(); } db_username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_username); // @@protoc_insertion_point(field_set_allocated:parkspace_proto.Database_communication_configuration.db_username) } // optional string db_passwd = 4 [default = ""]; inline bool Database_communication_configuration::has_db_passwd() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void Database_communication_configuration::set_has_db_passwd() { _has_bits_[0] |= 0x00000004u; } inline void Database_communication_configuration::clear_has_db_passwd() { _has_bits_[0] &= ~0x00000004u; } inline void Database_communication_configuration::clear_db_passwd() { db_passwd_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_db_passwd(); } inline const ::std::string& Database_communication_configuration::db_passwd() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_passwd) return db_passwd_.GetNoArena(); } inline void Database_communication_configuration::set_db_passwd(const ::std::string& value) { set_has_db_passwd(); db_passwd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_passwd) } #if LANG_CXX11 inline void Database_communication_configuration::set_db_passwd(::std::string&& value) { set_has_db_passwd(); db_passwd_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:parkspace_proto.Database_communication_configuration.db_passwd) } #endif inline void Database_communication_configuration::set_db_passwd(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_db_passwd(); db_passwd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:parkspace_proto.Database_communication_configuration.db_passwd) } inline void Database_communication_configuration::set_db_passwd(const char* value, size_t size) { set_has_db_passwd(); db_passwd_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:parkspace_proto.Database_communication_configuration.db_passwd) } inline ::std::string* Database_communication_configuration::mutable_db_passwd() { set_has_db_passwd(); // @@protoc_insertion_point(field_mutable:parkspace_proto.Database_communication_configuration.db_passwd) return db_passwd_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Database_communication_configuration::release_db_passwd() { // @@protoc_insertion_point(field_release:parkspace_proto.Database_communication_configuration.db_passwd) clear_has_db_passwd(); return db_passwd_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Database_communication_configuration::set_allocated_db_passwd(::std::string* db_passwd) { if (db_passwd != NULL) { set_has_db_passwd(); } else { clear_has_db_passwd(); } db_passwd_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_passwd); // @@protoc_insertion_point(field_set_allocated:parkspace_proto.Database_communication_configuration.db_passwd) } // required string db_name = 5; inline bool Database_communication_configuration::has_db_name() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void Database_communication_configuration::set_has_db_name() { _has_bits_[0] |= 0x00000008u; } inline void Database_communication_configuration::clear_has_db_name() { _has_bits_[0] &= ~0x00000008u; } inline void Database_communication_configuration::clear_db_name() { db_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_db_name(); } inline const ::std::string& Database_communication_configuration::db_name() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_name) return db_name_.GetNoArena(); } inline void Database_communication_configuration::set_db_name(const ::std::string& value) { set_has_db_name(); db_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_name) } #if LANG_CXX11 inline void Database_communication_configuration::set_db_name(::std::string&& value) { set_has_db_name(); db_name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:parkspace_proto.Database_communication_configuration.db_name) } #endif inline void Database_communication_configuration::set_db_name(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_db_name(); db_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:parkspace_proto.Database_communication_configuration.db_name) } inline void Database_communication_configuration::set_db_name(const char* value, size_t size) { set_has_db_name(); db_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:parkspace_proto.Database_communication_configuration.db_name) } inline ::std::string* Database_communication_configuration::mutable_db_name() { set_has_db_name(); // @@protoc_insertion_point(field_mutable:parkspace_proto.Database_communication_configuration.db_name) return db_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* Database_communication_configuration::release_db_name() { // @@protoc_insertion_point(field_release:parkspace_proto.Database_communication_configuration.db_name) clear_has_db_name(); return db_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void Database_communication_configuration::set_allocated_db_name(::std::string* db_name) { if (db_name != NULL) { set_has_db_name(); } else { clear_has_db_name(); } db_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_name); // @@protoc_insertion_point(field_set_allocated:parkspace_proto.Database_communication_configuration.db_name) } // optional int64 db_conn_pool_size = 6; inline bool Database_communication_configuration::has_db_conn_pool_size() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void Database_communication_configuration::set_has_db_conn_pool_size() { _has_bits_[0] |= 0x00000020u; } inline void Database_communication_configuration::clear_has_db_conn_pool_size() { _has_bits_[0] &= ~0x00000020u; } inline void Database_communication_configuration::clear_db_conn_pool_size() { db_conn_pool_size_ = GOOGLE_LONGLONG(0); clear_has_db_conn_pool_size(); } inline ::google::protobuf::int64 Database_communication_configuration::db_conn_pool_size() const { // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration.db_conn_pool_size) return db_conn_pool_size_; } inline void Database_communication_configuration::set_db_conn_pool_size(::google::protobuf::int64 value) { set_has_db_conn_pool_size(); db_conn_pool_size_ = value; // @@protoc_insertion_point(field_set:parkspace_proto.Database_communication_configuration.db_conn_pool_size) } // ------------------------------------------------------------------- // Database_communication_configuration_all // optional .parkspace_proto.Database_communication_configuration database_communication_configurations = 1; inline bool Database_communication_configuration_all::has_database_communication_configurations() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void Database_communication_configuration_all::set_has_database_communication_configurations() { _has_bits_[0] |= 0x00000001u; } inline void Database_communication_configuration_all::clear_has_database_communication_configurations() { _has_bits_[0] &= ~0x00000001u; } inline void Database_communication_configuration_all::clear_database_communication_configurations() { if (database_communication_configurations_ != NULL) database_communication_configurations_->Clear(); clear_has_database_communication_configurations(); } inline const ::parkspace_proto::Database_communication_configuration& Database_communication_configuration_all::database_communication_configurations() const { const ::parkspace_proto::Database_communication_configuration* p = database_communication_configurations_; // @@protoc_insertion_point(field_get:parkspace_proto.Database_communication_configuration_all.database_communication_configurations) return p != NULL ? *p : *reinterpret_cast( &::parkspace_proto::_Database_communication_configuration_default_instance_); } inline ::parkspace_proto::Database_communication_configuration* Database_communication_configuration_all::release_database_communication_configurations() { // @@protoc_insertion_point(field_release:parkspace_proto.Database_communication_configuration_all.database_communication_configurations) clear_has_database_communication_configurations(); ::parkspace_proto::Database_communication_configuration* temp = database_communication_configurations_; database_communication_configurations_ = NULL; return temp; } inline ::parkspace_proto::Database_communication_configuration* Database_communication_configuration_all::mutable_database_communication_configurations() { set_has_database_communication_configurations(); if (database_communication_configurations_ == NULL) { database_communication_configurations_ = new ::parkspace_proto::Database_communication_configuration; } // @@protoc_insertion_point(field_mutable:parkspace_proto.Database_communication_configuration_all.database_communication_configurations) return database_communication_configurations_; } inline void Database_communication_configuration_all::set_allocated_database_communication_configurations(::parkspace_proto::Database_communication_configuration* database_communication_configurations) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete database_communication_configurations_; } if (database_communication_configurations) { ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { database_communication_configurations = ::google::protobuf::internal::GetOwnedMessage( message_arena, database_communication_configurations, submessage_arena); } set_has_database_communication_configurations(); } else { clear_has_database_communication_configurations(); } database_communication_configurations_ = database_communication_configurations; // @@protoc_insertion_point(field_set_allocated:parkspace_proto.Database_communication_configuration_all.database_communication_configurations) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace parkspace_proto // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_database_5fcommunication_5fconfiguration_2eproto__INCLUDED