diff --git a/Makefile b/Makefile index 04fd3b2e5acc8237a5675cb4377f381d7b8251fe..34bc31ac85b7de3b92dfdb46a6fa81262c515c28 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ CXX_RELEASE_FLAGS=-O3 CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++11 -std=gnu++11 LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \ -lsoci_core -lsoci_mysql -lboost_system -lboost_thread -lboost_filesystem \ - -lprotobuf -lssl + -lboost_date_time-mt -lprotobuf -lssl INC_PARM=$(foreach d, $(INC_DIR), -I$d) LIB_PARM=$(foreach d, $(LIB_DIR), -L$d) PROTOC :=/usr/local/protobuf-2.5.0/bin/protoc diff --git a/proto/Request.proto b/proto/Request.proto index 14d2e8fe53bf74002feabc92d2999c18e4812f27..4b96f8a8a1a663540e7d655e23f55a16850b8fb7 100644 --- a/proto/Request.proto +++ b/proto/Request.proto @@ -46,9 +46,7 @@ message Request message Metadata { - required string schema = 1; - required string table = 2; - required sfixed64 timestamp = 3; + required sfixed64 timestamp = 1; } optional Metadata metadata = 4; diff --git a/proto/Response.proto b/proto/Response.proto index 3986639889efed94bdb22786bc9c936c2744c572..b973c1c3c605a89d42e6429ffbd210d12c0ba0df 100644 --- a/proto/Response.proto +++ b/proto/Response.proto @@ -49,14 +49,6 @@ message Response message Metadata { - //Metadata response partial - - required uint64 partial = 1; - - //Metadata response total - - required uint64 total = 2; - //Metadata response state enum State @@ -65,83 +57,90 @@ message Response REJECTED = 1; } - required State state = 3; + required State state = 1; //Metadata response status - required string status = 4; + required string status = 2; - //Mysql: FLOAT, DOUBLE, DECIMAL - //SOCI: dt_double - //C++: double + //Block of rows with same timestamp - message DtDouble + message Row { - required string key = 1; - required double value = 2; - } + //Mysql: FLOAT, DOUBLE, DECIMAL + //SOCI: dt_double + //C++: double - repeated DtDouble double_list = 5; + message DtDouble + { + required string key = 1; + required double value = 2; + } - //Mysql: TINYINT, SMALLINT, INT, BIGINT - //SOCI: dt_integer - //C++: int + repeated DtDouble double_list = 1; - message DtInteger - { - required string key = 1; - required int32 value = 2; - } + //Mysql: TINYINT, SMALLINT, INT, BIGINT + //SOCI: dt_integer + //C++: int - repeated DtInteger integer_list = 6; + message DtInteger + { + required string key = 1; + required int32 value = 2; + } - //Mysql: not used with mysql, needed for postgres - //SOCI: dt_unsigned_long - //C++: unsigned long + repeated DtInteger integer_list = 2; - message DtUnsignedLong - { - required string key = 1; - required uint64 value = 2; - } + //Mysql: not used with mysql, needed for postgres + //SOCI: dt_unsigned_long + //C++: unsigned long - repeated DtUnsignedLong unsinged_long_list = 7; + message DtUnsignedLong + { + required string key = 1; + required uint64 value = 2; + } - //Mysql: not used with mysql, needed for postgres - //SOCI: dt_long_long - //C++: long long + repeated DtUnsignedLong unsinged_long_list = 3; - message DtLongLong - { - required string key = 1; - required int64 value = 2; - } + //Mysql: not used with mysql, needed for postgres + //SOCI: dt_long_long + //C++: long long - repeated DtLongLong long_long_list = 8; + message DtLongLong + { + required string key = 1; + required int64 value = 2; + } - //Mysql: STRING/BINARY, VARCHAR/VARBINARY - //SOCI: dt_string - //C++: string + repeated DtLongLong long_long_list = 4; - message DtString - { - required string key = 1; - required string value = 2; - } + //Mysql: STRING/BINARY, VARCHAR/VARBINARY + //SOCI: dt_string + //C++: string - repeated DtString strings_list = 9; + message DtString + { + required string key = 1; + required string value = 2; + } - //Mysql: TIMESTAMP DATE, TIME, DATETIME - //SOCI: dt_date - //C++: tm + repeated DtString strings_list = 5; - message DtDate - { - required string key = 1; - required sfixed64 value = 2; + //Mysql: TIMESTAMP DATE, TIME, DATETIME + //SOCI: dt_date + //C++: tm + + message DtDate + { + required string key = 1; + required sfixed64 value = 2; + } + + repeated DtDate date_list = 6; } - repeated DtDate date_list = 10; + repeated Row rows = 3; } optional Metadata metadata = 4; diff --git a/src/DBManager.cpp b/src/DBManager.cpp index 1961e412b67db8d100679fd0d47bea496c0bc352..c01f4c13bba379da8976217cf349336f41252b06 100644 --- a/src/DBManager.cpp +++ b/src/DBManager.cpp @@ -1,5 +1,7 @@ #include <DBManager.h> +#include <boost/date_time.hpp> + #include <soci/mysql/soci-mysql.h> #include <soci/use.h> @@ -116,22 +118,25 @@ DBManager::InformationList DBManager::retrieveInformation(std::string schema, //============================================================================== // DBManager::retrieveNewTuples() //============================================================================== -soci::rowset<soci::row> DBManager::retrieveNewTuples(std::string schema, +DBManager::RowsetSP DBManager::retrieveNewTuples(std::string schema, std::string table, std::tm update_time) throw(soci::soci_error) { DEBUG_STREAM << "DBManager::retrieveNewTuples()" << endl; soci::session session(*m_connectionPool_sp); - soci::rowset<soci::row> rows = (session.prepare << "select * from " - << schema << "." << table << " where update_time>=:timestamp", - soci::use(update_time,"timestamp")); + //@workaround: this does not work: timestamp parameter not passed +// RowsetSP rows(new soci::rowset<soci::row>((session.prepare << "select * from " +// << schema << "." << table << " where update_time > :timestamp " +// << "order by update_time asc", soci::use(update_time,"timestamp")))); - MetadataList metadataList; + boost::posix_time::ptime timestamp = boost::posix_time::ptime_from_tm(update_time); - std::copy(rows.begin(), rows.end(), std::back_inserter(metadataList)); + RowsetSP rows(new soci::rowset<soci::row>(session.prepare << "select * from " + << schema << "." << table << " where update_time>'" + << boost::posix_time::to_iso_string(timestamp) << "' order by update_time asc")); - return metadataList; + return rows; } } //namespace diff --git a/src/DBManager.h b/src/DBManager.h index 7a4c916fa24646b0a92dd35ea62e8e6476933027..d0f11959fc4b5c611146b5d106b8368cea41d7a3 100644 --- a/src/DBManager.h +++ b/src/DBManager.h @@ -75,10 +75,10 @@ public: //------------------------------------------------------------------------------ // [Public] Search new tuple method //------------------------------------------------------------------------------ - typedef std::vector<soci::row> MetadataList; + typedef boost::shared_ptr< soci::rowset<soci::row> > RowsetSP; - virtual MetadataList retrieveNewTuples(std::string, std::string, - std::tm) throw(soci::soci_error); + virtual RowsetSP retrieveNewTuples(std::string, std::string, std::tm) + throw(soci::soci_error); protected: //------------------------------------------------------------------------------ diff --git a/src/ProtocolManager.cpp b/src/ProtocolManager.cpp index b38be2fc77a4762a7dae5c6a60f3c47f5260bbfb..2e55c68b25f0e8eeaa9eda8e327776e73db75f37 100644 --- a/src/ProtocolManager.cpp +++ b/src/ProtocolManager.cpp @@ -157,13 +157,13 @@ ResponseSP ProtocolManager::prepareValidation(RequestSP request_sp) { const Request::Validation& validationReq = request_sp->validation(); - const std::string& schema = validationReq.schema(); - const std::string& table = validationReq.table(); + m_validatedSchema = validationReq.schema(); + m_validatedTable = validationReq.table(); try { DBManager::InformationList informationList = - m_dBManager_sp->retrieveInformation(schema, table); + m_dBManager_sp->retrieveInformation(m_validatedSchema, m_validatedTable); if(validationReq.columns_size() != (int)informationList.size()) throw std::runtime_error("Columns number does not match"); @@ -178,7 +178,8 @@ ResponseSP ProtocolManager::prepareValidation(RequestSP request_sp) validateColumn(*it, informationList); INFO_STREAM << "ProtocolManager::prepareValidation() " - << "Validation accepted from " << m_remoteEndpoint << endl; + << "Validation accepted for " << m_validatedSchema << "." + << m_validatedTable << " from " << m_remoteEndpoint << endl; m_isValidated = true; @@ -193,6 +194,14 @@ ResponseSP ProtocolManager::prepareValidation(RequestSP request_sp) validationRes->set_state(Response::Validation::REJECTED); validationRes->set_status(ex.what()); } + catch(...) + { + WARN_STREAM << "ProtocolManager::prepareValidation() " + << "Unknown exception from " << m_remoteEndpoint << endl; + + validationRes->set_state(Response::Validation::REJECTED); + validationRes->set_status("Unknown exception"); + } } else { @@ -228,34 +237,41 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp) response_sp->set_type(Response::METADATA); Response::Metadata* metadataRes = response_sp->mutable_metadata(); - metadataRes->set_partial(0); - metadataRes->set_total(0); if(m_isAuthorised) { if(m_isValidated) { const Request::Metadata& metadataReq = request_sp->metadata(); - - std::string schema = metadataReq.schema(); - std::string table = metadataReq.table(); int64_t rawTimestamp = metadataReq.timestamp(); - std::tm timestamp = *localtime(&rawTimestamp); - DEBUG_STREAM << "ProtocolManager::prepareMetadata() " - << "schema " << schema << " table " << table << " timestamp " + DEBUG_STREAM << "ProtocolManager::prepareMetadata() Searching in " + << m_validatedSchema << "." << m_validatedTable << " timestamp " << asctime(×tamp) << " from " << m_remoteEndpoint << endl; try { - DBManager::MetadataList metadataList = - m_dBManager_sp->retrieveNewTuples(schema, table, timestamp); - - fillResponse(metadataRes, metadataList); - - metadataRes->set_state(Response::Metadata::ACCEPTED); - metadataRes->set_status("Metadata ready"); + if(!m_rowSet_sp) + { + m_rowSet_sp = m_dBManager_sp->retrieveNewTuples( + m_validatedSchema, m_validatedTable, timestamp); + + m_it = m_rowSet_sp->begin(); + } + + if(m_rowSet_sp && m_it != m_rowSet_sp->end()) + { + metadataRes->set_state(Response::Metadata::ACCEPTED); + metadataRes->set_status("Data ready"); + + fillMetadata(metadataRes); + } + else + { + metadataRes->set_state(Response::Metadata::ACCEPTED); + metadataRes->set_status("No more data"); + } } catch(std::runtime_error& ex) { @@ -264,6 +280,18 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp) metadataRes->set_state(Response::Metadata::REJECTED); metadataRes->set_status(ex.what()); + + m_rowSet_sp.reset(); + } + catch(...) + { + WARN_STREAM << "ProtocolManager::prepareMetadata() " + << "Unknown exception from " << m_remoteEndpoint << endl; + + metadataRes->set_state(Response::Metadata::REJECTED); + metadataRes->set_status("Unknown exception"); + + m_rowSet_sp.reset(); } } else @@ -333,9 +361,9 @@ void ProtocolManager::validateColumn(const Request::Validation::Column& column, } #ifdef VERBOSE_DEBUG - INFO_STREAM << "SERVER: " << columnName << " | " << columnType + DEBUG_STREAM << "CLIENT: " << columnName << " | " << columnType << " | " << isNullable << endl; - INFO_STREAM << "SERVER: " << column.name() << " | " + DEBUG_STREAM << "SERVER: " << column.name() << " | " << column.type() << " | " << column.nullable() << endl; #endif } @@ -350,12 +378,155 @@ void ProtocolManager::validateColumn(const Request::Validation::Column& column, } //============================================================================== -// ProtocolManager::fillResponse() +// ProtocolManager::fillMetadata() //============================================================================== -void ProtocolManager::fillResponse(const Response::Metadata& metadataRes, - DBManager::MetadataList metadataList) throw(std::runtime_error) +void ProtocolManager::fillMetadata(Response::Metadata* metadataRes) + throw(std::runtime_error) +{ + DEBUG_STREAM << "ProtocolManager::fillMetadata()" << endl; + + std::time_t currentTime = 0; + + while(m_it != m_rowSet_sp->end()) + { + int id = m_it->get<int>("id"); + std::string file_path = m_it->get<std::string>("file_path"); + int file_version = m_it->get<int>("file_version"); + std::string file_name = m_it->get<std::string>("file_name"); + std::tm newTm = m_it->get<std::tm>("update_time"); + + #ifdef VERBOSE_DEBUG + INFO_STREAM << "|" << id << "|" << file_path << "|" << file_version + << "|" << file_name << "|" << asctime(&newTm) << "|" << endl; + #endif + + std::time_t newTime = mktime(&newTm); + + if(currentTime == 0) + currentTime = newTime; + + std::tm currentTm = *localtime(¤tTime); + + INFO_STREAM << "NEW TIME: " << asctime(&newTm) << endl; + INFO_STREAM << "CURRENT TIME: " << asctime(¤tTm) << endl; + + if(difftime(newTime, currentTime)>0) + { + INFO_STREAM << "BREAK" << endl; + break; + } + + Response::Metadata::Row* row = metadataRes->add_rows(); + fillRow(row); + + m_it++; + } + + if(m_it == m_rowSet_sp->end()) + { + INFO_STREAM << "RESET" << endl; + m_rowSet_sp.reset(); + } +} + +//============================================================================== +// ProtocolManager::fillRow() +//============================================================================== +void ProtocolManager::fillRow(Response::Metadata::Row* row) + throw(std::runtime_error) { - DEBUG_STREAM << "ProtocolManager::fillResponse()" << endl; + DEBUG_STREAM << "ProtocolManager::fillRow()" << endl; + + for(std::size_t i=0; i!=m_it->size(); ++i) + { + const soci::column_properties& props = m_it->get_properties(i); + + std::string name = props.get_name(); + + if(m_it->get_indicator(i) == soci::i_null) + { + DEBUG_STREAM << "NAME: " << name << " NULL" << endl; + continue; + } + + switch(props.get_data_type()) + { + case soci::dt_string: + { + std::string value = m_it->get<std::string>(i); + + DEBUG_STREAM << "NAME: " << name << " " << value << endl; + + Response::Metadata::Row::DtString* dtString = row->add_strings_list(); + dtString->set_key(name); + dtString->set_value(value); + + break; + } + case soci::dt_double: + { + double value = m_it->get<double>(i); + + DEBUG_STREAM << "NAME: " << name << " VALUE: " << value << endl; + + Response::Metadata::Row::DtDouble* dtDouble = row->add_double_list(); + dtDouble->set_key(name); + dtDouble->set_value(value); + + break; + } + case soci::dt_integer: + { + int value = m_it->get<int>(i); + + DEBUG_STREAM << "NAME: " << name << " VALUE: " << value << endl; + + Response::Metadata::Row::DtInteger* dtInteger = row->add_integer_list(); + dtInteger->set_key(name); + dtInteger->set_value(value); + + break; + } + case soci::dt_long_long: + { + long long value = m_it->get<long long>(i); + + DEBUG_STREAM << "NAME: " << name << " VALUE: " << value << endl; + + Response::Metadata::Row::DtLongLong* dtLongLong = row->add_long_long_list(); + dtLongLong->set_key(name); + dtLongLong->set_value(value); + + break; + } + case soci::dt_unsigned_long_long: + { + unsigned long value = m_it->get<unsigned long>(i); + + DEBUG_STREAM << "NAME: " << name << " VALUE: " << value << endl; + + Response::Metadata::Row::DtUnsignedLong* dtUnsignedLong = row->add_unsinged_long_list(); + dtUnsignedLong->set_key(name); + dtUnsignedLong->set_value(value); + + break; + } + case soci::dt_date: + { + std::tm value = m_it->get<std::tm>(i); + + DEBUG_STREAM << "NAME: " << name << " VALUE: " << asctime(&value) << endl; + + Response::Metadata::Row::DtDate* dtDate = row->add_date_list(); + dtDate->set_key(name); + dtDate->set_value(mktime(&value)); + + break; + } + default: + throw std::runtime_error("Unknown data type"); + } + } } } //namespace diff --git a/src/ProtocolManager.h b/src/ProtocolManager.h index 0c3e1061fdfd185ba18ed6fb1f1956fd17a604f2..86a7c3b12769aa1520da415fbd44cb579bc84cbd 100644 --- a/src/ProtocolManager.h +++ b/src/ProtocolManager.h @@ -78,8 +78,9 @@ protected: virtual void validateColumn(const Request::Validation::Column&, DBManager::InformationList&) throw(std::runtime_error); - virtual void fillResponse(const Response::Metadata&, - DBManager::MetadataList) throw(std::runtime_error); + virtual void fillMetadata(Response::Metadata*) throw(std::runtime_error); + + virtual void fillRow(Response::Metadata::Row*) throw(std::runtime_error); //------------------------------------------------------------------------------ // [Protected] Class variables @@ -93,9 +94,21 @@ protected: //Client is authorised bool m_isAuthorised; - //Table structure is validated + //Table is validated bool m_isValidated; + //Validate schema name + std::string m_validatedSchema; + + //Validate table name + std::string m_validatedTable; + + //Retrieved data iterator + soci::rowset<soci::row>::const_iterator m_it; + + //Retrieved data + boost::shared_ptr< soci::rowset<soci::row> > m_rowSet_sp; + //Address and port of remote endpoint std::string m_remoteEndpoint; }; diff --git a/src/Request.pb.cc b/src/Request.pb.cc index 070cfa712aa20b074839b91428244fad5f37d9fc..7db780123acce229ed3f6cafbffd231d33f3c606 100644 --- a/src/Request.pb.cc +++ b/src/Request.pb.cc @@ -115,9 +115,7 @@ void protobuf_AssignDesc_Request_2eproto() { ::google::protobuf::MessageFactory::generated_factory(), sizeof(Request_Validation_Column)); Request_Metadata_descriptor_ = Request_descriptor_->nested_type(2); - static const int Request_Metadata_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, schema_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, table_), + static const int Request_Metadata_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, timestamp_), }; Request_Metadata_reflection_ = @@ -178,7 +176,7 @@ void protobuf_AddDesc_Request_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\rRequest.proto\022\023MetadataExporter_ns\"\306\004\n" + "\n\rRequest.proto\022\023MetadataExporter_ns\"\247\004\n" "\007Request\022/\n\004type\030\001 \002(\0162!.MetadataExporte" "r_ns.Request.Type\022A\n\rauthorization\030\002 \001(\013" "2*.MetadataExporter_ns.Request.Authoriza" @@ -190,10 +188,9 @@ void protobuf_AddDesc_Request_2eproto() { "\030\001 \002(\t\022\r\n\005table\030\002 \002(\t\022\?\n\007columns\030\003 \003(\0132." ".MetadataExporter_ns.Request.Validation." "Column\0326\n\006Column\022\014\n\004name\030\001 \002(\t\022\014\n\004type\030\002" - " \002(\t\022\020\n\010nullable\030\003 \002(\t\032<\n\010Metadata\022\016\n\006sc" - "hema\030\001 \002(\t\022\r\n\005table\030\002 \002(\t\022\021\n\ttimestamp\030\003" - " \002(\020\"7\n\004Type\022\021\n\rAUTHORIZATION\020\000\022\016\n\nVALID" - "ATION\020\001\022\014\n\010METADATA\020\002", 621); + " \002(\t\022\020\n\010nullable\030\003 \002(\t\032\035\n\010Metadata\022\021\n\tti" + "mestamp\030\001 \002(\020\"7\n\004Type\022\021\n\rAUTHORIZATION\020\000" + "\022\016\n\nVALIDATION\020\001\022\014\n\010METADATA\020\002", 590); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "Request.proto", &protobuf_RegisterTypes); Request::default_instance_ = new Request(); @@ -1191,8 +1188,6 @@ void Request_Validation::Swap(Request_Validation* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Request_Metadata::kSchemaFieldNumber; -const int Request_Metadata::kTableFieldNumber; const int Request_Metadata::kTimestampFieldNumber; #endif // !_MSC_VER @@ -1212,8 +1207,6 @@ Request_Metadata::Request_Metadata(const Request_Metadata& from) void Request_Metadata::SharedCtor() { _cached_size_ = 0; - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); timestamp_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -1223,12 +1216,6 @@ Request_Metadata::~Request_Metadata() { } void Request_Metadata::SharedDtor() { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - delete schema_; - } - if (table_ != &::google::protobuf::internal::kEmptyString) { - delete table_; - } if (this != default_instance_) { } } @@ -1256,16 +1243,6 @@ Request_Metadata* Request_Metadata::New() const { void Request_Metadata::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_schema()) { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - schema_->clear(); - } - } - if (has_table()) { - if (table_ != &::google::protobuf::internal::kEmptyString) { - table_->clear(); - } - } timestamp_ = GOOGLE_LONGLONG(0); } ::memset(_has_bits_, 0, sizeof(_has_bits_)); @@ -1278,44 +1255,10 @@ bool Request_Metadata::MergePartialFromCodedStream( ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required string schema = 1; + // required sfixed64 timestamp = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_schema())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_table; - break; - } - - // required string table = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_table: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_table())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(25)) goto parse_timestamp; - break; - } - - // required sfixed64 timestamp = 3; - case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { - parse_timestamp: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>( input, ×tamp_))); @@ -1345,27 +1288,9 @@ bool Request_Metadata::MergePartialFromCodedStream( void Request_Metadata::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required string schema = 1; - if (has_schema()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->schema(), output); - } - - // required string table = 2; - if (has_table()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->table(), output); - } - - // required sfixed64 timestamp = 3; + // required sfixed64 timestamp = 1; if (has_timestamp()) { - ::google::protobuf::internal::WireFormatLite::WriteSFixed64(3, this->timestamp(), output); + ::google::protobuf::internal::WireFormatLite::WriteSFixed64(1, this->timestamp(), output); } if (!unknown_fields().empty()) { @@ -1376,29 +1301,9 @@ void Request_Metadata::SerializeWithCachedSizes( ::google::protobuf::uint8* Request_Metadata::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // required string schema = 1; - if (has_schema()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->schema(), target); - } - - // required string table = 2; - if (has_table()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->table(), target); - } - - // required sfixed64 timestamp = 3; + // required sfixed64 timestamp = 1; if (has_timestamp()) { - target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(3, this->timestamp(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(1, this->timestamp(), target); } if (!unknown_fields().empty()) { @@ -1412,21 +1317,7 @@ int Request_Metadata::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required string schema = 1; - if (has_schema()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->schema()); - } - - // required string table = 2; - if (has_table()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->table()); - } - - // required sfixed64 timestamp = 3; + // required sfixed64 timestamp = 1; if (has_timestamp()) { total_size += 1 + 8; } @@ -1458,12 +1349,6 @@ void Request_Metadata::MergeFrom(const ::google::protobuf::Message& from) { void Request_Metadata::MergeFrom(const Request_Metadata& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_schema()) { - set_schema(from.schema()); - } - if (from.has_table()) { - set_table(from.table()); - } if (from.has_timestamp()) { set_timestamp(from.timestamp()); } @@ -1484,15 +1369,13 @@ void Request_Metadata::CopyFrom(const Request_Metadata& from) { } bool Request_Metadata::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void Request_Metadata::Swap(Request_Metadata* other) { if (other != this) { - std::swap(schema_, other->schema_); - std::swap(table_, other->table_); std::swap(timestamp_, other->timestamp_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); diff --git a/src/Request.pb.h b/src/Request.pb.h index 990c15ba51c3ba0a80cc8cf45afa5b03c57a674a..914a068d4929b475a995d0d552f8abdbf9c61bc9 100644 --- a/src/Request.pb.h +++ b/src/Request.pb.h @@ -452,54 +452,24 @@ class Request_Metadata : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // required string schema = 1; - inline bool has_schema() const; - inline void clear_schema(); - static const int kSchemaFieldNumber = 1; - inline const ::std::string& schema() const; - inline void set_schema(const ::std::string& value); - inline void set_schema(const char* value); - inline void set_schema(const char* value, size_t size); - inline ::std::string* mutable_schema(); - inline ::std::string* release_schema(); - inline void set_allocated_schema(::std::string* schema); - - // required string table = 2; - inline bool has_table() const; - inline void clear_table(); - static const int kTableFieldNumber = 2; - inline const ::std::string& table() const; - inline void set_table(const ::std::string& value); - inline void set_table(const char* value); - inline void set_table(const char* value, size_t size); - inline ::std::string* mutable_table(); - inline ::std::string* release_table(); - inline void set_allocated_table(::std::string* table); - - // required sfixed64 timestamp = 3; + // required sfixed64 timestamp = 1; inline bool has_timestamp() const; inline void clear_timestamp(); - static const int kTimestampFieldNumber = 3; + static const int kTimestampFieldNumber = 1; inline ::google::protobuf::int64 timestamp() const; inline void set_timestamp(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Metadata) private: - inline void set_has_schema(); - inline void clear_has_schema(); - inline void set_has_table(); - inline void clear_has_table(); inline void set_has_timestamp(); inline void clear_has_timestamp(); ::google::protobuf::UnknownFieldSet _unknown_fields_; - ::std::string* schema_; - ::std::string* table_; ::google::protobuf::int64 timestamp_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_Request_2eproto(); friend void protobuf_AssignDesc_Request_2eproto(); @@ -1189,155 +1159,15 @@ Request_Validation::mutable_columns() { // Request_Metadata -// required string schema = 1; -inline bool Request_Metadata::has_schema() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Request_Metadata::set_has_schema() { - _has_bits_[0] |= 0x00000001u; -} -inline void Request_Metadata::clear_has_schema() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Request_Metadata::clear_schema() { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - schema_->clear(); - } - clear_has_schema(); -} -inline const ::std::string& Request_Metadata::schema() const { - return *schema_; -} -inline void Request_Metadata::set_schema(const ::std::string& value) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(value); -} -inline void Request_Metadata::set_schema(const char* value) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(value); -} -inline void Request_Metadata::set_schema(const char* value, size_t size) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(reinterpret_cast<const char*>(value), size); -} -inline ::std::string* Request_Metadata::mutable_schema() { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - return schema_; -} -inline ::std::string* Request_Metadata::release_schema() { - clear_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - return NULL; - } else { - ::std::string* temp = schema_; - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; - } -} -inline void Request_Metadata::set_allocated_schema(::std::string* schema) { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - delete schema_; - } - if (schema) { - set_has_schema(); - schema_ = schema; - } else { - clear_has_schema(); - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - } -} - -// required string table = 2; -inline bool Request_Metadata::has_table() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Request_Metadata::set_has_table() { - _has_bits_[0] |= 0x00000002u; -} -inline void Request_Metadata::clear_has_table() { - _has_bits_[0] &= ~0x00000002u; -} -inline void Request_Metadata::clear_table() { - if (table_ != &::google::protobuf::internal::kEmptyString) { - table_->clear(); - } - clear_has_table(); -} -inline const ::std::string& Request_Metadata::table() const { - return *table_; -} -inline void Request_Metadata::set_table(const ::std::string& value) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(value); -} -inline void Request_Metadata::set_table(const char* value) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(value); -} -inline void Request_Metadata::set_table(const char* value, size_t size) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(reinterpret_cast<const char*>(value), size); -} -inline ::std::string* Request_Metadata::mutable_table() { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - return table_; -} -inline ::std::string* Request_Metadata::release_table() { - clear_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - return NULL; - } else { - ::std::string* temp = table_; - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; - } -} -inline void Request_Metadata::set_allocated_table(::std::string* table) { - if (table_ != &::google::protobuf::internal::kEmptyString) { - delete table_; - } - if (table) { - set_has_table(); - table_ = table; - } else { - clear_has_table(); - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - } -} - -// required sfixed64 timestamp = 3; +// required sfixed64 timestamp = 1; inline bool Request_Metadata::has_timestamp() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000001u) != 0; } inline void Request_Metadata::set_has_timestamp() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000001u; } inline void Request_Metadata::clear_has_timestamp() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000001u; } inline void Request_Metadata::clear_timestamp() { timestamp_ = GOOGLE_LONGLONG(0); diff --git a/src/Response.pb.cc b/src/Response.pb.cc index ba2f2006e7b1846a91fbee30f5287dbc94081c5a..b9a18693634c65901a231b50da9866a53979c6c7 100644 --- a/src/Response.pb.cc +++ b/src/Response.pb.cc @@ -34,24 +34,27 @@ const ::google::protobuf::EnumDescriptor* Response_Validation_State_descriptor_ const ::google::protobuf::Descriptor* Response_Metadata_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* Response_Metadata_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtDouble_descriptor_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtDouble_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtInteger_descriptor_ = NULL; + Response_Metadata_Row_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDouble_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtInteger_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtUnsignedLong_descriptor_ = NULL; + Response_Metadata_Row_DtDouble_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtInteger_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtUnsignedLong_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtLongLong_descriptor_ = NULL; + Response_Metadata_Row_DtInteger_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtUnsignedLong_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtLongLong_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtString_descriptor_ = NULL; + Response_Metadata_Row_DtUnsignedLong_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtLongLong_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtString_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_DtDate_descriptor_ = NULL; + Response_Metadata_Row_DtLongLong_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtString_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_DtDate_reflection_ = NULL; + Response_Metadata_Row_DtString_reflection_ = NULL; +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDate_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + Response_Metadata_Row_DtDate_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* Response_Metadata_State_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* Response_Type_descriptor_ = NULL; @@ -117,17 +120,10 @@ void protobuf_AssignDesc_Response_2eproto() { sizeof(Response_Validation)); Response_Validation_State_descriptor_ = Response_Validation_descriptor_->enum_type(0); Response_Metadata_descriptor_ = Response_descriptor_->nested_type(2); - static const int Response_Metadata_offsets_[10] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, partial_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, total_), + static const int Response_Metadata_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, state_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, status_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, double_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, integer_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, unsinged_long_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, long_long_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, strings_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, date_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, rows_), }; Response_Metadata_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -140,102 +136,122 @@ void protobuf_AssignDesc_Response_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(Response_Metadata)); - Response_Metadata_DtDouble_descriptor_ = Response_Metadata_descriptor_->nested_type(0); - static const int Response_Metadata_DtDouble_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDouble, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDouble, value_), + Response_Metadata_Row_descriptor_ = Response_Metadata_descriptor_->nested_type(0); + static const int Response_Metadata_Row_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, double_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, integer_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, unsinged_long_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, long_long_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, strings_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, date_list_), + }; + Response_Metadata_Row_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + Response_Metadata_Row_descriptor_, + Response_Metadata_Row::default_instance_, + Response_Metadata_Row_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(Response_Metadata_Row)); + Response_Metadata_Row_DtDouble_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(0); + static const int Response_Metadata_Row_DtDouble_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, value_), }; - Response_Metadata_DtDouble_reflection_ = + Response_Metadata_Row_DtDouble_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtDouble_descriptor_, - Response_Metadata_DtDouble::default_instance_, - Response_Metadata_DtDouble_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDouble, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDouble, _unknown_fields_), + Response_Metadata_Row_DtDouble_descriptor_, + Response_Metadata_Row_DtDouble::default_instance_, + Response_Metadata_Row_DtDouble_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtDouble)); - Response_Metadata_DtInteger_descriptor_ = Response_Metadata_descriptor_->nested_type(1); - static const int Response_Metadata_DtInteger_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtInteger, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtInteger, value_), + sizeof(Response_Metadata_Row_DtDouble)); + Response_Metadata_Row_DtInteger_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(1); + static const int Response_Metadata_Row_DtInteger_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, value_), }; - Response_Metadata_DtInteger_reflection_ = + Response_Metadata_Row_DtInteger_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtInteger_descriptor_, - Response_Metadata_DtInteger::default_instance_, - Response_Metadata_DtInteger_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtInteger, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtInteger, _unknown_fields_), + Response_Metadata_Row_DtInteger_descriptor_, + Response_Metadata_Row_DtInteger::default_instance_, + Response_Metadata_Row_DtInteger_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtInteger)); - Response_Metadata_DtUnsignedLong_descriptor_ = Response_Metadata_descriptor_->nested_type(2); - static const int Response_Metadata_DtUnsignedLong_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtUnsignedLong, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtUnsignedLong, value_), + sizeof(Response_Metadata_Row_DtInteger)); + Response_Metadata_Row_DtUnsignedLong_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(2); + static const int Response_Metadata_Row_DtUnsignedLong_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, value_), }; - Response_Metadata_DtUnsignedLong_reflection_ = + Response_Metadata_Row_DtUnsignedLong_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtUnsignedLong_descriptor_, - Response_Metadata_DtUnsignedLong::default_instance_, - Response_Metadata_DtUnsignedLong_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtUnsignedLong, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtUnsignedLong, _unknown_fields_), + Response_Metadata_Row_DtUnsignedLong_descriptor_, + Response_Metadata_Row_DtUnsignedLong::default_instance_, + Response_Metadata_Row_DtUnsignedLong_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtUnsignedLong)); - Response_Metadata_DtLongLong_descriptor_ = Response_Metadata_descriptor_->nested_type(3); - static const int Response_Metadata_DtLongLong_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtLongLong, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtLongLong, value_), + sizeof(Response_Metadata_Row_DtUnsignedLong)); + Response_Metadata_Row_DtLongLong_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(3); + static const int Response_Metadata_Row_DtLongLong_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, value_), }; - Response_Metadata_DtLongLong_reflection_ = + Response_Metadata_Row_DtLongLong_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtLongLong_descriptor_, - Response_Metadata_DtLongLong::default_instance_, - Response_Metadata_DtLongLong_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtLongLong, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtLongLong, _unknown_fields_), + Response_Metadata_Row_DtLongLong_descriptor_, + Response_Metadata_Row_DtLongLong::default_instance_, + Response_Metadata_Row_DtLongLong_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtLongLong)); - Response_Metadata_DtString_descriptor_ = Response_Metadata_descriptor_->nested_type(4); - static const int Response_Metadata_DtString_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtString, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtString, value_), + sizeof(Response_Metadata_Row_DtLongLong)); + Response_Metadata_Row_DtString_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(4); + static const int Response_Metadata_Row_DtString_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, value_), }; - Response_Metadata_DtString_reflection_ = + Response_Metadata_Row_DtString_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtString_descriptor_, - Response_Metadata_DtString::default_instance_, - Response_Metadata_DtString_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtString, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtString, _unknown_fields_), + Response_Metadata_Row_DtString_descriptor_, + Response_Metadata_Row_DtString::default_instance_, + Response_Metadata_Row_DtString_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtString)); - Response_Metadata_DtDate_descriptor_ = Response_Metadata_descriptor_->nested_type(5); - static const int Response_Metadata_DtDate_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDate, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDate, value_), + sizeof(Response_Metadata_Row_DtString)); + Response_Metadata_Row_DtDate_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(5); + static const int Response_Metadata_Row_DtDate_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, value_), }; - Response_Metadata_DtDate_reflection_ = + Response_Metadata_Row_DtDate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_DtDate_descriptor_, - Response_Metadata_DtDate::default_instance_, - Response_Metadata_DtDate_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDate, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_DtDate, _unknown_fields_), + Response_Metadata_Row_DtDate_descriptor_, + Response_Metadata_Row_DtDate::default_instance_, + Response_Metadata_Row_DtDate_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_DtDate)); + sizeof(Response_Metadata_Row_DtDate)); Response_Metadata_State_descriptor_ = Response_Metadata_descriptor_->enum_type(0); Response_Type_descriptor_ = Response_descriptor_->enum_type(0); } @@ -259,17 +275,19 @@ void protobuf_RegisterTypes(const ::std::string&) { ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( Response_Metadata_descriptor_, &Response_Metadata::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtDouble_descriptor_, &Response_Metadata_DtDouble::default_instance()); + Response_Metadata_Row_descriptor_, &Response_Metadata_Row::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtInteger_descriptor_, &Response_Metadata_DtInteger::default_instance()); + Response_Metadata_Row_DtDouble_descriptor_, &Response_Metadata_Row_DtDouble::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtUnsignedLong_descriptor_, &Response_Metadata_DtUnsignedLong::default_instance()); + Response_Metadata_Row_DtInteger_descriptor_, &Response_Metadata_Row_DtInteger::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtLongLong_descriptor_, &Response_Metadata_DtLongLong::default_instance()); + Response_Metadata_Row_DtUnsignedLong_descriptor_, &Response_Metadata_Row_DtUnsignedLong::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtString_descriptor_, &Response_Metadata_DtString::default_instance()); + Response_Metadata_Row_DtLongLong_descriptor_, &Response_Metadata_Row_DtLongLong::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_DtDate_descriptor_, &Response_Metadata_DtDate::default_instance()); + Response_Metadata_Row_DtString_descriptor_, &Response_Metadata_Row_DtString::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + Response_Metadata_Row_DtDate_descriptor_, &Response_Metadata_Row_DtDate::default_instance()); } } // namespace @@ -283,18 +301,20 @@ void protobuf_ShutdownFile_Response_2eproto() { delete Response_Validation_reflection_; delete Response_Metadata::default_instance_; delete Response_Metadata_reflection_; - delete Response_Metadata_DtDouble::default_instance_; - delete Response_Metadata_DtDouble_reflection_; - delete Response_Metadata_DtInteger::default_instance_; - delete Response_Metadata_DtInteger_reflection_; - delete Response_Metadata_DtUnsignedLong::default_instance_; - delete Response_Metadata_DtUnsignedLong_reflection_; - delete Response_Metadata_DtLongLong::default_instance_; - delete Response_Metadata_DtLongLong_reflection_; - delete Response_Metadata_DtString::default_instance_; - delete Response_Metadata_DtString_reflection_; - delete Response_Metadata_DtDate::default_instance_; - delete Response_Metadata_DtDate_reflection_; + delete Response_Metadata_Row::default_instance_; + delete Response_Metadata_Row_reflection_; + delete Response_Metadata_Row_DtDouble::default_instance_; + delete Response_Metadata_Row_DtDouble_reflection_; + delete Response_Metadata_Row_DtInteger::default_instance_; + delete Response_Metadata_Row_DtInteger_reflection_; + delete Response_Metadata_Row_DtUnsignedLong::default_instance_; + delete Response_Metadata_Row_DtUnsignedLong_reflection_; + delete Response_Metadata_Row_DtLongLong::default_instance_; + delete Response_Metadata_Row_DtLongLong_reflection_; + delete Response_Metadata_Row_DtString::default_instance_; + delete Response_Metadata_Row_DtString_reflection_; + delete Response_Metadata_Row_DtDate::default_instance_; + delete Response_Metadata_Row_DtDate_reflection_; } void protobuf_AddDesc_Response_2eproto() { @@ -304,7 +324,7 @@ void protobuf_AddDesc_Response_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\016Response.proto\022\023MetadataExporter_ns\"\210\013" + "\n\016Response.proto\022\023MetadataExporter_ns\"\302\013" "\n\010Response\0220\n\004type\030\001 \002(\0162\".MetadataExpor" "ter_ns.Response.Type\022B\n\rauthorization\030\002 " "\001(\0132+.MetadataExporter_ns.Response.Autho" @@ -317,52 +337,55 @@ void protobuf_AddDesc_Response_2eproto() { "\010ACCEPTED\020\000\022\014\n\010REJECTED\020\001\032\200\001\n\nValidation" "\022=\n\005state\030\001 \002(\0162..MetadataExporter_ns.Re" "sponse.Validation.State\022\016\n\006status\030\002 \002(\t\"" - "#\n\005State\022\014\n\010ACCEPTED\020\000\022\014\n\010REJECTED\020\001\032\310\006\n" - "\010Metadata\022\017\n\007partial\030\001 \002(\004\022\r\n\005total\030\002 \002(" - "\004\022;\n\005state\030\003 \002(\0162,.MetadataExporter_ns.R" - "esponse.Metadata.State\022\016\n\006status\030\004 \002(\t\022D" - "\n\013double_list\030\005 \003(\0132/.MetadataExporter_n" - "s.Response.Metadata.DtDouble\022F\n\014integer_" - "list\030\006 \003(\01320.MetadataExporter_ns.Respons" - "e.Metadata.DtInteger\022Q\n\022unsinged_long_li" - "st\030\007 \003(\01325.MetadataExporter_ns.Response." - "Metadata.DtUnsignedLong\022I\n\016long_long_lis" - "t\030\010 \003(\01321.MetadataExporter_ns.Response.M" - "etadata.DtLongLong\022E\n\014strings_list\030\t \003(\013" - "2/.MetadataExporter_ns.Response.Metadata" - ".DtString\022@\n\tdate_list\030\n \003(\0132-.MetadataE" - "xporter_ns.Response.Metadata.DtDate\032&\n\010D" - "tDouble\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\001\032\'\n\tD" - "tInteger\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\005\032,\n\016" - "DtUnsignedLong\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002" - "(\004\032(\n\nDtLongLong\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002" - " \002(\003\032&\n\010DtString\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002" - " \002(\t\032$\n\006DtDate\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002" - "(\020\"#\n\005State\022\014\n\010ACCEPTED\020\000\022\014\n\010REJECTED\020\001\"" - "7\n\004Type\022\021\n\rAUTHORIZATION\020\000\022\016\n\nVALIDATION" - "\020\001\022\014\n\010METADATA\020\002", 1456); + "#\n\005State\022\014\n\010ACCEPTED\020\000\022\014\n\010REJECTED\020\001\032\202\007\n" + "\010Metadata\022;\n\005state\030\001 \002(\0162,.MetadataExpor" + "ter_ns.Response.Metadata.State\022\016\n\006status" + "\030\002 \002(\t\0228\n\004rows\030\003 \003(\0132*.MetadataExporter_" + "ns.Response.Metadata.Row\032\311\005\n\003Row\022H\n\013doub" + "le_list\030\001 \003(\01323.MetadataExporter_ns.Resp" + "onse.Metadata.Row.DtDouble\022J\n\014integer_li" + "st\030\002 \003(\01324.MetadataExporter_ns.Response." + "Metadata.Row.DtInteger\022U\n\022unsinged_long_" + "list\030\003 \003(\01329.MetadataExporter_ns.Respons" + "e.Metadata.Row.DtUnsignedLong\022M\n\016long_lo" + "ng_list\030\004 \003(\01325.MetadataExporter_ns.Resp" + "onse.Metadata.Row.DtLongLong\022I\n\014strings_" + "list\030\005 \003(\01323.MetadataExporter_ns.Respons" + "e.Metadata.Row.DtString\022D\n\tdate_list\030\006 \003" + "(\01321.MetadataExporter_ns.Response.Metada" + "ta.Row.DtDate\032&\n\010DtDouble\022\013\n\003key\030\001 \002(\t\022\r" + "\n\005value\030\002 \002(\001\032\'\n\tDtInteger\022\013\n\003key\030\001 \002(\t\022" + "\r\n\005value\030\002 \002(\005\032,\n\016DtUnsignedLong\022\013\n\003key\030" + "\001 \002(\t\022\r\n\005value\030\002 \002(\004\032(\n\nDtLongLong\022\013\n\003ke" + "y\030\001 \002(\t\022\r\n\005value\030\002 \002(\003\032&\n\010DtString\022\013\n\003ke" + "y\030\001 \002(\t\022\r\n\005value\030\002 \002(\t\032$\n\006DtDate\022\013\n\003key\030" + "\001 \002(\t\022\r\n\005value\030\002 \002(\020\"#\n\005State\022\014\n\010ACCEPTE" + "D\020\000\022\014\n\010REJECTED\020\001\"7\n\004Type\022\021\n\rAUTHORIZATI" + "ON\020\000\022\016\n\nVALIDATION\020\001\022\014\n\010METADATA\020\002", 1514); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "Response.proto", &protobuf_RegisterTypes); Response::default_instance_ = new Response(); Response_Authorization::default_instance_ = new Response_Authorization(); Response_Validation::default_instance_ = new Response_Validation(); Response_Metadata::default_instance_ = new Response_Metadata(); - Response_Metadata_DtDouble::default_instance_ = new Response_Metadata_DtDouble(); - Response_Metadata_DtInteger::default_instance_ = new Response_Metadata_DtInteger(); - Response_Metadata_DtUnsignedLong::default_instance_ = new Response_Metadata_DtUnsignedLong(); - Response_Metadata_DtLongLong::default_instance_ = new Response_Metadata_DtLongLong(); - Response_Metadata_DtString::default_instance_ = new Response_Metadata_DtString(); - Response_Metadata_DtDate::default_instance_ = new Response_Metadata_DtDate(); + Response_Metadata_Row::default_instance_ = new Response_Metadata_Row(); + Response_Metadata_Row_DtDouble::default_instance_ = new Response_Metadata_Row_DtDouble(); + Response_Metadata_Row_DtInteger::default_instance_ = new Response_Metadata_Row_DtInteger(); + Response_Metadata_Row_DtUnsignedLong::default_instance_ = new Response_Metadata_Row_DtUnsignedLong(); + Response_Metadata_Row_DtLongLong::default_instance_ = new Response_Metadata_Row_DtLongLong(); + Response_Metadata_Row_DtString::default_instance_ = new Response_Metadata_Row_DtString(); + Response_Metadata_Row_DtDate::default_instance_ = new Response_Metadata_Row_DtDate(); Response::default_instance_->InitAsDefaultInstance(); Response_Authorization::default_instance_->InitAsDefaultInstance(); Response_Validation::default_instance_->InitAsDefaultInstance(); Response_Metadata::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtDouble::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtInteger::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtUnsignedLong::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtLongLong::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtString::default_instance_->InitAsDefaultInstance(); - Response_Metadata_DtDate::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtDouble::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtInteger::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtUnsignedLong::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtLongLong::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtString::default_instance_->InitAsDefaultInstance(); + Response_Metadata_Row_DtDate::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_Response_2eproto); } @@ -1006,36 +1029,36 @@ const Response_Metadata_State Response_Metadata::State_MAX; const int Response_Metadata::State_ARRAYSIZE; #endif // _MSC_VER #ifndef _MSC_VER -const int Response_Metadata_DtDouble::kKeyFieldNumber; -const int Response_Metadata_DtDouble::kValueFieldNumber; +const int Response_Metadata_Row_DtDouble::kKeyFieldNumber; +const int Response_Metadata_Row_DtDouble::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtDouble::Response_Metadata_DtDouble() +Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtDouble::InitAsDefaultInstance() { +void Response_Metadata_Row_DtDouble::InitAsDefaultInstance() { } -Response_Metadata_DtDouble::Response_Metadata_DtDouble(const Response_Metadata_DtDouble& from) +Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble(const Response_Metadata_Row_DtDouble& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtDouble::SharedCtor() { +void Response_Metadata_Row_DtDouble::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtDouble::~Response_Metadata_DtDouble() { +Response_Metadata_Row_DtDouble::~Response_Metadata_Row_DtDouble() { SharedDtor(); } -void Response_Metadata_DtDouble::SharedDtor() { +void Response_Metadata_Row_DtDouble::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1043,28 +1066,28 @@ void Response_Metadata_DtDouble::SharedDtor() { } } -void Response_Metadata_DtDouble::SetCachedSize(int size) const { +void Response_Metadata_Row_DtDouble::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtDouble::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDouble::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtDouble_descriptor_; + return Response_Metadata_Row_DtDouble_descriptor_; } -const Response_Metadata_DtDouble& Response_Metadata_DtDouble::default_instance() { +const Response_Metadata_Row_DtDouble& Response_Metadata_Row_DtDouble::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtDouble* Response_Metadata_DtDouble::default_instance_ = NULL; +Response_Metadata_Row_DtDouble* Response_Metadata_Row_DtDouble::default_instance_ = NULL; -Response_Metadata_DtDouble* Response_Metadata_DtDouble::New() const { - return new Response_Metadata_DtDouble; +Response_Metadata_Row_DtDouble* Response_Metadata_Row_DtDouble::New() const { + return new Response_Metadata_Row_DtDouble; } -void Response_Metadata_DtDouble::Clear() { +void Response_Metadata_Row_DtDouble::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -1077,7 +1100,7 @@ void Response_Metadata_DtDouble::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtDouble::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtDouble::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -1131,7 +1154,7 @@ bool Response_Metadata_DtDouble::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtDouble::SerializeWithCachedSizes( +void Response_Metadata_Row_DtDouble::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -1153,7 +1176,7 @@ void Response_Metadata_DtDouble::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtDouble::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtDouble::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -1177,7 +1200,7 @@ void Response_Metadata_DtDouble::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtDouble::ByteSize() const { +int Response_Metadata_Row_DtDouble::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -1205,10 +1228,10 @@ int Response_Metadata_DtDouble::ByteSize() const { return total_size; } -void Response_Metadata_DtDouble::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDouble::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtDouble* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtDouble*>( + const Response_Metadata_Row_DtDouble* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtDouble*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -1217,7 +1240,7 @@ void Response_Metadata_DtDouble::MergeFrom(const ::google::protobuf::Message& fr } } -void Response_Metadata_DtDouble::MergeFrom(const Response_Metadata_DtDouble& from) { +void Response_Metadata_Row_DtDouble::MergeFrom(const Response_Metadata_Row_DtDouble& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -1230,25 +1253,25 @@ void Response_Metadata_DtDouble::MergeFrom(const Response_Metadata_DtDouble& fro mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtDouble::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDouble::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtDouble::CopyFrom(const Response_Metadata_DtDouble& from) { +void Response_Metadata_Row_DtDouble::CopyFrom(const Response_Metadata_Row_DtDouble& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtDouble::IsInitialized() const { +bool Response_Metadata_Row_DtDouble::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtDouble::Swap(Response_Metadata_DtDouble* other) { +void Response_Metadata_Row_DtDouble::Swap(Response_Metadata_Row_DtDouble* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -1258,11 +1281,11 @@ void Response_Metadata_DtDouble::Swap(Response_Metadata_DtDouble* other) { } } -::google::protobuf::Metadata Response_Metadata_DtDouble::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtDouble::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtDouble_descriptor_; - metadata.reflection = Response_Metadata_DtDouble_reflection_; + metadata.descriptor = Response_Metadata_Row_DtDouble_descriptor_; + metadata.reflection = Response_Metadata_Row_DtDouble_reflection_; return metadata; } @@ -1270,36 +1293,36 @@ void Response_Metadata_DtDouble::Swap(Response_Metadata_DtDouble* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata_DtInteger::kKeyFieldNumber; -const int Response_Metadata_DtInteger::kValueFieldNumber; +const int Response_Metadata_Row_DtInteger::kKeyFieldNumber; +const int Response_Metadata_Row_DtInteger::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtInteger::Response_Metadata_DtInteger() +Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtInteger::InitAsDefaultInstance() { +void Response_Metadata_Row_DtInteger::InitAsDefaultInstance() { } -Response_Metadata_DtInteger::Response_Metadata_DtInteger(const Response_Metadata_DtInteger& from) +Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger(const Response_Metadata_Row_DtInteger& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtInteger::SharedCtor() { +void Response_Metadata_Row_DtInteger::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtInteger::~Response_Metadata_DtInteger() { +Response_Metadata_Row_DtInteger::~Response_Metadata_Row_DtInteger() { SharedDtor(); } -void Response_Metadata_DtInteger::SharedDtor() { +void Response_Metadata_Row_DtInteger::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1307,28 +1330,28 @@ void Response_Metadata_DtInteger::SharedDtor() { } } -void Response_Metadata_DtInteger::SetCachedSize(int size) const { +void Response_Metadata_Row_DtInteger::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtInteger::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtInteger::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtInteger_descriptor_; + return Response_Metadata_Row_DtInteger_descriptor_; } -const Response_Metadata_DtInteger& Response_Metadata_DtInteger::default_instance() { +const Response_Metadata_Row_DtInteger& Response_Metadata_Row_DtInteger::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtInteger* Response_Metadata_DtInteger::default_instance_ = NULL; +Response_Metadata_Row_DtInteger* Response_Metadata_Row_DtInteger::default_instance_ = NULL; -Response_Metadata_DtInteger* Response_Metadata_DtInteger::New() const { - return new Response_Metadata_DtInteger; +Response_Metadata_Row_DtInteger* Response_Metadata_Row_DtInteger::New() const { + return new Response_Metadata_Row_DtInteger; } -void Response_Metadata_DtInteger::Clear() { +void Response_Metadata_Row_DtInteger::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -1341,7 +1364,7 @@ void Response_Metadata_DtInteger::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtInteger::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtInteger::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -1395,7 +1418,7 @@ bool Response_Metadata_DtInteger::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtInteger::SerializeWithCachedSizes( +void Response_Metadata_Row_DtInteger::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -1417,7 +1440,7 @@ void Response_Metadata_DtInteger::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtInteger::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtInteger::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -1441,7 +1464,7 @@ void Response_Metadata_DtInteger::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtInteger::ByteSize() const { +int Response_Metadata_Row_DtInteger::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -1471,10 +1494,10 @@ int Response_Metadata_DtInteger::ByteSize() const { return total_size; } -void Response_Metadata_DtInteger::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtInteger::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtInteger* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtInteger*>( + const Response_Metadata_Row_DtInteger* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtInteger*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -1483,7 +1506,7 @@ void Response_Metadata_DtInteger::MergeFrom(const ::google::protobuf::Message& f } } -void Response_Metadata_DtInteger::MergeFrom(const Response_Metadata_DtInteger& from) { +void Response_Metadata_Row_DtInteger::MergeFrom(const Response_Metadata_Row_DtInteger& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -1496,25 +1519,25 @@ void Response_Metadata_DtInteger::MergeFrom(const Response_Metadata_DtInteger& f mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtInteger::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtInteger::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtInteger::CopyFrom(const Response_Metadata_DtInteger& from) { +void Response_Metadata_Row_DtInteger::CopyFrom(const Response_Metadata_Row_DtInteger& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtInteger::IsInitialized() const { +bool Response_Metadata_Row_DtInteger::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtInteger::Swap(Response_Metadata_DtInteger* other) { +void Response_Metadata_Row_DtInteger::Swap(Response_Metadata_Row_DtInteger* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -1524,11 +1547,11 @@ void Response_Metadata_DtInteger::Swap(Response_Metadata_DtInteger* other) { } } -::google::protobuf::Metadata Response_Metadata_DtInteger::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtInteger::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtInteger_descriptor_; - metadata.reflection = Response_Metadata_DtInteger_reflection_; + metadata.descriptor = Response_Metadata_Row_DtInteger_descriptor_; + metadata.reflection = Response_Metadata_Row_DtInteger_reflection_; return metadata; } @@ -1536,36 +1559,36 @@ void Response_Metadata_DtInteger::Swap(Response_Metadata_DtInteger* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata_DtUnsignedLong::kKeyFieldNumber; -const int Response_Metadata_DtUnsignedLong::kValueFieldNumber; +const int Response_Metadata_Row_DtUnsignedLong::kKeyFieldNumber; +const int Response_Metadata_Row_DtUnsignedLong::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtUnsignedLong::Response_Metadata_DtUnsignedLong() +Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtUnsignedLong::InitAsDefaultInstance() { +void Response_Metadata_Row_DtUnsignedLong::InitAsDefaultInstance() { } -Response_Metadata_DtUnsignedLong::Response_Metadata_DtUnsignedLong(const Response_Metadata_DtUnsignedLong& from) +Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong(const Response_Metadata_Row_DtUnsignedLong& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtUnsignedLong::SharedCtor() { +void Response_Metadata_Row_DtUnsignedLong::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = GOOGLE_ULONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtUnsignedLong::~Response_Metadata_DtUnsignedLong() { +Response_Metadata_Row_DtUnsignedLong::~Response_Metadata_Row_DtUnsignedLong() { SharedDtor(); } -void Response_Metadata_DtUnsignedLong::SharedDtor() { +void Response_Metadata_Row_DtUnsignedLong::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1573,28 +1596,28 @@ void Response_Metadata_DtUnsignedLong::SharedDtor() { } } -void Response_Metadata_DtUnsignedLong::SetCachedSize(int size) const { +void Response_Metadata_Row_DtUnsignedLong::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtUnsignedLong::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtUnsignedLong::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtUnsignedLong_descriptor_; + return Response_Metadata_Row_DtUnsignedLong_descriptor_; } -const Response_Metadata_DtUnsignedLong& Response_Metadata_DtUnsignedLong::default_instance() { +const Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row_DtUnsignedLong::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtUnsignedLong* Response_Metadata_DtUnsignedLong::default_instance_ = NULL; +Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row_DtUnsignedLong::default_instance_ = NULL; -Response_Metadata_DtUnsignedLong* Response_Metadata_DtUnsignedLong::New() const { - return new Response_Metadata_DtUnsignedLong; +Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row_DtUnsignedLong::New() const { + return new Response_Metadata_Row_DtUnsignedLong; } -void Response_Metadata_DtUnsignedLong::Clear() { +void Response_Metadata_Row_DtUnsignedLong::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -1607,7 +1630,7 @@ void Response_Metadata_DtUnsignedLong::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtUnsignedLong::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtUnsignedLong::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -1661,7 +1684,7 @@ bool Response_Metadata_DtUnsignedLong::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtUnsignedLong::SerializeWithCachedSizes( +void Response_Metadata_Row_DtUnsignedLong::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -1683,7 +1706,7 @@ void Response_Metadata_DtUnsignedLong::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtUnsignedLong::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtUnsignedLong::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -1707,7 +1730,7 @@ void Response_Metadata_DtUnsignedLong::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtUnsignedLong::ByteSize() const { +int Response_Metadata_Row_DtUnsignedLong::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -1737,10 +1760,10 @@ int Response_Metadata_DtUnsignedLong::ByteSize() const { return total_size; } -void Response_Metadata_DtUnsignedLong::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtUnsignedLong* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtUnsignedLong*>( + const Response_Metadata_Row_DtUnsignedLong* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtUnsignedLong*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -1749,7 +1772,7 @@ void Response_Metadata_DtUnsignedLong::MergeFrom(const ::google::protobuf::Messa } } -void Response_Metadata_DtUnsignedLong::MergeFrom(const Response_Metadata_DtUnsignedLong& from) { +void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -1762,25 +1785,25 @@ void Response_Metadata_DtUnsignedLong::MergeFrom(const Response_Metadata_DtUnsig mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtUnsignedLong::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtUnsignedLong::CopyFrom(const Response_Metadata_DtUnsignedLong& from) { +void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const Response_Metadata_Row_DtUnsignedLong& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtUnsignedLong::IsInitialized() const { +bool Response_Metadata_Row_DtUnsignedLong::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtUnsignedLong::Swap(Response_Metadata_DtUnsignedLong* other) { +void Response_Metadata_Row_DtUnsignedLong::Swap(Response_Metadata_Row_DtUnsignedLong* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -1790,11 +1813,11 @@ void Response_Metadata_DtUnsignedLong::Swap(Response_Metadata_DtUnsignedLong* ot } } -::google::protobuf::Metadata Response_Metadata_DtUnsignedLong::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtUnsignedLong::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtUnsignedLong_descriptor_; - metadata.reflection = Response_Metadata_DtUnsignedLong_reflection_; + metadata.descriptor = Response_Metadata_Row_DtUnsignedLong_descriptor_; + metadata.reflection = Response_Metadata_Row_DtUnsignedLong_reflection_; return metadata; } @@ -1802,36 +1825,36 @@ void Response_Metadata_DtUnsignedLong::Swap(Response_Metadata_DtUnsignedLong* ot // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata_DtLongLong::kKeyFieldNumber; -const int Response_Metadata_DtLongLong::kValueFieldNumber; +const int Response_Metadata_Row_DtLongLong::kKeyFieldNumber; +const int Response_Metadata_Row_DtLongLong::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtLongLong::Response_Metadata_DtLongLong() +Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtLongLong::InitAsDefaultInstance() { +void Response_Metadata_Row_DtLongLong::InitAsDefaultInstance() { } -Response_Metadata_DtLongLong::Response_Metadata_DtLongLong(const Response_Metadata_DtLongLong& from) +Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong(const Response_Metadata_Row_DtLongLong& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtLongLong::SharedCtor() { +void Response_Metadata_Row_DtLongLong::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtLongLong::~Response_Metadata_DtLongLong() { +Response_Metadata_Row_DtLongLong::~Response_Metadata_Row_DtLongLong() { SharedDtor(); } -void Response_Metadata_DtLongLong::SharedDtor() { +void Response_Metadata_Row_DtLongLong::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1839,28 +1862,28 @@ void Response_Metadata_DtLongLong::SharedDtor() { } } -void Response_Metadata_DtLongLong::SetCachedSize(int size) const { +void Response_Metadata_Row_DtLongLong::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtLongLong::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtLongLong::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtLongLong_descriptor_; + return Response_Metadata_Row_DtLongLong_descriptor_; } -const Response_Metadata_DtLongLong& Response_Metadata_DtLongLong::default_instance() { +const Response_Metadata_Row_DtLongLong& Response_Metadata_Row_DtLongLong::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtLongLong* Response_Metadata_DtLongLong::default_instance_ = NULL; +Response_Metadata_Row_DtLongLong* Response_Metadata_Row_DtLongLong::default_instance_ = NULL; -Response_Metadata_DtLongLong* Response_Metadata_DtLongLong::New() const { - return new Response_Metadata_DtLongLong; +Response_Metadata_Row_DtLongLong* Response_Metadata_Row_DtLongLong::New() const { + return new Response_Metadata_Row_DtLongLong; } -void Response_Metadata_DtLongLong::Clear() { +void Response_Metadata_Row_DtLongLong::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -1873,7 +1896,7 @@ void Response_Metadata_DtLongLong::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtLongLong::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtLongLong::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -1927,7 +1950,7 @@ bool Response_Metadata_DtLongLong::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtLongLong::SerializeWithCachedSizes( +void Response_Metadata_Row_DtLongLong::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -1949,7 +1972,7 @@ void Response_Metadata_DtLongLong::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtLongLong::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtLongLong::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -1973,7 +1996,7 @@ void Response_Metadata_DtLongLong::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtLongLong::ByteSize() const { +int Response_Metadata_Row_DtLongLong::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -2003,10 +2026,10 @@ int Response_Metadata_DtLongLong::ByteSize() const { return total_size; } -void Response_Metadata_DtLongLong::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtLongLong::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtLongLong* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtLongLong*>( + const Response_Metadata_Row_DtLongLong* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtLongLong*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -2015,7 +2038,7 @@ void Response_Metadata_DtLongLong::MergeFrom(const ::google::protobuf::Message& } } -void Response_Metadata_DtLongLong::MergeFrom(const Response_Metadata_DtLongLong& from) { +void Response_Metadata_Row_DtLongLong::MergeFrom(const Response_Metadata_Row_DtLongLong& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -2028,25 +2051,25 @@ void Response_Metadata_DtLongLong::MergeFrom(const Response_Metadata_DtLongLong& mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtLongLong::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtLongLong::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtLongLong::CopyFrom(const Response_Metadata_DtLongLong& from) { +void Response_Metadata_Row_DtLongLong::CopyFrom(const Response_Metadata_Row_DtLongLong& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtLongLong::IsInitialized() const { +bool Response_Metadata_Row_DtLongLong::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtLongLong::Swap(Response_Metadata_DtLongLong* other) { +void Response_Metadata_Row_DtLongLong::Swap(Response_Metadata_Row_DtLongLong* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -2056,11 +2079,11 @@ void Response_Metadata_DtLongLong::Swap(Response_Metadata_DtLongLong* other) { } } -::google::protobuf::Metadata Response_Metadata_DtLongLong::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtLongLong::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtLongLong_descriptor_; - metadata.reflection = Response_Metadata_DtLongLong_reflection_; + metadata.descriptor = Response_Metadata_Row_DtLongLong_descriptor_; + metadata.reflection = Response_Metadata_Row_DtLongLong_reflection_; return metadata; } @@ -2068,36 +2091,36 @@ void Response_Metadata_DtLongLong::Swap(Response_Metadata_DtLongLong* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata_DtString::kKeyFieldNumber; -const int Response_Metadata_DtString::kValueFieldNumber; +const int Response_Metadata_Row_DtString::kKeyFieldNumber; +const int Response_Metadata_Row_DtString::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtString::Response_Metadata_DtString() +Response_Metadata_Row_DtString::Response_Metadata_Row_DtString() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtString::InitAsDefaultInstance() { +void Response_Metadata_Row_DtString::InitAsDefaultInstance() { } -Response_Metadata_DtString::Response_Metadata_DtString(const Response_Metadata_DtString& from) +Response_Metadata_Row_DtString::Response_Metadata_Row_DtString(const Response_Metadata_Row_DtString& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtString::SharedCtor() { +void Response_Metadata_Row_DtString::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtString::~Response_Metadata_DtString() { +Response_Metadata_Row_DtString::~Response_Metadata_Row_DtString() { SharedDtor(); } -void Response_Metadata_DtString::SharedDtor() { +void Response_Metadata_Row_DtString::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -2108,28 +2131,28 @@ void Response_Metadata_DtString::SharedDtor() { } } -void Response_Metadata_DtString::SetCachedSize(int size) const { +void Response_Metadata_Row_DtString::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtString::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtString::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtString_descriptor_; + return Response_Metadata_Row_DtString_descriptor_; } -const Response_Metadata_DtString& Response_Metadata_DtString::default_instance() { +const Response_Metadata_Row_DtString& Response_Metadata_Row_DtString::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtString* Response_Metadata_DtString::default_instance_ = NULL; +Response_Metadata_Row_DtString* Response_Metadata_Row_DtString::default_instance_ = NULL; -Response_Metadata_DtString* Response_Metadata_DtString::New() const { - return new Response_Metadata_DtString; +Response_Metadata_Row_DtString* Response_Metadata_Row_DtString::New() const { + return new Response_Metadata_Row_DtString; } -void Response_Metadata_DtString::Clear() { +void Response_Metadata_Row_DtString::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -2146,7 +2169,7 @@ void Response_Metadata_DtString::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtString::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtString::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -2201,7 +2224,7 @@ bool Response_Metadata_DtString::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtString::SerializeWithCachedSizes( +void Response_Metadata_Row_DtString::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -2227,7 +2250,7 @@ void Response_Metadata_DtString::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtString::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtString::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -2256,7 +2279,7 @@ void Response_Metadata_DtString::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtString::ByteSize() const { +int Response_Metadata_Row_DtString::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -2286,10 +2309,10 @@ int Response_Metadata_DtString::ByteSize() const { return total_size; } -void Response_Metadata_DtString::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtString::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtString* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtString*>( + const Response_Metadata_Row_DtString* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtString*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -2298,7 +2321,7 @@ void Response_Metadata_DtString::MergeFrom(const ::google::protobuf::Message& fr } } -void Response_Metadata_DtString::MergeFrom(const Response_Metadata_DtString& from) { +void Response_Metadata_Row_DtString::MergeFrom(const Response_Metadata_Row_DtString& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -2311,25 +2334,25 @@ void Response_Metadata_DtString::MergeFrom(const Response_Metadata_DtString& fro mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtString::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtString::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtString::CopyFrom(const Response_Metadata_DtString& from) { +void Response_Metadata_Row_DtString::CopyFrom(const Response_Metadata_Row_DtString& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtString::IsInitialized() const { +bool Response_Metadata_Row_DtString::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtString::Swap(Response_Metadata_DtString* other) { +void Response_Metadata_Row_DtString::Swap(Response_Metadata_Row_DtString* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -2339,11 +2362,11 @@ void Response_Metadata_DtString::Swap(Response_Metadata_DtString* other) { } } -::google::protobuf::Metadata Response_Metadata_DtString::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtString::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtString_descriptor_; - metadata.reflection = Response_Metadata_DtString_reflection_; + metadata.descriptor = Response_Metadata_Row_DtString_descriptor_; + metadata.reflection = Response_Metadata_Row_DtString_reflection_; return metadata; } @@ -2351,36 +2374,36 @@ void Response_Metadata_DtString::Swap(Response_Metadata_DtString* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata_DtDate::kKeyFieldNumber; -const int Response_Metadata_DtDate::kValueFieldNumber; +const int Response_Metadata_Row_DtDate::kKeyFieldNumber; +const int Response_Metadata_Row_DtDate::kValueFieldNumber; #endif // !_MSC_VER -Response_Metadata_DtDate::Response_Metadata_DtDate() +Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata_DtDate::InitAsDefaultInstance() { +void Response_Metadata_Row_DtDate::InitAsDefaultInstance() { } -Response_Metadata_DtDate::Response_Metadata_DtDate(const Response_Metadata_DtDate& from) +Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate(const Response_Metadata_Row_DtDate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata_DtDate::SharedCtor() { +void Response_Metadata_Row_DtDate::SharedCtor() { _cached_size_ = 0; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); value_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata_DtDate::~Response_Metadata_DtDate() { +Response_Metadata_Row_DtDate::~Response_Metadata_Row_DtDate() { SharedDtor(); } -void Response_Metadata_DtDate::SharedDtor() { +void Response_Metadata_Row_DtDate::SharedDtor() { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -2388,28 +2411,28 @@ void Response_Metadata_DtDate::SharedDtor() { } } -void Response_Metadata_DtDate::SetCachedSize(int size) const { +void Response_Metadata_Row_DtDate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata_DtDate::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDate::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_DtDate_descriptor_; + return Response_Metadata_Row_DtDate_descriptor_; } -const Response_Metadata_DtDate& Response_Metadata_DtDate::default_instance() { +const Response_Metadata_Row_DtDate& Response_Metadata_Row_DtDate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata_DtDate* Response_Metadata_DtDate::default_instance_ = NULL; +Response_Metadata_Row_DtDate* Response_Metadata_Row_DtDate::default_instance_ = NULL; -Response_Metadata_DtDate* Response_Metadata_DtDate::New() const { - return new Response_Metadata_DtDate; +Response_Metadata_Row_DtDate* Response_Metadata_Row_DtDate::New() const { + return new Response_Metadata_Row_DtDate; } -void Response_Metadata_DtDate::Clear() { +void Response_Metadata_Row_DtDate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_key()) { if (key_ != &::google::protobuf::internal::kEmptyString) { @@ -2422,7 +2445,7 @@ void Response_Metadata_DtDate::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata_DtDate::MergePartialFromCodedStream( +bool Response_Metadata_Row_DtDate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; @@ -2476,7 +2499,7 @@ bool Response_Metadata_DtDate::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata_DtDate::SerializeWithCachedSizes( +void Response_Metadata_Row_DtDate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // required string key = 1; if (has_key()) { @@ -2498,7 +2521,7 @@ void Response_Metadata_DtDate::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata_DtDate::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row_DtDate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // required string key = 1; if (has_key()) { @@ -2522,7 +2545,7 @@ void Response_Metadata_DtDate::SerializeWithCachedSizes( return target; } -int Response_Metadata_DtDate::ByteSize() const { +int Response_Metadata_Row_DtDate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { @@ -2550,10 +2573,10 @@ int Response_Metadata_DtDate::ByteSize() const { return total_size; } -void Response_Metadata_DtDate::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata_DtDate* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_DtDate*>( + const Response_Metadata_Row_DtDate* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtDate*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -2562,7 +2585,7 @@ void Response_Metadata_DtDate::MergeFrom(const ::google::protobuf::Message& from } } -void Response_Metadata_DtDate::MergeFrom(const Response_Metadata_DtDate& from) { +void Response_Metadata_Row_DtDate::MergeFrom(const Response_Metadata_Row_DtDate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_key()) { @@ -2575,25 +2598,25 @@ void Response_Metadata_DtDate::MergeFrom(const Response_Metadata_DtDate& from) { mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_DtDate::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata_DtDate::CopyFrom(const Response_Metadata_DtDate& from) { +void Response_Metadata_Row_DtDate::CopyFrom(const Response_Metadata_Row_DtDate& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata_DtDate::IsInitialized() const { +bool Response_Metadata_Row_DtDate::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } -void Response_Metadata_DtDate::Swap(Response_Metadata_DtDate* other) { +void Response_Metadata_Row_DtDate::Swap(Response_Metadata_Row_DtDate* other) { if (other != this) { std::swap(key_, other->key_); std::swap(value_, other->value_); @@ -2603,11 +2626,11 @@ void Response_Metadata_DtDate::Swap(Response_Metadata_DtDate* other) { } } -::google::protobuf::Metadata Response_Metadata_DtDate::GetMetadata() const { +::google::protobuf::Metadata Response_Metadata_Row_DtDate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_DtDate_descriptor_; - metadata.reflection = Response_Metadata_DtDate_reflection_; + metadata.descriptor = Response_Metadata_Row_DtDate_descriptor_; + metadata.reflection = Response_Metadata_Row_DtDate_reflection_; return metadata; } @@ -2615,85 +2638,64 @@ void Response_Metadata_DtDate::Swap(Response_Metadata_DtDate* other) { // ------------------------------------------------------------------- #ifndef _MSC_VER -const int Response_Metadata::kPartialFieldNumber; -const int Response_Metadata::kTotalFieldNumber; -const int Response_Metadata::kStateFieldNumber; -const int Response_Metadata::kStatusFieldNumber; -const int Response_Metadata::kDoubleListFieldNumber; -const int Response_Metadata::kIntegerListFieldNumber; -const int Response_Metadata::kUnsingedLongListFieldNumber; -const int Response_Metadata::kLongLongListFieldNumber; -const int Response_Metadata::kStringsListFieldNumber; -const int Response_Metadata::kDateListFieldNumber; +const int Response_Metadata_Row::kDoubleListFieldNumber; +const int Response_Metadata_Row::kIntegerListFieldNumber; +const int Response_Metadata_Row::kUnsingedLongListFieldNumber; +const int Response_Metadata_Row::kLongLongListFieldNumber; +const int Response_Metadata_Row::kStringsListFieldNumber; +const int Response_Metadata_Row::kDateListFieldNumber; #endif // !_MSC_VER -Response_Metadata::Response_Metadata() +Response_Metadata_Row::Response_Metadata_Row() : ::google::protobuf::Message() { SharedCtor(); } -void Response_Metadata::InitAsDefaultInstance() { +void Response_Metadata_Row::InitAsDefaultInstance() { } -Response_Metadata::Response_Metadata(const Response_Metadata& from) +Response_Metadata_Row::Response_Metadata_Row(const Response_Metadata_Row& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void Response_Metadata::SharedCtor() { +void Response_Metadata_Row::SharedCtor() { _cached_size_ = 0; - partial_ = GOOGLE_ULONGLONG(0); - total_ = GOOGLE_ULONGLONG(0); - state_ = 0; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -Response_Metadata::~Response_Metadata() { +Response_Metadata_Row::~Response_Metadata_Row() { SharedDtor(); } -void Response_Metadata::SharedDtor() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } +void Response_Metadata_Row::SharedDtor() { if (this != default_instance_) { } } -void Response_Metadata::SetCachedSize(int size) const { +void Response_Metadata_Row::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } -const ::google::protobuf::Descriptor* Response_Metadata::descriptor() { +const ::google::protobuf::Descriptor* Response_Metadata_Row::descriptor() { protobuf_AssignDescriptorsOnce(); - return Response_Metadata_descriptor_; + return Response_Metadata_Row_descriptor_; } -const Response_Metadata& Response_Metadata::default_instance() { +const Response_Metadata_Row& Response_Metadata_Row::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); return *default_instance_; } -Response_Metadata* Response_Metadata::default_instance_ = NULL; +Response_Metadata_Row* Response_Metadata_Row::default_instance_ = NULL; -Response_Metadata* Response_Metadata::New() const { - return new Response_Metadata; +Response_Metadata_Row* Response_Metadata_Row::New() const { + return new Response_Metadata_Row; } -void Response_Metadata::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - partial_ = GOOGLE_ULONGLONG(0); - total_ = GOOGLE_ULONGLONG(0); - state_ = 0; - if (has_status()) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - } - } +void Response_Metadata_Row::Clear() { double_list_.Clear(); integer_list_.Clear(); unsinged_long_list_.Clear(); @@ -2704,83 +2706,14 @@ void Response_Metadata::Clear() { mutable_unknown_fields()->Clear(); } -bool Response_Metadata::MergePartialFromCodedStream( +bool Response_Metadata_Row::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // required uint64 partial = 1; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &partial_))); - set_has_partial(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_total; - break; - } - - // required uint64 total = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_total: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &total_))); - set_has_total(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(24)) goto parse_state; - break; - } - - // required .MetadataExporter_ns.Response.Metadata.State state = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_state: - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Response_Metadata_State_IsValid(value)) { - set_state(static_cast< ::MetadataExporter_ns::Response_Metadata_State >(value)); - } else { - mutable_unknown_fields()->AddVarint(3, value); - } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(34)) goto parse_status; - break; - } - - // required string status = 4; - case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_status: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_status())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(42)) goto parse_double_list; - break; - } - - // repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; - case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_double_list: @@ -2789,13 +2722,13 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(42)) goto parse_double_list; - if (input->ExpectTag(50)) goto parse_integer_list; + if (input->ExpectTag(10)) goto parse_double_list; + if (input->ExpectTag(18)) goto parse_integer_list; break; } - // repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; - case 6: { + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; + case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_integer_list: @@ -2804,13 +2737,13 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(50)) goto parse_integer_list; - if (input->ExpectTag(58)) goto parse_unsinged_long_list; + if (input->ExpectTag(18)) goto parse_integer_list; + if (input->ExpectTag(26)) goto parse_unsinged_long_list; break; } - // repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; - case 7: { + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; + case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_unsinged_long_list: @@ -2819,13 +2752,13 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(58)) goto parse_unsinged_long_list; - if (input->ExpectTag(66)) goto parse_long_long_list; + if (input->ExpectTag(26)) goto parse_unsinged_long_list; + if (input->ExpectTag(34)) goto parse_long_long_list; break; } - // repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; - case 8: { + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; + case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_long_long_list: @@ -2834,13 +2767,13 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(66)) goto parse_long_long_list; - if (input->ExpectTag(74)) goto parse_strings_list; + if (input->ExpectTag(34)) goto parse_long_long_list; + if (input->ExpectTag(42)) goto parse_strings_list; break; } - // repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; - case 9: { + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; + case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_strings_list: @@ -2849,13 +2782,13 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(74)) goto parse_strings_list; - if (input->ExpectTag(82)) goto parse_date_list; + if (input->ExpectTag(42)) goto parse_strings_list; + if (input->ExpectTag(50)) goto parse_date_list; break; } - // repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; - case 10: { + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; + case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_date_list: @@ -2864,7 +2797,7 @@ bool Response_Metadata::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } - if (input->ExpectTag(82)) goto parse_date_list; + if (input->ExpectTag(50)) goto parse_date_list; if (input->ExpectAtEnd()) return true; break; } @@ -2885,67 +2818,42 @@ bool Response_Metadata::MergePartialFromCodedStream( #undef DO_ } -void Response_Metadata::SerializeWithCachedSizes( +void Response_Metadata_Row::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // required uint64 partial = 1; - if (has_partial()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->partial(), output); - } - - // required uint64 total = 2; - if (has_total()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->total(), output); - } - - // required .MetadataExporter_ns.Response.Metadata.State state = 3; - if (has_state()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->state(), output); - } - - // required string status = 4; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 4, this->status(), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; for (int i = 0; i < this->double_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, this->double_list(i), output); + 1, this->double_list(i), output); } - // repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; for (int i = 0; i < this->integer_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, this->integer_list(i), output); + 2, this->integer_list(i), output); } - // repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; for (int i = 0; i < this->unsinged_long_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 7, this->unsinged_long_list(i), output); + 3, this->unsinged_long_list(i), output); } - // repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; for (int i = 0; i < this->long_long_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, this->long_long_list(i), output); + 4, this->long_long_list(i), output); } - // repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; for (int i = 0; i < this->strings_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 9, this->strings_list(i), output); + 5, this->strings_list(i), output); } - // repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; for (int i = 0; i < this->date_list_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 10, this->date_list(i), output); + 6, this->date_list(i), output); } if (!unknown_fields().empty()) { @@ -2954,74 +2862,48 @@ void Response_Metadata::SerializeWithCachedSizes( } } -::google::protobuf::uint8* Response_Metadata::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* Response_Metadata_Row::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // required uint64 partial = 1; - if (has_partial()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->partial(), target); - } - - // required uint64 total = 2; - if (has_total()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->total(), target); - } - - // required .MetadataExporter_ns.Response.Metadata.State state = 3; - if (has_state()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->state(), target); - } - - // required string status = 4; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 4, this->status(), target); - } - - // repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; for (int i = 0; i < this->double_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 5, this->double_list(i), target); + 1, this->double_list(i), target); } - // repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; for (int i = 0; i < this->integer_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 6, this->integer_list(i), target); + 2, this->integer_list(i), target); } - // repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; for (int i = 0; i < this->unsinged_long_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 7, this->unsinged_long_list(i), target); + 3, this->unsinged_long_list(i), target); } - // repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; for (int i = 0; i < this->long_long_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 8, this->long_long_list(i), target); + 4, this->long_long_list(i), target); } - // repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; for (int i = 0; i < this->strings_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 9, this->strings_list(i), target); + 5, this->strings_list(i), target); } - // repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; for (int i = 0; i < this->date_list_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( - 10, this->date_list(i), target); + 6, this->date_list(i), target); } if (!unknown_fields().empty()) { @@ -3031,39 +2913,10 @@ void Response_Metadata::SerializeWithCachedSizes( return target; } -int Response_Metadata::ByteSize() const { +int Response_Metadata_Row::ByteSize() const { int total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required uint64 partial = 1; - if (has_partial()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->partial()); - } - - // required uint64 total = 2; - if (has_total()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->total()); - } - - // required .MetadataExporter_ns.Response.Metadata.State state = 3; - if (has_state()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - // required string status = 4; - if (has_status()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->status()); - } - - } - // repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; total_size += 1 * this->double_list_size(); for (int i = 0; i < this->double_list_size(); i++) { total_size += @@ -3071,7 +2924,7 @@ int Response_Metadata::ByteSize() const { this->double_list(i)); } - // repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; total_size += 1 * this->integer_list_size(); for (int i = 0; i < this->integer_list_size(); i++) { total_size += @@ -3079,7 +2932,7 @@ int Response_Metadata::ByteSize() const { this->integer_list(i)); } - // repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; total_size += 1 * this->unsinged_long_list_size(); for (int i = 0; i < this->unsinged_long_list_size(); i++) { total_size += @@ -3087,7 +2940,7 @@ int Response_Metadata::ByteSize() const { this->unsinged_long_list(i)); } - // repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; total_size += 1 * this->long_long_list_size(); for (int i = 0; i < this->long_long_list_size(); i++) { total_size += @@ -3095,7 +2948,7 @@ int Response_Metadata::ByteSize() const { this->long_long_list(i)); } - // repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; total_size += 1 * this->strings_list_size(); for (int i = 0; i < this->strings_list_size(); i++) { total_size += @@ -3103,7 +2956,7 @@ int Response_Metadata::ByteSize() const { this->strings_list(i)); } - // repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; total_size += 1 * this->date_list_size(); for (int i = 0; i < this->date_list_size(); i++) { total_size += @@ -3122,10 +2975,10 @@ int Response_Metadata::ByteSize() const { return total_size; } -void Response_Metadata::MergeFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const Response_Metadata* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata*>( + const Response_Metadata_Row* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -3134,7 +2987,7 @@ void Response_Metadata::MergeFrom(const ::google::protobuf::Message& from) { } } -void Response_Metadata::MergeFrom(const Response_Metadata& from) { +void Response_Metadata_Row::MergeFrom(const Response_Metadata_Row& from) { GOOGLE_CHECK_NE(&from, this); double_list_.MergeFrom(from.double_list_); integer_list_.MergeFrom(from.integer_list_); @@ -3142,37 +2995,22 @@ void Response_Metadata::MergeFrom(const Response_Metadata& from) { long_long_list_.MergeFrom(from.long_long_list_); strings_list_.MergeFrom(from.strings_list_); date_list_.MergeFrom(from.date_list_); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_partial()) { - set_partial(from.partial()); - } - if (from.has_total()) { - set_total(from.total()); - } - if (from.has_state()) { - set_state(from.state()); - } - if (from.has_status()) { - set_status(from.status()); - } - } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void Response_Metadata::CopyFrom(const Response_Metadata& from) { +void Response_Metadata_Row::CopyFrom(const Response_Metadata_Row& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool Response_Metadata::IsInitialized() const { - if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; +bool Response_Metadata_Row::IsInitialized() const { for (int i = 0; i < double_list_size(); i++) { if (!this->double_list(i).IsInitialized()) return false; @@ -3195,12 +3033,8 @@ bool Response_Metadata::IsInitialized() const { return true; } -void Response_Metadata::Swap(Response_Metadata* other) { +void Response_Metadata_Row::Swap(Response_Metadata_Row* other) { if (other != this) { - std::swap(partial_, other->partial_); - std::swap(total_, other->total_); - std::swap(state_, other->state_); - std::swap(status_, other->status_); double_list_.Swap(&other->double_list_); integer_list_.Swap(&other->integer_list_); unsinged_long_list_.Swap(&other->unsinged_long_list_); @@ -3213,6 +3047,321 @@ void Response_Metadata::Swap(Response_Metadata* other) { } } +::google::protobuf::Metadata Response_Metadata_Row::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = Response_Metadata_Row_descriptor_; + metadata.reflection = Response_Metadata_Row_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int Response_Metadata::kStateFieldNumber; +const int Response_Metadata::kStatusFieldNumber; +const int Response_Metadata::kRowsFieldNumber; +#endif // !_MSC_VER + +Response_Metadata::Response_Metadata() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void Response_Metadata::InitAsDefaultInstance() { +} + +Response_Metadata::Response_Metadata(const Response_Metadata& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void Response_Metadata::SharedCtor() { + _cached_size_ = 0; + state_ = 0; + status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +Response_Metadata::~Response_Metadata() { + SharedDtor(); +} + +void Response_Metadata::SharedDtor() { + if (status_ != &::google::protobuf::internal::kEmptyString) { + delete status_; + } + if (this != default_instance_) { + } +} + +void Response_Metadata::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Response_Metadata::descriptor() { + protobuf_AssignDescriptorsOnce(); + return Response_Metadata_descriptor_; +} + +const Response_Metadata& Response_Metadata::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); + return *default_instance_; +} + +Response_Metadata* Response_Metadata::default_instance_ = NULL; + +Response_Metadata* Response_Metadata::New() const { + return new Response_Metadata; +} + +void Response_Metadata::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + state_ = 0; + if (has_status()) { + if (status_ != &::google::protobuf::internal::kEmptyString) { + status_->clear(); + } + } + } + rows_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool Response_Metadata::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::MetadataExporter_ns::Response_Metadata_State_IsValid(value)) { + set_state(static_cast< ::MetadataExporter_ns::Response_Metadata_State >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_status; + break; + } + + // required string status = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_status: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_status())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->status().data(), this->status().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_rows; + break; + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_rows: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_rows())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_rows; + if (input->ExpectAtEnd()) return true; + break; + } + + default: { + handle_uninterpreted: + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + return true; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } + return true; +#undef DO_ +} + +void Response_Metadata::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + if (has_state()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->state(), output); + } + + // required string status = 2; + if (has_status()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->status().data(), this->status().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->status(), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + for (int i = 0; i < this->rows_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->rows(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* Response_Metadata::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + if (has_state()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->state(), target); + } + + // required string status = 2; + if (has_status()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->status().data(), this->status().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->status(), target); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + for (int i = 0; i < this->rows_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->rows(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int Response_Metadata::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + if (has_state()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); + } + + // required string status = 2; + if (has_status()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); + } + + } + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + total_size += 1 * this->rows_size(); + for (int i = 0; i < this->rows_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->rows(i)); + } + + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void Response_Metadata::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const Response_Metadata* source = + ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata*>( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void Response_Metadata::MergeFrom(const Response_Metadata& from) { + GOOGLE_CHECK_NE(&from, this); + rows_.MergeFrom(from.rows_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_state()) { + set_state(from.state()); + } + if (from.has_status()) { + set_status(from.status()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void Response_Metadata::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Response_Metadata::CopyFrom(const Response_Metadata& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Response_Metadata::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + for (int i = 0; i < rows_size(); i++) { + if (!this->rows(i).IsInitialized()) return false; + } + return true; +} + +void Response_Metadata::Swap(Response_Metadata* other) { + if (other != this) { + std::swap(state_, other->state_); + std::swap(status_, other->status_); + rows_.Swap(&other->rows_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + ::google::protobuf::Metadata Response_Metadata::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; diff --git a/src/Response.pb.h b/src/Response.pb.h index 56996568f4ad5a0116a564d9853f48af392cbb83..8081a053e7091e8fa2e9cffb2ba7068e29714dad 100644 --- a/src/Response.pb.h +++ b/src/Response.pb.h @@ -38,12 +38,13 @@ class Response; class Response_Authorization; class Response_Validation; class Response_Metadata; -class Response_Metadata_DtDouble; -class Response_Metadata_DtInteger; -class Response_Metadata_DtUnsignedLong; -class Response_Metadata_DtLongLong; -class Response_Metadata_DtString; -class Response_Metadata_DtDate; +class Response_Metadata_Row; +class Response_Metadata_Row_DtDouble; +class Response_Metadata_Row_DtInteger; +class Response_Metadata_Row_DtUnsignedLong; +class Response_Metadata_Row_DtLongLong; +class Response_Metadata_Row_DtString; +class Response_Metadata_Row_DtDate; enum Response_Authorization_State { Response_Authorization_State_ACCEPTED = 0, @@ -366,14 +367,14 @@ class Response_Validation : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- -class Response_Metadata_DtDouble : public ::google::protobuf::Message { +class Response_Metadata_Row_DtDouble : public ::google::protobuf::Message { public: - Response_Metadata_DtDouble(); - virtual ~Response_Metadata_DtDouble(); + Response_Metadata_Row_DtDouble(); + virtual ~Response_Metadata_Row_DtDouble(); - Response_Metadata_DtDouble(const Response_Metadata_DtDouble& from); + Response_Metadata_Row_DtDouble(const Response_Metadata_Row_DtDouble& from); - inline Response_Metadata_DtDouble& operator=(const Response_Metadata_DtDouble& from) { + inline Response_Metadata_Row_DtDouble& operator=(const Response_Metadata_Row_DtDouble& from) { CopyFrom(from); return *this; } @@ -387,17 +388,17 @@ class Response_Metadata_DtDouble : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtDouble& default_instance(); + static const Response_Metadata_Row_DtDouble& default_instance(); - void Swap(Response_Metadata_DtDouble* other); + void Swap(Response_Metadata_Row_DtDouble* other); // implements Message ---------------------------------------------- - Response_Metadata_DtDouble* New() const; + Response_Metadata_Row_DtDouble* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtDouble& from); - void MergeFrom(const Response_Metadata_DtDouble& from); + void CopyFrom(const Response_Metadata_Row_DtDouble& from); + void MergeFrom(const Response_Metadata_Row_DtDouble& from); void Clear(); bool IsInitialized() const; @@ -439,7 +440,7 @@ class Response_Metadata_DtDouble : public ::google::protobuf::Message { inline double value() const; inline void set_value(double value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtDouble) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtDouble) private: inline void set_has_key(); inline void clear_has_key(); @@ -459,18 +460,18 @@ class Response_Metadata_DtDouble : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtDouble* default_instance_; + static Response_Metadata_Row_DtDouble* default_instance_; }; // ------------------------------------------------------------------- -class Response_Metadata_DtInteger : public ::google::protobuf::Message { +class Response_Metadata_Row_DtInteger : public ::google::protobuf::Message { public: - Response_Metadata_DtInteger(); - virtual ~Response_Metadata_DtInteger(); + Response_Metadata_Row_DtInteger(); + virtual ~Response_Metadata_Row_DtInteger(); - Response_Metadata_DtInteger(const Response_Metadata_DtInteger& from); + Response_Metadata_Row_DtInteger(const Response_Metadata_Row_DtInteger& from); - inline Response_Metadata_DtInteger& operator=(const Response_Metadata_DtInteger& from) { + inline Response_Metadata_Row_DtInteger& operator=(const Response_Metadata_Row_DtInteger& from) { CopyFrom(from); return *this; } @@ -484,17 +485,17 @@ class Response_Metadata_DtInteger : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtInteger& default_instance(); + static const Response_Metadata_Row_DtInteger& default_instance(); - void Swap(Response_Metadata_DtInteger* other); + void Swap(Response_Metadata_Row_DtInteger* other); // implements Message ---------------------------------------------- - Response_Metadata_DtInteger* New() const; + Response_Metadata_Row_DtInteger* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtInteger& from); - void MergeFrom(const Response_Metadata_DtInteger& from); + void CopyFrom(const Response_Metadata_Row_DtInteger& from); + void MergeFrom(const Response_Metadata_Row_DtInteger& from); void Clear(); bool IsInitialized() const; @@ -536,7 +537,7 @@ class Response_Metadata_DtInteger : public ::google::protobuf::Message { inline ::google::protobuf::int32 value() const; inline void set_value(::google::protobuf::int32 value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtInteger) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtInteger) private: inline void set_has_key(); inline void clear_has_key(); @@ -556,18 +557,18 @@ class Response_Metadata_DtInteger : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtInteger* default_instance_; + static Response_Metadata_Row_DtInteger* default_instance_; }; // ------------------------------------------------------------------- -class Response_Metadata_DtUnsignedLong : public ::google::protobuf::Message { +class Response_Metadata_Row_DtUnsignedLong : public ::google::protobuf::Message { public: - Response_Metadata_DtUnsignedLong(); - virtual ~Response_Metadata_DtUnsignedLong(); + Response_Metadata_Row_DtUnsignedLong(); + virtual ~Response_Metadata_Row_DtUnsignedLong(); - Response_Metadata_DtUnsignedLong(const Response_Metadata_DtUnsignedLong& from); + Response_Metadata_Row_DtUnsignedLong(const Response_Metadata_Row_DtUnsignedLong& from); - inline Response_Metadata_DtUnsignedLong& operator=(const Response_Metadata_DtUnsignedLong& from) { + inline Response_Metadata_Row_DtUnsignedLong& operator=(const Response_Metadata_Row_DtUnsignedLong& from) { CopyFrom(from); return *this; } @@ -581,17 +582,17 @@ class Response_Metadata_DtUnsignedLong : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtUnsignedLong& default_instance(); + static const Response_Metadata_Row_DtUnsignedLong& default_instance(); - void Swap(Response_Metadata_DtUnsignedLong* other); + void Swap(Response_Metadata_Row_DtUnsignedLong* other); // implements Message ---------------------------------------------- - Response_Metadata_DtUnsignedLong* New() const; + Response_Metadata_Row_DtUnsignedLong* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtUnsignedLong& from); - void MergeFrom(const Response_Metadata_DtUnsignedLong& from); + void CopyFrom(const Response_Metadata_Row_DtUnsignedLong& from); + void MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from); void Clear(); bool IsInitialized() const; @@ -633,7 +634,7 @@ class Response_Metadata_DtUnsignedLong : public ::google::protobuf::Message { inline ::google::protobuf::uint64 value() const; inline void set_value(::google::protobuf::uint64 value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtUnsignedLong) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) private: inline void set_has_key(); inline void clear_has_key(); @@ -653,18 +654,18 @@ class Response_Metadata_DtUnsignedLong : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtUnsignedLong* default_instance_; + static Response_Metadata_Row_DtUnsignedLong* default_instance_; }; // ------------------------------------------------------------------- -class Response_Metadata_DtLongLong : public ::google::protobuf::Message { +class Response_Metadata_Row_DtLongLong : public ::google::protobuf::Message { public: - Response_Metadata_DtLongLong(); - virtual ~Response_Metadata_DtLongLong(); + Response_Metadata_Row_DtLongLong(); + virtual ~Response_Metadata_Row_DtLongLong(); - Response_Metadata_DtLongLong(const Response_Metadata_DtLongLong& from); + Response_Metadata_Row_DtLongLong(const Response_Metadata_Row_DtLongLong& from); - inline Response_Metadata_DtLongLong& operator=(const Response_Metadata_DtLongLong& from) { + inline Response_Metadata_Row_DtLongLong& operator=(const Response_Metadata_Row_DtLongLong& from) { CopyFrom(from); return *this; } @@ -678,17 +679,17 @@ class Response_Metadata_DtLongLong : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtLongLong& default_instance(); + static const Response_Metadata_Row_DtLongLong& default_instance(); - void Swap(Response_Metadata_DtLongLong* other); + void Swap(Response_Metadata_Row_DtLongLong* other); // implements Message ---------------------------------------------- - Response_Metadata_DtLongLong* New() const; + Response_Metadata_Row_DtLongLong* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtLongLong& from); - void MergeFrom(const Response_Metadata_DtLongLong& from); + void CopyFrom(const Response_Metadata_Row_DtLongLong& from); + void MergeFrom(const Response_Metadata_Row_DtLongLong& from); void Clear(); bool IsInitialized() const; @@ -730,7 +731,7 @@ class Response_Metadata_DtLongLong : public ::google::protobuf::Message { inline ::google::protobuf::int64 value() const; inline void set_value(::google::protobuf::int64 value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtLongLong) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) private: inline void set_has_key(); inline void clear_has_key(); @@ -750,18 +751,18 @@ class Response_Metadata_DtLongLong : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtLongLong* default_instance_; + static Response_Metadata_Row_DtLongLong* default_instance_; }; // ------------------------------------------------------------------- -class Response_Metadata_DtString : public ::google::protobuf::Message { +class Response_Metadata_Row_DtString : public ::google::protobuf::Message { public: - Response_Metadata_DtString(); - virtual ~Response_Metadata_DtString(); + Response_Metadata_Row_DtString(); + virtual ~Response_Metadata_Row_DtString(); - Response_Metadata_DtString(const Response_Metadata_DtString& from); + Response_Metadata_Row_DtString(const Response_Metadata_Row_DtString& from); - inline Response_Metadata_DtString& operator=(const Response_Metadata_DtString& from) { + inline Response_Metadata_Row_DtString& operator=(const Response_Metadata_Row_DtString& from) { CopyFrom(from); return *this; } @@ -775,17 +776,17 @@ class Response_Metadata_DtString : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtString& default_instance(); + static const Response_Metadata_Row_DtString& default_instance(); - void Swap(Response_Metadata_DtString* other); + void Swap(Response_Metadata_Row_DtString* other); // implements Message ---------------------------------------------- - Response_Metadata_DtString* New() const; + Response_Metadata_Row_DtString* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtString& from); - void MergeFrom(const Response_Metadata_DtString& from); + void CopyFrom(const Response_Metadata_Row_DtString& from); + void MergeFrom(const Response_Metadata_Row_DtString& from); void Clear(); bool IsInitialized() const; @@ -832,7 +833,7 @@ class Response_Metadata_DtString : public ::google::protobuf::Message { inline ::std::string* release_value(); inline void set_allocated_value(::std::string* value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtString) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtString) private: inline void set_has_key(); inline void clear_has_key(); @@ -852,18 +853,18 @@ class Response_Metadata_DtString : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtString* default_instance_; + static Response_Metadata_Row_DtString* default_instance_; }; // ------------------------------------------------------------------- -class Response_Metadata_DtDate : public ::google::protobuf::Message { +class Response_Metadata_Row_DtDate : public ::google::protobuf::Message { public: - Response_Metadata_DtDate(); - virtual ~Response_Metadata_DtDate(); + Response_Metadata_Row_DtDate(); + virtual ~Response_Metadata_Row_DtDate(); - Response_Metadata_DtDate(const Response_Metadata_DtDate& from); + Response_Metadata_Row_DtDate(const Response_Metadata_Row_DtDate& from); - inline Response_Metadata_DtDate& operator=(const Response_Metadata_DtDate& from) { + inline Response_Metadata_Row_DtDate& operator=(const Response_Metadata_Row_DtDate& from) { CopyFrom(from); return *this; } @@ -877,17 +878,17 @@ class Response_Metadata_DtDate : public ::google::protobuf::Message { } static const ::google::protobuf::Descriptor* descriptor(); - static const Response_Metadata_DtDate& default_instance(); + static const Response_Metadata_Row_DtDate& default_instance(); - void Swap(Response_Metadata_DtDate* other); + void Swap(Response_Metadata_Row_DtDate* other); // implements Message ---------------------------------------------- - Response_Metadata_DtDate* New() const; + Response_Metadata_Row_DtDate* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Response_Metadata_DtDate& from); - void MergeFrom(const Response_Metadata_DtDate& from); + void CopyFrom(const Response_Metadata_Row_DtDate& from); + void MergeFrom(const Response_Metadata_Row_DtDate& from); void Clear(); bool IsInitialized() const; @@ -929,7 +930,7 @@ class Response_Metadata_DtDate : public ::google::protobuf::Message { inline ::google::protobuf::int64 value() const; inline void set_value(::google::protobuf::int64 value); - // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.DtDate) + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtDate) private: inline void set_has_key(); inline void clear_has_key(); @@ -949,7 +950,164 @@ class Response_Metadata_DtDate : public ::google::protobuf::Message { friend void protobuf_ShutdownFile_Response_2eproto(); void InitAsDefaultInstance(); - static Response_Metadata_DtDate* default_instance_; + static Response_Metadata_Row_DtDate* default_instance_; +}; +// ------------------------------------------------------------------- + +class Response_Metadata_Row : public ::google::protobuf::Message { + public: + Response_Metadata_Row(); + virtual ~Response_Metadata_Row(); + + Response_Metadata_Row(const Response_Metadata_Row& from); + + inline Response_Metadata_Row& operator=(const Response_Metadata_Row& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const Response_Metadata_Row& default_instance(); + + void Swap(Response_Metadata_Row* other); + + // implements Message ---------------------------------------------- + + Response_Metadata_Row* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const Response_Metadata_Row& from); + void MergeFrom(const Response_Metadata_Row& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + typedef Response_Metadata_Row_DtDouble DtDouble; + typedef Response_Metadata_Row_DtInteger DtInteger; + typedef Response_Metadata_Row_DtUnsignedLong DtUnsignedLong; + typedef Response_Metadata_Row_DtLongLong DtLongLong; + typedef Response_Metadata_Row_DtString DtString; + typedef Response_Metadata_Row_DtDate DtDate; + + // accessors ------------------------------------------------------- + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; + inline int double_list_size() const; + inline void clear_double_list(); + static const int kDoubleListFieldNumber = 1; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& double_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* mutable_double_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* add_double_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& + double_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* + mutable_double_list(); + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; + inline int integer_list_size() const; + inline void clear_integer_list(); + static const int kIntegerListFieldNumber = 2; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& integer_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* mutable_integer_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* add_integer_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& + integer_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* + mutable_integer_list(); + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; + inline int unsinged_long_list_size() const; + inline void clear_unsinged_long_list(); + static const int kUnsingedLongListFieldNumber = 3; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& unsinged_long_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* mutable_unsinged_long_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* add_unsinged_long_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& + unsinged_long_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* + mutable_unsinged_long_list(); + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; + inline int long_long_list_size() const; + inline void clear_long_long_list(); + static const int kLongLongListFieldNumber = 4; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& long_long_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* mutable_long_long_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* add_long_long_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& + long_long_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* + mutable_long_long_list(); + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; + inline int strings_list_size() const; + inline void clear_strings_list(); + static const int kStringsListFieldNumber = 5; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& strings_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* mutable_strings_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* add_strings_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& + strings_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* + mutable_strings_list(); + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; + inline int date_list_size() const; + inline void clear_date_list(); + static const int kDateListFieldNumber = 6; + inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& date_list(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* mutable_date_list(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* add_date_list(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& + date_list() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* + mutable_date_list(); + + // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble > double_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger > integer_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong > unsinged_long_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong > long_long_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString > strings_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate > date_list_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + + friend void protobuf_AddDesc_Response_2eproto(); + friend void protobuf_AssignDesc_Response_2eproto(); + friend void protobuf_ShutdownFile_Response_2eproto(); + + void InitAsDefaultInstance(); + static Response_Metadata_Row* default_instance_; }; // ------------------------------------------------------------------- @@ -1005,12 +1163,7 @@ class Response_Metadata : public ::google::protobuf::Message { // nested types ---------------------------------------------------- - typedef Response_Metadata_DtDouble DtDouble; - typedef Response_Metadata_DtInteger DtInteger; - typedef Response_Metadata_DtUnsignedLong DtUnsignedLong; - typedef Response_Metadata_DtLongLong DtLongLong; - typedef Response_Metadata_DtString DtString; - typedef Response_Metadata_DtDate DtDate; + typedef Response_Metadata_Row Row; typedef Response_Metadata_State State; static const State ACCEPTED = Response_Metadata_State_ACCEPTED; @@ -1038,31 +1191,17 @@ class Response_Metadata : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // required uint64 partial = 1; - inline bool has_partial() const; - inline void clear_partial(); - static const int kPartialFieldNumber = 1; - inline ::google::protobuf::uint64 partial() const; - inline void set_partial(::google::protobuf::uint64 value); - - // required uint64 total = 2; - inline bool has_total() const; - inline void clear_total(); - static const int kTotalFieldNumber = 2; - inline ::google::protobuf::uint64 total() const; - inline void set_total(::google::protobuf::uint64 value); - - // required .MetadataExporter_ns.Response.Metadata.State state = 3; + // required .MetadataExporter_ns.Response.Metadata.State state = 1; inline bool has_state() const; inline void clear_state(); - static const int kStateFieldNumber = 3; + static const int kStateFieldNumber = 1; inline ::MetadataExporter_ns::Response_Metadata_State state() const; inline void set_state(::MetadataExporter_ns::Response_Metadata_State value); - // required string status = 4; + // required string status = 2; inline bool has_status() const; inline void clear_status(); - static const int kStatusFieldNumber = 4; + static const int kStatusFieldNumber = 2; inline const ::std::string& status() const; inline void set_status(const ::std::string& value); inline void set_status(const char* value); @@ -1071,84 +1210,20 @@ class Response_Metadata : public ::google::protobuf::Message { inline ::std::string* release_status(); inline void set_allocated_status(::std::string* status); - // repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; - inline int double_list_size() const; - inline void clear_double_list(); - static const int kDoubleListFieldNumber = 5; - inline const ::MetadataExporter_ns::Response_Metadata_DtDouble& double_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtDouble* mutable_double_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtDouble* add_double_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDouble >& - double_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDouble >* - mutable_double_list(); - - // repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; - inline int integer_list_size() const; - inline void clear_integer_list(); - static const int kIntegerListFieldNumber = 6; - inline const ::MetadataExporter_ns::Response_Metadata_DtInteger& integer_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtInteger* mutable_integer_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtInteger* add_integer_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtInteger >& - integer_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtInteger >* - mutable_integer_list(); - - // repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; - inline int unsinged_long_list_size() const; - inline void clear_unsinged_long_list(); - static const int kUnsingedLongListFieldNumber = 7; - inline const ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong& unsinged_long_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong* mutable_unsinged_long_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong* add_unsinged_long_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong >& - unsinged_long_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong >* - mutable_unsinged_long_list(); - - // repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; - inline int long_long_list_size() const; - inline void clear_long_long_list(); - static const int kLongLongListFieldNumber = 8; - inline const ::MetadataExporter_ns::Response_Metadata_DtLongLong& long_long_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtLongLong* mutable_long_long_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtLongLong* add_long_long_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtLongLong >& - long_long_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtLongLong >* - mutable_long_long_list(); - - // repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; - inline int strings_list_size() const; - inline void clear_strings_list(); - static const int kStringsListFieldNumber = 9; - inline const ::MetadataExporter_ns::Response_Metadata_DtString& strings_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtString* mutable_strings_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtString* add_strings_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtString >& - strings_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtString >* - mutable_strings_list(); - - // repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; - inline int date_list_size() const; - inline void clear_date_list(); - static const int kDateListFieldNumber = 10; - inline const ::MetadataExporter_ns::Response_Metadata_DtDate& date_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_DtDate* mutable_date_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_DtDate* add_date_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDate >& - date_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDate >* - mutable_date_list(); + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + inline int rows_size() const; + inline void clear_rows(); + static const int kRowsFieldNumber = 3; + inline const ::MetadataExporter_ns::Response_Metadata_Row& rows(int index) const; + inline ::MetadataExporter_ns::Response_Metadata_Row* mutable_rows(int index); + inline ::MetadataExporter_ns::Response_Metadata_Row* add_rows(); + inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& + rows() const; + inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* + mutable_rows(); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata) private: - inline void set_has_partial(); - inline void clear_has_partial(); - inline void set_has_total(); - inline void clear_has_total(); inline void set_has_state(); inline void clear_has_state(); inline void set_has_status(); @@ -1156,19 +1231,12 @@ class Response_Metadata : public ::google::protobuf::Message { ::google::protobuf::UnknownFieldSet _unknown_fields_; - ::google::protobuf::uint64 partial_; - ::google::protobuf::uint64 total_; ::std::string* status_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDouble > double_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtInteger > integer_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong > unsinged_long_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtLongLong > long_long_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtString > strings_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDate > date_list_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row > rows_; int state_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(10 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_Response_2eproto(); friend void protobuf_AssignDesc_Response_2eproto(); @@ -1523,56 +1591,56 @@ inline void Response_Validation::set_allocated_status(::std::string* status) { // ------------------------------------------------------------------- -// Response_Metadata_DtDouble +// Response_Metadata_Row_DtDouble // required string key = 1; -inline bool Response_Metadata_DtDouble::has_key() const { +inline bool Response_Metadata_Row_DtDouble::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtDouble::set_has_key() { +inline void Response_Metadata_Row_DtDouble::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtDouble::clear_has_key() { +inline void Response_Metadata_Row_DtDouble::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtDouble::clear_key() { +inline void Response_Metadata_Row_DtDouble::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtDouble::key() const { +inline const ::std::string& Response_Metadata_Row_DtDouble::key() const { return *key_; } -inline void Response_Metadata_DtDouble::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtDouble::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtDouble::set_key(const char* value) { +inline void Response_Metadata_Row_DtDouble::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtDouble::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtDouble::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtDouble::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtDouble::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtDouble::release_key() { +inline ::std::string* Response_Metadata_Row_DtDouble::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -1582,7 +1650,7 @@ inline ::std::string* Response_Metadata_DtDouble::release_key() { return temp; } } -inline void Response_Metadata_DtDouble::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtDouble::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1596,79 +1664,79 @@ inline void Response_Metadata_DtDouble::set_allocated_key(::std::string* key) { } // required double value = 2; -inline bool Response_Metadata_DtDouble::has_value() const { +inline bool Response_Metadata_Row_DtDouble::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtDouble::set_has_value() { +inline void Response_Metadata_Row_DtDouble::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtDouble::clear_has_value() { +inline void Response_Metadata_Row_DtDouble::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtDouble::clear_value() { +inline void Response_Metadata_Row_DtDouble::clear_value() { value_ = 0; clear_has_value(); } -inline double Response_Metadata_DtDouble::value() const { +inline double Response_Metadata_Row_DtDouble::value() const { return value_; } -inline void Response_Metadata_DtDouble::set_value(double value) { +inline void Response_Metadata_Row_DtDouble::set_value(double value) { set_has_value(); value_ = value; } // ------------------------------------------------------------------- -// Response_Metadata_DtInteger +// Response_Metadata_Row_DtInteger // required string key = 1; -inline bool Response_Metadata_DtInteger::has_key() const { +inline bool Response_Metadata_Row_DtInteger::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtInteger::set_has_key() { +inline void Response_Metadata_Row_DtInteger::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtInteger::clear_has_key() { +inline void Response_Metadata_Row_DtInteger::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtInteger::clear_key() { +inline void Response_Metadata_Row_DtInteger::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtInteger::key() const { +inline const ::std::string& Response_Metadata_Row_DtInteger::key() const { return *key_; } -inline void Response_Metadata_DtInteger::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtInteger::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtInteger::set_key(const char* value) { +inline void Response_Metadata_Row_DtInteger::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtInteger::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtInteger::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtInteger::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtInteger::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtInteger::release_key() { +inline ::std::string* Response_Metadata_Row_DtInteger::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -1678,7 +1746,7 @@ inline ::std::string* Response_Metadata_DtInteger::release_key() { return temp; } } -inline void Response_Metadata_DtInteger::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtInteger::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1692,79 +1760,79 @@ inline void Response_Metadata_DtInteger::set_allocated_key(::std::string* key) { } // required int32 value = 2; -inline bool Response_Metadata_DtInteger::has_value() const { +inline bool Response_Metadata_Row_DtInteger::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtInteger::set_has_value() { +inline void Response_Metadata_Row_DtInteger::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtInteger::clear_has_value() { +inline void Response_Metadata_Row_DtInteger::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtInteger::clear_value() { +inline void Response_Metadata_Row_DtInteger::clear_value() { value_ = 0; clear_has_value(); } -inline ::google::protobuf::int32 Response_Metadata_DtInteger::value() const { +inline ::google::protobuf::int32 Response_Metadata_Row_DtInteger::value() const { return value_; } -inline void Response_Metadata_DtInteger::set_value(::google::protobuf::int32 value) { +inline void Response_Metadata_Row_DtInteger::set_value(::google::protobuf::int32 value) { set_has_value(); value_ = value; } // ------------------------------------------------------------------- -// Response_Metadata_DtUnsignedLong +// Response_Metadata_Row_DtUnsignedLong // required string key = 1; -inline bool Response_Metadata_DtUnsignedLong::has_key() const { +inline bool Response_Metadata_Row_DtUnsignedLong::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtUnsignedLong::set_has_key() { +inline void Response_Metadata_Row_DtUnsignedLong::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtUnsignedLong::clear_has_key() { +inline void Response_Metadata_Row_DtUnsignedLong::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtUnsignedLong::clear_key() { +inline void Response_Metadata_Row_DtUnsignedLong::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtUnsignedLong::key() const { +inline const ::std::string& Response_Metadata_Row_DtUnsignedLong::key() const { return *key_; } -inline void Response_Metadata_DtUnsignedLong::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtUnsignedLong::set_key(const char* value) { +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtUnsignedLong::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtUnsignedLong::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtUnsignedLong::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtUnsignedLong::release_key() { +inline ::std::string* Response_Metadata_Row_DtUnsignedLong::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -1774,7 +1842,7 @@ inline ::std::string* Response_Metadata_DtUnsignedLong::release_key() { return temp; } } -inline void Response_Metadata_DtUnsignedLong::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtUnsignedLong::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1788,79 +1856,79 @@ inline void Response_Metadata_DtUnsignedLong::set_allocated_key(::std::string* k } // required uint64 value = 2; -inline bool Response_Metadata_DtUnsignedLong::has_value() const { +inline bool Response_Metadata_Row_DtUnsignedLong::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtUnsignedLong::set_has_value() { +inline void Response_Metadata_Row_DtUnsignedLong::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtUnsignedLong::clear_has_value() { +inline void Response_Metadata_Row_DtUnsignedLong::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtUnsignedLong::clear_value() { +inline void Response_Metadata_Row_DtUnsignedLong::clear_value() { value_ = GOOGLE_ULONGLONG(0); clear_has_value(); } -inline ::google::protobuf::uint64 Response_Metadata_DtUnsignedLong::value() const { +inline ::google::protobuf::uint64 Response_Metadata_Row_DtUnsignedLong::value() const { return value_; } -inline void Response_Metadata_DtUnsignedLong::set_value(::google::protobuf::uint64 value) { +inline void Response_Metadata_Row_DtUnsignedLong::set_value(::google::protobuf::uint64 value) { set_has_value(); value_ = value; } // ------------------------------------------------------------------- -// Response_Metadata_DtLongLong +// Response_Metadata_Row_DtLongLong // required string key = 1; -inline bool Response_Metadata_DtLongLong::has_key() const { +inline bool Response_Metadata_Row_DtLongLong::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtLongLong::set_has_key() { +inline void Response_Metadata_Row_DtLongLong::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtLongLong::clear_has_key() { +inline void Response_Metadata_Row_DtLongLong::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtLongLong::clear_key() { +inline void Response_Metadata_Row_DtLongLong::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtLongLong::key() const { +inline const ::std::string& Response_Metadata_Row_DtLongLong::key() const { return *key_; } -inline void Response_Metadata_DtLongLong::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtLongLong::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtLongLong::set_key(const char* value) { +inline void Response_Metadata_Row_DtLongLong::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtLongLong::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtLongLong::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtLongLong::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtLongLong::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtLongLong::release_key() { +inline ::std::string* Response_Metadata_Row_DtLongLong::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -1870,7 +1938,7 @@ inline ::std::string* Response_Metadata_DtLongLong::release_key() { return temp; } } -inline void Response_Metadata_DtLongLong::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtLongLong::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1884,79 +1952,79 @@ inline void Response_Metadata_DtLongLong::set_allocated_key(::std::string* key) } // required int64 value = 2; -inline bool Response_Metadata_DtLongLong::has_value() const { +inline bool Response_Metadata_Row_DtLongLong::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtLongLong::set_has_value() { +inline void Response_Metadata_Row_DtLongLong::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtLongLong::clear_has_value() { +inline void Response_Metadata_Row_DtLongLong::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtLongLong::clear_value() { +inline void Response_Metadata_Row_DtLongLong::clear_value() { value_ = GOOGLE_LONGLONG(0); clear_has_value(); } -inline ::google::protobuf::int64 Response_Metadata_DtLongLong::value() const { +inline ::google::protobuf::int64 Response_Metadata_Row_DtLongLong::value() const { return value_; } -inline void Response_Metadata_DtLongLong::set_value(::google::protobuf::int64 value) { +inline void Response_Metadata_Row_DtLongLong::set_value(::google::protobuf::int64 value) { set_has_value(); value_ = value; } // ------------------------------------------------------------------- -// Response_Metadata_DtString +// Response_Metadata_Row_DtString // required string key = 1; -inline bool Response_Metadata_DtString::has_key() const { +inline bool Response_Metadata_Row_DtString::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtString::set_has_key() { +inline void Response_Metadata_Row_DtString::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtString::clear_has_key() { +inline void Response_Metadata_Row_DtString::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtString::clear_key() { +inline void Response_Metadata_Row_DtString::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtString::key() const { +inline const ::std::string& Response_Metadata_Row_DtString::key() const { return *key_; } -inline void Response_Metadata_DtString::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtString::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtString::set_key(const char* value) { +inline void Response_Metadata_Row_DtString::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtString::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtString::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtString::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtString::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtString::release_key() { +inline ::std::string* Response_Metadata_Row_DtString::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -1966,7 +2034,7 @@ inline ::std::string* Response_Metadata_DtString::release_key() { return temp; } } -inline void Response_Metadata_DtString::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtString::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -1980,53 +2048,53 @@ inline void Response_Metadata_DtString::set_allocated_key(::std::string* key) { } // required string value = 2; -inline bool Response_Metadata_DtString::has_value() const { +inline bool Response_Metadata_Row_DtString::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtString::set_has_value() { +inline void Response_Metadata_Row_DtString::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtString::clear_has_value() { +inline void Response_Metadata_Row_DtString::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtString::clear_value() { +inline void Response_Metadata_Row_DtString::clear_value() { if (value_ != &::google::protobuf::internal::kEmptyString) { value_->clear(); } clear_has_value(); } -inline const ::std::string& Response_Metadata_DtString::value() const { +inline const ::std::string& Response_Metadata_Row_DtString::value() const { return *value_; } -inline void Response_Metadata_DtString::set_value(const ::std::string& value) { +inline void Response_Metadata_Row_DtString::set_value(const ::std::string& value) { set_has_value(); if (value_ == &::google::protobuf::internal::kEmptyString) { value_ = new ::std::string; } value_->assign(value); } -inline void Response_Metadata_DtString::set_value(const char* value) { +inline void Response_Metadata_Row_DtString::set_value(const char* value) { set_has_value(); if (value_ == &::google::protobuf::internal::kEmptyString) { value_ = new ::std::string; } value_->assign(value); } -inline void Response_Metadata_DtString::set_value(const char* value, size_t size) { +inline void Response_Metadata_Row_DtString::set_value(const char* value, size_t size) { set_has_value(); if (value_ == &::google::protobuf::internal::kEmptyString) { value_ = new ::std::string; } value_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtString::mutable_value() { +inline ::std::string* Response_Metadata_Row_DtString::mutable_value() { set_has_value(); if (value_ == &::google::protobuf::internal::kEmptyString) { value_ = new ::std::string; } return value_; } -inline ::std::string* Response_Metadata_DtString::release_value() { +inline ::std::string* Response_Metadata_Row_DtString::release_value() { clear_has_value(); if (value_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -2036,7 +2104,7 @@ inline ::std::string* Response_Metadata_DtString::release_value() { return temp; } } -inline void Response_Metadata_DtString::set_allocated_value(::std::string* value) { +inline void Response_Metadata_Row_DtString::set_allocated_value(::std::string* value) { if (value_ != &::google::protobuf::internal::kEmptyString) { delete value_; } @@ -2051,56 +2119,56 @@ inline void Response_Metadata_DtString::set_allocated_value(::std::string* value // ------------------------------------------------------------------- -// Response_Metadata_DtDate +// Response_Metadata_Row_DtDate // required string key = 1; -inline bool Response_Metadata_DtDate::has_key() const { +inline bool Response_Metadata_Row_DtDate::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_DtDate::set_has_key() { +inline void Response_Metadata_Row_DtDate::set_has_key() { _has_bits_[0] |= 0x00000001u; } -inline void Response_Metadata_DtDate::clear_has_key() { +inline void Response_Metadata_Row_DtDate::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_DtDate::clear_key() { +inline void Response_Metadata_Row_DtDate::clear_key() { if (key_ != &::google::protobuf::internal::kEmptyString) { key_->clear(); } clear_has_key(); } -inline const ::std::string& Response_Metadata_DtDate::key() const { +inline const ::std::string& Response_Metadata_Row_DtDate::key() const { return *key_; } -inline void Response_Metadata_DtDate::set_key(const ::std::string& value) { +inline void Response_Metadata_Row_DtDate::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtDate::set_key(const char* value) { +inline void Response_Metadata_Row_DtDate::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(value); } -inline void Response_Metadata_DtDate::set_key(const char* value, size_t size) { +inline void Response_Metadata_Row_DtDate::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } key_->assign(reinterpret_cast<const char*>(value), size); } -inline ::std::string* Response_Metadata_DtDate::mutable_key() { +inline ::std::string* Response_Metadata_Row_DtDate::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { key_ = new ::std::string; } return key_; } -inline ::std::string* Response_Metadata_DtDate::release_key() { +inline ::std::string* Response_Metadata_Row_DtDate::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::kEmptyString) { return NULL; @@ -2110,7 +2178,7 @@ inline ::std::string* Response_Metadata_DtDate::release_key() { return temp; } } -inline void Response_Metadata_DtDate::set_allocated_key(::std::string* key) { +inline void Response_Metadata_Row_DtDate::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::kEmptyString) { delete key_; } @@ -2124,84 +2192,194 @@ inline void Response_Metadata_DtDate::set_allocated_key(::std::string* key) { } // required sfixed64 value = 2; -inline bool Response_Metadata_DtDate::has_value() const { +inline bool Response_Metadata_Row_DtDate::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_DtDate::set_has_value() { +inline void Response_Metadata_Row_DtDate::set_has_value() { _has_bits_[0] |= 0x00000002u; } -inline void Response_Metadata_DtDate::clear_has_value() { +inline void Response_Metadata_Row_DtDate::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_DtDate::clear_value() { +inline void Response_Metadata_Row_DtDate::clear_value() { value_ = GOOGLE_LONGLONG(0); clear_has_value(); } -inline ::google::protobuf::int64 Response_Metadata_DtDate::value() const { +inline ::google::protobuf::int64 Response_Metadata_Row_DtDate::value() const { return value_; } -inline void Response_Metadata_DtDate::set_value(::google::protobuf::int64 value) { +inline void Response_Metadata_Row_DtDate::set_value(::google::protobuf::int64 value) { set_has_value(); value_ = value; } // ------------------------------------------------------------------- -// Response_Metadata +// Response_Metadata_Row -// required uint64 partial = 1; -inline bool Response_Metadata::has_partial() const { - return (_has_bits_[0] & 0x00000001u) != 0; +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; +inline int Response_Metadata_Row::double_list_size() const { + return double_list_.size(); } -inline void Response_Metadata::set_has_partial() { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row::clear_double_list() { + double_list_.Clear(); } -inline void Response_Metadata::clear_has_partial() { - _has_bits_[0] &= ~0x00000001u; +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& Response_Metadata_Row::double_list(int index) const { + return double_list_.Get(index); } -inline void Response_Metadata::clear_partial() { - partial_ = GOOGLE_ULONGLONG(0); - clear_has_partial(); +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::mutable_double_list(int index) { + return double_list_.Mutable(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::add_double_list() { + return double_list_.Add(); } -inline ::google::protobuf::uint64 Response_Metadata::partial() const { - return partial_; +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& +Response_Metadata_Row::double_list() const { + return double_list_; } -inline void Response_Metadata::set_partial(::google::protobuf::uint64 value) { - set_has_partial(); - partial_ = value; +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* +Response_Metadata_Row::mutable_double_list() { + return &double_list_; } -// required uint64 total = 2; -inline bool Response_Metadata::has_total() const { - return (_has_bits_[0] & 0x00000002u) != 0; +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; +inline int Response_Metadata_Row::integer_list_size() const { + return integer_list_.size(); } -inline void Response_Metadata::set_has_total() { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row::clear_integer_list() { + integer_list_.Clear(); } -inline void Response_Metadata::clear_has_total() { - _has_bits_[0] &= ~0x00000002u; +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& Response_Metadata_Row::integer_list(int index) const { + return integer_list_.Get(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::mutable_integer_list(int index) { + return integer_list_.Mutable(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::add_integer_list() { + return integer_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& +Response_Metadata_Row::integer_list() const { + return integer_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* +Response_Metadata_Row::mutable_integer_list() { + return &integer_list_; +} + +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; +inline int Response_Metadata_Row::unsinged_long_list_size() const { + return unsinged_long_list_.size(); +} +inline void Response_Metadata_Row::clear_unsinged_long_list() { + unsinged_long_list_.Clear(); +} +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row::unsinged_long_list(int index) const { + return unsinged_long_list_.Get(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::mutable_unsinged_long_list(int index) { + return unsinged_long_list_.Mutable(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::add_unsinged_long_list() { + return unsinged_long_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& +Response_Metadata_Row::unsinged_long_list() const { + return unsinged_long_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* +Response_Metadata_Row::mutable_unsinged_long_list() { + return &unsinged_long_list_; +} + +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; +inline int Response_Metadata_Row::long_long_list_size() const { + return long_long_list_.size(); +} +inline void Response_Metadata_Row::clear_long_long_list() { + long_long_list_.Clear(); +} +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& Response_Metadata_Row::long_long_list(int index) const { + return long_long_list_.Get(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::mutable_long_long_list(int index) { + return long_long_list_.Mutable(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::add_long_long_list() { + return long_long_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& +Response_Metadata_Row::long_long_list() const { + return long_long_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* +Response_Metadata_Row::mutable_long_long_list() { + return &long_long_list_; +} + +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; +inline int Response_Metadata_Row::strings_list_size() const { + return strings_list_.size(); +} +inline void Response_Metadata_Row::clear_strings_list() { + strings_list_.Clear(); +} +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& Response_Metadata_Row::strings_list(int index) const { + return strings_list_.Get(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::mutable_strings_list(int index) { + return strings_list_.Mutable(index); +} +inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::add_strings_list() { + return strings_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& +Response_Metadata_Row::strings_list() const { + return strings_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* +Response_Metadata_Row::mutable_strings_list() { + return &strings_list_; +} + +// repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; +inline int Response_Metadata_Row::date_list_size() const { + return date_list_.size(); } -inline void Response_Metadata::clear_total() { - total_ = GOOGLE_ULONGLONG(0); - clear_has_total(); +inline void Response_Metadata_Row::clear_date_list() { + date_list_.Clear(); } -inline ::google::protobuf::uint64 Response_Metadata::total() const { - return total_; +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& Response_Metadata_Row::date_list(int index) const { + return date_list_.Get(index); } -inline void Response_Metadata::set_total(::google::protobuf::uint64 value) { - set_has_total(); - total_ = value; +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::mutable_date_list(int index) { + return date_list_.Mutable(index); } +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::add_date_list() { + return date_list_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& +Response_Metadata_Row::date_list() const { + return date_list_; +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* +Response_Metadata_Row::mutable_date_list() { + return &date_list_; +} + +// ------------------------------------------------------------------- + +// Response_Metadata -// required .MetadataExporter_ns.Response.Metadata.State state = 3; +// required .MetadataExporter_ns.Response.Metadata.State state = 1; inline bool Response_Metadata::has_state() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000001u) != 0; } inline void Response_Metadata::set_has_state() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000001u; } inline void Response_Metadata::clear_has_state() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000001u; } inline void Response_Metadata::clear_state() { state_ = 0; @@ -2216,15 +2394,15 @@ inline void Response_Metadata::set_state(::MetadataExporter_ns::Response_Metadat state_ = value; } -// required string status = 4; +// required string status = 2; inline bool Response_Metadata::has_status() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000002u) != 0; } inline void Response_Metadata::set_has_status() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000002u; } inline void Response_Metadata::clear_has_status() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000002u; } inline void Response_Metadata::clear_status() { if (status_ != &::google::protobuf::internal::kEmptyString) { @@ -2286,154 +2464,29 @@ inline void Response_Metadata::set_allocated_status(::std::string* status) { } } -// repeated .MetadataExporter_ns.Response.Metadata.DtDouble double_list = 5; -inline int Response_Metadata::double_list_size() const { - return double_list_.size(); -} -inline void Response_Metadata::clear_double_list() { - double_list_.Clear(); -} -inline const ::MetadataExporter_ns::Response_Metadata_DtDouble& Response_Metadata::double_list(int index) const { - return double_list_.Get(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtDouble* Response_Metadata::mutable_double_list(int index) { - return double_list_.Mutable(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtDouble* Response_Metadata::add_double_list() { - return double_list_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDouble >& -Response_Metadata::double_list() const { - return double_list_; -} -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDouble >* -Response_Metadata::mutable_double_list() { - return &double_list_; -} - -// repeated .MetadataExporter_ns.Response.Metadata.DtInteger integer_list = 6; -inline int Response_Metadata::integer_list_size() const { - return integer_list_.size(); -} -inline void Response_Metadata::clear_integer_list() { - integer_list_.Clear(); -} -inline const ::MetadataExporter_ns::Response_Metadata_DtInteger& Response_Metadata::integer_list(int index) const { - return integer_list_.Get(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtInteger* Response_Metadata::mutable_integer_list(int index) { - return integer_list_.Mutable(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtInteger* Response_Metadata::add_integer_list() { - return integer_list_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtInteger >& -Response_Metadata::integer_list() const { - return integer_list_; -} -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtInteger >* -Response_Metadata::mutable_integer_list() { - return &integer_list_; -} - -// repeated .MetadataExporter_ns.Response.Metadata.DtUnsignedLong unsinged_long_list = 7; -inline int Response_Metadata::unsinged_long_list_size() const { - return unsinged_long_list_.size(); -} -inline void Response_Metadata::clear_unsinged_long_list() { - unsinged_long_list_.Clear(); -} -inline const ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong& Response_Metadata::unsinged_long_list(int index) const { - return unsinged_long_list_.Get(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong* Response_Metadata::mutable_unsinged_long_list(int index) { - return unsinged_long_list_.Mutable(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong* Response_Metadata::add_unsinged_long_list() { - return unsinged_long_list_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong >& -Response_Metadata::unsinged_long_list() const { - return unsinged_long_list_; -} -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtUnsignedLong >* -Response_Metadata::mutable_unsinged_long_list() { - return &unsinged_long_list_; -} - -// repeated .MetadataExporter_ns.Response.Metadata.DtLongLong long_long_list = 8; -inline int Response_Metadata::long_long_list_size() const { - return long_long_list_.size(); -} -inline void Response_Metadata::clear_long_long_list() { - long_long_list_.Clear(); -} -inline const ::MetadataExporter_ns::Response_Metadata_DtLongLong& Response_Metadata::long_long_list(int index) const { - return long_long_list_.Get(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtLongLong* Response_Metadata::mutable_long_long_list(int index) { - return long_long_list_.Mutable(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtLongLong* Response_Metadata::add_long_long_list() { - return long_long_list_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtLongLong >& -Response_Metadata::long_long_list() const { - return long_long_list_; -} -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtLongLong >* -Response_Metadata::mutable_long_long_list() { - return &long_long_list_; -} - -// repeated .MetadataExporter_ns.Response.Metadata.DtString strings_list = 9; -inline int Response_Metadata::strings_list_size() const { - return strings_list_.size(); -} -inline void Response_Metadata::clear_strings_list() { - strings_list_.Clear(); -} -inline const ::MetadataExporter_ns::Response_Metadata_DtString& Response_Metadata::strings_list(int index) const { - return strings_list_.Get(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtString* Response_Metadata::mutable_strings_list(int index) { - return strings_list_.Mutable(index); -} -inline ::MetadataExporter_ns::Response_Metadata_DtString* Response_Metadata::add_strings_list() { - return strings_list_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtString >& -Response_Metadata::strings_list() const { - return strings_list_; -} -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtString >* -Response_Metadata::mutable_strings_list() { - return &strings_list_; -} - -// repeated .MetadataExporter_ns.Response.Metadata.DtDate date_list = 10; -inline int Response_Metadata::date_list_size() const { - return date_list_.size(); +// repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; +inline int Response_Metadata::rows_size() const { + return rows_.size(); } -inline void Response_Metadata::clear_date_list() { - date_list_.Clear(); +inline void Response_Metadata::clear_rows() { + rows_.Clear(); } -inline const ::MetadataExporter_ns::Response_Metadata_DtDate& Response_Metadata::date_list(int index) const { - return date_list_.Get(index); +inline const ::MetadataExporter_ns::Response_Metadata_Row& Response_Metadata::rows(int index) const { + return rows_.Get(index); } -inline ::MetadataExporter_ns::Response_Metadata_DtDate* Response_Metadata::mutable_date_list(int index) { - return date_list_.Mutable(index); +inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::mutable_rows(int index) { + return rows_.Mutable(index); } -inline ::MetadataExporter_ns::Response_Metadata_DtDate* Response_Metadata::add_date_list() { - return date_list_.Add(); +inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::add_rows() { + return rows_.Add(); } -inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDate >& -Response_Metadata::date_list() const { - return date_list_; +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& +Response_Metadata::rows() const { + return rows_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_DtDate >* -Response_Metadata::mutable_date_list() { - return &date_list_; +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* +Response_Metadata::mutable_rows() { + return &rows_; } // -------------------------------------------------------------------