Skip to content
Snippets Groups Projects
Commit 9bfa7092 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Created branch with some changes for Rocky Linux 9.

parent d2c515ba
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ INC_DIR=/usr/local/omniORB/include \ ...@@ -12,7 +12,7 @@ INC_DIR=/usr/local/omniORB/include \
/usr/local/boost/include \ /usr/local/boost/include \
/usr/local/soci/include \ /usr/local/soci/include \
/usr/local/soci/include/soci \ /usr/local/soci/include/soci \
/usr/include/mariadb \ /usr/include/mysql \
/usr/include/soci \ /usr/include/soci \
/usr/local/protobuf/include \ /usr/local/protobuf/include \
./src ./src
...@@ -30,7 +30,7 @@ CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG ...@@ -30,7 +30,7 @@ CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG
CXX_RELEASE_FLAGS=-O3 CXX_RELEASE_FLAGS=-O3
CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs -DHAVE_BOOST -DBOOST_BIND_GLOBAL_PLACEHOLDERS CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs -DHAVE_BOOST -DBOOST_BIND_GLOBAL_PLACEHOLDERS
LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \ LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \
-lsoci_core -lsoci_mysql -lmariadbclient -lboost_system -lboost_thread \ -lsoci_core -lsoci_mysql -lmariadb -lboost_system -lboost_thread \
-lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread -lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread
INC_NO_WARNINGS=-isystem /usr/local/tango/include/tango INC_NO_WARNINGS=-isystem /usr/local/tango/include/tango
INC_PARM=$(foreach d, $(INC_DIR), -I$d) $(INC_NO_WARNINGS) INC_PARM=$(foreach d, $(INC_DIR), -I$d) $(INC_NO_WARNINGS)
......
...@@ -28,7 +28,6 @@ static void InitDefaultsscc_info_Request_Request_2eproto() { ...@@ -28,7 +28,6 @@ static void InitDefaultsscc_info_Request_Request_2eproto() {
new (ptr) ::DataExporter_ns::Request(); new (ptr) ::DataExporter_ns::Request();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
} }
::DataExporter_ns::Request::InitAsDefaultInstance();
} }
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Request_2eproto = ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Request_2eproto =
...@@ -90,8 +89,6 @@ namespace DataExporter_ns { ...@@ -90,8 +89,6 @@ namespace DataExporter_ns {
// =================================================================== // ===================================================================
void Request::InitAsDefaultInstance() {
}
class Request::_Internal { class Request::_Internal {
public: public:
using HasBits = decltype(std::declval<Request>()._has_bits_); using HasBits = decltype(std::declval<Request>()._has_bits_);
...@@ -130,27 +127,27 @@ Request::Request(const Request& from) ...@@ -130,27 +127,27 @@ Request::Request(const Request& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_username()) { if (from._internal_has_username()) {
username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_username(), username_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_username(),
GetArena()); GetArena());
} }
password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_password()) { if (from._internal_has_password()) {
password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_password(), password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_password(),
GetArena()); GetArena());
} }
schema_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); schema_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_schema()) { if (from._internal_has_schema()) {
schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_schema(), schema_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_schema(),
GetArena()); GetArena());
} }
table_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); table_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_table()) { if (from._internal_has_table()) {
table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_table(), table_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_table(),
GetArena()); GetArena());
} }
file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_file_name()) { if (from._internal_has_file_name()) {
file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_file_name(), file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_file_name(),
GetArena()); GetArena());
} }
file_version_ = from.file_version_; file_version_ = from.file_version_;
...@@ -229,7 +226,6 @@ void Request::Clear() { ...@@ -229,7 +226,6 @@ void Request::Clear() {
const char* Request::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { const char* Request::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{}; _Internal::HasBits has_bits{};
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
while (!ctx->Done(&ptr)) { while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag; ::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
......
This diff is collapsed.
...@@ -28,7 +28,6 @@ static void InitDefaultsscc_info_Response_Response_2eproto() { ...@@ -28,7 +28,6 @@ static void InitDefaultsscc_info_Response_Response_2eproto() {
new (ptr) ::DataExporter_ns::Response(); new (ptr) ::DataExporter_ns::Response();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
} }
::DataExporter_ns::Response::InitAsDefaultInstance();
} }
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Response_2eproto = ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Response_2eproto =
...@@ -126,8 +125,6 @@ constexpr int Response::State_ARRAYSIZE; ...@@ -126,8 +125,6 @@ constexpr int Response::State_ARRAYSIZE;
// =================================================================== // ===================================================================
void Response::InitAsDefaultInstance() {
}
class Response::_Internal { class Response::_Internal {
public: public:
using HasBits = decltype(std::declval<Response>()._has_bits_); using HasBits = decltype(std::declval<Response>()._has_bits_);
...@@ -166,17 +163,17 @@ Response::Response(const Response& from) ...@@ -166,17 +163,17 @@ Response::Response(const Response& from)
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_status()) { if (from._internal_has_status()) {
status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_status(), status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status(),
GetArena()); GetArena());
} }
file_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_file_path()) { if (from._internal_has_file_path()) {
file_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_file_path(), file_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_file_path(),
GetArena()); GetArena());
} }
file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (from._internal_has_file_name()) { if (from._internal_has_file_name()) {
file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_file_name(), file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_file_name(),
GetArena()); GetArena());
} }
::memcpy(&state_, &from.state_, ::memcpy(&state_, &from.state_,
...@@ -190,8 +187,9 @@ void Response::SharedCtor() { ...@@ -190,8 +187,9 @@ void Response::SharedCtor() {
status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
file_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); file_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
::memset(&state_, 0, static_cast<size_t>( ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
reinterpret_cast<char*>(&file_size_) - reinterpret_cast<char*>(&state_) - reinterpret_cast<char*>(this)),
0, static_cast<size_t>(reinterpret_cast<char*>(&file_size_) -
reinterpret_cast<char*>(&state_)) + sizeof(file_size_)); reinterpret_cast<char*>(&state_)) + sizeof(file_size_));
} }
...@@ -253,7 +251,6 @@ void Response::Clear() { ...@@ -253,7 +251,6 @@ void Response::Clear() {
const char* Response::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { const char* Response::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{}; _Internal::HasBits has_bits{};
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
while (!ctx->Done(&ptr)) { while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag; ::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
#include <string> #include <string>
#include <google/protobuf/port_def.inc> #include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000 #if PROTOBUF_VERSION < 3014000
#error This file was generated by a newer version of protoc which is #error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update #error incompatible with your Protocol Buffer headers. Please update
#error your headers. #error your headers.
#endif #endif
#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION #if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc.
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <google/protobuf/arenastring.h> #include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h> #include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h> #include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata_lite.h> #include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h> #include <google/protobuf/message.h>
...@@ -46,7 +45,7 @@ PROTOBUF_NAMESPACE_CLOSE ...@@ -46,7 +45,7 @@ PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_Response_2eproto { struct TableStruct_Response_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold); PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold); PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
PROTOBUF_SECTION_VARIABLE(protodesc_cold); PROTOBUF_SECTION_VARIABLE(protodesc_cold);
...@@ -89,7 +88,7 @@ inline const std::string& Response_State_Name(T enum_t_value) { ...@@ -89,7 +88,7 @@ inline const std::string& Response_State_Name(T enum_t_value) {
Response_State_descriptor(), enum_t_value); Response_State_descriptor(), enum_t_value);
} }
inline bool Response_State_Parse( inline bool Response_State_Parse(
const std::string& name, Response_State* value) { ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Response_State* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_State>( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_State>(
Response_State_descriptor(), name, value); Response_State_descriptor(), name, value);
} }
...@@ -98,7 +97,7 @@ inline bool Response_State_Parse( ...@@ -98,7 +97,7 @@ inline bool Response_State_Parse(
class Response PROTOBUF_FINAL : class Response PROTOBUF_FINAL :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DataExporter_ns.Response) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DataExporter_ns.Response) */ {
public: public:
inline Response() : Response(nullptr) {}; inline Response() : Response(nullptr) {}
virtual ~Response(); virtual ~Response();
Response(const Response& from); Response(const Response& from);
...@@ -138,7 +137,6 @@ class Response PROTOBUF_FINAL : ...@@ -138,7 +137,6 @@ class Response PROTOBUF_FINAL :
} }
static const Response& default_instance(); static const Response& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Response* internal_default_instance() { static inline const Response* internal_default_instance() {
return reinterpret_cast<const Response*>( return reinterpret_cast<const Response*>(
&_Response_default_instance_); &_Response_default_instance_);
...@@ -247,7 +245,7 @@ class Response PROTOBUF_FINAL : ...@@ -247,7 +245,7 @@ class Response PROTOBUF_FINAL :
"Incorrect type passed to function State_Name."); "Incorrect type passed to function State_Name.");
return Response_State_Name(enum_t_value); return Response_State_Name(enum_t_value);
} }
static inline bool State_Parse(const std::string& name, static inline bool State_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
State* value) { State* value) {
return Response_State_Parse(name, value); return Response_State_Parse(name, value);
} }
...@@ -276,15 +274,6 @@ class Response PROTOBUF_FINAL : ...@@ -276,15 +274,6 @@ class Response PROTOBUF_FINAL :
std::string* mutable_status(); std::string* mutable_status();
std::string* release_status(); std::string* release_status();
void set_allocated_status(std::string* status); void set_allocated_status(std::string* status);
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_status();
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_status(
std::string* status);
private: private:
const std::string& _internal_status() const; const std::string& _internal_status() const;
void _internal_set_status(const std::string& value); void _internal_set_status(const std::string& value);
...@@ -305,15 +294,6 @@ class Response PROTOBUF_FINAL : ...@@ -305,15 +294,6 @@ class Response PROTOBUF_FINAL :
std::string* mutable_file_path(); std::string* mutable_file_path();
std::string* release_file_path(); std::string* release_file_path();
void set_allocated_file_path(std::string* file_path); void set_allocated_file_path(std::string* file_path);
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_path();
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_path(
std::string* file_path);
private: private:
const std::string& _internal_file_path() const; const std::string& _internal_file_path() const;
void _internal_set_file_path(const std::string& value); void _internal_set_file_path(const std::string& value);
...@@ -334,15 +314,6 @@ class Response PROTOBUF_FINAL : ...@@ -334,15 +314,6 @@ class Response PROTOBUF_FINAL :
std::string* mutable_file_name(); std::string* mutable_file_name();
std::string* release_file_name(); std::string* release_file_name();
void set_allocated_file_name(std::string* 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: private:
const std::string& _internal_file_name() const; const std::string& _internal_file_name() const;
void _internal_set_file_name(const std::string& value); void _internal_set_file_name(const std::string& value);
...@@ -457,7 +428,7 @@ inline bool Response::has_status() const { ...@@ -457,7 +428,7 @@ inline bool Response::has_status() const {
return _internal_has_status(); return _internal_has_status();
} }
inline void Response::clear_status() { inline void Response::clear_status() {
status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); status_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u; _has_bits_[0] &= ~0x00000001u;
} }
inline const std::string& Response::status() const { inline const std::string& Response::status() const {
...@@ -477,31 +448,30 @@ inline const std::string& Response::_internal_status() const { ...@@ -477,31 +448,30 @@ inline const std::string& Response::_internal_status() const {
} }
inline void Response::_internal_set_status(const std::string& value) { inline void Response::_internal_set_status(const std::string& value) {
_has_bits_[0] |= 0x00000001u; _has_bits_[0] |= 0x00000001u;
status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
} }
inline void Response::set_status(std::string&& value) { inline void Response::set_status(std::string&& value) {
_has_bits_[0] |= 0x00000001u; _has_bits_[0] |= 0x00000001u;
status_.Set( status_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.status) // @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.status)
} }
inline void Response::set_status(const char* value) { inline void Response::set_status(const char* value) {
GOOGLE_DCHECK(value != nullptr); GOOGLE_DCHECK(value != nullptr);
_has_bits_[0] |= 0x00000001u; _has_bits_[0] |= 0x00000001u;
status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
GetArena());
// @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.status) // @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.status)
} }
inline void Response::set_status(const char* value, inline void Response::set_status(const char* value,
size_t size) { size_t size) {
_has_bits_[0] |= 0x00000001u; _has_bits_[0] |= 0x00000001u;
status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( status_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
reinterpret_cast<const char*>(value), size), GetArena()); reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.status) // @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.status)
} }
inline std::string* Response::_internal_mutable_status() { inline std::string* Response::_internal_mutable_status() {
_has_bits_[0] |= 0x00000001u; _has_bits_[0] |= 0x00000001u;
return status_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); return status_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
} }
inline std::string* Response::release_status() { inline std::string* Response::release_status() {
// @@protoc_insertion_point(field_release:DataExporter_ns.Response.status) // @@protoc_insertion_point(field_release:DataExporter_ns.Response.status)
...@@ -521,25 +491,6 @@ inline void Response::set_allocated_status(std::string* status) { ...@@ -521,25 +491,6 @@ inline void Response::set_allocated_status(std::string* status) {
GetArena()); GetArena());
// @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.status) // @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.status)
} }
inline std::string* Response::unsafe_arena_release_status() {
// @@protoc_insertion_point(field_unsafe_arena_release:DataExporter_ns.Response.status)
GOOGLE_DCHECK(GetArena() != nullptr);
_has_bits_[0] &= ~0x00000001u;
return status_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArena());
}
inline void Response::unsafe_arena_set_allocated_status(
std::string* status) {
GOOGLE_DCHECK(GetArena() != nullptr);
if (status != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
status_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
status, GetArena());
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataExporter_ns.Response.status)
}
// optional string file_path = 3; // optional string file_path = 3;
inline bool Response::_internal_has_file_path() const { inline bool Response::_internal_has_file_path() const {
...@@ -550,7 +501,7 @@ inline bool Response::has_file_path() const { ...@@ -550,7 +501,7 @@ inline bool Response::has_file_path() const {
return _internal_has_file_path(); return _internal_has_file_path();
} }
inline void Response::clear_file_path() { inline void Response::clear_file_path() {
file_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); file_path_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u; _has_bits_[0] &= ~0x00000002u;
} }
inline const std::string& Response::file_path() const { inline const std::string& Response::file_path() const {
...@@ -570,31 +521,30 @@ inline const std::string& Response::_internal_file_path() const { ...@@ -570,31 +521,30 @@ inline const std::string& Response::_internal_file_path() const {
} }
inline void Response::_internal_set_file_path(const std::string& value) { inline void Response::_internal_set_file_path(const std::string& value) {
_has_bits_[0] |= 0x00000002u; _has_bits_[0] |= 0x00000002u;
file_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); file_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
} }
inline void Response::set_file_path(std::string&& value) { inline void Response::set_file_path(std::string&& value) {
_has_bits_[0] |= 0x00000002u; _has_bits_[0] |= 0x00000002u;
file_path_.Set( file_path_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.file_path) // @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.file_path)
} }
inline void Response::set_file_path(const char* value) { inline void Response::set_file_path(const char* value) {
GOOGLE_DCHECK(value != nullptr); GOOGLE_DCHECK(value != nullptr);
_has_bits_[0] |= 0x00000002u; _has_bits_[0] |= 0x00000002u;
file_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), file_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
GetArena());
// @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.file_path) // @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.file_path)
} }
inline void Response::set_file_path(const char* value, inline void Response::set_file_path(const char* value,
size_t size) { size_t size) {
_has_bits_[0] |= 0x00000002u; _has_bits_[0] |= 0x00000002u;
file_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( file_path_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
reinterpret_cast<const char*>(value), size), GetArena()); reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.file_path) // @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.file_path)
} }
inline std::string* Response::_internal_mutable_file_path() { inline std::string* Response::_internal_mutable_file_path() {
_has_bits_[0] |= 0x00000002u; _has_bits_[0] |= 0x00000002u;
return file_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); return file_path_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
} }
inline std::string* Response::release_file_path() { inline std::string* Response::release_file_path() {
// @@protoc_insertion_point(field_release:DataExporter_ns.Response.file_path) // @@protoc_insertion_point(field_release:DataExporter_ns.Response.file_path)
...@@ -614,25 +564,6 @@ inline void Response::set_allocated_file_path(std::string* file_path) { ...@@ -614,25 +564,6 @@ inline void Response::set_allocated_file_path(std::string* file_path) {
GetArena()); GetArena());
// @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.file_path) // @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.file_path)
} }
inline std::string* Response::unsafe_arena_release_file_path() {
// @@protoc_insertion_point(field_unsafe_arena_release:DataExporter_ns.Response.file_path)
GOOGLE_DCHECK(GetArena() != nullptr);
_has_bits_[0] &= ~0x00000002u;
return file_path_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArena());
}
inline void Response::unsafe_arena_set_allocated_file_path(
std::string* file_path) {
GOOGLE_DCHECK(GetArena() != nullptr);
if (file_path != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
file_path_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
file_path, GetArena());
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataExporter_ns.Response.file_path)
}
// optional int32 file_version = 4; // optional int32 file_version = 4;
inline bool Response::_internal_has_file_version() const { inline bool Response::_internal_has_file_version() const {
...@@ -671,7 +602,7 @@ inline bool Response::has_file_name() const { ...@@ -671,7 +602,7 @@ inline bool Response::has_file_name() const {
return _internal_has_file_name(); return _internal_has_file_name();
} }
inline void Response::clear_file_name() { inline void Response::clear_file_name() {
file_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); file_name_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u; _has_bits_[0] &= ~0x00000004u;
} }
inline const std::string& Response::file_name() const { inline const std::string& Response::file_name() const {
...@@ -691,31 +622,30 @@ inline const std::string& Response::_internal_file_name() const { ...@@ -691,31 +622,30 @@ inline const std::string& Response::_internal_file_name() const {
} }
inline void Response::_internal_set_file_name(const std::string& value) { inline void Response::_internal_set_file_name(const std::string& value) {
_has_bits_[0] |= 0x00000004u; _has_bits_[0] |= 0x00000004u;
file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
} }
inline void Response::set_file_name(std::string&& value) { inline void Response::set_file_name(std::string&& value) {
_has_bits_[0] |= 0x00000004u; _has_bits_[0] |= 0x00000004u;
file_name_.Set( file_name_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.file_name) // @@protoc_insertion_point(field_set_rvalue:DataExporter_ns.Response.file_name)
} }
inline void Response::set_file_name(const char* value) { inline void Response::set_file_name(const char* value) {
GOOGLE_DCHECK(value != nullptr); GOOGLE_DCHECK(value != nullptr);
_has_bits_[0] |= 0x00000004u; _has_bits_[0] |= 0x00000004u;
file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
GetArena());
// @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.file_name) // @@protoc_insertion_point(field_set_char:DataExporter_ns.Response.file_name)
} }
inline void Response::set_file_name(const char* value, inline void Response::set_file_name(const char* value,
size_t size) { size_t size) {
_has_bits_[0] |= 0x00000004u; _has_bits_[0] |= 0x00000004u;
file_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( file_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
reinterpret_cast<const char*>(value), size), GetArena()); reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.file_name) // @@protoc_insertion_point(field_set_pointer:DataExporter_ns.Response.file_name)
} }
inline std::string* Response::_internal_mutable_file_name() { inline std::string* Response::_internal_mutable_file_name() {
_has_bits_[0] |= 0x00000004u; _has_bits_[0] |= 0x00000004u;
return file_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); return file_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
} }
inline std::string* Response::release_file_name() { inline std::string* Response::release_file_name() {
// @@protoc_insertion_point(field_release:DataExporter_ns.Response.file_name) // @@protoc_insertion_point(field_release:DataExporter_ns.Response.file_name)
...@@ -735,25 +665,6 @@ inline void Response::set_allocated_file_name(std::string* file_name) { ...@@ -735,25 +665,6 @@ inline void Response::set_allocated_file_name(std::string* file_name) {
GetArena()); GetArena());
// @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.file_name) // @@protoc_insertion_point(field_set_allocated:DataExporter_ns.Response.file_name)
} }
inline std::string* Response::unsafe_arena_release_file_name() {
// @@protoc_insertion_point(field_unsafe_arena_release:DataExporter_ns.Response.file_name)
GOOGLE_DCHECK(GetArena() != nullptr);
_has_bits_[0] &= ~0x00000004u;
return file_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArena());
}
inline void Response::unsafe_arena_set_allocated_file_name(
std::string* file_name) {
GOOGLE_DCHECK(GetArena() != nullptr);
if (file_name != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
file_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
file_name, GetArena());
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:DataExporter_ns.Response.file_name)
}
// optional uint64 file_size = 6; // optional uint64 file_size = 6;
inline bool Response::_internal_has_file_size() const { inline bool Response::_internal_has_file_size() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment