// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Request.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_Request_2eproto #define GOOGLE_PROTOBUF_INCLUDED_Request_2eproto #include #include #include #if PROTOBUF_VERSION < 3012000 #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 3012004 < 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 #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_Request_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_Request_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Request_2eproto; namespace DataImporter_ns { class Request; class RequestDefaultTypeInternal; extern RequestDefaultTypeInternal _Request_default_instance_; } // namespace DataImporter_ns PROTOBUF_NAMESPACE_OPEN template<> ::DataImporter_ns::Request* Arena::CreateMaybeMessage<::DataImporter_ns::Request>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace DataImporter_ns { // =================================================================== class Request PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DataImporter_ns.Request) */ { public: inline Request() : Request(nullptr) {}; virtual ~Request(); Request(const Request& from); Request(Request&& from) noexcept : Request() { *this = ::std::move(from); } inline Request& operator=(const Request& from) { CopyFrom(from); return *this; } inline Request& operator=(Request&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const Request& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Request* internal_default_instance() { return reinterpret_cast( &_Request_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Request& a, Request& b) { a.Swap(&b); } inline void Swap(Request* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Request* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline Request* New() const final { return CreateMaybeMessage(nullptr); } Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const Request& from); void MergeFrom(const Request& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Request* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "DataImporter_ns.Request"; } protected: explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kUsernameFieldNumber = 1, kPasswordFieldNumber = 2, kSchemaFieldNumber = 3, kTableFieldNumber = 4, kFileNameFieldNumber = 6, kFileVersionFieldNumber = 5, }; // required string username = 1; bool has_username() const; private: bool _internal_has_username() const; public: void clear_username(); const std::string& username() const; void set_username(const std::string& value); void set_username(std::string&& value); void set_username(const char* value); void set_username(const char* value, size_t size); std::string* mutable_username(); std::string* release_username(); void set_allocated_username(std::string* username); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_username(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_username( std::string* username); private: const std::string& _internal_username() const; void _internal_set_username(const std::string& value); std::string* _internal_mutable_username(); public: // required string password = 2; bool has_password() const; private: bool _internal_has_password() const; public: void clear_password(); const std::string& password() const; void set_password(const std::string& value); void set_password(std::string&& value); void set_password(const char* value); void set_password(const char* value, size_t size); std::string* mutable_password(); std::string* release_password(); void set_allocated_password(std::string* password); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_password(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_password( std::string* password); private: const std::string& _internal_password() const; void _internal_set_password(const std::string& value); std::string* _internal_mutable_password(); public: // required string schema = 3; bool has_schema() const; private: bool _internal_has_schema() const; public: void clear_schema(); const std::string& schema() const; void set_schema(const std::string& value); void set_schema(std::string&& value); void set_schema(const char* value); void set_schema(const char* value, size_t size); std::string* mutable_schema(); std::string* release_schema(); void set_allocated_schema(std::string* schema); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_schema(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_schema( std::string* schema); private: const std::string& _internal_schema() const; void _internal_set_schema(const std::string& value); std::string* _internal_mutable_schema(); public: // required string table = 4; bool has_table() const; private: bool _internal_has_table() const; public: void clear_table(); const std::string& table() const; void set_table(const std::string& value); void set_table(std::string&& value); void set_table(const char* value); void set_table(const char* value, size_t size); std::string* mutable_table(); std::string* release_table(); void set_allocated_table(std::string* table); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_table(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_table( std::string* table); private: const std::string& _internal_table() const; void _internal_set_table(const std::string& value); std::string* _internal_mutable_table(); public: // required string file_name = 6; bool has_file_name() const; private: bool _internal_has_file_name() const; public: void clear_file_name(); const std::string& file_name() const; void set_file_name(const std::string& value); void set_file_name(std::string&& value); void set_file_name(const char* value); void set_file_name(const char* value, size_t size); std::string* mutable_file_name(); std::string* release_file_name(); void set_allocated_file_name(std::string* file_name); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") std::string* unsafe_arena_release_file_name(); GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" " string fields are deprecated and will be removed in a" " future release.") void unsafe_arena_set_allocated_file_name( std::string* file_name); private: const std::string& _internal_file_name() const; void _internal_set_file_name(const std::string& value); std::string* _internal_mutable_file_name(); public: // required int32 file_version = 5; bool has_file_version() const; private: bool _internal_has_file_version() const; public: void clear_file_version(); ::PROTOBUF_NAMESPACE_ID::int32 file_version() const; void set_file_version(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_file_version() const; void _internal_set_file_version(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:DataImporter_ns.Request) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr username_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_; ::PROTOBUF_NAMESPACE_ID::int32 file_version_; friend struct ::TableStruct_Request_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // Request // required string username = 1; inline bool Request::_internal_has_username() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool Request::has_username() const { return _internal_has_username(); } inline void Request::clear_username() { username_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& Request::username() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.username) return _internal_username(); } inline void Request::set_username(const std::string& value) { _internal_set_username(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.username) } inline std::string* Request::mutable_username() { // @@protoc_insertion_point(field_mutable:DataImporter_ns.Request.username) return _internal_mutable_username(); } inline const std::string& Request::_internal_username() const { return username_.Get(); } inline void Request::_internal_set_username(const std::string& value) { _has_bits_[0] |= 0x00000001u; username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_username(std::string&& value) { _has_bits_[0] |= 0x00000001u; username_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:DataImporter_ns.Request.username) } inline void Request::set_username(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:DataImporter_ns.Request.username) } inline void Request::set_username(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:DataImporter_ns.Request.username) } inline std::string* Request::_internal_mutable_username() { _has_bits_[0] |= 0x00000001u; return username_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_username() { // @@protoc_insertion_point(field_release:DataImporter_ns.Request.username) if (!_internal_has_username()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return username_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_username(std::string* username) { if (username != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } username_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), username, GetArena()); // @@protoc_insertion_point(field_set_allocated:DataImporter_ns.Request.username) } inline std::string* Request::unsafe_arena_release_username() { // @@protoc_insertion_point(field_unsafe_arena_release:DataImporter_ns.Request.username) GOOGLE_DCHECK(GetArena() != nullptr); _has_bits_[0] &= ~0x00000001u; return username_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_username( std::string* username) { GOOGLE_DCHECK(GetArena() != nullptr); if (username != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } username_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), username, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataImporter_ns.Request.username) } // required string password = 2; inline bool Request::_internal_has_password() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool Request::has_password() const { return _internal_has_password(); } inline void Request::clear_password() { password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& Request::password() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.password) return _internal_password(); } inline void Request::set_password(const std::string& value) { _internal_set_password(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.password) } inline std::string* Request::mutable_password() { // @@protoc_insertion_point(field_mutable:DataImporter_ns.Request.password) return _internal_mutable_password(); } inline const std::string& Request::_internal_password() const { return password_.Get(); } inline void Request::_internal_set_password(const std::string& value) { _has_bits_[0] |= 0x00000002u; password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_password(std::string&& value) { _has_bits_[0] |= 0x00000002u; password_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:DataImporter_ns.Request.password) } inline void Request::set_password(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:DataImporter_ns.Request.password) } inline void Request::set_password(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:DataImporter_ns.Request.password) } inline std::string* Request::_internal_mutable_password() { _has_bits_[0] |= 0x00000002u; return password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_password() { // @@protoc_insertion_point(field_release:DataImporter_ns.Request.password) if (!_internal_has_password()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_password(std::string* password) { if (password != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, GetArena()); // @@protoc_insertion_point(field_set_allocated:DataImporter_ns.Request.password) } inline std::string* Request::unsafe_arena_release_password() { // @@protoc_insertion_point(field_unsafe_arena_release:DataImporter_ns.Request.password) GOOGLE_DCHECK(GetArena() != nullptr); _has_bits_[0] &= ~0x00000002u; return password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_password( std::string* password) { GOOGLE_DCHECK(GetArena() != nullptr); if (password != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataImporter_ns.Request.password) } // required string schema = 3; inline bool Request::_internal_has_schema() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool Request::has_schema() const { return _internal_has_schema(); } inline void Request::clear_schema() { schema_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& Request::schema() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.schema) return _internal_schema(); } inline void Request::set_schema(const std::string& value) { _internal_set_schema(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.schema) } inline std::string* Request::mutable_schema() { // @@protoc_insertion_point(field_mutable:DataImporter_ns.Request.schema) return _internal_mutable_schema(); } inline const std::string& Request::_internal_schema() const { return schema_.Get(); } inline void Request::_internal_set_schema(const std::string& value) { _has_bits_[0] |= 0x00000004u; schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_schema(std::string&& value) { _has_bits_[0] |= 0x00000004u; schema_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:DataImporter_ns.Request.schema) } inline void Request::set_schema(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:DataImporter_ns.Request.schema) } inline void Request::set_schema(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:DataImporter_ns.Request.schema) } inline std::string* Request::_internal_mutable_schema() { _has_bits_[0] |= 0x00000004u; return schema_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_schema() { // @@protoc_insertion_point(field_release:DataImporter_ns.Request.schema) if (!_internal_has_schema()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return schema_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_schema(std::string* schema) { if (schema != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } schema_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), schema, GetArena()); // @@protoc_insertion_point(field_set_allocated:DataImporter_ns.Request.schema) } inline std::string* Request::unsafe_arena_release_schema() { // @@protoc_insertion_point(field_unsafe_arena_release:DataImporter_ns.Request.schema) GOOGLE_DCHECK(GetArena() != nullptr); _has_bits_[0] &= ~0x00000004u; return schema_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_schema( std::string* schema) { GOOGLE_DCHECK(GetArena() != nullptr); if (schema != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } schema_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), schema, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataImporter_ns.Request.schema) } // required string table = 4; inline bool Request::_internal_has_table() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool Request::has_table() const { return _internal_has_table(); } inline void Request::clear_table() { table_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& Request::table() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.table) return _internal_table(); } inline void Request::set_table(const std::string& value) { _internal_set_table(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.table) } inline std::string* Request::mutable_table() { // @@protoc_insertion_point(field_mutable:DataImporter_ns.Request.table) return _internal_mutable_table(); } inline const std::string& Request::_internal_table() const { return table_.Get(); } inline void Request::_internal_set_table(const std::string& value) { _has_bits_[0] |= 0x00000008u; table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_table(std::string&& value) { _has_bits_[0] |= 0x00000008u; table_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:DataImporter_ns.Request.table) } inline void Request::set_table(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:DataImporter_ns.Request.table) } inline void Request::set_table(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:DataImporter_ns.Request.table) } inline std::string* Request::_internal_mutable_table() { _has_bits_[0] |= 0x00000008u; return table_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_table() { // @@protoc_insertion_point(field_release:DataImporter_ns.Request.table) if (!_internal_has_table()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return table_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_table(std::string* table) { if (table != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } table_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), table, GetArena()); // @@protoc_insertion_point(field_set_allocated:DataImporter_ns.Request.table) } inline std::string* Request::unsafe_arena_release_table() { // @@protoc_insertion_point(field_unsafe_arena_release:DataImporter_ns.Request.table) GOOGLE_DCHECK(GetArena() != nullptr); _has_bits_[0] &= ~0x00000008u; return table_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_table( std::string* table) { GOOGLE_DCHECK(GetArena() != nullptr); if (table != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } table_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), table, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataImporter_ns.Request.table) } // required int32 file_version = 5; inline bool Request::_internal_has_file_version() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool Request::has_file_version() const { return _internal_has_file_version(); } inline void Request::clear_file_version() { file_version_ = 0; _has_bits_[0] &= ~0x00000020u; } inline ::PROTOBUF_NAMESPACE_ID::int32 Request::_internal_file_version() const { return file_version_; } inline ::PROTOBUF_NAMESPACE_ID::int32 Request::file_version() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.file_version) return _internal_file_version(); } inline void Request::_internal_set_file_version(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000020u; file_version_ = value; } inline void Request::set_file_version(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_file_version(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.file_version) } // required string file_name = 6; inline bool Request::_internal_has_file_name() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool Request::has_file_name() const { return _internal_has_file_name(); } inline void Request::clear_file_name() { file_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000010u; } inline const std::string& Request::file_name() const { // @@protoc_insertion_point(field_get:DataImporter_ns.Request.file_name) return _internal_file_name(); } inline void Request::set_file_name(const std::string& value) { _internal_set_file_name(value); // @@protoc_insertion_point(field_set:DataImporter_ns.Request.file_name) } inline std::string* Request::mutable_file_name() { // @@protoc_insertion_point(field_mutable:DataImporter_ns.Request.file_name) return _internal_mutable_file_name(); } inline const std::string& Request::_internal_file_name() const { return file_name_.Get(); } inline void Request::_internal_set_file_name(const std::string& value) { _has_bits_[0] |= 0x00000010u; file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); } inline void Request::set_file_name(std::string&& value) { _has_bits_[0] |= 0x00000010u; file_name_.Set( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:DataImporter_ns.Request.file_name) } inline void Request::set_file_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000010u; file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:DataImporter_ns.Request.file_name) } inline void Request::set_file_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000010u; file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:DataImporter_ns.Request.file_name) } inline std::string* Request::_internal_mutable_file_name() { _has_bits_[0] |= 0x00000010u; return file_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline std::string* Request::release_file_name() { // @@protoc_insertion_point(field_release:DataImporter_ns.Request.file_name) if (!_internal_has_file_name()) { return nullptr; } _has_bits_[0] &= ~0x00000010u; return file_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::set_allocated_file_name(std::string* file_name) { if (file_name != nullptr) { _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } file_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name, GetArena()); // @@protoc_insertion_point(field_set_allocated:DataImporter_ns.Request.file_name) } inline std::string* Request::unsafe_arena_release_file_name() { // @@protoc_insertion_point(field_unsafe_arena_release:DataImporter_ns.Request.file_name) GOOGLE_DCHECK(GetArena() != nullptr); _has_bits_[0] &= ~0x00000010u; return file_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void Request::unsafe_arena_set_allocated_file_name( std::string* file_name) { GOOGLE_DCHECK(GetArena() != nullptr); if (file_name != nullptr) { _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } file_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name, GetArena()); // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataImporter_ns.Request.file_name) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace DataImporter_ns // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Request_2eproto