From 3a42a961afb532b8bbfe5c1a5cb81ebd877f30a0 Mon Sep 17 00:00:00 2001 From: Cristiano Urban <cristiano.urban@inaf.it> Date: Thu, 21 Sep 2023 13:31:23 +0200 Subject: [PATCH] Created branch with some changes for Rocky Linux 8. Signed-off-by: Cristiano Urban <cristiano.urban@inaf.it> --- Makefile | 4 +- src/Request.pb.cc | 2146 ++++++++++++--------- src/Request.pb.h | 2192 ++++++++-------------- src/Response.pb.cc | 4481 +++++++++++++++++++++++++------------------- src/Response.pb.h | 4173 +++++++++++++++-------------------------- 5 files changed, 6096 insertions(+), 6900 deletions(-) diff --git a/Makefile b/Makefile index 37920da..91a754c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ INC_DIR=/usr/local/omniORB/include \ /usr/local/boost/include \ /usr/local/soci/include \ /usr/local/soci/include/soci \ - /usr/include/mariadb \ + /usr/include/mysql \ /usr/include/soci \ /usr/local/protobuf/include \ ./src @@ -29,7 +29,7 @@ CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG CXX_RELEASE_FLAGS=-O3 CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs -DHAVE_BOOST -DBOOST_BIND_GLOBAL_PLACEHOLDERS LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \ - -lsoci_core -lsoci_mysql -lmariadbclient -lboost_system -lboost_thread \ + -lsoci_core -lsoci_mysql -lmariadb -lboost_system -lboost_thread \ -lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread INC_NO_WARNINGS=-isystem /usr/local/tango/include/tango INC_PARM=$(foreach d, $(INC_DIR), -I$d) $(INC_NO_WARNINGS) diff --git a/src/Request.pb.cc b/src/Request.pb.cc index 279614a..be991bd 100644 --- a/src/Request.pb.cc +++ b/src/Request.pb.cc @@ -5,173 +5,214 @@ #include <algorithm> +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/port.h> +#include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/wire_format_lite.h> +#include <google/protobuf/wire_format_lite_inl.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/wire_format.h> +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif // @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_Request_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Authorization_Request_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Request_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Metadata_Request_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Request_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Request_Validation_Request_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Request_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Validation_Column_Request_2eproto; namespace MetadataExporter_ns { class Request_AuthorizationDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Authorization> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Request_Authorization> + _instance; } _Request_Authorization_default_instance_; class Request_Validation_ColumnDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Validation_Column> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Request_Validation_Column> + _instance; } _Request_Validation_Column_default_instance_; class Request_ValidationDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Validation> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Request_Validation> + _instance; } _Request_Validation_default_instance_; class Request_MetadataDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Metadata> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Request_Metadata> + _instance; } _Request_Metadata_default_instance_; class RequestDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Request> + _instance; } _Request_default_instance_; } // namespace MetadataExporter_ns -static void InitDefaultsscc_info_Request_Request_2eproto() { +namespace protobuf_Request_2eproto { +void InitDefaultsRequest_AuthorizationImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Request_default_instance_; - new (ptr) ::MetadataExporter_ns::Request(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Request_Authorization_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Authorization(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Request::InitAsDefaultInstance(); + ::MetadataExporter_ns::Request_Authorization::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Request_Request_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_Request_Request_2eproto}, { - &scc_info_Request_Authorization_Request_2eproto.base, - &scc_info_Request_Validation_Request_2eproto.base, - &scc_info_Request_Metadata_Request_2eproto.base,}}; +void InitDefaultsRequest_Authorization() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequest_AuthorizationImpl); +} -static void InitDefaultsscc_info_Request_Authorization_Request_2eproto() { +void InitDefaultsRequest_Validation_ColumnImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Request_Authorization_default_instance_; - new (ptr) ::MetadataExporter_ns::Request_Authorization(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Request_Validation_Column_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Validation_Column(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Request_Authorization::InitAsDefaultInstance(); + ::MetadataExporter_ns::Request_Validation_Column::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Authorization_Request_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Request_Authorization_Request_2eproto}, {}}; +void InitDefaultsRequest_Validation_Column() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequest_Validation_ColumnImpl); +} -static void InitDefaultsscc_info_Request_Metadata_Request_2eproto() { +void InitDefaultsRequest_ValidationImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + protobuf_Request_2eproto::InitDefaultsRequest_Validation_Column(); { - void* ptr = &::MetadataExporter_ns::_Request_Metadata_default_instance_; - new (ptr) ::MetadataExporter_ns::Request_Metadata(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Request_Validation_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Validation(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Request_Metadata::InitAsDefaultInstance(); + ::MetadataExporter_ns::Request_Validation::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Metadata_Request_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Request_Metadata_Request_2eproto}, {}}; +void InitDefaultsRequest_Validation() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequest_ValidationImpl); +} -static void InitDefaultsscc_info_Request_Validation_Request_2eproto() { +void InitDefaultsRequest_MetadataImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Request_Validation_default_instance_; - new (ptr) ::MetadataExporter_ns::Request_Validation(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Request_Metadata_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Metadata(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Request_Validation::InitAsDefaultInstance(); + ::MetadataExporter_ns::Request_Metadata::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Request_Validation_Request_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Request_Validation_Request_2eproto}, { - &scc_info_Request_Validation_Column_Request_2eproto.base,}}; +void InitDefaultsRequest_Metadata() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequest_MetadataImpl); +} -static void InitDefaultsscc_info_Request_Validation_Column_Request_2eproto() { +void InitDefaultsRequestImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + protobuf_Request_2eproto::InitDefaultsRequest_Authorization(); + protobuf_Request_2eproto::InitDefaultsRequest_Validation(); + protobuf_Request_2eproto::InitDefaultsRequest_Metadata(); { - void* ptr = &::MetadataExporter_ns::_Request_Validation_Column_default_instance_; - new (ptr) ::MetadataExporter_ns::Request_Validation_Column(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Request_default_instance_; + new (ptr) ::MetadataExporter_ns::Request(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Request_Validation_Column::InitAsDefaultInstance(); + ::MetadataExporter_ns::Request::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Request_Validation_Column_Request_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Request_Validation_Column_Request_2eproto}, {}}; +void InitDefaultsRequest() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRequestImpl); +} -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Request_2eproto[5]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_Request_2eproto[1]; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Request_2eproto = nullptr; +::google::protobuf::Metadata file_level_metadata[5]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1]; -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Request_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, _internal_metadata_), +const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, username_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, password_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, username_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Authorization, password_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, name_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, type_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, nullable_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, nullable_), 0, 1, 2, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, schema_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, table_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, columns_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, schema_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, table_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, columns_), 0, 1, ~0u, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, timestamp_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, timestamp_), 0, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, type_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, authorization_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, validation_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, authorization_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, validation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Request, metadata_), 3, 0, 1, 2, }; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { +static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 7, sizeof(::MetadataExporter_ns::Request_Authorization)}, { 9, 17, sizeof(::MetadataExporter_ns::Request_Validation_Column)}, { 20, 28, sizeof(::MetadataExporter_ns::Request_Validation)}, @@ -179,54 +220,73 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 38, 47, sizeof(::MetadataExporter_ns::Request)}, }; -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Request_Authorization_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Request_Validation_Column_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Request_Validation_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Request_Metadata_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Request_default_instance_), -}; - -const char descriptor_table_protodef_Request_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\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" - "tion\022;\n\nvalidation\030\003 \001(\0132\'.MetadataExpor" - "ter_ns.Request.Validation\0227\n\010metadata\030\004 " - "\001(\0132%.MetadataExporter_ns.Request.Metada" - "ta\0323\n\rAuthorization\022\020\n\010username\030\001 \002(\t\022\020\n" - "\010password\030\002 \002(\t\032\244\001\n\nValidation\022\016\n\006schema" - "\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\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" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Request_2eproto_deps[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Request_2eproto_sccs[5] = { - &scc_info_Request_Request_2eproto.base, - &scc_info_Request_Authorization_Request_2eproto.base, - &scc_info_Request_Metadata_Request_2eproto.base, - &scc_info_Request_Validation_Request_2eproto.base, - &scc_info_Request_Validation_Column_Request_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Request_2eproto_once; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Request_2eproto = { - false, false, descriptor_table_protodef_Request_2eproto, "Request.proto", 590, - &descriptor_table_Request_2eproto_once, descriptor_table_Request_2eproto_sccs, descriptor_table_Request_2eproto_deps, 5, 0, - schemas, file_default_instances, TableStruct_Request_2eproto::offsets, - file_level_metadata_Request_2eproto, 5, file_level_enum_descriptors_Request_2eproto, file_level_service_descriptors_Request_2eproto, +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Request_Authorization_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Request_Validation_Column_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Request_Validation_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Request_Metadata_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Request_default_instance_), }; -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_Request_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Request_2eproto)), true); +void protobuf_AssignDescriptors() { + AddDescriptors(); + ::google::protobuf::MessageFactory* factory = NULL; + AssignDescriptors( + "Request.proto", schemas, file_default_instances, TableStruct::offsets, factory, + file_level_metadata, file_level_enum_descriptors, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 5); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\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" + "tion\022;\n\nvalidation\030\003 \001(\0132\'.MetadataExpor" + "ter_ns.Request.Validation\0227\n\010metadata\030\004 " + "\001(\0132%.MetadataExporter_ns.Request.Metada" + "ta\0323\n\rAuthorization\022\020\n\010username\030\001 \002(\t\022\020\n" + "\010password\030\002 \002(\t\032\244\001\n\nValidation\022\016\n\006schema" + "\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\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" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 590); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "Request.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_Request_2eproto namespace MetadataExporter_ns { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Request_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_Request_2eproto); - return file_level_enum_descriptors_Request_2eproto[0]; +const ::google::protobuf::EnumDescriptor* Request_Type_descriptor() { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_Request_2eproto::file_level_enum_descriptors[0]; } bool Request_Type_IsValid(int value) { switch (value) { @@ -239,192 +299,238 @@ bool Request_Type_IsValid(int value) { } } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -constexpr Request_Type Request::AUTHORIZATION; -constexpr Request_Type Request::VALIDATION; -constexpr Request_Type Request::METADATA; -constexpr Request_Type Request::Type_MIN; -constexpr Request_Type Request::Type_MAX; -constexpr int Request::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const Request_Type Request::AUTHORIZATION; +const Request_Type Request::VALIDATION; +const Request_Type Request::METADATA; +const Request_Type Request::Type_MIN; +const Request_Type Request::Type_MAX; +const int Request::Type_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 // =================================================================== void Request_Authorization::InitAsDefaultInstance() { } -class Request_Authorization::_Internal { - public: - using HasBits = decltype(std::declval<Request_Authorization>()._has_bits_); - static void set_has_username(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_password(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Request_Authorization::kUsernameFieldNumber; +const int Request_Authorization::kPasswordFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Request_Authorization::Request_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Request_Authorization::Request_Authorization() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Request_2eproto::InitDefaultsRequest_Authorization(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request.Authorization) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Request.Authorization) } Request_Authorization::Request_Authorization(const Request_Authorization& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_username()) { - username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_username(), - GetArena()); - } - password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_password()) { - password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_password(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_username()) { + username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); + } + password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_password()) { + password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_); } // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Authorization) } void Request_Authorization::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_Authorization_Request_2eproto.base); - username_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + username_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } Request_Authorization::~Request_Authorization() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Authorization) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Authorization::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - username_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - password_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + username_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Request_Authorization::ArenaDtor(void* object) { - Request_Authorization* _this = reinterpret_cast< Request_Authorization* >(object); - (void)_this; -} -void Request_Authorization::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Request_Authorization::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Request_Authorization::descriptor() { + ::protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Request_Authorization& Request_Authorization::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Authorization_Request_2eproto.base); + ::protobuf_Request_2eproto::InitDefaultsRequest_Authorization(); return *internal_default_instance(); } +Request_Authorization* Request_Authorization::New(::google::protobuf::Arena* arena) const { + Request_Authorization* n = new Request_Authorization; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Request_Authorization::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Authorization) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - username_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!username_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*username_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { - password_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!password_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*password_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Request_Authorization::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Request_Authorization::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Request.Authorization) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string username = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_username(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Authorization.username"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_username())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->username().data(), static_cast<int>(this->username().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Authorization.username"); + } else { + goto handle_unusual; + } + break; + } + // required string password = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_password(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Authorization.password"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_password())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->password().data(), static_cast<int>(this->password().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Authorization.password"); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Request.Authorization) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Request.Authorization) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Request_Authorization::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Request_Authorization::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Request.Authorization) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string username = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->username().data(), static_cast<int>(this->username().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Authorization.username"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->username(), output); + } + + // required string password = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->password().data(), static_cast<int>(this->password().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Authorization.password"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->password(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Request.Authorization) +} + +::google::protobuf::uint8* Request_Authorization::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Authorization) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string username = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_username().data(), static_cast<int>(this->_internal_username().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->username().data(), static_cast<int>(this->username().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Authorization.username"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_username(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->username(), target); } // required string password = 2; if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_password().data(), static_cast<int>(this->_internal_password().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->password().data(), static_cast<int>(this->password().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Authorization.password"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_password(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->password(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Authorization) return target; @@ -434,18 +540,18 @@ size_t Request_Authorization::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Request.Authorization) size_t total_size = 0; - if (_internal_has_username()) { + if (has_username()) { // required string username = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_username()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->username()); } - if (_internal_has_password()) { + if (has_password()) { // required string password = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_password()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->password()); } return total_size; @@ -454,42 +560,41 @@ size_t Request_Authorization::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Authorization) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string username = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_username()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->username()); // required string password = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_password()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->password()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Request_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Authorization::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Authorization) GOOGLE_DCHECK_NE(&from, this); const Request_Authorization* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Authorization>( + ::google::protobuf::internal::DynamicCastToGenerated<const Request_Authorization>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Authorization) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Authorization) MergeFrom(*source); @@ -499,22 +604,24 @@ void Request_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& fr void Request_Authorization::MergeFrom(const Request_Authorization& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Request.Authorization) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_username(from._internal_username()); + set_has_username(); + username_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.username_); } if (cached_has_bits & 0x00000002u) { - _internal_set_password(from._internal_password()); + set_has_password(); + password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.password_); } } } -void Request_Authorization::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Authorization::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Authorization) if (&from == this) return; Clear(); @@ -529,20 +636,26 @@ void Request_Authorization::CopyFrom(const Request_Authorization& from) { } bool Request_Authorization::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Request_Authorization::Swap(Request_Authorization* other) { + if (other == this) return; + InternalSwap(other); +} void Request_Authorization::InternalSwap(Request_Authorization* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + username_.Swap(&other->username_); + password_.Swap(&other->password_); swap(_has_bits_[0], other->_has_bits_[0]); - username_.Swap(&other->username_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - password_.Swap(&other->password_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Request_Authorization::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Request_Authorization::GetMetadata() const { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -550,213 +663,273 @@ void Request_Authorization::InternalSwap(Request_Authorization* other) { void Request_Validation_Column::InitAsDefaultInstance() { } -class Request_Validation_Column::_Internal { - public: - using HasBits = decltype(std::declval<Request_Validation_Column>()._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_nullable(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Request_Validation_Column::kNameFieldNumber; +const int Request_Validation_Column::kTypeFieldNumber; +const int Request_Validation_Column::kNullableFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Request_Validation_Column::Request_Validation_Column(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Request_Validation_Column::Request_Validation_Column() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Request_2eproto::InitDefaultsRequest_Validation_Column(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request.Validation.Column) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Request.Validation.Column) } Request_Validation_Column::Request_Validation_Column(const Request_Validation_Column& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_name()) { - name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(), - GetArena()); - } - type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_type()) { - type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_type(), - GetArena()); - } - nullable_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_nullable()) { - nullable_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_nullable(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_name()) { + name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); + } + type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_type()) { + type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); + } + nullable_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_nullable()) { + nullable_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.nullable_); } // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Validation.Column) } void Request_Validation_Column::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_Validation_Column_Request_2eproto.base); - name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - nullable_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + nullable_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } Request_Validation_Column::~Request_Validation_Column() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Validation.Column) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Validation_Column::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - nullable_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + nullable_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Request_Validation_Column::ArenaDtor(void* object) { - Request_Validation_Column* _this = reinterpret_cast< Request_Validation_Column* >(object); - (void)_this; -} -void Request_Validation_Column::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Request_Validation_Column::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Request_Validation_Column::descriptor() { + ::protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } + const Request_Validation_Column& Request_Validation_Column::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Validation_Column_Request_2eproto.base); + ::protobuf_Request_2eproto::InitDefaultsRequest_Validation_Column(); return *internal_default_instance(); } +Request_Validation_Column* Request_Validation_Column::New(::google::protobuf::Arena* arena) const { + Request_Validation_Column* n = new Request_Validation_Column; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Request_Validation_Column::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Validation.Column) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { - name_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*name_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { - type_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!type_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*type_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000004u) { - nullable_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!nullable_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*nullable_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Request_Validation_Column::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Request_Validation_Column::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Request.Validation.Column) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Validation.Column.name"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), static_cast<int>(this->name().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Validation.Column.name"); + } else { + goto handle_unusual; + } + break; + } + // required string type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_type(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Validation.Column.type"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_type())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->type().data(), static_cast<int>(this->type().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Validation.Column.type"); + } else { + goto handle_unusual; + } + break; + } + // required string nullable = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - auto str = _internal_mutable_nullable(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Validation.Column.nullable"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_nullable())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nullable().data(), static_cast<int>(this->nullable().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Validation.Column.nullable"); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Request.Validation.Column) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Request.Validation.Column) + return false; +#undef DO_ +} + +void Request_Validation_Column::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Request.Validation.Column) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string name = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), static_cast<int>(this->name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Validation.Column.name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->name(), output); + } + + // required string type = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->type().data(), static_cast<int>(this->type().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Validation.Column.type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->type(), output); + } + + // required string nullable = 3; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nullable().data(), static_cast<int>(this->nullable().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Validation.Column.nullable"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->nullable(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Request.Validation.Column) } -::PROTOBUF_NAMESPACE_ID::uint8* Request_Validation_Column::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Request_Validation_Column::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Validation.Column) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string name = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), static_cast<int>(this->name().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Validation.Column.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); } // required string type = 2; if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_type().data(), static_cast<int>(this->_internal_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->type().data(), static_cast<int>(this->type().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Validation.Column.type"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_type(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->type(), target); } // required string nullable = 3; if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nullable().data(), static_cast<int>(this->_internal_nullable().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->nullable().data(), static_cast<int>(this->nullable().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Validation.Column.nullable"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_nullable(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->nullable(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Validation.Column) return target; @@ -766,25 +939,25 @@ size_t Request_Validation_Column::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Request.Validation.Column) size_t total_size = 0; - if (_internal_has_name()) { + if (has_name()) { // required string name = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); } - if (_internal_has_type()) { + if (has_type()) { // required string type = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_type()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->type()); } - if (_internal_has_nullable()) { + if (has_nullable()) { // required string nullable = 3; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nullable()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->nullable()); } return total_size; @@ -793,47 +966,46 @@ size_t Request_Validation_Column::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Validation.Column) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required string name = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); // required string type = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_type()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->type()); // required string nullable = 3; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nullable()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->nullable()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Request_Validation_Column::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Validation_Column::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Validation.Column) GOOGLE_DCHECK_NE(&from, this); const Request_Validation_Column* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Validation_Column>( + ::google::protobuf::internal::DynamicCastToGenerated<const Request_Validation_Column>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Validation.Column) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Validation.Column) MergeFrom(*source); @@ -843,25 +1015,28 @@ void Request_Validation_Column::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message void Request_Validation_Column::MergeFrom(const Request_Validation_Column& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Request.Validation.Column) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { - _internal_set_name(from._internal_name()); + set_has_name(); + name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); } if (cached_has_bits & 0x00000002u) { - _internal_set_type(from._internal_type()); + set_has_type(); + type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_); } if (cached_has_bits & 0x00000004u) { - _internal_set_nullable(from._internal_nullable()); + set_has_nullable(); + nullable_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.nullable_); } } } -void Request_Validation_Column::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Validation_Column::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Validation.Column) if (&from == this) return; Clear(); @@ -876,21 +1051,27 @@ void Request_Validation_Column::CopyFrom(const Request_Validation_Column& from) } bool Request_Validation_Column::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; return true; } +void Request_Validation_Column::Swap(Request_Validation_Column* other) { + if (other == this) return; + InternalSwap(other); +} void Request_Validation_Column::InternalSwap(Request_Validation_Column* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + name_.Swap(&other->name_); + type_.Swap(&other->type_); + nullable_.Swap(&other->nullable_); swap(_has_bits_[0], other->_has_bits_[0]); - name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - type_.Swap(&other->type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - nullable_.Swap(&other->nullable_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Request_Validation_Column::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Request_Validation_Column::GetMetadata() const { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -898,202 +1079,254 @@ void Request_Validation_Column::InternalSwap(Request_Validation_Column* other) { void Request_Validation::InitAsDefaultInstance() { } -class Request_Validation::_Internal { - public: - using HasBits = decltype(std::declval<Request_Validation>()._has_bits_); - static void set_has_schema(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_table(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Request_Validation::kSchemaFieldNumber; +const int Request_Validation::kTableFieldNumber; +const int Request_Validation::kColumnsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Request_Validation::Request_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena), - columns_(arena) { +Request_Validation::Request_Validation() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Request_2eproto::InitDefaultsRequest_Validation(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request.Validation) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Request.Validation) } Request_Validation::Request_Validation(const Request_Validation& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), + : ::google::protobuf::Message(), + _internal_metadata_(NULL), _has_bits_(from._has_bits_), + _cached_size_(0), columns_(from.columns_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - schema_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_schema()) { - schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_schema(), - GetArena()); + _internal_metadata_.MergeFrom(from._internal_metadata_); + schema_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_schema()) { + schema_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_); } - table_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_table()) { - table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_table(), - GetArena()); + table_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_table()) { + table_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_); } // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Validation) } void Request_Validation::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_Validation_Request_2eproto.base); - schema_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - table_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + schema_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + table_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } Request_Validation::~Request_Validation() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Validation) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Validation::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - schema_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - table_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + schema_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + table_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Request_Validation::ArenaDtor(void* object) { - Request_Validation* _this = reinterpret_cast< Request_Validation* >(object); - (void)_this; -} -void Request_Validation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Request_Validation::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Request_Validation::descriptor() { + ::protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Request_Validation& Request_Validation::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Validation_Request_2eproto.base); + ::protobuf_Request_2eproto::InitDefaultsRequest_Validation(); return *internal_default_instance(); } +Request_Validation* Request_Validation::New(::google::protobuf::Arena* arena) const { + Request_Validation* n = new Request_Validation; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Request_Validation::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Validation) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; columns_.Clear(); cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - schema_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!schema_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*schema_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { - table_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!table_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*table_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Request_Validation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Request_Validation::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Request.Validation) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string schema = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_schema(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Validation.schema"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_schema())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->schema().data(), static_cast<int>(this->schema().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Validation.schema"); + } else { + goto handle_unusual; + } + break; + } + // required string table = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_table(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Request.Validation.table"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_table())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->table().data(), static_cast<int>(this->table().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Request.Validation.table"); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_columns(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_columns())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Request.Validation) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Request.Validation) + return false; +#undef DO_ +} + +void Request_Validation::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Request.Validation) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string schema = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->schema().data(), static_cast<int>(this->schema().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Validation.schema"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->schema(), output); + } + + // required string table = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->table().data(), static_cast<int>(this->table().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Request.Validation.table"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->table(), output); + } + + // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->columns_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->columns(static_cast<int>(i)), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Request.Validation) } -::PROTOBUF_NAMESPACE_ID::uint8* Request_Validation::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Request_Validation::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Validation) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string schema = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_schema().data(), static_cast<int>(this->_internal_schema().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->schema().data(), static_cast<int>(this->schema().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Validation.schema"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_schema(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->schema(), target); } // required string table = 2; if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_table().data(), static_cast<int>(this->_internal_table().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->table().data(), static_cast<int>(this->table().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Request.Validation.table"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_table(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->table(), target); } // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_columns_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, this->_internal_columns(i), target, stream); + n = static_cast<unsigned int>(this->columns_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->columns(static_cast<int>(i)), deterministic, target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Validation) return target; @@ -1103,18 +1336,18 @@ size_t Request_Validation::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Request.Validation) size_t total_size = 0; - if (_internal_has_schema()) { + if (has_schema()) { // required string schema = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_schema()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->schema()); } - if (_internal_has_table()) { + if (has_table()) { // required string table = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_table()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->table()); } return total_size; @@ -1123,49 +1356,52 @@ size_t Request_Validation::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Validation) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string schema = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_schema()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->schema()); // required string table = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_table()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->table()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - total_size += 1UL * this->_internal_columns_size(); - for (const auto& msg : this->columns_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->columns_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->columns(static_cast<int>(i))); + } } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Request_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Validation::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Validation) GOOGLE_DCHECK_NE(&from, this); const Request_Validation* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Validation>( + ::google::protobuf::internal::DynamicCastToGenerated<const Request_Validation>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Validation) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Validation) MergeFrom(*source); @@ -1175,23 +1411,25 @@ void Request_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) void Request_Validation::MergeFrom(const Request_Validation& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Request.Validation) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; columns_.MergeFrom(from.columns_); cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_schema(from._internal_schema()); + set_has_schema(); + schema_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.schema_); } if (cached_has_bits & 0x00000002u) { - _internal_set_table(from._internal_table()); + set_has_table(); + table_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_); } } } -void Request_Validation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Validation::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Validation) if (&from == this) return; Clear(); @@ -1206,22 +1444,28 @@ void Request_Validation::CopyFrom(const Request_Validation& from) { } bool Request_Validation::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(columns_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->columns())) return false; return true; } +void Request_Validation::Swap(Request_Validation* other) { + if (other == this) return; + InternalSwap(other); +} void Request_Validation::InternalSwap(Request_Validation* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); columns_.InternalSwap(&other->columns_); - schema_.Swap(&other->schema_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - table_.Swap(&other->table_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + schema_.Swap(&other->schema_); + table_.Swap(&other->table_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Request_Validation::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Request_Validation::GetMetadata() const { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1229,127 +1473,154 @@ void Request_Validation::InternalSwap(Request_Validation* other) { void Request_Metadata::InitAsDefaultInstance() { } -class Request_Metadata::_Internal { - public: - using HasBits = decltype(std::declval<Request_Metadata>()._has_bits_); - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Request_Metadata::kTimestampFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Request_Metadata::Request_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Request_Metadata::Request_Metadata() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Request_2eproto::InitDefaultsRequest_Metadata(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request.Metadata) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Request.Metadata) } Request_Metadata::Request_Metadata(const Request_Metadata& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); timestamp_ = from.timestamp_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Metadata) } void Request_Metadata::SharedCtor() { - timestamp_ = PROTOBUF_LONGLONG(0); + _cached_size_ = 0; + timestamp_ = GOOGLE_LONGLONG(0); } Request_Metadata::~Request_Metadata() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Metadata) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Metadata::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); } -void Request_Metadata::ArenaDtor(void* object) { - Request_Metadata* _this = reinterpret_cast< Request_Metadata* >(object); - (void)_this; -} -void Request_Metadata::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Request_Metadata::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Request_Metadata::descriptor() { + ::protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } + const Request_Metadata& Request_Metadata::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Metadata_Request_2eproto.base); + ::protobuf_Request_2eproto::InitDefaultsRequest_Metadata(); return *internal_default_instance(); } +Request_Metadata* Request_Metadata::New(::google::protobuf::Arena* arena) const { + Request_Metadata* n = new Request_Metadata; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Request_Metadata::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Metadata) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - timestamp_ = PROTOBUF_LONGLONG(0); + timestamp_ = GOOGLE_LONGLONG(0); _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Request_Metadata::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Request_Metadata::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Request.Metadata) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required sfixed64 timestamp = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) { - _Internal::set_has_timestamp(&has_bits); - timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::int64>(ptr); - ptr += sizeof(::PROTOBUF_NAMESPACE_ID::int64); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) { + set_has_timestamp(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>( + input, ×tamp_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Request.Metadata) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Request.Metadata) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Request_Metadata::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Request_Metadata::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Request.Metadata) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required sfixed64 timestamp = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteSFixed64(1, this->timestamp(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Request.Metadata) +} + +::google::protobuf::uint8* Request_Metadata::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Metadata) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required sfixed64 timestamp = 1; if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSFixed64ToArray(1, this->_internal_timestamp(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(1, this->timestamp(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Metadata) return target; @@ -1359,32 +1630,31 @@ size_t Request_Metadata::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Metadata) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } // required sfixed64 timestamp = 1; - if (_internal_has_timestamp()) { + if (has_timestamp()) { total_size += 1 + 8; } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Request_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Metadata::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Metadata) GOOGLE_DCHECK_NE(&from, this); const Request_Metadata* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Metadata>( + ::google::protobuf::internal::DynamicCastToGenerated<const Request_Metadata>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Metadata) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Metadata) MergeFrom(*source); @@ -1394,16 +1664,16 @@ void Request_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Request_Metadata::MergeFrom(const Request_Metadata& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Request.Metadata) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_timestamp()) { - _internal_set_timestamp(from._internal_timestamp()); + if (from.has_timestamp()) { + set_timestamp(from.timestamp()); } } -void Request_Metadata::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request_Metadata::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Metadata) if (&from == this) return; Clear(); @@ -1418,19 +1688,25 @@ void Request_Metadata::CopyFrom(const Request_Metadata& from) { } bool Request_Metadata::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } +void Request_Metadata::Swap(Request_Metadata* other) { + if (other == this) return; + InternalSwap(other); +} void Request_Metadata::InternalSwap(Request_Metadata* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); swap(timestamp_, other->timestamp_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Request_Metadata::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Request_Metadata::GetMetadata() const { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1444,72 +1720,48 @@ void Request::InitAsDefaultInstance() { ::MetadataExporter_ns::_Request_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::MetadataExporter_ns::Request_Metadata*>( ::MetadataExporter_ns::Request_Metadata::internal_default_instance()); } -class Request::_Internal { - public: - using HasBits = decltype(std::declval<Request>()._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::MetadataExporter_ns::Request_Authorization& authorization(const Request* msg); - static void set_has_authorization(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::MetadataExporter_ns::Request_Validation& validation(const Request* msg); - static void set_has_validation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::MetadataExporter_ns::Request_Metadata& metadata(const Request* msg); - static void set_has_metadata(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000008) ^ 0x00000008) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Request::kTypeFieldNumber; +const int Request::kAuthorizationFieldNumber; +const int Request::kValidationFieldNumber; +const int Request::kMetadataFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::MetadataExporter_ns::Request_Authorization& -Request::_Internal::authorization(const Request* msg) { - return *msg->authorization_; -} -const ::MetadataExporter_ns::Request_Validation& -Request::_Internal::validation(const Request* msg) { - return *msg->validation_; -} -const ::MetadataExporter_ns::Request_Metadata& -Request::_Internal::metadata(const Request* msg) { - return *msg->metadata_; -} -Request::Request(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Request::Request() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Request_2eproto::InitDefaultsRequest(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Request) } Request::Request(const Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_authorization()) { + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_authorization()) { authorization_ = new ::MetadataExporter_ns::Request_Authorization(*from.authorization_); } else { - authorization_ = nullptr; + authorization_ = NULL; } - if (from._internal_has_validation()) { + if (from.has_validation()) { validation_ = new ::MetadataExporter_ns::Request_Validation(*from.validation_); } else { - validation_ = nullptr; + validation_ = NULL; } - if (from._internal_has_metadata()) { + if (from.has_metadata()) { metadata_ = new ::MetadataExporter_ns::Request_Metadata(*from.metadata_); } else { - metadata_ = nullptr; + metadata_ = NULL; } type_ = from.type_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request) } void Request::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_Request_2eproto.base); + _cached_size_ = 0; ::memset(&authorization_, 0, static_cast<size_t>( reinterpret_cast<char*>(&type_) - reinterpret_cast<char*>(&authorization_)) + sizeof(type_)); @@ -1518,163 +1770,225 @@ void Request::SharedCtor() { Request::~Request() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete authorization_; if (this != internal_default_instance()) delete validation_; if (this != internal_default_instance()) delete metadata_; } -void Request::ArenaDtor(void* object) { - Request* _this = reinterpret_cast< Request* >(object); - (void)_this; -} -void Request::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Request::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Request::descriptor() { + ::protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Request& Request::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Request_2eproto.base); + ::protobuf_Request_2eproto::InitDefaultsRequest(); return *internal_default_instance(); } +Request* Request::New(::google::protobuf::Arena* arena) const { + Request* n = new Request; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Request::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(authorization_ != nullptr); + GOOGLE_DCHECK(authorization_ != NULL); authorization_->Clear(); } if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(validation_ != nullptr); + GOOGLE_DCHECK(validation_ != NULL); validation_->Clear(); } if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(metadata_ != nullptr); + GOOGLE_DCHECK(metadata_ != NULL); metadata_->Clear(); } } type_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Request::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Request::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Request) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .MetadataExporter_ns.Request.Type type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::MetadataExporter_ns::Request_Type_IsValid(val))) { - _internal_set_type(static_cast<::MetadataExporter_ns::Request_Type>(val)); + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::MetadataExporter_ns::Request_Type_IsValid(value)) { + set_type(static_cast< ::MetadataExporter_ns::Request_Type >(value)); } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + mutable_unknown_fields()->AddVarint( + 1, static_cast< ::google::protobuf::uint64>(value)); } - } else goto handle_unusual; - continue; + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_authorization(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_authorization())); + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Request.Validation validation = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_validation(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_validation())); + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_metadata(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_metadata())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Request) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Request) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Request::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Request::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Request) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required .MetadataExporter_ns.Request.Type type = 1; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // optional .MetadataExporter_ns.Request.Authorization authorization = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, *this->authorization_, output); + } + + // optional .MetadataExporter_ns.Request.Validation validation = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, *this->validation_, output); + } + + // optional .MetadataExporter_ns.Request.Metadata metadata = 4; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, *this->metadata_, output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Request) +} + +::google::protobuf::uint8* Request::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Request.Type type = 1; if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); } // optional .MetadataExporter_ns.Request.Authorization authorization = 2; if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 2, _Internal::authorization(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, *this->authorization_, deterministic, target); } // optional .MetadataExporter_ns.Request.Validation validation = 3; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 3, _Internal::validation(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, *this->validation_, deterministic, target); } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 4, _Internal::metadata(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, *this->metadata_, deterministic, target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request) return target; @@ -1684,57 +1998,55 @@ size_t Request::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } // required .MetadataExporter_ns.Request.Type type = 1; - if (_internal_has_type()) { + if (has_type()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (_has_bits_[0 / 32] & 7u) { // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - if (cached_has_bits & 0x00000001u) { + if (has_authorization()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *authorization_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->authorization_); } // optional .MetadataExporter_ns.Request.Validation validation = 3; - if (cached_has_bits & 0x00000002u) { + if (has_validation()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *validation_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->validation_); } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - if (cached_has_bits & 0x00000004u) { + if (has_metadata()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *metadata_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->metadata_); } } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Request::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request) GOOGLE_DCHECK_NE(&from, this); const Request* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request>( + ::google::protobuf::internal::DynamicCastToGenerated<const Request>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request) MergeFrom(*source); @@ -1744,20 +2056,20 @@ void Request::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Request::MergeFrom(const Request& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Request) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 15u) { if (cached_has_bits & 0x00000001u) { - _internal_mutable_authorization()->::MetadataExporter_ns::Request_Authorization::MergeFrom(from._internal_authorization()); + mutable_authorization()->::MetadataExporter_ns::Request_Authorization::MergeFrom(from.authorization()); } if (cached_has_bits & 0x00000002u) { - _internal_mutable_validation()->::MetadataExporter_ns::Request_Validation::MergeFrom(from._internal_validation()); + mutable_validation()->::MetadataExporter_ns::Request_Validation::MergeFrom(from.validation()); } if (cached_has_bits & 0x00000004u) { - _internal_mutable_metadata()->::MetadataExporter_ns::Request_Metadata::MergeFrom(from._internal_metadata()); + mutable_metadata()->::MetadataExporter_ns::Request_Metadata::MergeFrom(from.metadata()); } if (cached_has_bits & 0x00000008u) { type_ = from.type_; @@ -1766,7 +2078,7 @@ void Request::MergeFrom(const Request& from) { } } -void Request::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Request::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request) if (&from == this) return; Clear(); @@ -1781,55 +2093,41 @@ void Request::CopyFrom(const Request& from) { } bool Request::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (_internal_has_authorization()) { - if (!authorization_->IsInitialized()) return false; + if ((_has_bits_[0] & 0x00000008) != 0x00000008) return false; + if (has_authorization()) { + if (!this->authorization_->IsInitialized()) return false; } - if (_internal_has_validation()) { - if (!validation_->IsInitialized()) return false; + if (has_validation()) { + if (!this->validation_->IsInitialized()) return false; } - if (_internal_has_metadata()) { - if (!metadata_->IsInitialized()) return false; + if (has_metadata()) { + if (!this->metadata_->IsInitialized()) return false; } return true; } +void Request::Swap(Request* other) { + if (other == this) return; + InternalSwap(other); +} void Request::InternalSwap(Request* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + swap(authorization_, other->authorization_); + swap(validation_, other->validation_); + swap(metadata_, other->metadata_); + swap(type_, other->type_); swap(_has_bits_[0], other->_has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Request, type_) - + sizeof(Request::type_) - - PROTOBUF_FIELD_OFFSET(Request, authorization_)>( - reinterpret_cast<char*>(&authorization_), - reinterpret_cast<char*>(&other->authorization_)); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Request::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Request::GetMetadata() const { + protobuf_Request_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Request_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Request_Authorization* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Request_Authorization >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Request_Authorization >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Request_Validation_Column* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Request_Validation_Column >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Request_Validation_Column >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Request_Validation* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Request_Validation >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Request_Validation >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Request_Metadata* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Request_Metadata >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Request_Metadata >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Request* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Request >(arena); -} -PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/src/Request.pb.h b/src/Request.pb.h index b70f656..26f7caa 100644 --- a/src/Request.pb.h +++ b/src/Request.pb.h @@ -1,60 +1,66 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Request.proto -#ifndef GOOGLE_PROTOBUF_INCLUDED_Request_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_Request_2eproto +#ifndef PROTOBUF_Request_2eproto__INCLUDED +#define PROTOBUF_Request_2eproto__INCLUDED -#include <limits> #include <string> -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3012000 +#include <google/protobuf/stubs/common.h> + +#if GOOGLE_PROTOBUF_VERSION < 3005000 #error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update +#error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION +#if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please +#error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif -#include <google/protobuf/port_undef.inc> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/arena.h> #include <google/protobuf/arenastring.h> #include <google/protobuf/generated_message_table_driven.h> #include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata_lite.h> -#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/metadata.h> #include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> // IWYU pragma: export #include <google/protobuf/extension_set.h> // IWYU pragma: export #include <google/protobuf/generated_enum_reflection.h> #include <google/protobuf/unknown_field_set.h> // @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_Request_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE +namespace protobuf_Request_2eproto { // Internal implementation detail -- do not use these members. -struct TableStruct_Request_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[5]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; }; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Request_2eproto; +void AddDescriptors(); +void InitDefaultsRequest_AuthorizationImpl(); +void InitDefaultsRequest_Authorization(); +void InitDefaultsRequest_Validation_ColumnImpl(); +void InitDefaultsRequest_Validation_Column(); +void InitDefaultsRequest_ValidationImpl(); +void InitDefaultsRequest_Validation(); +void InitDefaultsRequest_MetadataImpl(); +void InitDefaultsRequest_Metadata(); +void InitDefaultsRequestImpl(); +void InitDefaultsRequest(); +inline void InitDefaults() { + InitDefaultsRequest_Authorization(); + InitDefaultsRequest_Validation_Column(); + InitDefaultsRequest_Validation(); + InitDefaultsRequest_Metadata(); + InitDefaultsRequest(); +} +} // namespace protobuf_Request_2eproto namespace MetadataExporter_ns { class Request; class RequestDefaultTypeInternal; @@ -72,82 +78,64 @@ class Request_Validation_Column; class Request_Validation_ColumnDefaultTypeInternal; extern Request_Validation_ColumnDefaultTypeInternal _Request_Validation_Column_default_instance_; } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN -template<> ::MetadataExporter_ns::Request* Arena::CreateMaybeMessage<::MetadataExporter_ns::Request>(Arena*); -template<> ::MetadataExporter_ns::Request_Authorization* Arena::CreateMaybeMessage<::MetadataExporter_ns::Request_Authorization>(Arena*); -template<> ::MetadataExporter_ns::Request_Metadata* Arena::CreateMaybeMessage<::MetadataExporter_ns::Request_Metadata>(Arena*); -template<> ::MetadataExporter_ns::Request_Validation* Arena::CreateMaybeMessage<::MetadataExporter_ns::Request_Validation>(Arena*); -template<> ::MetadataExporter_ns::Request_Validation_Column* Arena::CreateMaybeMessage<::MetadataExporter_ns::Request_Validation_Column>(Arena*); -PROTOBUF_NAMESPACE_CLOSE namespace MetadataExporter_ns { -enum Request_Type : int { +enum Request_Type { Request_Type_AUTHORIZATION = 0, Request_Type_VALIDATION = 1, Request_Type_METADATA = 2 }; bool Request_Type_IsValid(int value); -constexpr Request_Type Request_Type_Type_MIN = Request_Type_AUTHORIZATION; -constexpr Request_Type Request_Type_Type_MAX = Request_Type_METADATA; -constexpr int Request_Type_Type_ARRAYSIZE = Request_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Request_Type_descriptor(); -template<typename T> -inline const std::string& Request_Type_Name(T enum_t_value) { - static_assert(::std::is_same<T, Request_Type>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Request_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Request_Type_descriptor(), enum_t_value); +const Request_Type Request_Type_Type_MIN = Request_Type_AUTHORIZATION; +const Request_Type Request_Type_Type_MAX = Request_Type_METADATA; +const int Request_Type_Type_ARRAYSIZE = Request_Type_Type_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Request_Type_descriptor(); +inline const ::std::string& Request_Type_Name(Request_Type value) { + return ::google::protobuf::internal::NameOfEnum( + Request_Type_descriptor(), value); } inline bool Request_Type_Parse( - const std::string& name, Request_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Request_Type>( + const ::std::string& name, Request_Type* value) { + return ::google::protobuf::internal::ParseNamedEnum<Request_Type>( Request_Type_descriptor(), name, value); } // =================================================================== -class Request_Authorization PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Authorization) */ { +class Request_Authorization : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Authorization) */ { public: - inline Request_Authorization() : Request_Authorization(nullptr) {}; + Request_Authorization(); virtual ~Request_Authorization(); Request_Authorization(const Request_Authorization& from); - Request_Authorization(Request_Authorization&& from) noexcept - : Request_Authorization() { - *this = ::std::move(from); - } inline Request_Authorization& operator=(const Request_Authorization& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Request_Authorization(Request_Authorization&& from) noexcept + : Request_Authorization() { + *this = ::std::move(from); + } + inline Request_Authorization& operator=(Request_Authorization&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Request_Authorization& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -155,198 +143,138 @@ class Request_Authorization PROTOBUF_FINAL : return reinterpret_cast<const Request_Authorization*>( &_Request_Authorization_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; + void Swap(Request_Authorization* other); friend void swap(Request_Authorization& a, Request_Authorization& b) { a.Swap(&b); } - inline void Swap(Request_Authorization* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Request_Authorization* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Request_Authorization* New() const final { - return CreateMaybeMessage<Request_Authorization>(nullptr); - } + inline Request_Authorization* New() const PROTOBUF_FINAL { return New(NULL); } - Request_Authorization* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Request_Authorization>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Request_Authorization* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Request_Authorization& from); void MergeFrom(const Request_Authorization& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Request_Authorization* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Request.Authorization"; - } - protected: - explicit Request_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); - return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kUsernameFieldNumber = 1, - kPasswordFieldNumber = 2, - }; // required string username = 1; bool has_username() const; - private: - bool _internal_has_username() const; - public: void clear_username(); - const std::string& username() const; - void set_username(const std::string& value); - void set_username(std::string&& value); + static const int kUsernameFieldNumber = 1; + const ::std::string& username() const; + void set_username(const ::std::string& value); + #if LANG_CXX11 + void set_username(::std::string&& value); + #endif void set_username(const char* value); void set_username(const char* value, size_t size); - std::string* mutable_username(); - std::string* release_username(); - void set_allocated_username(std::string* username); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_username(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_username( - std::string* username); - private: - const std::string& _internal_username() const; - void _internal_set_username(const std::string& value); - std::string* _internal_mutable_username(); - public: + ::std::string* mutable_username(); + ::std::string* release_username(); + void set_allocated_username(::std::string* username); // required string password = 2; bool has_password() const; - private: - bool _internal_has_password() const; - public: void clear_password(); - const std::string& password() const; - void set_password(const std::string& value); - void set_password(std::string&& value); + static const int kPasswordFieldNumber = 2; + const ::std::string& password() const; + void set_password(const ::std::string& value); + #if LANG_CXX11 + void set_password(::std::string&& value); + #endif void set_password(const char* value); void set_password(const char* value, size_t size); - std::string* mutable_password(); - std::string* release_password(); - void set_allocated_password(std::string* password); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_password(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_password( - std::string* password); - private: - const std::string& _internal_password() const; - void _internal_set_password(const std::string& value); - std::string* _internal_mutable_password(); - public: + ::std::string* mutable_password(); + ::std::string* release_password(); + void set_allocated_password(::std::string* password); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Authorization) private: - class _Internal; + void set_has_username(); + void clear_has_username(); + void set_has_password(); + void clear_has_password(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr username_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_; - friend struct ::TableStruct_Request_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr username_; + ::google::protobuf::internal::ArenaStringPtr password_; + friend struct ::protobuf_Request_2eproto::TableStruct; + friend void ::protobuf_Request_2eproto::InitDefaultsRequest_AuthorizationImpl(); }; // ------------------------------------------------------------------- -class Request_Validation_Column PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation.Column) */ { +class Request_Validation_Column : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation.Column) */ { public: - inline Request_Validation_Column() : Request_Validation_Column(nullptr) {}; + Request_Validation_Column(); virtual ~Request_Validation_Column(); Request_Validation_Column(const Request_Validation_Column& from); - Request_Validation_Column(Request_Validation_Column&& from) noexcept - : Request_Validation_Column() { - *this = ::std::move(from); - } inline Request_Validation_Column& operator=(const Request_Validation_Column& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Request_Validation_Column(Request_Validation_Column&& from) noexcept + : Request_Validation_Column() { + *this = ::std::move(from); + } + inline Request_Validation_Column& operator=(Request_Validation_Column&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Request_Validation_Column& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -354,229 +282,156 @@ class Request_Validation_Column PROTOBUF_FINAL : return reinterpret_cast<const Request_Validation_Column*>( &_Request_Validation_Column_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 1; + void Swap(Request_Validation_Column* other); friend void swap(Request_Validation_Column& a, Request_Validation_Column& b) { a.Swap(&b); } - inline void Swap(Request_Validation_Column* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Request_Validation_Column* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Request_Validation_Column* New() const final { - return CreateMaybeMessage<Request_Validation_Column>(nullptr); - } + inline Request_Validation_Column* New() const PROTOBUF_FINAL { return New(NULL); } - Request_Validation_Column* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Request_Validation_Column>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Request_Validation_Column* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Request_Validation_Column& from); void MergeFrom(const Request_Validation_Column& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Request_Validation_Column* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Request.Validation.Column"; - } - protected: - explicit Request_Validation_Column(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); - return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kNameFieldNumber = 1, - kTypeFieldNumber = 2, - kNullableFieldNumber = 3, - }; // required string name = 1; bool has_name() const; - private: - bool _internal_has_name() const; - public: void clear_name(); - const std::string& name() const; - void set_name(const std::string& value); - void set_name(std::string&& value); + static const int kNameFieldNumber = 1; + const ::std::string& name() const; + void set_name(const ::std::string& value); + #if LANG_CXX11 + void set_name(::std::string&& value); + #endif void set_name(const char* value); void set_name(const char* value, size_t size); - std::string* mutable_name(); - std::string* release_name(); - void set_allocated_name(std::string* name); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_name(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_name( - std::string* name); - private: - const std::string& _internal_name() const; - void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); // required string type = 2; bool has_type() const; - private: - bool _internal_has_type() const; - public: void clear_type(); - const std::string& type() const; - void set_type(const std::string& value); - void set_type(std::string&& value); + static const int kTypeFieldNumber = 2; + const ::std::string& type() const; + void set_type(const ::std::string& value); + #if LANG_CXX11 + void set_type(::std::string&& value); + #endif void set_type(const char* value); void set_type(const char* value, size_t size); - std::string* mutable_type(); - std::string* release_type(); - void set_allocated_type(std::string* type); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_type(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_type( - std::string* type); - private: - const std::string& _internal_type() const; - void _internal_set_type(const std::string& value); - std::string* _internal_mutable_type(); - public: + ::std::string* mutable_type(); + ::std::string* release_type(); + void set_allocated_type(::std::string* type); // required string nullable = 3; bool has_nullable() const; - private: - bool _internal_has_nullable() const; - public: void clear_nullable(); - const std::string& nullable() const; - void set_nullable(const std::string& value); - void set_nullable(std::string&& value); + static const int kNullableFieldNumber = 3; + const ::std::string& nullable() const; + void set_nullable(const ::std::string& value); + #if LANG_CXX11 + void set_nullable(::std::string&& value); + #endif void set_nullable(const char* value); void set_nullable(const char* value, size_t size); - std::string* mutable_nullable(); - std::string* release_nullable(); - void set_allocated_nullable(std::string* nullable); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_nullable(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_nullable( - std::string* nullable); - private: - const std::string& _internal_nullable() const; - void _internal_set_nullable(const std::string& value); - std::string* _internal_mutable_nullable(); - public: + ::std::string* mutable_nullable(); + ::std::string* release_nullable(); + void set_allocated_nullable(::std::string* nullable); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Validation.Column) private: - class _Internal; + void set_has_name(); + void clear_has_name(); + void set_has_type(); + void clear_has_type(); + void set_has_nullable(); + void clear_has_nullable(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nullable_; - friend struct ::TableStruct_Request_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr type_; + ::google::protobuf::internal::ArenaStringPtr nullable_; + friend struct ::protobuf_Request_2eproto::TableStruct; + friend void ::protobuf_Request_2eproto::InitDefaultsRequest_Validation_ColumnImpl(); }; // ------------------------------------------------------------------- -class Request_Validation PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation) */ { +class Request_Validation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation) */ { public: - inline Request_Validation() : Request_Validation(nullptr) {}; + Request_Validation(); virtual ~Request_Validation(); Request_Validation(const Request_Validation& from); - Request_Validation(Request_Validation&& from) noexcept - : Request_Validation() { - *this = ::std::move(from); - } inline Request_Validation& operator=(const Request_Validation& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Request_Validation(Request_Validation&& from) noexcept + : Request_Validation() { + *this = ::std::move(from); + } + inline Request_Validation& operator=(Request_Validation&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Request_Validation& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -584,220 +439,153 @@ class Request_Validation PROTOBUF_FINAL : return reinterpret_cast<const Request_Validation*>( &_Request_Validation_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 2; + void Swap(Request_Validation* other); friend void swap(Request_Validation& a, Request_Validation& b) { a.Swap(&b); } - inline void Swap(Request_Validation* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Request_Validation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Request_Validation* New() const final { - return CreateMaybeMessage<Request_Validation>(nullptr); - } + inline Request_Validation* New() const PROTOBUF_FINAL { return New(NULL); } - Request_Validation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Request_Validation>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Request_Validation* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Request_Validation& from); void MergeFrom(const Request_Validation& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Request_Validation* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Request.Validation"; - } - protected: - explicit Request_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); - return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Request_Validation_Column Column; // accessors ------------------------------------------------------- - enum : int { - kColumnsFieldNumber = 3, - kSchemaFieldNumber = 1, - kTableFieldNumber = 2, - }; // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; int columns_size() const; - private: - int _internal_columns_size() const; - public: void clear_columns(); - ::MetadataExporter_ns::Request_Validation_Column* mutable_columns(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* - mutable_columns(); - private: - const ::MetadataExporter_ns::Request_Validation_Column& _internal_columns(int index) const; - ::MetadataExporter_ns::Request_Validation_Column* _internal_add_columns(); - public: + static const int kColumnsFieldNumber = 3; const ::MetadataExporter_ns::Request_Validation_Column& columns(int index) const; + ::MetadataExporter_ns::Request_Validation_Column* mutable_columns(int index); ::MetadataExporter_ns::Request_Validation_Column* add_columns(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* + mutable_columns(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& columns() const; // required string schema = 1; bool has_schema() const; - private: - bool _internal_has_schema() const; - public: void clear_schema(); - const std::string& schema() const; - void set_schema(const std::string& value); - void set_schema(std::string&& value); + static const int kSchemaFieldNumber = 1; + const ::std::string& schema() const; + void set_schema(const ::std::string& value); + #if LANG_CXX11 + void set_schema(::std::string&& value); + #endif void set_schema(const char* value); void set_schema(const char* value, size_t size); - std::string* mutable_schema(); - std::string* release_schema(); - void set_allocated_schema(std::string* schema); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_schema(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_schema( - std::string* schema); - private: - const std::string& _internal_schema() const; - void _internal_set_schema(const std::string& value); - std::string* _internal_mutable_schema(); - public: + ::std::string* mutable_schema(); + ::std::string* release_schema(); + void set_allocated_schema(::std::string* schema); // required string table = 2; bool has_table() const; - private: - bool _internal_has_table() const; - public: void clear_table(); - const std::string& table() const; - void set_table(const std::string& value); - void set_table(std::string&& value); + static const int kTableFieldNumber = 2; + const ::std::string& table() const; + void set_table(const ::std::string& value); + #if LANG_CXX11 + void set_table(::std::string&& value); + #endif void set_table(const char* value); void set_table(const char* value, size_t size); - std::string* mutable_table(); - std::string* release_table(); - void set_allocated_table(std::string* table); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_table(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_table( - std::string* table); - private: - const std::string& _internal_table() const; - void _internal_set_table(const std::string& value); - std::string* _internal_mutable_table(); - public: + ::std::string* mutable_table(); + ::std::string* release_table(); + void set_allocated_table(::std::string* table); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Validation) private: - class _Internal; + void set_has_schema(); + void clear_has_schema(); + void set_has_table(); + void clear_has_table(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column > columns_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_; - friend struct ::TableStruct_Request_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column > columns_; + ::google::protobuf::internal::ArenaStringPtr schema_; + ::google::protobuf::internal::ArenaStringPtr table_; + friend struct ::protobuf_Request_2eproto::TableStruct; + friend void ::protobuf_Request_2eproto::InitDefaultsRequest_ValidationImpl(); }; // ------------------------------------------------------------------- -class Request_Metadata PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Metadata) */ { +class Request_Metadata : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Metadata) */ { public: - inline Request_Metadata() : Request_Metadata(nullptr) {}; + Request_Metadata(); virtual ~Request_Metadata(); Request_Metadata(const Request_Metadata& from); - Request_Metadata(Request_Metadata&& from) noexcept - : Request_Metadata() { - *this = ::std::move(from); - } inline Request_Metadata& operator=(const Request_Metadata& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Request_Metadata(Request_Metadata&& from) noexcept + : Request_Metadata() { + *this = ::std::move(from); + } + inline Request_Metadata& operator=(Request_Metadata&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Request_Metadata& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -805,148 +593,109 @@ class Request_Metadata PROTOBUF_FINAL : return reinterpret_cast<const Request_Metadata*>( &_Request_Metadata_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 3; + void Swap(Request_Metadata* other); friend void swap(Request_Metadata& a, Request_Metadata& b) { a.Swap(&b); } - inline void Swap(Request_Metadata* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Request_Metadata* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Request_Metadata* New() const final { - return CreateMaybeMessage<Request_Metadata>(nullptr); - } + inline Request_Metadata* New() const PROTOBUF_FINAL { return New(NULL); } - Request_Metadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Request_Metadata>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Request_Metadata* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Request_Metadata& from); void MergeFrom(const Request_Metadata& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Request_Metadata* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Request.Metadata"; - } - protected: - explicit Request_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); - return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kTimestampFieldNumber = 1, - }; // required sfixed64 timestamp = 1; bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: void clear_timestamp(); - ::PROTOBUF_NAMESPACE_ID::int64 timestamp() const; - void set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_timestamp() const; - void _internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); - public: + static const int kTimestampFieldNumber = 1; + ::google::protobuf::int64 timestamp() const; + void set_timestamp(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Metadata) private: - class _Internal; - - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::int64 timestamp_; - friend struct ::TableStruct_Request_2eproto; + void set_has_timestamp(); + void clear_has_timestamp(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::int64 timestamp_; + friend struct ::protobuf_Request_2eproto::TableStruct; + friend void ::protobuf_Request_2eproto::InitDefaultsRequest_MetadataImpl(); }; // ------------------------------------------------------------------- -class Request PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request) */ { +class Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request) */ { public: - inline Request() : Request(nullptr) {}; + Request(); virtual ~Request(); Request(const Request& from); - Request(Request&& from) noexcept - : Request() { - *this = ::std::move(from); - } inline Request& operator=(const Request& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Request(Request&& from) noexcept + : Request() { + *this = ::std::move(from); + } + inline Request& operator=(Request&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Request& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -954,73 +703,50 @@ class Request PROTOBUF_FINAL : return reinterpret_cast<const Request*>( &_Request_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 4; + void Swap(Request* other); friend void swap(Request& a, Request& b) { a.Swap(&b); } - inline void Swap(Request* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Request* New() const final { - return CreateMaybeMessage<Request>(nullptr); - } + inline Request* New() const PROTOBUF_FINAL { return New(NULL); } - Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Request>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Request* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Request& from); void MergeFrom(const Request& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Request* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Request"; - } - protected: - explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); - return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Request_Authorization Authorization; @@ -1028,126 +754,89 @@ class Request PROTOBUF_FINAL : typedef Request_Metadata Metadata; typedef Request_Type Type; - static constexpr Type AUTHORIZATION = + static const Type AUTHORIZATION = Request_Type_AUTHORIZATION; - static constexpr Type VALIDATION = + static const Type VALIDATION = Request_Type_VALIDATION; - static constexpr Type METADATA = + static const Type METADATA = Request_Type_METADATA; static inline bool Type_IsValid(int value) { return Request_Type_IsValid(value); } - static constexpr Type Type_MIN = + static const Type Type_MIN = Request_Type_Type_MIN; - static constexpr Type Type_MAX = + static const Type Type_MAX = Request_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = + static const int Type_ARRAYSIZE = Request_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { return Request_Type_descriptor(); } - template<typename T> - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same<T, Type>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Type_Name."); - return Request_Type_Name(enum_t_value); + static inline const ::std::string& Type_Name(Type value) { + return Request_Type_Name(value); } - static inline bool Type_Parse(const std::string& name, + static inline bool Type_Parse(const ::std::string& name, Type* value) { return Request_Type_Parse(name, value); } // accessors ------------------------------------------------------- - enum : int { - kAuthorizationFieldNumber = 2, - kValidationFieldNumber = 3, - kMetadataFieldNumber = 4, - kTypeFieldNumber = 1, - }; // optional .MetadataExporter_ns.Request.Authorization authorization = 2; bool has_authorization() const; - private: - bool _internal_has_authorization() const; - public: void clear_authorization(); + static const int kAuthorizationFieldNumber = 2; const ::MetadataExporter_ns::Request_Authorization& authorization() const; ::MetadataExporter_ns::Request_Authorization* release_authorization(); ::MetadataExporter_ns::Request_Authorization* mutable_authorization(); void set_allocated_authorization(::MetadataExporter_ns::Request_Authorization* authorization); - private: - const ::MetadataExporter_ns::Request_Authorization& _internal_authorization() const; - ::MetadataExporter_ns::Request_Authorization* _internal_mutable_authorization(); - public: - void unsafe_arena_set_allocated_authorization( - ::MetadataExporter_ns::Request_Authorization* authorization); - ::MetadataExporter_ns::Request_Authorization* unsafe_arena_release_authorization(); // optional .MetadataExporter_ns.Request.Validation validation = 3; bool has_validation() const; - private: - bool _internal_has_validation() const; - public: void clear_validation(); + static const int kValidationFieldNumber = 3; const ::MetadataExporter_ns::Request_Validation& validation() const; ::MetadataExporter_ns::Request_Validation* release_validation(); ::MetadataExporter_ns::Request_Validation* mutable_validation(); void set_allocated_validation(::MetadataExporter_ns::Request_Validation* validation); - private: - const ::MetadataExporter_ns::Request_Validation& _internal_validation() const; - ::MetadataExporter_ns::Request_Validation* _internal_mutable_validation(); - public: - void unsafe_arena_set_allocated_validation( - ::MetadataExporter_ns::Request_Validation* validation); - ::MetadataExporter_ns::Request_Validation* unsafe_arena_release_validation(); // optional .MetadataExporter_ns.Request.Metadata metadata = 4; bool has_metadata() const; - private: - bool _internal_has_metadata() const; - public: void clear_metadata(); + static const int kMetadataFieldNumber = 4; const ::MetadataExporter_ns::Request_Metadata& metadata() const; ::MetadataExporter_ns::Request_Metadata* release_metadata(); ::MetadataExporter_ns::Request_Metadata* mutable_metadata(); void set_allocated_metadata(::MetadataExporter_ns::Request_Metadata* metadata); - private: - const ::MetadataExporter_ns::Request_Metadata& _internal_metadata() const; - ::MetadataExporter_ns::Request_Metadata* _internal_mutable_metadata(); - public: - void unsafe_arena_set_allocated_metadata( - ::MetadataExporter_ns::Request_Metadata* metadata); - ::MetadataExporter_ns::Request_Metadata* unsafe_arena_release_metadata(); // required .MetadataExporter_ns.Request.Type type = 1; bool has_type() const; - private: - bool _internal_has_type() const; - public: void clear_type(); + static const int kTypeFieldNumber = 1; ::MetadataExporter_ns::Request_Type type() const; void set_type(::MetadataExporter_ns::Request_Type value); - private: - ::MetadataExporter_ns::Request_Type _internal_type() const; - void _internal_set_type(::MetadataExporter_ns::Request_Type value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request) private: - class _Internal; - - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + void set_has_type(); + void clear_has_type(); + void set_has_authorization(); + void clear_has_authorization(); + void set_has_validation(); + void clear_has_validation(); + void set_has_metadata(); + void clear_has_metadata(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; ::MetadataExporter_ns::Request_Authorization* authorization_; ::MetadataExporter_ns::Request_Validation* validation_; ::MetadataExporter_ns::Request_Metadata* metadata_; int type_; - friend struct ::TableStruct_Request_2eproto; + friend struct ::protobuf_Request_2eproto::TableStruct; + friend void ::protobuf_Request_2eproto::InitDefaultsRequestImpl(); }; // =================================================================== @@ -1161,698 +850,479 @@ class Request PROTOBUF_FINAL : // Request_Authorization // required string username = 1; -inline bool Request_Authorization::_internal_has_username() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Request_Authorization::has_username() const { - return _internal_has_username(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Request_Authorization::clear_username() { - username_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Authorization::set_has_username() { + _has_bits_[0] |= 0x00000001u; +} +inline void Request_Authorization::clear_has_username() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Request_Authorization::username() const { +inline void Request_Authorization::clear_username() { + username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_username(); +} +inline const ::std::string& Request_Authorization::username() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Authorization.username) - return _internal_username(); + return username_.GetNoArena(); } -inline void Request_Authorization::set_username(const std::string& value) { - _internal_set_username(value); +inline void Request_Authorization::set_username(const ::std::string& value) { + set_has_username(); + username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Authorization.username) } -inline std::string* Request_Authorization::mutable_username() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Authorization.username) - return _internal_mutable_username(); -} -inline const std::string& Request_Authorization::_internal_username() const { - return username_.Get(); -} -inline void Request_Authorization::_internal_set_username(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Authorization::set_username(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - username_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Authorization::set_username(::std::string&& value) { + set_has_username(); + username_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Authorization.username) } +#endif inline void Request_Authorization::set_username(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_username(); + username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Authorization.username) } -inline void Request_Authorization::set_username(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Authorization::set_username(const char* value, size_t size) { + set_has_username(); + username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Authorization.username) } -inline std::string* Request_Authorization::_internal_mutable_username() { - _has_bits_[0] |= 0x00000001u; - return username_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Authorization::mutable_username() { + set_has_username(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Authorization.username) + return username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Authorization::release_username() { +inline ::std::string* Request_Authorization::release_username() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Authorization.username) - if (!_internal_has_username()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return username_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_username(); + return username_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Authorization::set_allocated_username(std::string* username) { - if (username != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Request_Authorization::set_allocated_username(::std::string* username) { + if (username != NULL) { + set_has_username(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_username(); } - username_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), username, - GetArena()); + username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), username); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Authorization.username) } -inline std::string* Request_Authorization::unsafe_arena_release_username() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Authorization.username) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return username_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Authorization::unsafe_arena_set_allocated_username( - std::string* username) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (username != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - username_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - username, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Authorization.username) -} // required string password = 2; -inline bool Request_Authorization::_internal_has_password() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Request_Authorization::has_password() const { - return _internal_has_password(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Request_Authorization::clear_password() { - password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Authorization::set_has_password() { + _has_bits_[0] |= 0x00000002u; +} +inline void Request_Authorization::clear_has_password() { _has_bits_[0] &= ~0x00000002u; } -inline const std::string& Request_Authorization::password() const { +inline void Request_Authorization::clear_password() { + password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_password(); +} +inline const ::std::string& Request_Authorization::password() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Authorization.password) - return _internal_password(); + return password_.GetNoArena(); } -inline void Request_Authorization::set_password(const std::string& value) { - _internal_set_password(value); +inline void Request_Authorization::set_password(const ::std::string& value) { + set_has_password(); + password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Authorization.password) } -inline std::string* Request_Authorization::mutable_password() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Authorization.password) - return _internal_mutable_password(); -} -inline const std::string& Request_Authorization::_internal_password() const { - return password_.Get(); -} -inline void Request_Authorization::_internal_set_password(const std::string& value) { - _has_bits_[0] |= 0x00000002u; - password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Authorization::set_password(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - password_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Authorization::set_password(::std::string&& value) { + set_has_password(); + password_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Authorization.password) } +#endif inline void Request_Authorization::set_password(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_password(); + password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Authorization.password) } -inline void Request_Authorization::set_password(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Authorization::set_password(const char* value, size_t size) { + set_has_password(); + password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Authorization.password) } -inline std::string* Request_Authorization::_internal_mutable_password() { - _has_bits_[0] |= 0x00000002u; - return password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Authorization::mutable_password() { + set_has_password(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Authorization.password) + return password_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Authorization::release_password() { +inline ::std::string* Request_Authorization::release_password() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Authorization.password) - if (!_internal_has_password()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000002u; - return password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_password(); + return password_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Authorization::set_allocated_password(std::string* password) { - if (password != nullptr) { - _has_bits_[0] |= 0x00000002u; +inline void Request_Authorization::set_allocated_password(::std::string* password) { + if (password != NULL) { + set_has_password(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_password(); } - password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, - GetArena()); + password_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), password); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Authorization.password) } -inline std::string* Request_Authorization::unsafe_arena_release_password() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Authorization.password) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Authorization::unsafe_arena_set_allocated_password( - std::string* password) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (password != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - password, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Authorization.password) -} // ------------------------------------------------------------------- // Request_Validation_Column // required string name = 1; -inline bool Request_Validation_Column::_internal_has_name() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Request_Validation_Column::has_name() const { - return _internal_has_name(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Request_Validation_Column::clear_name() { - name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Validation_Column::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void Request_Validation_Column::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Request_Validation_Column::name() const { +inline void Request_Validation_Column::clear_name() { + name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_name(); +} +inline const ::std::string& Request_Validation_Column::name() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.Column.name) - return _internal_name(); + return name_.GetNoArena(); } -inline void Request_Validation_Column::set_name(const std::string& value) { - _internal_set_name(value); +inline void Request_Validation_Column::set_name(const ::std::string& value) { + set_has_name(); + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.name) } -inline std::string* Request_Validation_Column::mutable_name() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.name) - return _internal_mutable_name(); -} -inline const std::string& Request_Validation_Column::_internal_name() const { - return name_.Get(); -} -inline void Request_Validation_Column::_internal_set_name(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Validation_Column::set_name(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - name_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Validation_Column::set_name(::std::string&& value) { + set_has_name(); + name_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.name) } +#endif inline void Request_Validation_Column::set_name(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_name(); + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.Column.name) } -inline void Request_Validation_Column::set_name(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Validation_Column::set_name(const char* value, size_t size) { + set_has_name(); + name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.Column.name) } -inline std::string* Request_Validation_Column::_internal_mutable_name() { - _has_bits_[0] |= 0x00000001u; - return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Validation_Column::mutable_name() { + set_has_name(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.name) + return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Validation_Column::release_name() { +inline ::std::string* Request_Validation_Column::release_name() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.Column.name) - if (!_internal_has_name()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_name(); + return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Validation_Column::set_allocated_name(std::string* name) { - if (name != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Request_Validation_Column::set_allocated_name(::std::string* name) { + if (name != NULL) { + set_has_name(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_name(); } - name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, - GetArena()); + name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.name) } -inline std::string* Request_Validation_Column::unsafe_arena_release_name() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Validation.Column.name) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Validation_Column::unsafe_arena_set_allocated_name( - std::string* name) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (name != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - name, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Validation.Column.name) -} // required string type = 2; -inline bool Request_Validation_Column::_internal_has_type() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Request_Validation_Column::has_type() const { - return _internal_has_type(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Request_Validation_Column::clear_type() { - type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Validation_Column::set_has_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void Request_Validation_Column::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } -inline const std::string& Request_Validation_Column::type() const { +inline void Request_Validation_Column::clear_type() { + type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_type(); +} +inline const ::std::string& Request_Validation_Column::type() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.Column.type) - return _internal_type(); + return type_.GetNoArena(); } -inline void Request_Validation_Column::set_type(const std::string& value) { - _internal_set_type(value); +inline void Request_Validation_Column::set_type(const ::std::string& value) { + set_has_type(); + type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.type) } -inline std::string* Request_Validation_Column::mutable_type() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.type) - return _internal_mutable_type(); -} -inline const std::string& Request_Validation_Column::_internal_type() const { - return type_.Get(); -} -inline void Request_Validation_Column::_internal_set_type(const std::string& value) { - _has_bits_[0] |= 0x00000002u; - type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Validation_Column::set_type(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - type_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Validation_Column::set_type(::std::string&& value) { + set_has_type(); + type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.type) } +#endif inline void Request_Validation_Column::set_type(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_type(); + type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.Column.type) } -inline void Request_Validation_Column::set_type(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Validation_Column::set_type(const char* value, size_t size) { + set_has_type(); + type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.Column.type) } -inline std::string* Request_Validation_Column::_internal_mutable_type() { - _has_bits_[0] |= 0x00000002u; - return type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Validation_Column::mutable_type() { + set_has_type(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.type) + return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Validation_Column::release_type() { +inline ::std::string* Request_Validation_Column::release_type() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.Column.type) - if (!_internal_has_type()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000002u; - return type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_type(); + return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Validation_Column::set_allocated_type(std::string* type) { - if (type != nullptr) { - _has_bits_[0] |= 0x00000002u; +inline void Request_Validation_Column::set_allocated_type(::std::string* type) { + if (type != NULL) { + set_has_type(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_type(); } - type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, - GetArena()); + type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.type) } -inline std::string* Request_Validation_Column::unsafe_arena_release_type() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Validation.Column.type) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return type_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Validation_Column::unsafe_arena_set_allocated_type( - std::string* type) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (type != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - type_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - type, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Validation.Column.type) -} // required string nullable = 3; -inline bool Request_Validation_Column::_internal_has_nullable() const { - bool value = (_has_bits_[0] & 0x00000004u) != 0; - return value; -} inline bool Request_Validation_Column::has_nullable() const { - return _internal_has_nullable(); + return (_has_bits_[0] & 0x00000004u) != 0; } -inline void Request_Validation_Column::clear_nullable() { - nullable_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Validation_Column::set_has_nullable() { + _has_bits_[0] |= 0x00000004u; +} +inline void Request_Validation_Column::clear_has_nullable() { _has_bits_[0] &= ~0x00000004u; } -inline const std::string& Request_Validation_Column::nullable() const { +inline void Request_Validation_Column::clear_nullable() { + nullable_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_nullable(); +} +inline const ::std::string& Request_Validation_Column::nullable() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.Column.nullable) - return _internal_nullable(); + return nullable_.GetNoArena(); } -inline void Request_Validation_Column::set_nullable(const std::string& value) { - _internal_set_nullable(value); +inline void Request_Validation_Column::set_nullable(const ::std::string& value) { + set_has_nullable(); + nullable_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline std::string* Request_Validation_Column::mutable_nullable() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.nullable) - return _internal_mutable_nullable(); -} -inline const std::string& Request_Validation_Column::_internal_nullable() const { - return nullable_.Get(); -} -inline void Request_Validation_Column::_internal_set_nullable(const std::string& value) { - _has_bits_[0] |= 0x00000004u; - nullable_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Validation_Column::set_nullable(std::string&& value) { - _has_bits_[0] |= 0x00000004u; - nullable_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Validation_Column::set_nullable(::std::string&& value) { + set_has_nullable(); + nullable_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.nullable) } +#endif inline void Request_Validation_Column::set_nullable(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000004u; - nullable_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_nullable(); + nullable_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline void Request_Validation_Column::set_nullable(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000004u; - nullable_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Validation_Column::set_nullable(const char* value, size_t size) { + set_has_nullable(); + nullable_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline std::string* Request_Validation_Column::_internal_mutable_nullable() { - _has_bits_[0] |= 0x00000004u; - return nullable_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Validation_Column::mutable_nullable() { + set_has_nullable(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.Column.nullable) + return nullable_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Validation_Column::release_nullable() { +inline ::std::string* Request_Validation_Column::release_nullable() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.Column.nullable) - if (!_internal_has_nullable()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000004u; - return nullable_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_nullable(); + return nullable_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Validation_Column::set_allocated_nullable(std::string* nullable) { - if (nullable != nullptr) { - _has_bits_[0] |= 0x00000004u; +inline void Request_Validation_Column::set_allocated_nullable(::std::string* nullable) { + if (nullable != NULL) { + set_has_nullable(); } else { - _has_bits_[0] &= ~0x00000004u; + clear_has_nullable(); } - nullable_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), nullable, - GetArena()); + nullable_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), nullable); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline std::string* Request_Validation_Column::unsafe_arena_release_nullable() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Validation.Column.nullable) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000004u; - return nullable_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Validation_Column::unsafe_arena_set_allocated_nullable( - std::string* nullable) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (nullable != nullptr) { - _has_bits_[0] |= 0x00000004u; - } else { - _has_bits_[0] &= ~0x00000004u; - } - nullable_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - nullable, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Validation.Column.nullable) -} // ------------------------------------------------------------------- // Request_Validation // required string schema = 1; -inline bool Request_Validation::_internal_has_schema() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Request_Validation::has_schema() const { - return _internal_has_schema(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Request_Validation::clear_schema() { - schema_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Validation::set_has_schema() { + _has_bits_[0] |= 0x00000001u; +} +inline void Request_Validation::clear_has_schema() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Request_Validation::schema() const { +inline void Request_Validation::clear_schema() { + schema_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_schema(); +} +inline const ::std::string& Request_Validation::schema() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.schema) - return _internal_schema(); + return schema_.GetNoArena(); } -inline void Request_Validation::set_schema(const std::string& value) { - _internal_set_schema(value); +inline void Request_Validation::set_schema(const ::std::string& value) { + set_has_schema(); + schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.schema) } -inline std::string* Request_Validation::mutable_schema() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.schema) - return _internal_mutable_schema(); -} -inline const std::string& Request_Validation::_internal_schema() const { - return schema_.Get(); -} -inline void Request_Validation::_internal_set_schema(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Validation::set_schema(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - schema_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Validation::set_schema(::std::string&& value) { + set_has_schema(); + schema_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.schema) } +#endif inline void Request_Validation::set_schema(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_schema(); + schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.schema) } -inline void Request_Validation::set_schema(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Validation::set_schema(const char* value, size_t size) { + set_has_schema(); + schema_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.schema) } -inline std::string* Request_Validation::_internal_mutable_schema() { - _has_bits_[0] |= 0x00000001u; - return schema_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Validation::mutable_schema() { + set_has_schema(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.schema) + return schema_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Validation::release_schema() { +inline ::std::string* Request_Validation::release_schema() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.schema) - if (!_internal_has_schema()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return schema_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_schema(); + return schema_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Validation::set_allocated_schema(std::string* schema) { - if (schema != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Request_Validation::set_allocated_schema(::std::string* schema) { + if (schema != NULL) { + set_has_schema(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_schema(); } - schema_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), schema, - GetArena()); + schema_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schema); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.schema) } -inline std::string* Request_Validation::unsafe_arena_release_schema() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Validation.schema) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return schema_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Validation::unsafe_arena_set_allocated_schema( - std::string* schema) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (schema != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - schema_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - schema, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Validation.schema) -} // required string table = 2; -inline bool Request_Validation::_internal_has_table() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Request_Validation::has_table() const { - return _internal_has_table(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Request_Validation::clear_table() { - table_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Request_Validation::set_has_table() { + _has_bits_[0] |= 0x00000002u; +} +inline void Request_Validation::clear_has_table() { _has_bits_[0] &= ~0x00000002u; } -inline const std::string& Request_Validation::table() const { +inline void Request_Validation::clear_table() { + table_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_table(); +} +inline const ::std::string& Request_Validation::table() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.table) - return _internal_table(); + return table_.GetNoArena(); } -inline void Request_Validation::set_table(const std::string& value) { - _internal_set_table(value); +inline void Request_Validation::set_table(const ::std::string& value) { + set_has_table(); + table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.table) } -inline std::string* Request_Validation::mutable_table() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.table) - return _internal_mutable_table(); -} -inline const std::string& Request_Validation::_internal_table() const { - return table_.Get(); -} -inline void Request_Validation::_internal_set_table(const std::string& value) { - _has_bits_[0] |= 0x00000002u; - table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Request_Validation::set_table(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - table_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Request_Validation::set_table(::std::string&& value) { + set_has_table(); + table_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.table) } +#endif inline void Request_Validation::set_table(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_table(); + table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.table) } -inline void Request_Validation::set_table(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Request_Validation::set_table(const char* value, size_t size) { + set_has_table(); + table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.table) } -inline std::string* Request_Validation::_internal_mutable_table() { - _has_bits_[0] |= 0x00000002u; - return table_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Request_Validation::mutable_table() { + set_has_table(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.table) + return table_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Request_Validation::release_table() { +inline ::std::string* Request_Validation::release_table() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.table) - if (!_internal_has_table()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000002u; - return table_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_table(); + return table_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Request_Validation::set_allocated_table(std::string* table) { - if (table != nullptr) { - _has_bits_[0] |= 0x00000002u; +inline void Request_Validation::set_allocated_table(::std::string* table) { + if (table != NULL) { + set_has_table(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_table(); } - table_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), table, - GetArena()); + table_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.table) } -inline std::string* Request_Validation::unsafe_arena_release_table() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Request.Validation.table) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return table_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Request_Validation::unsafe_arena_set_allocated_table( - std::string* table) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (table != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - table_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - table, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.Validation.table) -} // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; -inline int Request_Validation::_internal_columns_size() const { - return columns_.size(); -} inline int Request_Validation::columns_size() const { - return _internal_columns_size(); + return columns_.size(); } inline void Request_Validation::clear_columns() { columns_.Clear(); } +inline const ::MetadataExporter_ns::Request_Validation_Column& Request_Validation::columns(int index) const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.columns) + return columns_.Get(index); +} inline ::MetadataExporter_ns::Request_Validation_Column* Request_Validation::mutable_columns(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.Validation.columns) return columns_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* +inline ::MetadataExporter_ns::Request_Validation_Column* Request_Validation::add_columns() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Request.Validation.columns) + return columns_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* Request_Validation::mutable_columns() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Request.Validation.columns) return &columns_; } -inline const ::MetadataExporter_ns::Request_Validation_Column& Request_Validation::_internal_columns(int index) const { - return columns_.Get(index); -} -inline const ::MetadataExporter_ns::Request_Validation_Column& Request_Validation::columns(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.columns) - return _internal_columns(index); -} -inline ::MetadataExporter_ns::Request_Validation_Column* Request_Validation::_internal_add_columns() { - return columns_.Add(); -} -inline ::MetadataExporter_ns::Request_Validation_Column* Request_Validation::add_columns() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Request.Validation.columns) - return _internal_add_columns(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& Request_Validation::columns() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Request.Validation.columns) return columns_; @@ -1863,30 +1333,26 @@ Request_Validation::columns() const { // Request_Metadata // required sfixed64 timestamp = 1; -inline bool Request_Metadata::_internal_has_timestamp() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Request_Metadata::has_timestamp() const { - return _internal_has_timestamp(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Request_Metadata::clear_timestamp() { - timestamp_ = PROTOBUF_LONGLONG(0); +inline void Request_Metadata::set_has_timestamp() { + _has_bits_[0] |= 0x00000001u; +} +inline void Request_Metadata::clear_has_timestamp() { _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::int64 Request_Metadata::_internal_timestamp() const { - return timestamp_; +inline void Request_Metadata::clear_timestamp() { + timestamp_ = GOOGLE_LONGLONG(0); + clear_has_timestamp(); } -inline ::PROTOBUF_NAMESPACE_ID::int64 Request_Metadata::timestamp() const { +inline ::google::protobuf::int64 Request_Metadata::timestamp() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Metadata.timestamp) - return _internal_timestamp(); + return timestamp_; } -inline void Request_Metadata::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _has_bits_[0] |= 0x00000001u; +inline void Request_Metadata::set_timestamp(::google::protobuf::int64 value) { + set_has_timestamp(); timestamp_ = value; -} -inline void Request_Metadata::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_timestamp(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Metadata.timestamp) } @@ -1895,272 +1361,187 @@ inline void Request_Metadata::set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value // Request // required .MetadataExporter_ns.Request.Type type = 1; -inline bool Request::_internal_has_type() const { - bool value = (_has_bits_[0] & 0x00000008u) != 0; - return value; -} inline bool Request::has_type() const { - return _internal_has_type(); + return (_has_bits_[0] & 0x00000008u) != 0; } -inline void Request::clear_type() { - type_ = 0; +inline void Request::set_has_type() { + _has_bits_[0] |= 0x00000008u; +} +inline void Request::clear_has_type() { _has_bits_[0] &= ~0x00000008u; } -inline ::MetadataExporter_ns::Request_Type Request::_internal_type() const { - return static_cast< ::MetadataExporter_ns::Request_Type >(type_); +inline void Request::clear_type() { + type_ = 0; + clear_has_type(); } inline ::MetadataExporter_ns::Request_Type Request::type() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.type) - return _internal_type(); + return static_cast< ::MetadataExporter_ns::Request_Type >(type_); } -inline void Request::_internal_set_type(::MetadataExporter_ns::Request_Type value) { +inline void Request::set_type(::MetadataExporter_ns::Request_Type value) { assert(::MetadataExporter_ns::Request_Type_IsValid(value)); - _has_bits_[0] |= 0x00000008u; + set_has_type(); type_ = value; -} -inline void Request::set_type(::MetadataExporter_ns::Request_Type value) { - _internal_set_type(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.type) } // optional .MetadataExporter_ns.Request.Authorization authorization = 2; -inline bool Request::_internal_has_authorization() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || authorization_ != nullptr); - return value; -} inline bool Request::has_authorization() const { - return _internal_has_authorization(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Request::clear_authorization() { - if (authorization_ != nullptr) authorization_->Clear(); +inline void Request::set_has_authorization() { + _has_bits_[0] |= 0x00000001u; +} +inline void Request::clear_has_authorization() { _has_bits_[0] &= ~0x00000001u; } -inline const ::MetadataExporter_ns::Request_Authorization& Request::_internal_authorization() const { - const ::MetadataExporter_ns::Request_Authorization* p = authorization_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Authorization*>( - &::MetadataExporter_ns::_Request_Authorization_default_instance_); +inline void Request::clear_authorization() { + if (authorization_ != NULL) authorization_->Clear(); + clear_has_authorization(); } inline const ::MetadataExporter_ns::Request_Authorization& Request::authorization() const { + const ::MetadataExporter_ns::Request_Authorization* p = authorization_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.authorization) - return _internal_authorization(); -} -inline void Request::unsafe_arena_set_allocated_authorization( - ::MetadataExporter_ns::Request_Authorization* authorization) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authorization_); - } - authorization_ = authorization; - if (authorization) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.authorization) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Authorization*>( + &::MetadataExporter_ns::_Request_Authorization_default_instance_); } inline ::MetadataExporter_ns::Request_Authorization* Request::release_authorization() { - auto temp = unsafe_arena_release_authorization(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Request_Authorization* Request::unsafe_arena_release_authorization() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.authorization) - _has_bits_[0] &= ~0x00000001u; + clear_has_authorization(); ::MetadataExporter_ns::Request_Authorization* temp = authorization_; - authorization_ = nullptr; + authorization_ = NULL; return temp; } -inline ::MetadataExporter_ns::Request_Authorization* Request::_internal_mutable_authorization() { - _has_bits_[0] |= 0x00000001u; - if (authorization_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Request_Authorization>(GetArena()); - authorization_ = p; - } - return authorization_; -} inline ::MetadataExporter_ns::Request_Authorization* Request::mutable_authorization() { + set_has_authorization(); + if (authorization_ == NULL) { + authorization_ = new ::MetadataExporter_ns::Request_Authorization; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.authorization) - return _internal_mutable_authorization(); + return authorization_; } inline void Request::set_allocated_authorization(::MetadataExporter_ns::Request_Authorization* authorization) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete authorization_; } if (authorization) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authorization); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - authorization = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + authorization = ::google::protobuf::internal::GetOwnedMessage( message_arena, authorization, submessage_arena); } - _has_bits_[0] |= 0x00000001u; + set_has_authorization(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_authorization(); } authorization_ = authorization; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.authorization) } // optional .MetadataExporter_ns.Request.Validation validation = 3; -inline bool Request::_internal_has_validation() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || validation_ != nullptr); - return value; -} inline bool Request::has_validation() const { - return _internal_has_validation(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Request::clear_validation() { - if (validation_ != nullptr) validation_->Clear(); +inline void Request::set_has_validation() { + _has_bits_[0] |= 0x00000002u; +} +inline void Request::clear_has_validation() { _has_bits_[0] &= ~0x00000002u; } -inline const ::MetadataExporter_ns::Request_Validation& Request::_internal_validation() const { - const ::MetadataExporter_ns::Request_Validation* p = validation_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Validation*>( - &::MetadataExporter_ns::_Request_Validation_default_instance_); +inline void Request::clear_validation() { + if (validation_ != NULL) validation_->Clear(); + clear_has_validation(); } inline const ::MetadataExporter_ns::Request_Validation& Request::validation() const { + const ::MetadataExporter_ns::Request_Validation* p = validation_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.validation) - return _internal_validation(); -} -inline void Request::unsafe_arena_set_allocated_validation( - ::MetadataExporter_ns::Request_Validation* validation) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(validation_); - } - validation_ = validation; - if (validation) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.validation) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Validation*>( + &::MetadataExporter_ns::_Request_Validation_default_instance_); } inline ::MetadataExporter_ns::Request_Validation* Request::release_validation() { - auto temp = unsafe_arena_release_validation(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Request_Validation* Request::unsafe_arena_release_validation() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.validation) - _has_bits_[0] &= ~0x00000002u; + clear_has_validation(); ::MetadataExporter_ns::Request_Validation* temp = validation_; - validation_ = nullptr; + validation_ = NULL; return temp; } -inline ::MetadataExporter_ns::Request_Validation* Request::_internal_mutable_validation() { - _has_bits_[0] |= 0x00000002u; - if (validation_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Request_Validation>(GetArena()); - validation_ = p; - } - return validation_; -} inline ::MetadataExporter_ns::Request_Validation* Request::mutable_validation() { + set_has_validation(); + if (validation_ == NULL) { + validation_ = new ::MetadataExporter_ns::Request_Validation; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.validation) - return _internal_mutable_validation(); + return validation_; } inline void Request::set_allocated_validation(::MetadataExporter_ns::Request_Validation* validation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete validation_; } if (validation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(validation); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - validation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + validation = ::google::protobuf::internal::GetOwnedMessage( message_arena, validation, submessage_arena); } - _has_bits_[0] |= 0x00000002u; + set_has_validation(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_validation(); } validation_ = validation; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.validation) } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; -inline bool Request::_internal_has_metadata() const { - bool value = (_has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || metadata_ != nullptr); - return value; -} inline bool Request::has_metadata() const { - return _internal_has_metadata(); + return (_has_bits_[0] & 0x00000004u) != 0; } -inline void Request::clear_metadata() { - if (metadata_ != nullptr) metadata_->Clear(); +inline void Request::set_has_metadata() { + _has_bits_[0] |= 0x00000004u; +} +inline void Request::clear_has_metadata() { _has_bits_[0] &= ~0x00000004u; } -inline const ::MetadataExporter_ns::Request_Metadata& Request::_internal_metadata() const { - const ::MetadataExporter_ns::Request_Metadata* p = metadata_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Metadata*>( - &::MetadataExporter_ns::_Request_Metadata_default_instance_); +inline void Request::clear_metadata() { + if (metadata_ != NULL) metadata_->Clear(); + clear_has_metadata(); } inline const ::MetadataExporter_ns::Request_Metadata& Request::metadata() const { + const ::MetadataExporter_ns::Request_Metadata* p = metadata_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.metadata) - return _internal_metadata(); -} -inline void Request::unsafe_arena_set_allocated_metadata( - ::MetadataExporter_ns::Request_Metadata* metadata) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata_); - } - metadata_ = metadata; - if (metadata) { - _has_bits_[0] |= 0x00000004u; - } else { - _has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Request.metadata) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Request_Metadata*>( + &::MetadataExporter_ns::_Request_Metadata_default_instance_); } inline ::MetadataExporter_ns::Request_Metadata* Request::release_metadata() { - auto temp = unsafe_arena_release_metadata(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Request_Metadata* Request::unsafe_arena_release_metadata() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.metadata) - _has_bits_[0] &= ~0x00000004u; + clear_has_metadata(); ::MetadataExporter_ns::Request_Metadata* temp = metadata_; - metadata_ = nullptr; + metadata_ = NULL; return temp; } -inline ::MetadataExporter_ns::Request_Metadata* Request::_internal_mutable_metadata() { - _has_bits_[0] |= 0x00000004u; - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Request_Metadata>(GetArena()); - metadata_ = p; - } - return metadata_; -} inline ::MetadataExporter_ns::Request_Metadata* Request::mutable_metadata() { + set_has_metadata(); + if (metadata_ == NULL) { + metadata_ = new ::MetadataExporter_ns::Request_Metadata; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.metadata) - return _internal_mutable_metadata(); + return metadata_; } inline void Request::set_allocated_metadata(::MetadataExporter_ns::Request_Metadata* metadata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete metadata_; } if (metadata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(metadata); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + metadata = ::google::protobuf::internal::GetOwnedMessage( message_arena, metadata, submessage_arena); } - _has_bits_[0] |= 0x00000004u; + set_has_metadata(); } else { - _has_bits_[0] &= ~0x00000004u; + clear_has_metadata(); } metadata_ = metadata; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.metadata) @@ -2182,17 +1563,18 @@ inline void Request::set_allocated_metadata(::MetadataExporter_ns::Request_Metad } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN +namespace google { +namespace protobuf { -template <> struct is_proto_enum< ::MetadataExporter_ns::Request_Type> : ::std::true_type {}; +template <> struct is_proto_enum< ::MetadataExporter_ns::Request_Type> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Request_Type>() { return ::MetadataExporter_ns::Request_Type_descriptor(); } -PROTOBUF_NAMESPACE_CLOSE +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Request_2eproto +#endif // PROTOBUF_Request_2eproto__INCLUDED diff --git a/src/Response.pb.cc b/src/Response.pb.cc index 7c10e79..47ab479 100644 --- a/src/Response.pb.cc +++ b/src/Response.pb.cc @@ -5,349 +5,438 @@ #include <algorithm> +#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/port.h> +#include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/extension_set.h> -#include <google/protobuf/wire_format_lite.h> +#include <google/protobuf/wire_format_lite_inl.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/wire_format.h> +// This is a temporary google only hack +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS +#include "third_party/protobuf/version.h" +#endif // @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Authorization_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Response_Metadata_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_Response_Metadata_Row_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtDate_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtDouble_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtInteger_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtString_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_Response_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Validation_Response_2eproto; namespace MetadataExporter_ns { class Response_AuthorizationDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Authorization> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Authorization> + _instance; } _Response_Authorization_default_instance_; class Response_ValidationDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Validation> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Validation> + _instance; } _Response_Validation_default_instance_; class Response_Metadata_Row_DtDoubleDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtDouble> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtDouble> + _instance; } _Response_Metadata_Row_DtDouble_default_instance_; class Response_Metadata_Row_DtIntegerDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtInteger> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtInteger> + _instance; } _Response_Metadata_Row_DtInteger_default_instance_; class Response_Metadata_Row_DtUnsignedLongDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtUnsignedLong> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtUnsignedLong> + _instance; } _Response_Metadata_Row_DtUnsignedLong_default_instance_; class Response_Metadata_Row_DtLongLongDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtLongLong> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtLongLong> + _instance; } _Response_Metadata_Row_DtLongLong_default_instance_; class Response_Metadata_Row_DtStringDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtString> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtString> + _instance; } _Response_Metadata_Row_DtString_default_instance_; class Response_Metadata_Row_DtDateDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row_DtDate> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row_DtDate> + _instance; } _Response_Metadata_Row_DtDate_default_instance_; class Response_Metadata_RowDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata_Row> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata_Row> + _instance; } _Response_Metadata_Row_default_instance_; class Response_MetadataDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response_Metadata> + _instance; } _Response_Metadata_default_instance_; class ResponseDefaultTypeInternal { public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response> _instance; + ::google::protobuf::internal::ExplicitlyConstructed<Response> + _instance; } _Response_default_instance_; } // namespace MetadataExporter_ns -static void InitDefaultsscc_info_Response_Response_2eproto() { +namespace protobuf_Response_2eproto { +void InitDefaultsResponse_AuthorizationImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_default_instance_; - new (ptr) ::MetadataExporter_ns::Response(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Authorization_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Authorization(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Authorization::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_Response_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_Response_Response_2eproto}, { - &scc_info_Response_Authorization_Response_2eproto.base, - &scc_info_Response_Validation_Response_2eproto.base, - &scc_info_Response_Metadata_Response_2eproto.base,}}; +void InitDefaultsResponse_Authorization() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_AuthorizationImpl); +} -static void InitDefaultsscc_info_Response_Authorization_Response_2eproto() { +void InitDefaultsResponse_ValidationImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Authorization_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Authorization(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Validation_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Validation(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Authorization::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Validation::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Authorization_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Authorization_Response_2eproto}, {}}; +void InitDefaultsResponse_Validation() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_ValidationImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtDoubleImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDouble_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDouble(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtDouble::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Response_Metadata_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Response_Metadata_Response_2eproto}, { - &scc_info_Response_Metadata_Row_Response_2eproto.base,}}; +void InitDefaultsResponse_Metadata_Row_DtDouble() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtDoubleImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtIntegerImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtInteger_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtInteger(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtInteger::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_Response_Metadata_Row_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_Response_Metadata_Row_Response_2eproto}, { - &scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtString_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtDate_Response_2eproto.base,}}; +void InitDefaultsResponse_Metadata_Row_DtInteger() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtIntegerImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtDate_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtUnsignedLongImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDate_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDate(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtUnsignedLong_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtDate::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtDate_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtDate_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata_Row_DtUnsignedLong() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtUnsignedLongImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtDouble_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtLongLongImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDouble_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDouble(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtLongLong_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtDouble::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtDouble_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtDouble_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata_Row_DtLongLong() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtLongLongImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtInteger_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtStringImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtInteger_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtInteger(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtString_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtString(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtInteger::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtString::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtInteger_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtInteger_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata_Row_DtString() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtStringImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtLongLong_Response_2eproto() { +void InitDefaultsResponse_Metadata_Row_DtDateImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtLongLong_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDate_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDate(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row_DtDate::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtLongLong_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata_Row_DtDate() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_Row_DtDateImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtString_Response_2eproto() { +void InitDefaultsResponse_Metadata_RowImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDouble(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtInteger(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtUnsignedLong(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtLongLong(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtString(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDate(); { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtString_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtString(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtString::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata_Row::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtString_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtString_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata_Row() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_Metadata_RowImpl); +} -static void InitDefaultsscc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto() { +void InitDefaultsResponse_MetadataImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row(); { - void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtUnsignedLong_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_Metadata_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response_Metadata::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto}, {}}; +void InitDefaultsResponse_Metadata() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponse_MetadataImpl); +} -static void InitDefaultsscc_info_Response_Validation_Response_2eproto() { +void InitDefaultsResponseImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; +#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + ::google::protobuf::internal::InitProtobufDefaultsForceUnique(); +#else + ::google::protobuf::internal::InitProtobufDefaults(); +#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS + protobuf_Response_2eproto::InitDefaultsResponse_Authorization(); + protobuf_Response_2eproto::InitDefaultsResponse_Validation(); + protobuf_Response_2eproto::InitDefaultsResponse_Metadata(); { - void* ptr = &::MetadataExporter_ns::_Response_Validation_default_instance_; - new (ptr) ::MetadataExporter_ns::Response_Validation(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + void* ptr = &::MetadataExporter_ns::_Response_default_instance_; + new (ptr) ::MetadataExporter_ns::Response(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::MetadataExporter_ns::Response_Validation::InitAsDefaultInstance(); + ::MetadataExporter_ns::Response::InitAsDefaultInstance(); } -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Response_Validation_Response_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Response_Validation_Response_2eproto}, {}}; +void InitDefaultsResponse() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsResponseImpl); +} -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_Response_2eproto[11]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_Response_2eproto[4]; -static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_Response_2eproto = nullptr; +::google::protobuf::Metadata file_level_metadata[11]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[4]; -const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_Response_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, _internal_metadata_), +const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, state_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, status_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Authorization, status_), 1, 0, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, state_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, status_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, status_), 1, 0, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, value_), 0, 1, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, key_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, value_), 0, 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, double_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, integer_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, unsinged_long_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, long_long_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, strings_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, date_list_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, double_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, integer_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, unsinged_long_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, long_long_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, strings_list_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row, date_list_), + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, state_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, status_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, rows_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, status_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata, rows_), 1, 0, ~0u, - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, _has_bits_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, _has_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, type_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, authorization_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, validation_), - PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, authorization_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, validation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::MetadataExporter_ns::Response, metadata_), 3, 0, 1, 2, }; -static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { +static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, 7, sizeof(::MetadataExporter_ns::Response_Authorization)}, { 9, 16, sizeof(::MetadataExporter_ns::Response_Validation)}, { 18, 25, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtDouble)}, @@ -356,94 +445,107 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 45, 52, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong)}, { 54, 61, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtString)}, { 63, 70, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtDate)}, - { 72, -1, sizeof(::MetadataExporter_ns::Response_Metadata_Row)}, - { 83, 91, sizeof(::MetadataExporter_ns::Response_Metadata)}, - { 94, 103, sizeof(::MetadataExporter_ns::Response)}, -}; - -static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Authorization_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Validation_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtDouble_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtInteger_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtUnsignedLong_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtLongLong_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtString_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtDate_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_Metadata_default_instance_), - reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::MetadataExporter_ns::_Response_default_instance_), + { 72, 83, sizeof(::MetadataExporter_ns::Response_Metadata_Row)}, + { 89, 97, sizeof(::MetadataExporter_ns::Response_Metadata)}, + { 100, 109, sizeof(::MetadataExporter_ns::Response)}, }; -const char descriptor_table_protodef_Response_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\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" - "rization\022<\n\nvalidation\030\003 \001(\0132(.MetadataE" - "xporter_ns.Response.Validation\0228\n\010metada" - "ta\030\004 \001(\0132&.MetadataExporter_ns.Response." - "Metadata\032\206\001\n\rAuthorization\022@\n\005state\030\001 \002(" - "\01621.MetadataExporter_ns.Response.Authori" - "zation.State\022\016\n\006status\030\002 \002(\t\"#\n\005State\022\014\n" - "\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\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" - ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_Response_2eproto_deps[1] = { -}; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_Response_2eproto_sccs[11] = { - &scc_info_Response_Response_2eproto.base, - &scc_info_Response_Authorization_Response_2eproto.base, - &scc_info_Response_Metadata_Response_2eproto.base, - &scc_info_Response_Metadata_Row_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtDate_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtString_Response_2eproto.base, - &scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto.base, - &scc_info_Response_Validation_Response_2eproto.base, -}; -static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_Response_2eproto_once; -const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Response_2eproto = { - false, false, descriptor_table_protodef_Response_2eproto, "Response.proto", 1514, - &descriptor_table_Response_2eproto_once, descriptor_table_Response_2eproto_sccs, descriptor_table_Response_2eproto_deps, 11, 0, - schemas, file_default_instances, TableStruct_Response_2eproto::offsets, - file_level_metadata_Response_2eproto, 11, file_level_enum_descriptors_Response_2eproto, file_level_service_descriptors_Response_2eproto, +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Authorization_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Validation_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtDouble_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtInteger_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtUnsignedLong_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtLongLong_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtString_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_DtDate_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_Row_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_Metadata_default_instance_), + reinterpret_cast<const ::google::protobuf::Message*>(&::MetadataExporter_ns::_Response_default_instance_), }; -// Force running AddDescriptors() at dynamic initialization time. -static bool dynamic_init_dummy_Response_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_Response_2eproto)), true); +void protobuf_AssignDescriptors() { + AddDescriptors(); + ::google::protobuf::MessageFactory* factory = NULL; + AssignDescriptors( + "Response.proto", schemas, file_default_instances, TableStruct::offsets, factory, + file_level_metadata, file_level_enum_descriptors, NULL); +} + +void protobuf_AssignDescriptorsOnce() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors); +} + +void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 11); +} + +void AddDescriptorsImpl() { + InitDefaults(); + static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + "\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" + "rization\022<\n\nvalidation\030\003 \001(\0132(.MetadataE" + "xporter_ns.Response.Validation\0228\n\010metada" + "ta\030\004 \001(\0132&.MetadataExporter_ns.Response." + "Metadata\032\206\001\n\rAuthorization\022@\n\005state\030\001 \002(" + "\01621.MetadataExporter_ns.Response.Authori" + "zation.State\022\016\n\006status\030\002 \002(\t\"#\n\005State\022\014\n" + "\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\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" + }; + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + descriptor, 1514); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "Response.proto", &protobuf_RegisterTypes); +} + +void AddDescriptors() { + static GOOGLE_PROTOBUF_DECLARE_ONCE(once); + ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); +} +// Force AddDescriptors() to be called at dynamic initialization time. +struct StaticDescriptorInitializer { + StaticDescriptorInitializer() { + AddDescriptors(); + } +} static_descriptor_initializer; +} // namespace protobuf_Response_2eproto namespace MetadataExporter_ns { -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Authorization_State_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_Response_2eproto); - return file_level_enum_descriptors_Response_2eproto[0]; +const ::google::protobuf::EnumDescriptor* Response_Authorization_State_descriptor() { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_Response_2eproto::file_level_enum_descriptors[0]; } bool Response_Authorization_State_IsValid(int value) { switch (value) { @@ -455,16 +557,16 @@ bool Response_Authorization_State_IsValid(int value) { } } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -constexpr Response_Authorization_State Response_Authorization::ACCEPTED; -constexpr Response_Authorization_State Response_Authorization::REJECTED; -constexpr Response_Authorization_State Response_Authorization::State_MIN; -constexpr Response_Authorization_State Response_Authorization::State_MAX; -constexpr int Response_Authorization::State_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Validation_State_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_Response_2eproto); - return file_level_enum_descriptors_Response_2eproto[1]; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const Response_Authorization_State Response_Authorization::ACCEPTED; +const Response_Authorization_State Response_Authorization::REJECTED; +const Response_Authorization_State Response_Authorization::State_MIN; +const Response_Authorization_State Response_Authorization::State_MAX; +const int Response_Authorization::State_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 +const ::google::protobuf::EnumDescriptor* Response_Validation_State_descriptor() { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_Response_2eproto::file_level_enum_descriptors[1]; } bool Response_Validation_State_IsValid(int value) { switch (value) { @@ -476,16 +578,16 @@ bool Response_Validation_State_IsValid(int value) { } } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -constexpr Response_Validation_State Response_Validation::ACCEPTED; -constexpr Response_Validation_State Response_Validation::REJECTED; -constexpr Response_Validation_State Response_Validation::State_MIN; -constexpr Response_Validation_State Response_Validation::State_MAX; -constexpr int Response_Validation::State_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Metadata_State_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_Response_2eproto); - return file_level_enum_descriptors_Response_2eproto[2]; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const Response_Validation_State Response_Validation::ACCEPTED; +const Response_Validation_State Response_Validation::REJECTED; +const Response_Validation_State Response_Validation::State_MIN; +const Response_Validation_State Response_Validation::State_MAX; +const int Response_Validation::State_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 +const ::google::protobuf::EnumDescriptor* Response_Metadata_State_descriptor() { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_Response_2eproto::file_level_enum_descriptors[2]; } bool Response_Metadata_State_IsValid(int value) { switch (value) { @@ -497,16 +599,16 @@ bool Response_Metadata_State_IsValid(int value) { } } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -constexpr Response_Metadata_State Response_Metadata::ACCEPTED; -constexpr Response_Metadata_State Response_Metadata::REJECTED; -constexpr Response_Metadata_State Response_Metadata::State_MIN; -constexpr Response_Metadata_State Response_Metadata::State_MAX; -constexpr int Response_Metadata::State_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Type_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_Response_2eproto); - return file_level_enum_descriptors_Response_2eproto[3]; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const Response_Metadata_State Response_Metadata::ACCEPTED; +const Response_Metadata_State Response_Metadata::REJECTED; +const Response_Metadata_State Response_Metadata::State_MIN; +const Response_Metadata_State Response_Metadata::State_MAX; +const int Response_Metadata::State_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 +const ::google::protobuf::EnumDescriptor* Response_Type_descriptor() { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_Response_2eproto::file_level_enum_descriptors[3]; } bool Response_Type_IsValid(int value) { switch (value) { @@ -519,181 +621,224 @@ bool Response_Type_IsValid(int value) { } } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) -constexpr Response_Type Response::AUTHORIZATION; -constexpr Response_Type Response::VALIDATION; -constexpr Response_Type Response::METADATA; -constexpr Response_Type Response::Type_MIN; -constexpr Response_Type Response::Type_MAX; -constexpr int Response::Type_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const Response_Type Response::AUTHORIZATION; +const Response_Type Response::VALIDATION; +const Response_Type Response::METADATA; +const Response_Type Response::Type_MIN; +const Response_Type Response::Type_MAX; +const int Response::Type_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 // =================================================================== void Response_Authorization::InitAsDefaultInstance() { } -class Response_Authorization::_Internal { - public: - using HasBits = decltype(std::declval<Response_Authorization>()._has_bits_); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_status(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Authorization::kStateFieldNumber; +const int Response_Authorization::kStatusFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Authorization::Response_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Authorization::Response_Authorization() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Authorization(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Authorization) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Authorization) } Response_Authorization::Response_Authorization(const Response_Authorization& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_status()) { - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_status(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_status()) { + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } state_ = from.state_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Authorization) } void Response_Authorization::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Authorization_Response_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); state_ = 0; } Response_Authorization::~Response_Authorization() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Authorization) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Authorization::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Authorization::ArenaDtor(void* object) { - Response_Authorization* _this = reinterpret_cast< Response_Authorization* >(object); - (void)_this; -} -void Response_Authorization::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Authorization::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Authorization::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Authorization& Response_Authorization::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Authorization_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Authorization(); return *internal_default_instance(); } +Response_Authorization* Response_Authorization::New(::google::protobuf::Arena* arena) const { + Response_Authorization* n = new Response_Authorization; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Authorization::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Authorization) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - status_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!status_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*status_.UnsafeRawStringPointer())->clear(); } state_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Authorization::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Authorization::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Authorization) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .MetadataExporter_ns.Response.Authorization.State state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::MetadataExporter_ns::Response_Authorization_State_IsValid(val))) { - _internal_set_state(static_cast<::MetadataExporter_ns::Response_Authorization_State>(val)); + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::MetadataExporter_ns::Response_Authorization_State_IsValid(value)) { + set_state(static_cast< ::MetadataExporter_ns::Response_Authorization_State >(value)); } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + mutable_unknown_fields()->AddVarint( + 1, static_cast< ::google::protobuf::uint64>(value)); } - } else goto handle_unusual; - continue; + } else { + goto handle_unusual; + } + break; + } + // required string status = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Authorization.status"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_status())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Authorization.status"); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Authorization) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Authorization) + return false; +#undef DO_ +} + +void Response_Authorization::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Authorization) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required .MetadataExporter_ns.Response.Authorization.State state = 1; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->state(), output); + } + + // required string status = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Authorization.status"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->status(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Authorization) } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Authorization::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Response_Authorization::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Authorization) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Authorization.State state = 1; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 1, this->_internal_state(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->state(), target); } // required string status = 2; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Authorization.status"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_status(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->status(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Authorization) return target; @@ -703,17 +848,17 @@ size_t Response_Authorization::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Authorization) size_t total_size = 0; - if (_internal_has_status()) { + if (has_status()) { // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); } - if (_internal_has_state()) { + if (has_state()) { // required .MetadataExporter_ns.Response.Authorization.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } return total_size; @@ -722,41 +867,40 @@ size_t Response_Authorization::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Authorization) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); // required .MetadataExporter_ns.Response.Authorization.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Authorization::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Authorization) GOOGLE_DCHECK_NE(&from, this); const Response_Authorization* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Authorization>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Authorization>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Authorization) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Authorization) MergeFrom(*source); @@ -766,14 +910,15 @@ void Response_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& f void Response_Authorization::MergeFrom(const Response_Authorization& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Authorization) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_status(from._internal_status()); + set_has_status(); + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } if (cached_has_bits & 0x00000002u) { state_ = from.state_; @@ -782,7 +927,7 @@ void Response_Authorization::MergeFrom(const Response_Authorization& from) { } } -void Response_Authorization::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Authorization::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Authorization) if (&from == this) return; Clear(); @@ -797,20 +942,26 @@ void Response_Authorization::CopyFrom(const Response_Authorization& from) { } bool Response_Authorization::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Authorization::Swap(Response_Authorization* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Authorization::InternalSwap(Response_Authorization* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + status_.Swap(&other->status_); swap(state_, other->state_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Authorization::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Authorization::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -818,168 +969,211 @@ void Response_Authorization::InternalSwap(Response_Authorization* other) { void Response_Validation::InitAsDefaultInstance() { } -class Response_Validation::_Internal { - public: - using HasBits = decltype(std::declval<Response_Validation>()._has_bits_); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_status(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Validation::kStateFieldNumber; +const int Response_Validation::kStatusFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Validation::Response_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Validation::Response_Validation() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Validation(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Validation) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Validation) } Response_Validation::Response_Validation(const Response_Validation& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_status()) { - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_status(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_status()) { + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } state_ = from.state_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Validation) } void Response_Validation::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Validation_Response_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); state_ = 0; } Response_Validation::~Response_Validation() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Validation) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Validation::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Validation::ArenaDtor(void* object) { - Response_Validation* _this = reinterpret_cast< Response_Validation* >(object); - (void)_this; -} -void Response_Validation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Validation::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Validation::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Validation& Response_Validation::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Validation_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Validation(); return *internal_default_instance(); } +Response_Validation* Response_Validation::New(::google::protobuf::Arena* arena) const { + Response_Validation* n = new Response_Validation; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Validation::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Validation) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - status_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!status_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*status_.UnsafeRawStringPointer())->clear(); } state_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Validation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Validation::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Validation) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .MetadataExporter_ns.Response.Validation.State state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::MetadataExporter_ns::Response_Validation_State_IsValid(val))) { - _internal_set_state(static_cast<::MetadataExporter_ns::Response_Validation_State>(val)); + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::MetadataExporter_ns::Response_Validation_State_IsValid(value)) { + set_state(static_cast< ::MetadataExporter_ns::Response_Validation_State >(value)); } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + mutable_unknown_fields()->AddVarint( + 1, static_cast< ::google::protobuf::uint64>(value)); } - } else goto handle_unusual; - continue; + } else { + goto handle_unusual; + } + break; + } + // required string status = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Validation.status"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_status())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Validation.status"); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Validation) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Validation) + return false; +#undef DO_ +} + +void Response_Validation::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Validation) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required .MetadataExporter_ns.Response.Validation.State state = 1; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->state(), output); + } + + // required string status = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Validation.status"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->status(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Validation) } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Validation::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Response_Validation::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Validation) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Validation.State state = 1; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 1, this->_internal_state(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->state(), target); } // required string status = 2; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Validation.status"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_status(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->status(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Validation) return target; @@ -989,17 +1183,17 @@ size_t Response_Validation::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Validation) size_t total_size = 0; - if (_internal_has_status()) { + if (has_status()) { // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); } - if (_internal_has_state()) { + if (has_state()) { // required .MetadataExporter_ns.Response.Validation.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } return total_size; @@ -1008,41 +1202,40 @@ size_t Response_Validation::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Validation) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); // required .MetadataExporter_ns.Response.Validation.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Validation::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Validation) GOOGLE_DCHECK_NE(&from, this); const Response_Validation* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Validation>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Validation>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Validation) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Validation) MergeFrom(*source); @@ -1052,14 +1245,15 @@ void Response_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from void Response_Validation::MergeFrom(const Response_Validation& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Validation) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_status(from._internal_status()); + set_has_status(); + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } if (cached_has_bits & 0x00000002u) { state_ = from.state_; @@ -1068,7 +1262,7 @@ void Response_Validation::MergeFrom(const Response_Validation& from) { } } -void Response_Validation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Validation::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Validation) if (&from == this) return; Clear(); @@ -1083,20 +1277,26 @@ void Response_Validation::CopyFrom(const Response_Validation& from) { } bool Response_Validation::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Validation::Swap(Response_Validation* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Validation::InternalSwap(Response_Validation* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + status_.Swap(&other->status_); swap(state_, other->state_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Validation::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Validation::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1104,163 +1304,203 @@ void Response_Validation::InternalSwap(Response_Validation* other) { void Response_Metadata_Row_DtDouble::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtDouble::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtDouble>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtDouble::kKeyFieldNumber; +const int Response_Metadata_Row_DtDouble::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDouble(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) } Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble(const Response_Metadata_Row_DtDouble& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_ = from.value_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) } void Response_Metadata_Row_DtDouble::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_ = 0; } Response_Metadata_Row_DtDouble::~Response_Metadata_Row_DtDouble() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtDouble::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtDouble::ArenaDtor(void* object) { - Response_Metadata_Row_DtDouble* _this = reinterpret_cast< Response_Metadata_Row_DtDouble* >(object); - (void)_this; -} -void Response_Metadata_Row_DtDouble::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtDouble::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDouble::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Metadata_Row_DtDouble& Response_Metadata_Row_DtDouble::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDouble(); return *internal_default_instance(); } +Response_Metadata_Row_DtDouble* Response_Metadata_Row_DtDouble::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtDouble* n = new Response_Metadata_Row_DtDouble; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtDouble::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } value_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtDouble::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtDouble::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtDouble.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtDouble.key"); + } else { + goto handle_unusual; + } + break; + } + // required double value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) { - _Internal::set_has_value(&has_bits); - value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); - ptr += sizeof(double); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) { + set_has_value(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( + input, &value_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + return false; +#undef DO_ +} + +void Response_Metadata_Row_DtDouble::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtDouble.key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); + } + + // required double value = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->value(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtDouble) } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtDouble::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Response_Metadata_Row_DtDouble::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtDouble.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); } // required double value = 2; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_value(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->value(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtDouble) return target; @@ -1270,14 +1510,14 @@ size_t Response_Metadata_Row_DtDouble::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) size_t total_size = 0; - if (_internal_has_key()) { + if (has_key()) { // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required double value = 2; total_size += 1 + 8; } @@ -1288,11 +1528,16 @@ size_t Response_Metadata_Row_DtDouble::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required double value = 2; total_size += 1 + 8; @@ -1300,28 +1545,22 @@ size_t Response_Metadata_Row_DtDouble::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtDouble::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtDouble::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtDouble* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtDouble>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtDouble>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtDouble) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtDouble) MergeFrom(*source); @@ -1331,14 +1570,15 @@ void Response_Metadata_Row_DtDouble::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Me void Response_Metadata_Row_DtDouble::MergeFrom(const Response_Metadata_Row_DtDouble& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { value_ = from.value_; @@ -1347,7 +1587,7 @@ void Response_Metadata_Row_DtDouble::MergeFrom(const Response_Metadata_Row_DtDou } } -void Response_Metadata_Row_DtDouble::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtDouble::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) if (&from == this) return; Clear(); @@ -1362,20 +1602,26 @@ void Response_Metadata_Row_DtDouble::CopyFrom(const Response_Metadata_Row_DtDoub } bool Response_Metadata_Row_DtDouble::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtDouble::Swap(Response_Metadata_Row_DtDouble* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtDouble::InternalSwap(Response_Metadata_Row_DtDouble* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + key_.Swap(&other->key_); swap(value_, other->value_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtDouble::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtDouble::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1383,184 +1629,224 @@ void Response_Metadata_Row_DtDouble::InternalSwap(Response_Metadata_Row_DtDouble void Response_Metadata_Row_DtInteger::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtInteger::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtInteger>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtInteger::kKeyFieldNumber; +const int Response_Metadata_Row_DtInteger::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtInteger(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtInteger) } Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger(const Response_Metadata_Row_DtInteger& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_ = from.value_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtInteger) } void Response_Metadata_Row_DtInteger::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_ = 0; } Response_Metadata_Row_DtInteger::~Response_Metadata_Row_DtInteger() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtInteger) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtInteger::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtInteger::ArenaDtor(void* object) { - Response_Metadata_Row_DtInteger* _this = reinterpret_cast< Response_Metadata_Row_DtInteger* >(object); - (void)_this; -} -void Response_Metadata_Row_DtInteger::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtInteger::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtInteger::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Metadata_Row_DtInteger& Response_Metadata_Row_DtInteger::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtInteger(); return *internal_default_instance(); } +Response_Metadata_Row_DtInteger* Response_Metadata_Row_DtInteger::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtInteger* n = new Response_Metadata_Row_DtInteger; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtInteger::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } value_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtInteger::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtInteger::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtInteger.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtInteger.key"); + } else { + goto handle_unusual; + } + break; + } + // required int32 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - _Internal::set_has_value(&has_bits); - value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_value(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &value_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtInteger::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; +void Response_Metadata_Row_DtInteger::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtInteger.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); } // required int32 value = 2; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_value(), target); + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->value(), output); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtInteger) - return target; + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtInteger) } -size_t Response_Metadata_Row_DtInteger::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) - size_t total_size = 0; +::google::protobuf::uint8* Response_Metadata_Row_DtInteger::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; - if (_internal_has_key()) { - // required string key = 1; + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtInteger.key"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); + } + + // required int32 value = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->value(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + return target; +} + +size_t Response_Metadata_Row_DtInteger::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + size_t total_size = 0; + + if (has_key()) { + // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required int32 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->value()); } return total_size; @@ -1569,42 +1855,41 @@ size_t Response_Metadata_Row_DtInteger::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required int32 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->value()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtInteger::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtInteger::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtInteger* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtInteger>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtInteger>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtInteger) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtInteger) MergeFrom(*source); @@ -1614,14 +1899,15 @@ void Response_Metadata_Row_DtInteger::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::M void Response_Metadata_Row_DtInteger::MergeFrom(const Response_Metadata_Row_DtInteger& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { value_ = from.value_; @@ -1630,7 +1916,7 @@ void Response_Metadata_Row_DtInteger::MergeFrom(const Response_Metadata_Row_DtIn } } -void Response_Metadata_Row_DtInteger::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtInteger::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) if (&from == this) return; Clear(); @@ -1645,20 +1931,26 @@ void Response_Metadata_Row_DtInteger::CopyFrom(const Response_Metadata_Row_DtInt } bool Response_Metadata_Row_DtInteger::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtInteger::Swap(Response_Metadata_Row_DtInteger* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtInteger::InternalSwap(Response_Metadata_Row_DtInteger* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + key_.Swap(&other->key_); swap(value_, other->value_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtInteger::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtInteger::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1666,163 +1958,203 @@ void Response_Metadata_Row_DtInteger::InternalSwap(Response_Metadata_Row_DtInteg void Response_Metadata_Row_DtUnsignedLong::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtUnsignedLong::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtUnsignedLong>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtUnsignedLong::kKeyFieldNumber; +const int Response_Metadata_Row_DtUnsignedLong::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtUnsignedLong(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) } Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong(const Response_Metadata_Row_DtUnsignedLong& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_ = from.value_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) } void Response_Metadata_Row_DtUnsignedLong::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - value_ = PROTOBUF_ULONGLONG(0); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_ = GOOGLE_ULONGLONG(0); } Response_Metadata_Row_DtUnsignedLong::~Response_Metadata_Row_DtUnsignedLong() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtUnsignedLong::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtUnsignedLong::ArenaDtor(void* object) { - Response_Metadata_Row_DtUnsignedLong* _this = reinterpret_cast< Response_Metadata_Row_DtUnsignedLong* >(object); - (void)_this; -} -void Response_Metadata_Row_DtUnsignedLong::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtUnsignedLong::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtUnsignedLong::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } + const Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row_DtUnsignedLong::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtUnsignedLong(); return *internal_default_instance(); } +Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row_DtUnsignedLong::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtUnsignedLong* n = new Response_Metadata_Row_DtUnsignedLong; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtUnsignedLong::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } - value_ = PROTOBUF_ULONGLONG(0); + value_ = GOOGLE_ULONGLONG(0); _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtUnsignedLong::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtUnsignedLong::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key"); + } else { + goto handle_unusual; + } + break; + } + // required uint64 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - _Internal::set_has_value(&has_bits); - value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_value(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( + input, &value_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtUnsignedLong::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Response_Metadata_Row_DtUnsignedLong::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); + } + + // required uint64 value = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->value(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) +} + +::google::protobuf::uint8* Response_Metadata_Row_DtUnsignedLong::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); } // required uint64 value = 2; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_value(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->value(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) return target; @@ -1832,18 +2164,18 @@ size_t Response_Metadata_Row_DtUnsignedLong::RequiredFieldsByteSizeFallback() co // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) size_t total_size = 0; - if (_internal_has_key()) { + if (has_key()) { // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required uint64 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::UInt64Size( + this->value()); } return total_size; @@ -1852,42 +2184,41 @@ size_t Response_Metadata_Row_DtUnsignedLong::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required uint64 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::UInt64Size( + this->value()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtUnsignedLong* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtUnsignedLong>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtUnsignedLong>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) MergeFrom(*source); @@ -1897,14 +2228,15 @@ void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { value_ = from.value_; @@ -1913,7 +2245,7 @@ void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const Response_Metadata_Row } } -void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) if (&from == this) return; Clear(); @@ -1928,20 +2260,26 @@ void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const Response_Metadata_Row_ } bool Response_Metadata_Row_DtUnsignedLong::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtUnsignedLong::Swap(Response_Metadata_Row_DtUnsignedLong* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtUnsignedLong::InternalSwap(Response_Metadata_Row_DtUnsignedLong* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + key_.Swap(&other->key_); swap(value_, other->value_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtUnsignedLong::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtUnsignedLong::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1949,163 +2287,203 @@ void Response_Metadata_Row_DtUnsignedLong::InternalSwap(Response_Metadata_Row_Dt void Response_Metadata_Row_DtLongLong::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtLongLong::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtLongLong>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtLongLong::kKeyFieldNumber; +const int Response_Metadata_Row_DtLongLong::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtLongLong(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) } Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong(const Response_Metadata_Row_DtLongLong& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_ = from.value_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) } void Response_Metadata_Row_DtLongLong::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - value_ = PROTOBUF_LONGLONG(0); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_ = GOOGLE_LONGLONG(0); } Response_Metadata_Row_DtLongLong::~Response_Metadata_Row_DtLongLong() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtLongLong::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtLongLong::ArenaDtor(void* object) { - Response_Metadata_Row_DtLongLong* _this = reinterpret_cast< Response_Metadata_Row_DtLongLong* >(object); - (void)_this; -} -void Response_Metadata_Row_DtLongLong::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtLongLong::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtLongLong::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Metadata_Row_DtLongLong& Response_Metadata_Row_DtLongLong::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtLongLong(); return *internal_default_instance(); } +Response_Metadata_Row_DtLongLong* Response_Metadata_Row_DtLongLong::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtLongLong* n = new Response_Metadata_Row_DtLongLong; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtLongLong::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } - value_ = PROTOBUF_LONGLONG(0); + value_ = GOOGLE_LONGLONG(0); _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtLongLong::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtLongLong::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key"); + } else { + goto handle_unusual; + } + break; + } + // required int64 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - _Internal::set_has_value(&has_bits); - value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { + set_has_value(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( + input, &value_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtLongLong::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Response_Metadata_Row_DtLongLong::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); + } + + // required int64 value = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->value(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) +} + +::google::protobuf::uint8* Response_Metadata_Row_DtLongLong::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); } // required int64 value = 2; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_value(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->value(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) return target; @@ -2115,18 +2493,18 @@ size_t Response_Metadata_Row_DtLongLong::RequiredFieldsByteSizeFallback() const // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) size_t total_size = 0; - if (_internal_has_key()) { + if (has_key()) { // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required int64 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->value()); } return total_size; @@ -2135,42 +2513,41 @@ size_t Response_Metadata_Row_DtLongLong::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required int64 value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::Int64Size( + this->value()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtLongLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtLongLong::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtLongLong* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtLongLong>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtLongLong>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) MergeFrom(*source); @@ -2180,14 +2557,15 @@ void Response_Metadata_Row_DtLongLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ID:: void Response_Metadata_Row_DtLongLong::MergeFrom(const Response_Metadata_Row_DtLongLong& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { value_ = from.value_; @@ -2196,7 +2574,7 @@ void Response_Metadata_Row_DtLongLong::MergeFrom(const Response_Metadata_Row_DtL } } -void Response_Metadata_Row_DtLongLong::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtLongLong::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) if (&from == this) return; Clear(); @@ -2211,20 +2589,26 @@ void Response_Metadata_Row_DtLongLong::CopyFrom(const Response_Metadata_Row_DtLo } bool Response_Metadata_Row_DtLongLong::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtLongLong::Swap(Response_Metadata_Row_DtLongLong* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtLongLong::InternalSwap(Response_Metadata_Row_DtLongLong* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + key_.Swap(&other->key_); swap(value_, other->value_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtLongLong::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtLongLong::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -2232,179 +2616,225 @@ void Response_Metadata_Row_DtLongLong::InternalSwap(Response_Metadata_Row_DtLong void Response_Metadata_Row_DtString::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtString::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtString>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtString::kKeyFieldNumber; +const int Response_Metadata_Row_DtString::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtString::Response_Metadata_Row_DtString(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtString::Response_Metadata_Row_DtString() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtString(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtString) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtString) } Response_Metadata_Row_DtString::Response_Metadata_Row_DtString(const Response_Metadata_Row_DtString& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); - } - value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_value()) { - value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_value(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); + } + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_value()) { + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); } // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtString) } void Response_Metadata_Row_DtString::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtString_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } Response_Metadata_Row_DtString::~Response_Metadata_Row_DtString() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtString) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtString::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtString::ArenaDtor(void* object) { - Response_Metadata_Row_DtString* _this = reinterpret_cast< Response_Metadata_Row_DtString* >(object); - (void)_this; -} -void Response_Metadata_Row_DtString::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtString::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtString::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } + const Response_Metadata_Row_DtString& Response_Metadata_Row_DtString::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtString_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtString(); return *internal_default_instance(); } +Response_Metadata_Row_DtString* Response_Metadata_Row_DtString::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtString* n = new Response_Metadata_Row_DtString; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtString::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtString) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } if (cached_has_bits & 0x00000002u) { - value_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!value_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*value_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtString::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtString::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtString) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtString.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtString.key"); + } else { + goto handle_unusual; + } + break; + } + // required string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtString.value"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->value().data(), static_cast<int>(this->value().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtString.value"); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtString) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtString) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtString::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Response_Metadata_Row_DtString::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtString) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtString.key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); + } + + // required string value = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->value().data(), static_cast<int>(this->value().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtString.value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->value(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtString) +} + +::google::protobuf::uint8* Response_Metadata_Row_DtString::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtString) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtString.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); } // required string value = 2; if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast<int>(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->value().data(), static_cast<int>(this->value().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtString.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->value(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtString) return target; @@ -2414,18 +2844,18 @@ size_t Response_Metadata_Row_DtString::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtString) size_t total_size = 0; - if (_internal_has_key()) { + if (has_key()) { // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required string value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); } return total_size; @@ -2434,42 +2864,41 @@ size_t Response_Metadata_Row_DtString::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtString) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required string value = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtString::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtString::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtString) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtString* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtString>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtString>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtString) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtString) MergeFrom(*source); @@ -2479,22 +2908,24 @@ void Response_Metadata_Row_DtString::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Me void Response_Metadata_Row_DtString::MergeFrom(const Response_Metadata_Row_DtString& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtString) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { - _internal_set_value(from._internal_value()); + set_has_value(); + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); } } } -void Response_Metadata_Row_DtString::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtString::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtString) if (&from == this) return; Clear(); @@ -2509,20 +2940,26 @@ void Response_Metadata_Row_DtString::CopyFrom(const Response_Metadata_Row_DtStri } bool Response_Metadata_Row_DtString::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtString::Swap(Response_Metadata_Row_DtString* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtString::InternalSwap(Response_Metadata_Row_DtString* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + key_.Swap(&other->key_); + value_.Swap(&other->value_); swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - value_.Swap(&other->value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtString::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtString::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -2530,163 +2967,203 @@ void Response_Metadata_Row_DtString::InternalSwap(Response_Metadata_Row_DtString void Response_Metadata_Row_DtDate::InitAsDefaultInstance() { } -class Response_Metadata_Row_DtDate::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata_Row_DtDate>()._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata_Row_DtDate::kKeyFieldNumber; +const int Response_Metadata_Row_DtDate::kValueFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDate(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDate) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row.DtDate) } Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate(const Response_Metadata_Row_DtDate& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_key()) { - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_key(), - GetArena()); + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_key()) { + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_ = from.value_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDate) } void Response_Metadata_Row_DtDate::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtDate_Response_2eproto.base); - key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - value_ = PROTOBUF_LONGLONG(0); + _cached_size_ = 0; + key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + value_ = GOOGLE_LONGLONG(0); } Response_Metadata_Row_DtDate::~Response_Metadata_Row_DtDate() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row.DtDate) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row_DtDate::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtDate::ArenaDtor(void* object) { - Response_Metadata_Row_DtDate* _this = reinterpret_cast< Response_Metadata_Row_DtDate* >(object); - (void)_this; -} -void Response_Metadata_Row_DtDate::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row_DtDate::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDate::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } + const Response_Metadata_Row_DtDate& Response_Metadata_Row_DtDate::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtDate_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDate(); return *internal_default_instance(); } +Response_Metadata_Row_DtDate* Response_Metadata_Row_DtDate::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row_DtDate* n = new Response_Metadata_Row_DtDate; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row_DtDate::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - key_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*key_.UnsafeRawStringPointer())->clear(); } - value_ = PROTOBUF_LONGLONG(0); + value_ = GOOGLE_LONGLONG(0); _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row_DtDate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row_DtDate::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.Row.DtDate.key"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_key())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.Row.DtDate.key"); + } else { + goto handle_unusual; + } + break; + } + // required sfixed64 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) { - _Internal::set_has_value(&has_bits); - value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::int64>(ptr); - ptr += sizeof(::PROTOBUF_NAMESPACE_ID::int64); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) { + set_has_value(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>( + input, &value_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row.DtDate) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row.DtDate) + return false; +#undef DO_ +} + +void Response_Metadata_Row_DtDate::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required string key = 1; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.Row.DtDate.key"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->key(), output); + } + + // required sfixed64 value = 2; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteSFixed64(2, this->value(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row.DtDate) } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtDate::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Response_Metadata_Row_DtDate::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast<int>(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->key().data(), static_cast<int>(this->key().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.Row.DtDate.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->key(), target); } // required sfixed64 value = 2; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSFixed64ToArray(2, this->_internal_value(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(2, this->value(), target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtDate) return target; @@ -2696,14 +3173,14 @@ size_t Response_Metadata_Row_DtDate::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) size_t total_size = 0; - if (_internal_has_key()) { + if (has_key()) { // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); } - if (_internal_has_value()) { + if (has_value()) { // required sfixed64 value = 2; total_size += 1 + 8; } @@ -2714,11 +3191,16 @@ size_t Response_Metadata_Row_DtDate::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->key()); // required sfixed64 value = 2; total_size += 1 + 8; @@ -2726,28 +3208,22 @@ size_t Response_Metadata_Row_DtDate::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row_DtDate::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtDate::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row_DtDate* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtDate>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row_DtDate>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtDate) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtDate) MergeFrom(*source); @@ -2757,14 +3233,15 @@ void Response_Metadata_Row_DtDate::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Mess void Response_Metadata_Row_DtDate::MergeFrom(const Response_Metadata_Row_DtDate& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_key(from._internal_key()); + set_has_key(); + key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { value_ = from.value_; @@ -2773,7 +3250,7 @@ void Response_Metadata_Row_DtDate::MergeFrom(const Response_Metadata_Row_DtDate& } } -void Response_Metadata_Row_DtDate::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row_DtDate::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) if (&from == this) return; Clear(); @@ -2788,20 +3265,26 @@ void Response_Metadata_Row_DtDate::CopyFrom(const Response_Metadata_Row_DtDate& } bool Response_Metadata_Row_DtDate::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } +void Response_Metadata_Row_DtDate::Swap(Response_Metadata_Row_DtDate* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row_DtDate::InternalSwap(Response_Metadata_Row_DtDate* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); - key_.Swap(&other->key_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + key_.Swap(&other->key_); swap(value_, other->value_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtDate::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row_DtDate::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -2809,66 +3292,76 @@ void Response_Metadata_Row_DtDate::InternalSwap(Response_Metadata_Row_DtDate* ot void Response_Metadata_Row::InitAsDefaultInstance() { } -class Response_Metadata_Row::_Internal { - public: -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +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 // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata_Row::Response_Metadata_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena), - double_list_(arena), - integer_list_(arena), - unsinged_long_list_(arena), - long_long_list_(arena), - strings_list_(arena), - date_list_(arena) { +Response_Metadata_Row::Response_Metadata_Row() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata.Row) } Response_Metadata_Row::Response_Metadata_Row(const Response_Metadata_Row& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0), double_list_(from.double_list_), integer_list_(from.integer_list_), unsinged_long_list_(from.unsinged_long_list_), long_long_list_(from.long_long_list_), strings_list_(from.strings_list_), date_list_(from.date_list_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _internal_metadata_.MergeFrom(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row) } void Response_Metadata_Row::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_Response_2eproto.base); + _cached_size_ = 0; } Response_Metadata_Row::~Response_Metadata_Row() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata.Row) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata_Row::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); } -void Response_Metadata_Row::ArenaDtor(void* object) { - Response_Metadata_Row* _this = reinterpret_cast< Response_Metadata_Row* >(object); - (void)_this; -} -void Response_Metadata_Row::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata_Row::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Metadata_Row::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Metadata_Row& Response_Metadata_Row::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row(); return *internal_default_instance(); } +Response_Metadata_Row* Response_Metadata_Row::New(::google::protobuf::Arena* arena) const { + Response_Metadata_Row* n = new Response_Metadata_Row; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata_Row::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -2878,168 +3371,219 @@ void Response_Metadata_Row::Clear() { long_long_list_.Clear(); strings_list_.Clear(); date_list_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata_Row::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +bool Response_Metadata_Row::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata.Row) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_double_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; - continue; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_double_list())); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_integer_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_integer_list())); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_unsinged_long_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_unsinged_long_list())); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_long_long_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else goto handle_unusual; - continue; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_long_long_list())); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_strings_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else goto handle_unusual; - continue; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_strings_list())); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_date_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else goto handle_unusual; - continue; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_date_list())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata.Row) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata.Row) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Response_Metadata_Row::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata.Row) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->double_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->double_list(static_cast<int>(i)), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->integer_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->integer_list(static_cast<int>(i)), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->unsinged_long_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->unsinged_long_list(static_cast<int>(i)), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->long_long_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->long_long_list(static_cast<int>(i)), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->strings_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, this->strings_list(static_cast<int>(i)), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->date_list_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, this->date_list(static_cast<int>(i)), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata.Row) +} + +::google::protobuf::uint8* Response_Metadata_Row::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata.Row) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_double_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_double_list(i), target, stream); + n = static_cast<unsigned int>(this->double_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->double_list(static_cast<int>(i)), deterministic, target); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_integer_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, this->_internal_integer_list(i), target, stream); + n = static_cast<unsigned int>(this->integer_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->integer_list(static_cast<int>(i)), deterministic, target); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_unsinged_long_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, this->_internal_unsinged_long_list(i), target, stream); + n = static_cast<unsigned int>(this->unsinged_long_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->unsinged_long_list(static_cast<int>(i)), deterministic, target); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_long_long_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, this->_internal_long_long_list(i), target, stream); + n = static_cast<unsigned int>(this->long_long_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, this->long_long_list(static_cast<int>(i)), deterministic, target); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_strings_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, this->_internal_strings_list(i), target, stream); + n = static_cast<unsigned int>(this->strings_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, this->strings_list(static_cast<int>(i)), deterministic, target); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_date_list_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, this->_internal_date_list(i), target, stream); + n = static_cast<unsigned int>(this->date_list_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, this->date_list(static_cast<int>(i)), deterministic, target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row) return target; @@ -3049,70 +3593,93 @@ size_t Response_Metadata_Row::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata.Row) size_t total_size = 0; - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; - total_size += 1UL * this->_internal_double_list_size(); - for (const auto& msg : this->double_list_) { + if (_internal_metadata_.have_unknown_fields()) { total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; + { + unsigned int count = static_cast<unsigned int>(this->double_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->double_list(static_cast<int>(i))); + } } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - total_size += 1UL * this->_internal_integer_list_size(); - for (const auto& msg : this->integer_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->integer_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->integer_list(static_cast<int>(i))); + } } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - total_size += 1UL * this->_internal_unsinged_long_list_size(); - for (const auto& msg : this->unsinged_long_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->unsinged_long_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->unsinged_long_list(static_cast<int>(i))); + } } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - total_size += 1UL * this->_internal_long_long_list_size(); - for (const auto& msg : this->long_long_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->long_long_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->long_long_list(static_cast<int>(i))); + } } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - total_size += 1UL * this->_internal_strings_list_size(); - for (const auto& msg : this->strings_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->strings_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->strings_list(static_cast<int>(i))); + } } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - total_size += 1UL * this->_internal_date_list_size(); - for (const auto& msg : this->date_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->date_list_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->date_list(static_cast<int>(i))); + } } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata_Row::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata_Row>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row) MergeFrom(*source); @@ -3122,8 +3689,8 @@ void Response_Metadata_Row::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& fr void Response_Metadata_Row::MergeFrom(const Response_Metadata_Row& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata.Row) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; double_list_.MergeFrom(from.double_list_); @@ -3134,7 +3701,7 @@ void Response_Metadata_Row::MergeFrom(const Response_Metadata_Row& from) { date_list_.MergeFrom(from.date_list_); } -void Response_Metadata_Row::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata_Row::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row) if (&from == this) return; Clear(); @@ -3149,28 +3716,35 @@ void Response_Metadata_Row::CopyFrom(const Response_Metadata_Row& from) { } bool Response_Metadata_Row::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(double_list_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(integer_list_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(unsinged_long_list_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(long_long_list_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(strings_list_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(date_list_)) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->double_list())) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->integer_list())) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->unsinged_long_list())) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->long_long_list())) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->strings_list())) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->date_list())) return false; return true; } +void Response_Metadata_Row::Swap(Response_Metadata_Row* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata_Row::InternalSwap(Response_Metadata_Row* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); double_list_.InternalSwap(&other->double_list_); integer_list_.InternalSwap(&other->integer_list_); unsinged_long_list_.InternalSwap(&other->unsinged_long_list_); long_long_list_.InternalSwap(&other->long_long_list_); strings_list_.InternalSwap(&other->strings_list_); date_list_.InternalSwap(&other->date_list_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata_Row::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -3178,191 +3752,240 @@ void Response_Metadata_Row::InternalSwap(Response_Metadata_Row* other) { void Response_Metadata::InitAsDefaultInstance() { } -class Response_Metadata::_Internal { - public: - using HasBits = decltype(std::declval<Response_Metadata>()._has_bits_); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_status(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response_Metadata::kStateFieldNumber; +const int Response_Metadata::kStatusFieldNumber; +const int Response_Metadata::kRowsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -Response_Metadata::Response_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena), - rows_(arena) { +Response_Metadata::Response_Metadata() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response.Metadata) } Response_Metadata::Response_Metadata(const Response_Metadata& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), + : ::google::protobuf::Message(), + _internal_metadata_(NULL), _has_bits_(from._has_bits_), + _cached_size_(0), rows_(from.rows_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - if (from._internal_has_status()) { - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_status(), - GetArena()); + _internal_metadata_.MergeFrom(from._internal_metadata_); + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.has_status()) { + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } state_ = from.state_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata) } void Response_Metadata::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Response_2eproto.base); - status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _cached_size_ = 0; + status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); state_ = 0; } Response_Metadata::~Response_Metadata() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); - status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata::ArenaDtor(void* object) { - Response_Metadata* _this = reinterpret_cast< Response_Metadata* >(object); - (void)_this; -} -void Response_Metadata::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response_Metadata::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response_Metadata::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response_Metadata& Response_Metadata::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata(); return *internal_default_instance(); } +Response_Metadata* Response_Metadata::New(::google::protobuf::Arena* arena) const { + Response_Metadata* n = new Response_Metadata; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response_Metadata::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; rows_.Clear(); cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000001u) { - status_.ClearNonDefaultToEmpty(); + GOOGLE_DCHECK(!status_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); + (*status_.UnsafeRawStringPointer())->clear(); } state_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response_Metadata::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response_Metadata::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response.Metadata) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .MetadataExporter_ns.Response.Metadata.State state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::MetadataExporter_ns::Response_Metadata_State_IsValid(val))) { - _internal_set_state(static_cast<::MetadataExporter_ns::Response_Metadata_State>(val)); + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + 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 { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + mutable_unknown_fields()->AddVarint( + 1, static_cast< ::google::protobuf::uint64>(value)); } - } else goto handle_unusual; - continue; + } else { + goto handle_unusual; + } + break; + } + // required string status = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - auto str = _internal_mutable_status(); - ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - #ifndef NDEBUG - ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "MetadataExporter_ns.Response.Metadata.status"); - #endif // !NDEBUG - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_status())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::PARSE, + "MetadataExporter_ns.Response.Metadata.status"); + } else { + goto handle_unusual; + } + break; + } + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_rows(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_rows())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response.Metadata) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response.Metadata) + return false; +#undef DO_ } -::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +void Response_Metadata::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response.Metadata) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->state(), output); + } + + // required string status = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "MetadataExporter_ns.Response.Metadata.status"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->status(), output); + } + + // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; + for (unsigned int i = 0, + n = static_cast<unsigned int>(this->rows_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->rows(static_cast<int>(i)), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response.Metadata) +} + +::google::protobuf::uint8* Response_Metadata::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Metadata.State state = 1; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 1, this->_internal_state(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->state(), target); } // required string status = 2; if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->status().data(), static_cast<int>(this->status().length()), + ::google::protobuf::internal::WireFormat::SERIALIZE, "MetadataExporter_ns.Response.Metadata.status"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_status(), target); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->status(), target); } // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; for (unsigned int i = 0, - n = static_cast<unsigned int>(this->_internal_rows_size()); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, this->_internal_rows(i), target, stream); + n = static_cast<unsigned int>(this->rows_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->rows(static_cast<int>(i)), deterministic, target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata) return target; @@ -3372,17 +3995,17 @@ size_t Response_Metadata::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata) size_t total_size = 0; - if (_internal_has_status()) { + if (has_status()) { // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); } - if (_internal_has_state()) { + if (has_state()) { // required .MetadataExporter_ns.Response.Metadata.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } return total_size; @@ -3391,48 +4014,51 @@ size_t Response_Metadata::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string status = 2; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->status()); // required .MetadataExporter_ns.Response.Metadata.State state = 1; total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - total_size += 1UL * this->_internal_rows_size(); - for (const auto& msg : this->rows_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + { + unsigned int count = static_cast<unsigned int>(this->rows_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->rows(static_cast<int>(i))); + } } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata) GOOGLE_DCHECK_NE(&from, this); const Response_Metadata* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response_Metadata>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata) MergeFrom(*source); @@ -3442,15 +4068,16 @@ void Response_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) void Response_Metadata::MergeFrom(const Response_Metadata& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response.Metadata) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; rows_.MergeFrom(from.rows_); cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { - _internal_set_status(from._internal_status()); + set_has_status(); + status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_); } if (cached_has_bits & 0x00000002u) { state_ = from.state_; @@ -3459,7 +4086,7 @@ void Response_Metadata::MergeFrom(const Response_Metadata& from) { } } -void Response_Metadata::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response_Metadata::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata) if (&from == this) return; Clear(); @@ -3474,22 +4101,28 @@ void Response_Metadata::CopyFrom(const Response_Metadata& from) { } bool Response_Metadata::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(rows_)) return false; + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + if (!::google::protobuf::internal::AllAreInitialized(this->rows())) return false; return true; } +void Response_Metadata::Swap(Response_Metadata* other) { + if (other == this) return; + InternalSwap(other); +} void Response_Metadata::InternalSwap(Response_Metadata* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); - swap(_has_bits_[0], other->_has_bits_[0]); rows_.InternalSwap(&other->rows_); - status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + status_.Swap(&other->status_); swap(state_, other->state_); + swap(_has_bits_[0], other->_has_bits_[0]); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response_Metadata::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -3503,72 +4136,48 @@ void Response::InitAsDefaultInstance() { ::MetadataExporter_ns::_Response_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::MetadataExporter_ns::Response_Metadata*>( ::MetadataExporter_ns::Response_Metadata::internal_default_instance()); } -class Response::_Internal { - public: - using HasBits = decltype(std::declval<Response>()._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::MetadataExporter_ns::Response_Authorization& authorization(const Response* msg); - static void set_has_authorization(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::MetadataExporter_ns::Response_Validation& validation(const Response* msg); - static void set_has_validation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::MetadataExporter_ns::Response_Metadata& metadata(const Response* msg); - static void set_has_metadata(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000008) ^ 0x00000008) != 0; - } -}; +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Response::kTypeFieldNumber; +const int Response::kAuthorizationFieldNumber; +const int Response::kValidationFieldNumber; +const int Response::kMetadataFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -const ::MetadataExporter_ns::Response_Authorization& -Response::_Internal::authorization(const Response* msg) { - return *msg->authorization_; -} -const ::MetadataExporter_ns::Response_Validation& -Response::_Internal::validation(const Response* msg) { - return *msg->validation_; -} -const ::MetadataExporter_ns::Response_Metadata& -Response::_Internal::metadata(const Response* msg) { - return *msg->metadata_; -} -Response::Response(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::Message(arena) { +Response::Response() + : ::google::protobuf::Message(), _internal_metadata_(NULL) { + if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { + ::protobuf_Response_2eproto::InitDefaultsResponse(); + } SharedCtor(); - RegisterArenaDtor(arena); - // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response) + // @@protoc_insertion_point(constructor:MetadataExporter_ns.Response) } Response::Response(const Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - _has_bits_(from._has_bits_) { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_authorization()) { + : ::google::protobuf::Message(), + _internal_metadata_(NULL), + _has_bits_(from._has_bits_), + _cached_size_(0) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_authorization()) { authorization_ = new ::MetadataExporter_ns::Response_Authorization(*from.authorization_); } else { - authorization_ = nullptr; + authorization_ = NULL; } - if (from._internal_has_validation()) { + if (from.has_validation()) { validation_ = new ::MetadataExporter_ns::Response_Validation(*from.validation_); } else { - validation_ = nullptr; + validation_ = NULL; } - if (from._internal_has_metadata()) { + if (from.has_metadata()) { metadata_ = new ::MetadataExporter_ns::Response_Metadata(*from.metadata_); } else { - metadata_ = nullptr; + metadata_ = NULL; } type_ = from.type_; // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response) } void Response::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Response_2eproto.base); + _cached_size_ = 0; ::memset(&authorization_, 0, static_cast<size_t>( reinterpret_cast<char*>(&type_) - reinterpret_cast<char*>(&authorization_)) + sizeof(type_)); @@ -3577,163 +4186,225 @@ void Response::SharedCtor() { Response::~Response() { // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response) SharedDtor(); - _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete authorization_; if (this != internal_default_instance()) delete validation_; if (this != internal_default_instance()) delete metadata_; } -void Response::ArenaDtor(void* object) { - Response* _this = reinterpret_cast< Response* >(object); - (void)_this; -} -void Response::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { -} void Response::SetCachedSize(int size) const { - _cached_size_.Set(size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); } +const ::google::protobuf::Descriptor* Response::descriptor() { + ::protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; +} + const Response& Response::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Response_2eproto.base); + ::protobuf_Response_2eproto::InitDefaultsResponse(); return *internal_default_instance(); } +Response* Response::New(::google::protobuf::Arena* arena) const { + Response* n = new Response; + if (arena != NULL) { + arena->Own(n); + } + return n; +} void Response::Clear() { // @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(authorization_ != nullptr); + GOOGLE_DCHECK(authorization_ != NULL); authorization_->Clear(); } if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(validation_ != nullptr); + GOOGLE_DCHECK(validation_ != NULL); validation_->Clear(); } if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(metadata_ != nullptr); + GOOGLE_DCHECK(metadata_ != NULL); metadata_->Clear(); } } type_ = 0; _has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* Response::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; - while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; - ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - switch (tag >> 3) { + _internal_metadata_.Clear(); +} + +bool Response::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:MetadataExporter_ns.Response) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // required .MetadataExporter_ns.Response.Type type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::MetadataExporter_ns::Response_Type_IsValid(val))) { - _internal_set_type(static_cast<::MetadataExporter_ns::Response_Type>(val)); + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::MetadataExporter_ns::Response_Type_IsValid(value)) { + set_type(static_cast< ::MetadataExporter_ns::Response_Type >(value)); } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); + mutable_unknown_fields()->AddVarint( + 1, static_cast< ::google::protobuf::uint64>(value)); } - } else goto handle_unusual; - continue; + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_authorization(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_authorization())); + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Response.Validation validation = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_validation(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_validation())); + } else { + goto handle_unusual; + } + break; + } + // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_metadata(), ptr); - CHK_(ptr); - } else goto handle_unusual; - continue; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_metadata())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); + if (tag == 0) { goto success; } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; } - } // switch - } // while + } + } success: - _has_bits_.Or(has_bits); - return ptr; + // @@protoc_insertion_point(parse_success:MetadataExporter_ns.Response) + return true; failure: - ptr = nullptr; - goto success; -#undef CHK_ + // @@protoc_insertion_point(parse_failure:MetadataExporter_ns.Response) + return false; +#undef DO_ +} + +void Response::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:MetadataExporter_ns.Response) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required .MetadataExporter_ns.Response.Type type = 1; + if (cached_has_bits & 0x00000008u) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // optional .MetadataExporter_ns.Response.Authorization authorization = 2; + if (cached_has_bits & 0x00000001u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, *this->authorization_, output); + } + + // optional .MetadataExporter_ns.Response.Validation validation = 3; + if (cached_has_bits & 0x00000002u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, *this->validation_, output); + } + + // optional .MetadataExporter_ns.Response.Metadata metadata = 4; + if (cached_has_bits & 0x00000004u) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, *this->metadata_, output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:MetadataExporter_ns.Response) } -::PROTOBUF_NAMESPACE_ID::uint8* Response::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +::google::protobuf::uint8* Response::InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const { + (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Type type = 1; if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); } // optional .MetadataExporter_ns.Response.Authorization authorization = 2; if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 2, _Internal::authorization(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, *this->authorization_, deterministic, target); } // optional .MetadataExporter_ns.Response.Validation validation = 3; if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 3, _Internal::validation(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, *this->validation_, deterministic, target); } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 4, _Internal::metadata(this), target, stream); + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, *this->metadata_, deterministic, target); } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response) return target; @@ -3743,57 +4414,55 @@ size_t Response::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response) size_t total_size = 0; + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } // required .MetadataExporter_ns.Response.Type type = 1; - if (_internal_has_type()) { + if (has_type()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_type()); + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _has_bits_[0]; - if (cached_has_bits & 0x00000007u) { + if (_has_bits_[0 / 32] & 7u) { // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - if (cached_has_bits & 0x00000001u) { + if (has_authorization()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *authorization_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->authorization_); } // optional .MetadataExporter_ns.Response.Validation validation = 3; - if (cached_has_bits & 0x00000002u) { + if (has_validation()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *validation_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->validation_); } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - if (cached_has_bits & 0x00000004u) { + if (has_metadata()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *metadata_); + ::google::protobuf::internal::WireFormatLite::MessageSize( + *this->metadata_); } } - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( - _internal_metadata_, total_size, &_cached_size_); - } - int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); - SetCachedSize(cached_size); + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = cached_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } -void Response::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response) GOOGLE_DCHECK_NE(&from, this); const Response* source = - ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response>( + ::google::protobuf::internal::DynamicCastToGenerated<const Response>( &from); - if (source == nullptr) { + if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response) - ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response) MergeFrom(*source); @@ -3803,20 +4472,20 @@ void Response::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { void Response::MergeFrom(const Response& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MetadataExporter_ns.Response) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 15u) { if (cached_has_bits & 0x00000001u) { - _internal_mutable_authorization()->::MetadataExporter_ns::Response_Authorization::MergeFrom(from._internal_authorization()); + mutable_authorization()->::MetadataExporter_ns::Response_Authorization::MergeFrom(from.authorization()); } if (cached_has_bits & 0x00000002u) { - _internal_mutable_validation()->::MetadataExporter_ns::Response_Validation::MergeFrom(from._internal_validation()); + mutable_validation()->::MetadataExporter_ns::Response_Validation::MergeFrom(from.validation()); } if (cached_has_bits & 0x00000004u) { - _internal_mutable_metadata()->::MetadataExporter_ns::Response_Metadata::MergeFrom(from._internal_metadata()); + mutable_metadata()->::MetadataExporter_ns::Response_Metadata::MergeFrom(from.metadata()); } if (cached_has_bits & 0x00000008u) { type_ = from.type_; @@ -3825,7 +4494,7 @@ void Response::MergeFrom(const Response& from) { } } -void Response::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +void Response::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response) if (&from == this) return; Clear(); @@ -3840,73 +4509,41 @@ void Response::CopyFrom(const Response& from) { } bool Response::IsInitialized() const { - if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (_internal_has_authorization()) { - if (!authorization_->IsInitialized()) return false; + if ((_has_bits_[0] & 0x00000008) != 0x00000008) return false; + if (has_authorization()) { + if (!this->authorization_->IsInitialized()) return false; } - if (_internal_has_validation()) { - if (!validation_->IsInitialized()) return false; + if (has_validation()) { + if (!this->validation_->IsInitialized()) return false; } - if (_internal_has_metadata()) { - if (!metadata_->IsInitialized()) return false; + if (has_metadata()) { + if (!this->metadata_->IsInitialized()) return false; } return true; } +void Response::Swap(Response* other) { + if (other == this) return; + InternalSwap(other); +} void Response::InternalSwap(Response* other) { using std::swap; - _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + swap(authorization_, other->authorization_); + swap(validation_, other->validation_); + swap(metadata_, other->metadata_); + swap(type_, other->type_); swap(_has_bits_[0], other->_has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(Response, type_) - + sizeof(Response::type_) - - PROTOBUF_FIELD_OFFSET(Response, authorization_)>( - reinterpret_cast<char*>(&authorization_), - reinterpret_cast<char*>(&other->authorization_)); + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(_cached_size_, other->_cached_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata Response::GetMetadata() const { - return GetMetadataStatic(); +::google::protobuf::Metadata Response::GetMetadata() const { + protobuf_Response_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_Response_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Authorization* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Authorization >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Authorization >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Validation* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Validation >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Validation >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtString* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtString >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtString >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata_Row* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata_Row >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata_Row >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response_Metadata* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response_Metadata >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response_Metadata >(arena); -} -template<> PROTOBUF_NOINLINE ::MetadataExporter_ns::Response* Arena::CreateMaybeMessage< ::MetadataExporter_ns::Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::MetadataExporter_ns::Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> diff --git a/src/Response.pb.h b/src/Response.pb.h index 446800c..c257f52 100644 --- a/src/Response.pb.h +++ b/src/Response.pb.h @@ -1,60 +1,84 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Response.proto -#ifndef GOOGLE_PROTOBUF_INCLUDED_Response_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_Response_2eproto +#ifndef PROTOBUF_Response_2eproto__INCLUDED +#define PROTOBUF_Response_2eproto__INCLUDED -#include <limits> #include <string> -#include <google/protobuf/port_def.inc> -#if PROTOBUF_VERSION < 3012000 +#include <google/protobuf/stubs/common.h> + +#if GOOGLE_PROTOBUF_VERSION < 3005000 #error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update +#error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION +#if 3005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please +#error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif -#include <google/protobuf/port_undef.inc> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/arena.h> #include <google/protobuf/arenastring.h> #include <google/protobuf/generated_message_table_driven.h> #include <google/protobuf/generated_message_util.h> -#include <google/protobuf/inlined_string_field.h> -#include <google/protobuf/metadata_lite.h> -#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/metadata.h> #include <google/protobuf/message.h> #include <google/protobuf/repeated_field.h> // IWYU pragma: export #include <google/protobuf/extension_set.h> // IWYU pragma: export #include <google/protobuf/generated_enum_reflection.h> #include <google/protobuf/unknown_field_set.h> // @@protoc_insertion_point(includes) -#include <google/protobuf/port_def.inc> -#define PROTOBUF_INTERNAL_EXPORT_Response_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE +namespace protobuf_Response_2eproto { // Internal implementation detail -- do not use these members. -struct TableStruct_Response_2eproto { - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[11] - PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; - static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[11]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; }; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Response_2eproto; +void AddDescriptors(); +void InitDefaultsResponse_AuthorizationImpl(); +void InitDefaultsResponse_Authorization(); +void InitDefaultsResponse_ValidationImpl(); +void InitDefaultsResponse_Validation(); +void InitDefaultsResponse_Metadata_Row_DtDoubleImpl(); +void InitDefaultsResponse_Metadata_Row_DtDouble(); +void InitDefaultsResponse_Metadata_Row_DtIntegerImpl(); +void InitDefaultsResponse_Metadata_Row_DtInteger(); +void InitDefaultsResponse_Metadata_Row_DtUnsignedLongImpl(); +void InitDefaultsResponse_Metadata_Row_DtUnsignedLong(); +void InitDefaultsResponse_Metadata_Row_DtLongLongImpl(); +void InitDefaultsResponse_Metadata_Row_DtLongLong(); +void InitDefaultsResponse_Metadata_Row_DtStringImpl(); +void InitDefaultsResponse_Metadata_Row_DtString(); +void InitDefaultsResponse_Metadata_Row_DtDateImpl(); +void InitDefaultsResponse_Metadata_Row_DtDate(); +void InitDefaultsResponse_Metadata_RowImpl(); +void InitDefaultsResponse_Metadata_Row(); +void InitDefaultsResponse_MetadataImpl(); +void InitDefaultsResponse_Metadata(); +void InitDefaultsResponseImpl(); +void InitDefaultsResponse(); +inline void InitDefaults() { + InitDefaultsResponse_Authorization(); + InitDefaultsResponse_Validation(); + InitDefaultsResponse_Metadata_Row_DtDouble(); + InitDefaultsResponse_Metadata_Row_DtInteger(); + InitDefaultsResponse_Metadata_Row_DtUnsignedLong(); + InitDefaultsResponse_Metadata_Row_DtLongLong(); + InitDefaultsResponse_Metadata_Row_DtString(); + InitDefaultsResponse_Metadata_Row_DtDate(); + InitDefaultsResponse_Metadata_Row(); + InitDefaultsResponse_Metadata(); + InitDefaultsResponse(); +} +} // namespace protobuf_Response_2eproto namespace MetadataExporter_ns { class Response; class ResponseDefaultTypeInternal; @@ -90,157 +114,121 @@ class Response_Validation; class Response_ValidationDefaultTypeInternal; extern Response_ValidationDefaultTypeInternal _Response_Validation_default_instance_; } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN -template<> ::MetadataExporter_ns::Response* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response>(Arena*); -template<> ::MetadataExporter_ns::Response_Authorization* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Authorization>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtDate>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtDouble>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtInteger>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtLongLong>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtString* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtString>(Arena*); -template<> ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong>(Arena*); -template<> ::MetadataExporter_ns::Response_Validation* Arena::CreateMaybeMessage<::MetadataExporter_ns::Response_Validation>(Arena*); -PROTOBUF_NAMESPACE_CLOSE namespace MetadataExporter_ns { -enum Response_Authorization_State : int { +enum Response_Authorization_State { Response_Authorization_State_ACCEPTED = 0, Response_Authorization_State_REJECTED = 1 }; bool Response_Authorization_State_IsValid(int value); -constexpr Response_Authorization_State Response_Authorization_State_State_MIN = Response_Authorization_State_ACCEPTED; -constexpr Response_Authorization_State Response_Authorization_State_State_MAX = Response_Authorization_State_REJECTED; -constexpr int Response_Authorization_State_State_ARRAYSIZE = Response_Authorization_State_State_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Authorization_State_descriptor(); -template<typename T> -inline const std::string& Response_Authorization_State_Name(T enum_t_value) { - static_assert(::std::is_same<T, Response_Authorization_State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Response_Authorization_State_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Response_Authorization_State_descriptor(), enum_t_value); +const Response_Authorization_State Response_Authorization_State_State_MIN = Response_Authorization_State_ACCEPTED; +const Response_Authorization_State Response_Authorization_State_State_MAX = Response_Authorization_State_REJECTED; +const int Response_Authorization_State_State_ARRAYSIZE = Response_Authorization_State_State_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Response_Authorization_State_descriptor(); +inline const ::std::string& Response_Authorization_State_Name(Response_Authorization_State value) { + return ::google::protobuf::internal::NameOfEnum( + Response_Authorization_State_descriptor(), value); } inline bool Response_Authorization_State_Parse( - const std::string& name, Response_Authorization_State* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Authorization_State>( + const ::std::string& name, Response_Authorization_State* value) { + return ::google::protobuf::internal::ParseNamedEnum<Response_Authorization_State>( Response_Authorization_State_descriptor(), name, value); } -enum Response_Validation_State : int { +enum Response_Validation_State { Response_Validation_State_ACCEPTED = 0, Response_Validation_State_REJECTED = 1 }; bool Response_Validation_State_IsValid(int value); -constexpr Response_Validation_State Response_Validation_State_State_MIN = Response_Validation_State_ACCEPTED; -constexpr Response_Validation_State Response_Validation_State_State_MAX = Response_Validation_State_REJECTED; -constexpr int Response_Validation_State_State_ARRAYSIZE = Response_Validation_State_State_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Validation_State_descriptor(); -template<typename T> -inline const std::string& Response_Validation_State_Name(T enum_t_value) { - static_assert(::std::is_same<T, Response_Validation_State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Response_Validation_State_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Response_Validation_State_descriptor(), enum_t_value); +const Response_Validation_State Response_Validation_State_State_MIN = Response_Validation_State_ACCEPTED; +const Response_Validation_State Response_Validation_State_State_MAX = Response_Validation_State_REJECTED; +const int Response_Validation_State_State_ARRAYSIZE = Response_Validation_State_State_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Response_Validation_State_descriptor(); +inline const ::std::string& Response_Validation_State_Name(Response_Validation_State value) { + return ::google::protobuf::internal::NameOfEnum( + Response_Validation_State_descriptor(), value); } inline bool Response_Validation_State_Parse( - const std::string& name, Response_Validation_State* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Validation_State>( + const ::std::string& name, Response_Validation_State* value) { + return ::google::protobuf::internal::ParseNamedEnum<Response_Validation_State>( Response_Validation_State_descriptor(), name, value); } -enum Response_Metadata_State : int { +enum Response_Metadata_State { Response_Metadata_State_ACCEPTED = 0, Response_Metadata_State_REJECTED = 1 }; bool Response_Metadata_State_IsValid(int value); -constexpr Response_Metadata_State Response_Metadata_State_State_MIN = Response_Metadata_State_ACCEPTED; -constexpr Response_Metadata_State Response_Metadata_State_State_MAX = Response_Metadata_State_REJECTED; -constexpr int Response_Metadata_State_State_ARRAYSIZE = Response_Metadata_State_State_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Metadata_State_descriptor(); -template<typename T> -inline const std::string& Response_Metadata_State_Name(T enum_t_value) { - static_assert(::std::is_same<T, Response_Metadata_State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Response_Metadata_State_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Response_Metadata_State_descriptor(), enum_t_value); +const Response_Metadata_State Response_Metadata_State_State_MIN = Response_Metadata_State_ACCEPTED; +const Response_Metadata_State Response_Metadata_State_State_MAX = Response_Metadata_State_REJECTED; +const int Response_Metadata_State_State_ARRAYSIZE = Response_Metadata_State_State_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Response_Metadata_State_descriptor(); +inline const ::std::string& Response_Metadata_State_Name(Response_Metadata_State value) { + return ::google::protobuf::internal::NameOfEnum( + Response_Metadata_State_descriptor(), value); } inline bool Response_Metadata_State_Parse( - const std::string& name, Response_Metadata_State* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Metadata_State>( + const ::std::string& name, Response_Metadata_State* value) { + return ::google::protobuf::internal::ParseNamedEnum<Response_Metadata_State>( Response_Metadata_State_descriptor(), name, value); } -enum Response_Type : int { +enum Response_Type { Response_Type_AUTHORIZATION = 0, Response_Type_VALIDATION = 1, Response_Type_METADATA = 2 }; bool Response_Type_IsValid(int value); -constexpr Response_Type Response_Type_Type_MIN = Response_Type_AUTHORIZATION; -constexpr Response_Type Response_Type_Type_MAX = Response_Type_METADATA; -constexpr int Response_Type_Type_ARRAYSIZE = Response_Type_Type_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Response_Type_descriptor(); -template<typename T> -inline const std::string& Response_Type_Name(T enum_t_value) { - static_assert(::std::is_same<T, Response_Type>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Response_Type_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Response_Type_descriptor(), enum_t_value); +const Response_Type Response_Type_Type_MIN = Response_Type_AUTHORIZATION; +const Response_Type Response_Type_Type_MAX = Response_Type_METADATA; +const int Response_Type_Type_ARRAYSIZE = Response_Type_Type_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Response_Type_descriptor(); +inline const ::std::string& Response_Type_Name(Response_Type value) { + return ::google::protobuf::internal::NameOfEnum( + Response_Type_descriptor(), value); } inline bool Response_Type_Parse( - const std::string& name, Response_Type* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Type>( + const ::std::string& name, Response_Type* value) { + return ::google::protobuf::internal::ParseNamedEnum<Response_Type>( Response_Type_descriptor(), name, value); } // =================================================================== -class Response_Authorization PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Authorization) */ { +class Response_Authorization : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Authorization) */ { public: - inline Response_Authorization() : Response_Authorization(nullptr) {}; + Response_Authorization(); virtual ~Response_Authorization(); Response_Authorization(const Response_Authorization& from); - Response_Authorization(Response_Authorization&& from) noexcept - : Response_Authorization() { - *this = ::std::move(from); - } inline Response_Authorization& operator=(const Response_Authorization& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Authorization(Response_Authorization&& from) noexcept + : Response_Authorization() { + *this = ::std::move(from); + } + inline Response_Authorization& operator=(Response_Authorization&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Authorization& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -248,212 +236,156 @@ class Response_Authorization PROTOBUF_FINAL : return reinterpret_cast<const Response_Authorization*>( &_Response_Authorization_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 0; + void Swap(Response_Authorization* other); friend void swap(Response_Authorization& a, Response_Authorization& b) { a.Swap(&b); } - inline void Swap(Response_Authorization* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Authorization* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Authorization* New() const final { - return CreateMaybeMessage<Response_Authorization>(nullptr); - } + inline Response_Authorization* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Authorization* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Authorization>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Authorization* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Authorization& from); void MergeFrom(const Response_Authorization& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Authorization* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Authorization"; - } - protected: - explicit Response_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Response_Authorization_State State; - static constexpr State ACCEPTED = + static const State ACCEPTED = Response_Authorization_State_ACCEPTED; - static constexpr State REJECTED = + static const State REJECTED = Response_Authorization_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Authorization_State_IsValid(value); } - static constexpr State State_MIN = + static const State State_MIN = Response_Authorization_State_State_MIN; - static constexpr State State_MAX = + static const State State_MAX = Response_Authorization_State_State_MAX; - static constexpr int State_ARRAYSIZE = + static const int State_ARRAYSIZE = Response_Authorization_State_State_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { return Response_Authorization_State_descriptor(); } - template<typename T> - static inline const std::string& State_Name(T enum_t_value) { - static_assert(::std::is_same<T, State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function State_Name."); - return Response_Authorization_State_Name(enum_t_value); + static inline const ::std::string& State_Name(State value) { + return Response_Authorization_State_Name(value); } - static inline bool State_Parse(const std::string& name, + static inline bool State_Parse(const ::std::string& name, State* value) { return Response_Authorization_State_Parse(name, value); } // accessors ------------------------------------------------------- - enum : int { - kStatusFieldNumber = 2, - kStateFieldNumber = 1, - }; // required string status = 2; bool has_status() const; - private: - bool _internal_has_status() const; - public: void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); + static const int kStatusFieldNumber = 2; + const ::std::string& status() const; + void set_status(const ::std::string& value); + #if LANG_CXX11 + void set_status(::std::string&& value); + #endif void set_status(const char* value); void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_status(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_status( - std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: + ::std::string* mutable_status(); + ::std::string* release_status(); + void set_allocated_status(::std::string* status); // required .MetadataExporter_ns.Response.Authorization.State state = 1; bool has_state() const; - private: - bool _internal_has_state() const; - public: void clear_state(); + static const int kStateFieldNumber = 1; ::MetadataExporter_ns::Response_Authorization_State state() const; void set_state(::MetadataExporter_ns::Response_Authorization_State value); - private: - ::MetadataExporter_ns::Response_Authorization_State _internal_state() const; - void _internal_set_state(::MetadataExporter_ns::Response_Authorization_State value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Authorization) private: - class _Internal; + void set_has_state(); + void clear_has_state(); + void set_has_status(); + void clear_has_status(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr status_; int state_; - friend struct ::TableStruct_Response_2eproto; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_AuthorizationImpl(); }; // ------------------------------------------------------------------- -class Response_Validation PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Validation) */ { +class Response_Validation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Validation) */ { public: - inline Response_Validation() : Response_Validation(nullptr) {}; + Response_Validation(); virtual ~Response_Validation(); Response_Validation(const Response_Validation& from); - Response_Validation(Response_Validation&& from) noexcept - : Response_Validation() { - *this = ::std::move(from); - } inline Response_Validation& operator=(const Response_Validation& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Validation(Response_Validation&& from) noexcept + : Response_Validation() { + *this = ::std::move(from); + } + inline Response_Validation& operator=(Response_Validation&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Validation& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -461,212 +393,156 @@ class Response_Validation PROTOBUF_FINAL : return reinterpret_cast<const Response_Validation*>( &_Response_Validation_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 1; + void Swap(Response_Validation* other); friend void swap(Response_Validation& a, Response_Validation& b) { a.Swap(&b); } - inline void Swap(Response_Validation* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Validation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Validation* New() const final { - return CreateMaybeMessage<Response_Validation>(nullptr); - } + inline Response_Validation* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Validation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Validation>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Validation* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Validation& from); void MergeFrom(const Response_Validation& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Validation* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Validation"; - } - protected: - explicit Response_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Response_Validation_State State; - static constexpr State ACCEPTED = + static const State ACCEPTED = Response_Validation_State_ACCEPTED; - static constexpr State REJECTED = + static const State REJECTED = Response_Validation_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Validation_State_IsValid(value); } - static constexpr State State_MIN = + static const State State_MIN = Response_Validation_State_State_MIN; - static constexpr State State_MAX = + static const State State_MAX = Response_Validation_State_State_MAX; - static constexpr int State_ARRAYSIZE = + static const int State_ARRAYSIZE = Response_Validation_State_State_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { return Response_Validation_State_descriptor(); } - template<typename T> - static inline const std::string& State_Name(T enum_t_value) { - static_assert(::std::is_same<T, State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function State_Name."); - return Response_Validation_State_Name(enum_t_value); + static inline const ::std::string& State_Name(State value) { + return Response_Validation_State_Name(value); } - static inline bool State_Parse(const std::string& name, + static inline bool State_Parse(const ::std::string& name, State* value) { return Response_Validation_State_Parse(name, value); } // accessors ------------------------------------------------------- - enum : int { - kStatusFieldNumber = 2, - kStateFieldNumber = 1, - }; // required string status = 2; bool has_status() const; - private: - bool _internal_has_status() const; - public: void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); + static const int kStatusFieldNumber = 2; + const ::std::string& status() const; + void set_status(const ::std::string& value); + #if LANG_CXX11 + void set_status(::std::string&& value); + #endif void set_status(const char* value); void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_status(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_status( - std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: + ::std::string* mutable_status(); + ::std::string* release_status(); + void set_allocated_status(::std::string* status); // required .MetadataExporter_ns.Response.Validation.State state = 1; bool has_state() const; - private: - bool _internal_has_state() const; - public: void clear_state(); + static const int kStateFieldNumber = 1; ::MetadataExporter_ns::Response_Validation_State state() const; void set_state(::MetadataExporter_ns::Response_Validation_State value); - private: - ::MetadataExporter_ns::Response_Validation_State _internal_state() const; - void _internal_set_state(::MetadataExporter_ns::Response_Validation_State value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Validation) private: - class _Internal; + void set_has_state(); + void clear_has_state(); + void set_has_status(); + void clear_has_status(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr status_; int state_; - friend struct ::TableStruct_Response_2eproto; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_ValidationImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtDouble PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDouble) */ { +class Response_Metadata_Row_DtDouble : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDouble) */ { public: - inline Response_Metadata_Row_DtDouble() : Response_Metadata_Row_DtDouble(nullptr) {}; + Response_Metadata_Row_DtDouble(); virtual ~Response_Metadata_Row_DtDouble(); Response_Metadata_Row_DtDouble(const Response_Metadata_Row_DtDouble& from); - Response_Metadata_Row_DtDouble(Response_Metadata_Row_DtDouble&& from) noexcept - : Response_Metadata_Row_DtDouble() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtDouble& operator=(const Response_Metadata_Row_DtDouble& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtDouble(Response_Metadata_Row_DtDouble&& from) noexcept + : Response_Metadata_Row_DtDouble() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtDouble& operator=(Response_Metadata_Row_DtDouble&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtDouble& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -674,182 +550,130 @@ class Response_Metadata_Row_DtDouble PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtDouble*>( &_Response_Metadata_Row_DtDouble_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 2; + void Swap(Response_Metadata_Row_DtDouble* other); friend void swap(Response_Metadata_Row_DtDouble& a, Response_Metadata_Row_DtDouble& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtDouble* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtDouble* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtDouble* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtDouble>(nullptr); - } + inline Response_Metadata_Row_DtDouble* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtDouble* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtDouble>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtDouble* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtDouble& from); void MergeFrom(const Response_Metadata_Row_DtDouble& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtDouble* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtDouble"; - } - protected: - explicit Response_Metadata_Row_DtDouble(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required double value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); + static const int kValueFieldNumber = 2; double value() const; void set_value(double value); - private: - double _internal_value() const; - void _internal_set_value(double value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtDouble) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; double value_; - friend struct ::TableStruct_Response_2eproto; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDoubleImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtInteger PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtInteger) */ { +class Response_Metadata_Row_DtInteger : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtInteger) */ { public: - inline Response_Metadata_Row_DtInteger() : Response_Metadata_Row_DtInteger(nullptr) {}; + Response_Metadata_Row_DtInteger(); virtual ~Response_Metadata_Row_DtInteger(); Response_Metadata_Row_DtInteger(const Response_Metadata_Row_DtInteger& from); - Response_Metadata_Row_DtInteger(Response_Metadata_Row_DtInteger&& from) noexcept - : Response_Metadata_Row_DtInteger() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtInteger& operator=(const Response_Metadata_Row_DtInteger& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtInteger(Response_Metadata_Row_DtInteger&& from) noexcept + : Response_Metadata_Row_DtInteger() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtInteger& operator=(Response_Metadata_Row_DtInteger&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtInteger& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -857,182 +681,130 @@ class Response_Metadata_Row_DtInteger PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtInteger*>( &_Response_Metadata_Row_DtInteger_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 3; + void Swap(Response_Metadata_Row_DtInteger* other); friend void swap(Response_Metadata_Row_DtInteger& a, Response_Metadata_Row_DtInteger& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtInteger* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtInteger* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtInteger* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtInteger>(nullptr); - } + inline Response_Metadata_Row_DtInteger* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtInteger* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtInteger>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtInteger* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtInteger& from); void MergeFrom(const Response_Metadata_Row_DtInteger& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtInteger* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtInteger"; - } - protected: - explicit Response_Metadata_Row_DtInteger(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required int32 value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); - ::PROTOBUF_NAMESPACE_ID::int32 value() const; - void set_value(::PROTOBUF_NAMESPACE_ID::int32 value); - private: - ::PROTOBUF_NAMESPACE_ID::int32 _internal_value() const; - void _internal_set_value(::PROTOBUF_NAMESPACE_ID::int32 value); - public: + static const int kValueFieldNumber = 2; + ::google::protobuf::int32 value() const; + void set_value(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtInteger) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::int32 value_; - friend struct ::TableStruct_Response_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::int32 value_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtIntegerImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtUnsignedLong PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) */ { +class Response_Metadata_Row_DtUnsignedLong : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) */ { public: - inline Response_Metadata_Row_DtUnsignedLong() : Response_Metadata_Row_DtUnsignedLong(nullptr) {}; + Response_Metadata_Row_DtUnsignedLong(); virtual ~Response_Metadata_Row_DtUnsignedLong(); Response_Metadata_Row_DtUnsignedLong(const Response_Metadata_Row_DtUnsignedLong& from); - Response_Metadata_Row_DtUnsignedLong(Response_Metadata_Row_DtUnsignedLong&& from) noexcept - : Response_Metadata_Row_DtUnsignedLong() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtUnsignedLong& operator=(const Response_Metadata_Row_DtUnsignedLong& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtUnsignedLong(Response_Metadata_Row_DtUnsignedLong&& from) noexcept + : Response_Metadata_Row_DtUnsignedLong() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtUnsignedLong& operator=(Response_Metadata_Row_DtUnsignedLong&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtUnsignedLong& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -1040,182 +812,130 @@ class Response_Metadata_Row_DtUnsignedLong PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtUnsignedLong*>( &_Response_Metadata_Row_DtUnsignedLong_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 4; + void Swap(Response_Metadata_Row_DtUnsignedLong* other); friend void swap(Response_Metadata_Row_DtUnsignedLong& a, Response_Metadata_Row_DtUnsignedLong& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtUnsignedLong* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtUnsignedLong* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtUnsignedLong* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtUnsignedLong>(nullptr); - } + inline Response_Metadata_Row_DtUnsignedLong* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtUnsignedLong* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtUnsignedLong>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtUnsignedLong* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtUnsignedLong& from); void MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtUnsignedLong* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong"; - } - protected: - explicit Response_Metadata_Row_DtUnsignedLong(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required uint64 value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); - ::PROTOBUF_NAMESPACE_ID::uint64 value() const; - void set_value(::PROTOBUF_NAMESPACE_ID::uint64 value); - private: - ::PROTOBUF_NAMESPACE_ID::uint64 _internal_value() const; - void _internal_set_value(::PROTOBUF_NAMESPACE_ID::uint64 value); - public: + static const int kValueFieldNumber = 2; + ::google::protobuf::uint64 value() const; + void set_value(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::uint64 value_; - friend struct ::TableStruct_Response_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::uint64 value_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtUnsignedLongImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtLongLong PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) */ { +class Response_Metadata_Row_DtLongLong : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) */ { public: - inline Response_Metadata_Row_DtLongLong() : Response_Metadata_Row_DtLongLong(nullptr) {}; + Response_Metadata_Row_DtLongLong(); virtual ~Response_Metadata_Row_DtLongLong(); Response_Metadata_Row_DtLongLong(const Response_Metadata_Row_DtLongLong& from); - Response_Metadata_Row_DtLongLong(Response_Metadata_Row_DtLongLong&& from) noexcept - : Response_Metadata_Row_DtLongLong() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtLongLong& operator=(const Response_Metadata_Row_DtLongLong& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtLongLong(Response_Metadata_Row_DtLongLong&& from) noexcept + : Response_Metadata_Row_DtLongLong() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtLongLong& operator=(Response_Metadata_Row_DtLongLong&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtLongLong& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -1223,182 +943,130 @@ class Response_Metadata_Row_DtLongLong PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtLongLong*>( &_Response_Metadata_Row_DtLongLong_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 5; + void Swap(Response_Metadata_Row_DtLongLong* other); friend void swap(Response_Metadata_Row_DtLongLong& a, Response_Metadata_Row_DtLongLong& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtLongLong* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtLongLong* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtLongLong* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtLongLong>(nullptr); - } + inline Response_Metadata_Row_DtLongLong* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtLongLong* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtLongLong>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtLongLong* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtLongLong& from); void MergeFrom(const Response_Metadata_Row_DtLongLong& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtLongLong* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtLongLong"; - } - protected: - explicit Response_Metadata_Row_DtLongLong(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required int64 value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); - ::PROTOBUF_NAMESPACE_ID::int64 value() const; - void set_value(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_value() const; - void _internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value); - public: + static const int kValueFieldNumber = 2; + ::google::protobuf::int64 value() const; + void set_value(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::int64 value_; - friend struct ::TableStruct_Response_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::int64 value_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtLongLongImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtString PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtString) */ { +class Response_Metadata_Row_DtString : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtString) */ { public: - inline Response_Metadata_Row_DtString() : Response_Metadata_Row_DtString(nullptr) {}; + Response_Metadata_Row_DtString(); virtual ~Response_Metadata_Row_DtString(); Response_Metadata_Row_DtString(const Response_Metadata_Row_DtString& from); - Response_Metadata_Row_DtString(Response_Metadata_Row_DtString&& from) noexcept - : Response_Metadata_Row_DtString() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtString& operator=(const Response_Metadata_Row_DtString& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtString(Response_Metadata_Row_DtString&& from) noexcept + : Response_Metadata_Row_DtString() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtString& operator=(Response_Metadata_Row_DtString&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtString& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -1406,198 +1074,138 @@ class Response_Metadata_Row_DtString PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtString*>( &_Response_Metadata_Row_DtString_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 6; + void Swap(Response_Metadata_Row_DtString* other); friend void swap(Response_Metadata_Row_DtString& a, Response_Metadata_Row_DtString& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtString* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtString* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtString* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtString>(nullptr); - } + inline Response_Metadata_Row_DtString* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtString* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtString>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtString* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtString& from); void MergeFrom(const Response_Metadata_Row_DtString& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtString* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtString"; - } - protected: - explicit Response_Metadata_Row_DtString(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required string value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); - const std::string& value() const; - void set_value(const std::string& value); - void set_value(std::string&& value); + static const int kValueFieldNumber = 2; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif void set_value(const char* value); void set_value(const char* value, size_t size); - std::string* mutable_value(); - std::string* release_value(); - void set_allocated_value(std::string* value); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_value(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_value( - std::string* value); - private: - const std::string& _internal_value() const; - void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtString) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - friend struct ::TableStruct_Response_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::internal::ArenaStringPtr value_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtStringImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtDate PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDate) */ { +class Response_Metadata_Row_DtDate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDate) */ { public: - inline Response_Metadata_Row_DtDate() : Response_Metadata_Row_DtDate(nullptr) {}; + Response_Metadata_Row_DtDate(); virtual ~Response_Metadata_Row_DtDate(); Response_Metadata_Row_DtDate(const Response_Metadata_Row_DtDate& from); - Response_Metadata_Row_DtDate(Response_Metadata_Row_DtDate&& from) noexcept - : Response_Metadata_Row_DtDate() { - *this = ::std::move(from); - } inline Response_Metadata_Row_DtDate& operator=(const Response_Metadata_Row_DtDate& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row_DtDate(Response_Metadata_Row_DtDate&& from) noexcept + : Response_Metadata_Row_DtDate() { + *this = ::std::move(from); + } + inline Response_Metadata_Row_DtDate& operator=(Response_Metadata_Row_DtDate&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row_DtDate& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -1605,182 +1213,130 @@ class Response_Metadata_Row_DtDate PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row_DtDate*>( &_Response_Metadata_Row_DtDate_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 7; + void Swap(Response_Metadata_Row_DtDate* other); friend void swap(Response_Metadata_Row_DtDate& a, Response_Metadata_Row_DtDate& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row_DtDate* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row_DtDate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row_DtDate* New() const final { - return CreateMaybeMessage<Response_Metadata_Row_DtDate>(nullptr); - } + inline Response_Metadata_Row_DtDate* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row_DtDate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row_DtDate>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row_DtDate* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row_DtDate& from); void MergeFrom(const Response_Metadata_Row_DtDate& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row_DtDate* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row.DtDate"; - } - protected: - explicit Response_Metadata_Row_DtDate(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; // required string key = 1; bool has_key() const; - private: - bool _internal_has_key() const; - public: void clear_key(); - const std::string& key() const; - void set_key(const std::string& value); - void set_key(std::string&& value); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif void set_key(const char* value); void set_key(const char* value, size_t size); - std::string* mutable_key(); - std::string* release_key(); - void set_allocated_key(std::string* key); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_key(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_key( - std::string* key); - private: - const std::string& _internal_key() const; - void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); // required sfixed64 value = 2; bool has_value() const; - private: - bool _internal_has_value() const; - public: void clear_value(); - ::PROTOBUF_NAMESPACE_ID::int64 value() const; - void set_value(::PROTOBUF_NAMESPACE_ID::int64 value); - private: - ::PROTOBUF_NAMESPACE_ID::int64 _internal_value() const; - void _internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value); - public: + static const int kValueFieldNumber = 2; + ::google::protobuf::int64 value() const; + void set_value(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtDate) private: - class _Internal; + void set_has_key(); + void clear_has_key(); + void set_has_value(); + void clear_has_value(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::int64 value_; - friend struct ::TableStruct_Response_2eproto; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::int64 value_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_Row_DtDateImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata_Row PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row) */ { +class Response_Metadata_Row : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row) */ { public: - inline Response_Metadata_Row() : Response_Metadata_Row(nullptr) {}; + Response_Metadata_Row(); virtual ~Response_Metadata_Row(); Response_Metadata_Row(const Response_Metadata_Row& from); - Response_Metadata_Row(Response_Metadata_Row&& from) noexcept - : Response_Metadata_Row() { - *this = ::std::move(from); - } inline Response_Metadata_Row& operator=(const Response_Metadata_Row& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata_Row(Response_Metadata_Row&& from) noexcept + : Response_Metadata_Row() { + *this = ::std::move(from); + } + inline Response_Metadata_Row& operator=(Response_Metadata_Row&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata_Row& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -1788,73 +1344,50 @@ class Response_Metadata_Row PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata_Row*>( &_Response_Metadata_Row_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 8; + void Swap(Response_Metadata_Row* other); friend void swap(Response_Metadata_Row& a, Response_Metadata_Row& b) { a.Swap(&b); } - inline void Swap(Response_Metadata_Row* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata_Row* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata_Row* New() const final { - return CreateMaybeMessage<Response_Metadata_Row>(nullptr); - } + inline Response_Metadata_Row* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata_Row>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata_Row* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata_Row& from); void MergeFrom(const Response_Metadata_Row& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata_Row* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata.Row"; - } - protected: - explicit Response_Metadata_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Response_Metadata_Row_DtDouble DtDouble; @@ -1866,181 +1399,129 @@ class Response_Metadata_Row PROTOBUF_FINAL : // accessors ------------------------------------------------------- - enum : int { - kDoubleListFieldNumber = 1, - kIntegerListFieldNumber = 2, - kUnsingedLongListFieldNumber = 3, - kLongLongListFieldNumber = 4, - kStringsListFieldNumber = 5, - kDateListFieldNumber = 6, - }; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; int double_list_size() const; - private: - int _internal_double_list_size() const; - public: void clear_double_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* mutable_double_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* - mutable_double_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& _internal_double_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* _internal_add_double_list(); - public: + static const int kDoubleListFieldNumber = 1; const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& double_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* mutable_double_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* add_double_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* + mutable_double_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& double_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; int integer_list_size() const; - private: - int _internal_integer_list_size() const; - public: void clear_integer_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* mutable_integer_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* - mutable_integer_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& _internal_integer_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* _internal_add_integer_list(); - public: + static const int kIntegerListFieldNumber = 2; const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& integer_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* mutable_integer_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* add_integer_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* + mutable_integer_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& integer_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; int unsinged_long_list_size() const; - private: - int _internal_unsinged_long_list_size() const; - public: void clear_unsinged_long_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* mutable_unsinged_long_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* - mutable_unsinged_long_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& _internal_unsinged_long_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* _internal_add_unsinged_long_list(); - public: + static const int kUnsingedLongListFieldNumber = 3; const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& unsinged_long_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* mutable_unsinged_long_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* add_unsinged_long_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* + mutable_unsinged_long_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& unsinged_long_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; int long_long_list_size() const; - private: - int _internal_long_long_list_size() const; - public: void clear_long_long_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* mutable_long_long_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* - mutable_long_long_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& _internal_long_long_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* _internal_add_long_long_list(); - public: + static const int kLongLongListFieldNumber = 4; const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& long_long_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* mutable_long_long_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* add_long_long_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* + mutable_long_long_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& long_long_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; int strings_list_size() const; - private: - int _internal_strings_list_size() const; - public: void clear_strings_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtString* mutable_strings_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* - mutable_strings_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtString& _internal_strings_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtString* _internal_add_strings_list(); - public: + static const int kStringsListFieldNumber = 5; const ::MetadataExporter_ns::Response_Metadata_Row_DtString& strings_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtString* mutable_strings_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtString* add_strings_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* + mutable_strings_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& strings_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; int date_list_size() const; - private: - int _internal_date_list_size() const; - public: void clear_date_list(); - ::MetadataExporter_ns::Response_Metadata_Row_DtDate* mutable_date_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* - mutable_date_list(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& _internal_date_list(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row_DtDate* _internal_add_date_list(); - public: + static const int kDateListFieldNumber = 6; const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& date_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtDate* mutable_date_list(int index); ::MetadataExporter_ns::Response_Metadata_Row_DtDate* add_date_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* + mutable_date_list(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& date_list() const; // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row) private: - class _Internal; - - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble > double_list_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger > integer_list_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong > unsinged_long_list_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong > long_long_list_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString > strings_list_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate > date_list_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_Response_2eproto; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::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_; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_Metadata_RowImpl(); }; // ------------------------------------------------------------------- -class Response_Metadata PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata) */ { +class Response_Metadata : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata) */ { public: - inline Response_Metadata() : Response_Metadata(nullptr) {}; + Response_Metadata(); virtual ~Response_Metadata(); Response_Metadata(const Response_Metadata& from); - Response_Metadata(Response_Metadata&& from) noexcept - : Response_Metadata() { - *this = ::std::move(from); - } inline Response_Metadata& operator=(const Response_Metadata& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response_Metadata(Response_Metadata&& from) noexcept + : Response_Metadata() { + *this = ::std::move(from); + } + inline Response_Metadata& operator=(Response_Metadata&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response_Metadata& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -2048,234 +1529,171 @@ class Response_Metadata PROTOBUF_FINAL : return reinterpret_cast<const Response_Metadata*>( &_Response_Metadata_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 9; + void Swap(Response_Metadata* other); friend void swap(Response_Metadata& a, Response_Metadata& b) { a.Swap(&b); } - inline void Swap(Response_Metadata* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response_Metadata* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response_Metadata* New() const final { - return CreateMaybeMessage<Response_Metadata>(nullptr); - } + inline Response_Metadata* New() const PROTOBUF_FINAL { return New(NULL); } - Response_Metadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response_Metadata>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response_Metadata* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response_Metadata& from); void MergeFrom(const Response_Metadata& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response_Metadata* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response.Metadata"; - } - protected: - explicit Response_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Response_Metadata_Row Row; typedef Response_Metadata_State State; - static constexpr State ACCEPTED = + static const State ACCEPTED = Response_Metadata_State_ACCEPTED; - static constexpr State REJECTED = + static const State REJECTED = Response_Metadata_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Metadata_State_IsValid(value); } - static constexpr State State_MIN = + static const State State_MIN = Response_Metadata_State_State_MIN; - static constexpr State State_MAX = + static const State State_MAX = Response_Metadata_State_State_MAX; - static constexpr int State_ARRAYSIZE = + static const int State_ARRAYSIZE = Response_Metadata_State_State_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { return Response_Metadata_State_descriptor(); } - template<typename T> - static inline const std::string& State_Name(T enum_t_value) { - static_assert(::std::is_same<T, State>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function State_Name."); - return Response_Metadata_State_Name(enum_t_value); + static inline const ::std::string& State_Name(State value) { + return Response_Metadata_State_Name(value); } - static inline bool State_Parse(const std::string& name, + static inline bool State_Parse(const ::std::string& name, State* value) { return Response_Metadata_State_Parse(name, value); } // accessors ------------------------------------------------------- - enum : int { - kRowsFieldNumber = 3, - kStatusFieldNumber = 2, - kStateFieldNumber = 1, - }; // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; int rows_size() const; - private: - int _internal_rows_size() const; - public: void clear_rows(); - ::MetadataExporter_ns::Response_Metadata_Row* mutable_rows(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* - mutable_rows(); - private: - const ::MetadataExporter_ns::Response_Metadata_Row& _internal_rows(int index) const; - ::MetadataExporter_ns::Response_Metadata_Row* _internal_add_rows(); - public: + static const int kRowsFieldNumber = 3; const ::MetadataExporter_ns::Response_Metadata_Row& rows(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row* mutable_rows(int index); ::MetadataExporter_ns::Response_Metadata_Row* add_rows(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* + mutable_rows(); + const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& rows() const; // required string status = 2; bool has_status() const; - private: - bool _internal_has_status() const; - public: void clear_status(); - const std::string& status() const; - void set_status(const std::string& value); - void set_status(std::string&& value); + static const int kStatusFieldNumber = 2; + const ::std::string& status() const; + void set_status(const ::std::string& value); + #if LANG_CXX11 + void set_status(::std::string&& value); + #endif void set_status(const char* value); void set_status(const char* value, size_t size); - std::string* mutable_status(); - std::string* release_status(); - void set_allocated_status(std::string* status); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_status(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_status( - std::string* status); - private: - const std::string& _internal_status() const; - void _internal_set_status(const std::string& value); - std::string* _internal_mutable_status(); - public: + ::std::string* mutable_status(); + ::std::string* release_status(); + void set_allocated_status(::std::string* status); // required .MetadataExporter_ns.Response.Metadata.State state = 1; bool has_state() const; - private: - bool _internal_has_state() const; - public: void clear_state(); + static const int kStateFieldNumber = 1; ::MetadataExporter_ns::Response_Metadata_State state() const; void set_state(::MetadataExporter_ns::Response_Metadata_State value); - private: - ::MetadataExporter_ns::Response_Metadata_State _internal_state() const; - void _internal_set_state(::MetadataExporter_ns::Response_Metadata_State value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata) private: - class _Internal; + void set_has_state(); + void clear_has_state(); + void set_has_status(); + void clear_has_status(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row > rows_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row > rows_; + ::google::protobuf::internal::ArenaStringPtr status_; int state_; - friend struct ::TableStruct_Response_2eproto; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponse_MetadataImpl(); }; // ------------------------------------------------------------------- -class Response PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response) */ { +class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response) */ { public: - inline Response() : Response(nullptr) {}; + Response(); virtual ~Response(); Response(const Response& from); - Response(Response&& from) noexcept - : Response() { - *this = ::std::move(from); - } inline Response& operator=(const Response& from) { CopyFrom(from); return *this; } + #if LANG_CXX11 + Response(Response&& from) noexcept + : Response() { + *this = ::std::move(from); + } + inline Response& operator=(Response&& from) noexcept { - if (GetArena() == from.GetArena()) { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + #endif + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields(); } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return GetMetadataStatic().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return GetMetadataStatic().reflection; - } + static const ::google::protobuf::Descriptor* descriptor(); static const Response& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY @@ -2283,73 +1701,50 @@ class Response PROTOBUF_FINAL : return reinterpret_cast<const Response*>( &_Response_default_instance_); } - static constexpr int kIndexInFileMessages = + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = 10; + void Swap(Response* other); friend void swap(Response& a, Response& b) { a.Swap(&b); } - inline void Swap(Response* other) { - if (other == this) return; - if (GetArena() == other->GetArena()) { - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } // implements Message ---------------------------------------------- - inline Response* New() const final { - return CreateMaybeMessage<Response>(nullptr); - } + inline Response* New() const PROTOBUF_FINAL { return New(NULL); } - Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { - return CreateMaybeMessage<Response>(arena); - } - void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; - void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + Response* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; + void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; + void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; void CopyFrom(const Response& from); void MergeFrom(const Response& from); - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _cached_size_.Get(); } - - private: - inline void SharedCtor(); - inline void SharedDtor(); - void SetCachedSize(int size) const final; + void Clear() PROTOBUF_FINAL; + bool IsInitialized() const PROTOBUF_FINAL; + + size_t ByteSizeLong() const PROTOBUF_FINAL; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; + int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const PROTOBUF_FINAL; void InternalSwap(Response* other); - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MetadataExporter_ns.Response"; - } - protected: - explicit Response(::PROTOBUF_NAMESPACE_ID::Arena* arena); - private: - static void ArenaDtor(void* object); - inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); - public: - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: - static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Response_2eproto); - return ::descriptor_table_Response_2eproto.file_level_metadata[kIndexInFileMessages]; + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; } - public: + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + // nested types ---------------------------------------------------- typedef Response_Authorization Authorization; @@ -2357,126 +1752,89 @@ class Response PROTOBUF_FINAL : typedef Response_Metadata Metadata; typedef Response_Type Type; - static constexpr Type AUTHORIZATION = + static const Type AUTHORIZATION = Response_Type_AUTHORIZATION; - static constexpr Type VALIDATION = + static const Type VALIDATION = Response_Type_VALIDATION; - static constexpr Type METADATA = + static const Type METADATA = Response_Type_METADATA; static inline bool Type_IsValid(int value) { return Response_Type_IsValid(value); } - static constexpr Type Type_MIN = + static const Type Type_MIN = Response_Type_Type_MIN; - static constexpr Type Type_MAX = + static const Type Type_MAX = Response_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = + static const int Type_ARRAYSIZE = Response_Type_Type_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* + static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { return Response_Type_descriptor(); } - template<typename T> - static inline const std::string& Type_Name(T enum_t_value) { - static_assert(::std::is_same<T, Type>::value || - ::std::is_integral<T>::value, - "Incorrect type passed to function Type_Name."); - return Response_Type_Name(enum_t_value); + static inline const ::std::string& Type_Name(Type value) { + return Response_Type_Name(value); } - static inline bool Type_Parse(const std::string& name, + static inline bool Type_Parse(const ::std::string& name, Type* value) { return Response_Type_Parse(name, value); } // accessors ------------------------------------------------------- - enum : int { - kAuthorizationFieldNumber = 2, - kValidationFieldNumber = 3, - kMetadataFieldNumber = 4, - kTypeFieldNumber = 1, - }; // optional .MetadataExporter_ns.Response.Authorization authorization = 2; bool has_authorization() const; - private: - bool _internal_has_authorization() const; - public: void clear_authorization(); + static const int kAuthorizationFieldNumber = 2; const ::MetadataExporter_ns::Response_Authorization& authorization() const; ::MetadataExporter_ns::Response_Authorization* release_authorization(); ::MetadataExporter_ns::Response_Authorization* mutable_authorization(); void set_allocated_authorization(::MetadataExporter_ns::Response_Authorization* authorization); - private: - const ::MetadataExporter_ns::Response_Authorization& _internal_authorization() const; - ::MetadataExporter_ns::Response_Authorization* _internal_mutable_authorization(); - public: - void unsafe_arena_set_allocated_authorization( - ::MetadataExporter_ns::Response_Authorization* authorization); - ::MetadataExporter_ns::Response_Authorization* unsafe_arena_release_authorization(); // optional .MetadataExporter_ns.Response.Validation validation = 3; bool has_validation() const; - private: - bool _internal_has_validation() const; - public: void clear_validation(); + static const int kValidationFieldNumber = 3; const ::MetadataExporter_ns::Response_Validation& validation() const; ::MetadataExporter_ns::Response_Validation* release_validation(); ::MetadataExporter_ns::Response_Validation* mutable_validation(); void set_allocated_validation(::MetadataExporter_ns::Response_Validation* validation); - private: - const ::MetadataExporter_ns::Response_Validation& _internal_validation() const; - ::MetadataExporter_ns::Response_Validation* _internal_mutable_validation(); - public: - void unsafe_arena_set_allocated_validation( - ::MetadataExporter_ns::Response_Validation* validation); - ::MetadataExporter_ns::Response_Validation* unsafe_arena_release_validation(); // optional .MetadataExporter_ns.Response.Metadata metadata = 4; bool has_metadata() const; - private: - bool _internal_has_metadata() const; - public: void clear_metadata(); + static const int kMetadataFieldNumber = 4; const ::MetadataExporter_ns::Response_Metadata& metadata() const; ::MetadataExporter_ns::Response_Metadata* release_metadata(); ::MetadataExporter_ns::Response_Metadata* mutable_metadata(); void set_allocated_metadata(::MetadataExporter_ns::Response_Metadata* metadata); - private: - const ::MetadataExporter_ns::Response_Metadata& _internal_metadata() const; - ::MetadataExporter_ns::Response_Metadata* _internal_mutable_metadata(); - public: - void unsafe_arena_set_allocated_metadata( - ::MetadataExporter_ns::Response_Metadata* metadata); - ::MetadataExporter_ns::Response_Metadata* unsafe_arena_release_metadata(); // required .MetadataExporter_ns.Response.Type type = 1; bool has_type() const; - private: - bool _internal_has_type() const; - public: void clear_type(); + static const int kTypeFieldNumber = 1; ::MetadataExporter_ns::Response_Type type() const; void set_type(::MetadataExporter_ns::Response_Type value); - private: - ::MetadataExporter_ns::Response_Type _internal_type() const; - void _internal_set_type(::MetadataExporter_ns::Response_Type value); - public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response) private: - class _Internal; - - template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + void set_has_type(); + void clear_has_type(); + void set_has_authorization(); + void clear_has_authorization(); + void set_has_validation(); + void clear_has_validation(); + void set_has_metadata(); + void clear_has_metadata(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::HasBits<1> _has_bits_; + mutable int _cached_size_; ::MetadataExporter_ns::Response_Authorization* authorization_; ::MetadataExporter_ns::Response_Validation* validation_; ::MetadataExporter_ns::Response_Metadata* metadata_; int type_; - friend struct ::TableStruct_Response_2eproto; + friend struct ::protobuf_Response_2eproto::TableStruct; + friend void ::protobuf_Response_2eproto::InitDefaultsResponseImpl(); }; // =================================================================== @@ -2490,375 +1848,273 @@ class Response PROTOBUF_FINAL : // Response_Authorization // required .MetadataExporter_ns.Response.Authorization.State state = 1; -inline bool Response_Authorization::_internal_has_state() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Authorization::has_state() const { - return _internal_has_state(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Authorization::clear_state() { - state_ = 0; +inline void Response_Authorization::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Authorization::clear_has_state() { _has_bits_[0] &= ~0x00000002u; } -inline ::MetadataExporter_ns::Response_Authorization_State Response_Authorization::_internal_state() const { - return static_cast< ::MetadataExporter_ns::Response_Authorization_State >(state_); +inline void Response_Authorization::clear_state() { + state_ = 0; + clear_has_state(); } inline ::MetadataExporter_ns::Response_Authorization_State Response_Authorization::state() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Authorization.state) - return _internal_state(); + return static_cast< ::MetadataExporter_ns::Response_Authorization_State >(state_); } -inline void Response_Authorization::_internal_set_state(::MetadataExporter_ns::Response_Authorization_State value) { +inline void Response_Authorization::set_state(::MetadataExporter_ns::Response_Authorization_State value) { assert(::MetadataExporter_ns::Response_Authorization_State_IsValid(value)); - _has_bits_[0] |= 0x00000002u; + set_has_state(); state_ = value; -} -inline void Response_Authorization::set_state(::MetadataExporter_ns::Response_Authorization_State value) { - _internal_set_state(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Authorization.state) } // required string status = 2; -inline bool Response_Authorization::_internal_has_status() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Authorization::has_status() const { - return _internal_has_status(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Authorization::clear_status() { - status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Authorization::set_has_status() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Authorization::clear_has_status() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Authorization::status() const { +inline void Response_Authorization::clear_status() { + status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_status(); +} +inline const ::std::string& Response_Authorization::status() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Authorization.status) - return _internal_status(); + return status_.GetNoArena(); } -inline void Response_Authorization::set_status(const std::string& value) { - _internal_set_status(value); +inline void Response_Authorization::set_status(const ::std::string& value) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Authorization.status) } -inline std::string* Response_Authorization::mutable_status() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Authorization.status) - return _internal_mutable_status(); -} -inline const std::string& Response_Authorization::_internal_status() const { - return status_.Get(); -} -inline void Response_Authorization::_internal_set_status(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Authorization::set_status(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Authorization::set_status(::std::string&& value) { + set_has_status(); + status_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Authorization.status) } +#endif inline void Response_Authorization::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Authorization.status) } -inline void Response_Authorization::set_status(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Authorization::set_status(const char* value, size_t size) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Authorization.status) } -inline std::string* Response_Authorization::_internal_mutable_status() { - _has_bits_[0] |= 0x00000001u; - return status_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Authorization::mutable_status() { + set_has_status(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Authorization.status) + return status_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Authorization::release_status() { +inline ::std::string* Response_Authorization::release_status() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Authorization.status) - if (!_internal_has_status()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return status_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_status(); + return status_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Authorization::set_allocated_status(std::string* status) { - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Authorization::set_allocated_status(::std::string* status) { + if (status != NULL) { + set_has_status(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_status(); } - status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, - GetArena()); + status_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), status); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Authorization.status) } -inline std::string* Response_Authorization::unsafe_arena_release_status() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Authorization.status) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return status_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Authorization::unsafe_arena_set_allocated_status( - std::string* status) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - status_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - status, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Authorization.status) -} // ------------------------------------------------------------------- // Response_Validation // required .MetadataExporter_ns.Response.Validation.State state = 1; -inline bool Response_Validation::_internal_has_state() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Validation::has_state() const { - return _internal_has_state(); + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void Response_Validation::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Validation::clear_has_state() { + _has_bits_[0] &= ~0x00000002u; } inline void Response_Validation::clear_state() { state_ = 0; - _has_bits_[0] &= ~0x00000002u; -} -inline ::MetadataExporter_ns::Response_Validation_State Response_Validation::_internal_state() const { - return static_cast< ::MetadataExporter_ns::Response_Validation_State >(state_); + clear_has_state(); } inline ::MetadataExporter_ns::Response_Validation_State Response_Validation::state() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Validation.state) - return _internal_state(); + return static_cast< ::MetadataExporter_ns::Response_Validation_State >(state_); } -inline void Response_Validation::_internal_set_state(::MetadataExporter_ns::Response_Validation_State value) { +inline void Response_Validation::set_state(::MetadataExporter_ns::Response_Validation_State value) { assert(::MetadataExporter_ns::Response_Validation_State_IsValid(value)); - _has_bits_[0] |= 0x00000002u; + set_has_state(); state_ = value; -} -inline void Response_Validation::set_state(::MetadataExporter_ns::Response_Validation_State value) { - _internal_set_state(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Validation.state) } // required string status = 2; -inline bool Response_Validation::_internal_has_status() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Validation::has_status() const { - return _internal_has_status(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Validation::clear_status() { - status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Validation::set_has_status() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Validation::clear_has_status() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Validation::status() const { +inline void Response_Validation::clear_status() { + status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_status(); +} +inline const ::std::string& Response_Validation::status() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Validation.status) - return _internal_status(); + return status_.GetNoArena(); } -inline void Response_Validation::set_status(const std::string& value) { - _internal_set_status(value); +inline void Response_Validation::set_status(const ::std::string& value) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Validation.status) } -inline std::string* Response_Validation::mutable_status() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Validation.status) - return _internal_mutable_status(); -} -inline const std::string& Response_Validation::_internal_status() const { - return status_.Get(); -} -inline void Response_Validation::_internal_set_status(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Validation::set_status(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Validation::set_status(::std::string&& value) { + set_has_status(); + status_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Validation.status) } +#endif inline void Response_Validation::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Validation.status) } -inline void Response_Validation::set_status(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Validation::set_status(const char* value, size_t size) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Validation.status) } -inline std::string* Response_Validation::_internal_mutable_status() { - _has_bits_[0] |= 0x00000001u; - return status_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Validation::mutable_status() { + set_has_status(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Validation.status) + return status_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Validation::release_status() { +inline ::std::string* Response_Validation::release_status() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Validation.status) - if (!_internal_has_status()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return status_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_status(); + return status_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Validation::set_allocated_status(std::string* status) { - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Validation::set_allocated_status(::std::string* status) { + if (status != NULL) { + set_has_status(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_status(); } - status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, - GetArena()); + status_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), status); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Validation.status) } -inline std::string* Response_Validation::unsafe_arena_release_status() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Validation.status) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return status_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Validation::unsafe_arena_set_allocated_status( - std::string* status) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - status_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - status, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Validation.status) -} // ------------------------------------------------------------------- // Response_Metadata_Row_DtDouble // required string key = 1; -inline bool Response_Metadata_Row_DtDouble::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtDouble::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtDouble::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtDouble::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtDouble::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtDouble::key() const { +inline void Response_Metadata_Row_DtDouble::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtDouble::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtDouble::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtDouble::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline std::string* Response_Metadata_Row_DtDouble::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtDouble::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtDouble::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtDouble::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtDouble::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } +#endif inline void Response_Metadata_Row_DtDouble::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline void Response_Metadata_Row_DtDouble::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtDouble::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline std::string* Response_Metadata_Row_DtDouble::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtDouble::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtDouble::release_key() { +inline ::std::string* Response_Metadata_Row_DtDouble::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtDouble::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtDouble::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline std::string* Response_Metadata_Row_DtDouble::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtDouble::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) -} // required double value = 2; -inline bool Response_Metadata_Row_DtDouble::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtDouble::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtDouble::clear_value() { - value_ = 0; +inline void Response_Metadata_Row_DtDouble::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtDouble::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline double Response_Metadata_Row_DtDouble::_internal_value() const { - return value_; +inline void Response_Metadata_Row_DtDouble::clear_value() { + value_ = 0; + clear_has_value(); } inline double Response_Metadata_Row_DtDouble::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDouble.value) - return _internal_value(); -} -inline void Response_Metadata_Row_DtDouble::_internal_set_value(double value) { - _has_bits_[0] |= 0x00000002u; - value_ = value; + return value_; } inline void Response_Metadata_Row_DtDouble::set_value(double value) { - _internal_set_value(value); + set_has_value(); + value_ = value; // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDouble.value) } @@ -2867,123 +2123,89 @@ inline void Response_Metadata_Row_DtDouble::set_value(double value) { // Response_Metadata_Row_DtInteger // required string key = 1; -inline bool Response_Metadata_Row_DtInteger::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtInteger::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtInteger::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtInteger::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtInteger::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtInteger::key() const { +inline void Response_Metadata_Row_DtInteger::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtInteger::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtInteger::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtInteger::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline std::string* Response_Metadata_Row_DtInteger::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtInteger::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtInteger::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtInteger::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtInteger::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } +#endif inline void Response_Metadata_Row_DtInteger::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline void Response_Metadata_Row_DtInteger::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtInteger::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline std::string* Response_Metadata_Row_DtInteger::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtInteger::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtInteger::release_key() { +inline ::std::string* Response_Metadata_Row_DtInteger::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtInteger::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtInteger::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline std::string* Response_Metadata_Row_DtInteger::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtInteger::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) -} // required int32 value = 2; -inline bool Response_Metadata_Row_DtInteger::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtInteger::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtInteger::clear_value() { - value_ = 0; +inline void Response_Metadata_Row_DtInteger::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtInteger::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::int32 Response_Metadata_Row_DtInteger::_internal_value() const { - return value_; +inline void Response_Metadata_Row_DtInteger::clear_value() { + value_ = 0; + clear_has_value(); } -inline ::PROTOBUF_NAMESPACE_ID::int32 Response_Metadata_Row_DtInteger::value() const { +inline ::google::protobuf::int32 Response_Metadata_Row_DtInteger::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtInteger.value) - return _internal_value(); + return value_; } -inline void Response_Metadata_Row_DtInteger::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int32 value) { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row_DtInteger::set_value(::google::protobuf::int32 value) { + set_has_value(); value_ = value; -} -inline void Response_Metadata_Row_DtInteger::set_value(::PROTOBUF_NAMESPACE_ID::int32 value) { - _internal_set_value(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtInteger.value) } @@ -2992,123 +2214,89 @@ inline void Response_Metadata_Row_DtInteger::set_value(::PROTOBUF_NAMESPACE_ID:: // Response_Metadata_Row_DtUnsignedLong // required string key = 1; -inline bool Response_Metadata_Row_DtUnsignedLong::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtUnsignedLong::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtUnsignedLong::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtUnsignedLong::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtUnsignedLong::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtUnsignedLong::key() const { +inline void Response_Metadata_Row_DtUnsignedLong::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtUnsignedLong::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtUnsignedLong::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline std::string* Response_Metadata_Row_DtUnsignedLong::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtUnsignedLong::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtUnsignedLong::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtUnsignedLong::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtUnsignedLong::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } +#endif inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline std::string* Response_Metadata_Row_DtUnsignedLong::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtUnsignedLong::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtUnsignedLong::release_key() { +inline ::std::string* Response_Metadata_Row_DtUnsignedLong::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtUnsignedLong::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtUnsignedLong::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline std::string* Response_Metadata_Row_DtUnsignedLong::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtUnsignedLong::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) -} // required uint64 value = 2; -inline bool Response_Metadata_Row_DtUnsignedLong::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtUnsignedLong::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtUnsignedLong::clear_value() { - value_ = PROTOBUF_ULONGLONG(0); +inline void Response_Metadata_Row_DtUnsignedLong::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtUnsignedLong::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint64 Response_Metadata_Row_DtUnsignedLong::_internal_value() const { - return value_; +inline void Response_Metadata_Row_DtUnsignedLong::clear_value() { + value_ = GOOGLE_ULONGLONG(0); + clear_has_value(); } -inline ::PROTOBUF_NAMESPACE_ID::uint64 Response_Metadata_Row_DtUnsignedLong::value() const { +inline ::google::protobuf::uint64 Response_Metadata_Row_DtUnsignedLong::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.value) - return _internal_value(); + return value_; } -inline void Response_Metadata_Row_DtUnsignedLong::_internal_set_value(::PROTOBUF_NAMESPACE_ID::uint64 value) { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row_DtUnsignedLong::set_value(::google::protobuf::uint64 value) { + set_has_value(); value_ = value; -} -inline void Response_Metadata_Row_DtUnsignedLong::set_value(::PROTOBUF_NAMESPACE_ID::uint64 value) { - _internal_set_value(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.value) } @@ -3117,123 +2305,89 @@ inline void Response_Metadata_Row_DtUnsignedLong::set_value(::PROTOBUF_NAMESPACE // Response_Metadata_Row_DtLongLong // required string key = 1; -inline bool Response_Metadata_Row_DtLongLong::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtLongLong::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtLongLong::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtLongLong::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtLongLong::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtLongLong::key() const { +inline void Response_Metadata_Row_DtLongLong::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtLongLong::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtLongLong::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtLongLong::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline std::string* Response_Metadata_Row_DtLongLong::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtLongLong::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtLongLong::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtLongLong::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtLongLong::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } +#endif inline void Response_Metadata_Row_DtLongLong::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline void Response_Metadata_Row_DtLongLong::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtLongLong::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline std::string* Response_Metadata_Row_DtLongLong::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtLongLong::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtLongLong::release_key() { +inline ::std::string* Response_Metadata_Row_DtLongLong::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtLongLong::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtLongLong::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline std::string* Response_Metadata_Row_DtLongLong::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtLongLong::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) -} // required int64 value = 2; -inline bool Response_Metadata_Row_DtLongLong::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtLongLong::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtLongLong::clear_value() { - value_ = PROTOBUF_LONGLONG(0); +inline void Response_Metadata_Row_DtLongLong::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtLongLong::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtLongLong::_internal_value() const { - return value_; +inline void Response_Metadata_Row_DtLongLong::clear_value() { + value_ = GOOGLE_LONGLONG(0); + clear_has_value(); } -inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtLongLong::value() const { +inline ::google::protobuf::int64 Response_Metadata_Row_DtLongLong::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.value) - return _internal_value(); + return value_; } -inline void Response_Metadata_Row_DtLongLong::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row_DtLongLong::set_value(::google::protobuf::int64 value) { + set_has_value(); value_ = value; -} -inline void Response_Metadata_Row_DtLongLong::set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_value(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.value) } @@ -3242,313 +2396,219 @@ inline void Response_Metadata_Row_DtLongLong::set_value(::PROTOBUF_NAMESPACE_ID: // Response_Metadata_Row_DtString // required string key = 1; -inline bool Response_Metadata_Row_DtString::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtString::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtString::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtString::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtString::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtString::key() const { +inline void Response_Metadata_Row_DtString::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtString::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtString.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtString::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtString::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline std::string* Response_Metadata_Row_DtString::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtString.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtString::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtString::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtString::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtString::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } +#endif inline void Response_Metadata_Row_DtString::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline void Response_Metadata_Row_DtString::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtString::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline std::string* Response_Metadata_Row_DtString::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtString::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtString.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtString::release_key() { +inline ::std::string* Response_Metadata_Row_DtString::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtString.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtString::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtString::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline std::string* Response_Metadata_Row_DtString::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtString.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtString::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.key) -} // required string value = 2; -inline bool Response_Metadata_Row_DtString::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtString::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtString::clear_value() { - value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtString::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtString::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline const std::string& Response_Metadata_Row_DtString::value() const { +inline void Response_Metadata_Row_DtString::clear_value() { + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_value(); +} +inline const ::std::string& Response_Metadata_Row_DtString::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtString.value) - return _internal_value(); + return value_.GetNoArena(); } -inline void Response_Metadata_Row_DtString::set_value(const std::string& value) { - _internal_set_value(value); +inline void Response_Metadata_Row_DtString::set_value(const ::std::string& value) { + set_has_value(); + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline std::string* Response_Metadata_Row_DtString::mutable_value() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtString.value) - return _internal_mutable_value(); -} -inline const std::string& Response_Metadata_Row_DtString::_internal_value() const { - return value_.Get(); -} -inline void Response_Metadata_Row_DtString::_internal_set_value(const std::string& value) { - _has_bits_[0] |= 0x00000002u; - value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtString::set_value(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - value_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtString::set_value(::std::string&& value) { + set_has_value(); + value_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } +#endif inline void Response_Metadata_Row_DtString::set_value(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_value(); + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline void Response_Metadata_Row_DtString::set_value(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtString::set_value(const char* value, size_t size) { + set_has_value(); + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline std::string* Response_Metadata_Row_DtString::_internal_mutable_value() { - _has_bits_[0] |= 0x00000002u; - return value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtString::mutable_value() { + set_has_value(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtString.value) + return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtString::release_value() { +inline ::std::string* Response_Metadata_Row_DtString::release_value() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtString.value) - if (!_internal_has_value()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000002u; - return value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_value(); + return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtString::set_allocated_value(std::string* value) { - if (value != nullptr) { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row_DtString::set_allocated_value(::std::string* value) { + if (value != NULL) { + set_has_value(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_value(); } - value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, - GetArena()); + value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline std::string* Response_Metadata_Row_DtString::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtString.value) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return value_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtString::unsafe_arena_set_allocated_value( - std::string* value) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (value != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - value_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - value, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.value) -} // ------------------------------------------------------------------- // Response_Metadata_Row_DtDate // required string key = 1; -inline bool Response_Metadata_Row_DtDate::_internal_has_key() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata_Row_DtDate::has_key() const { - return _internal_has_key(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata_Row_DtDate::clear_key() { - key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata_Row_DtDate::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata_Row_DtDate::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata_Row_DtDate::key() const { +inline void Response_Metadata_Row_DtDate::clear_key() { + key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_key(); +} +inline const ::std::string& Response_Metadata_Row_DtDate::key() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) - return _internal_key(); + return key_.GetNoArena(); } -inline void Response_Metadata_Row_DtDate::set_key(const std::string& value) { - _internal_set_key(value); +inline void Response_Metadata_Row_DtDate::set_key(const ::std::string& value) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline std::string* Response_Metadata_Row_DtDate::mutable_key() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) - return _internal_mutable_key(); -} -inline const std::string& Response_Metadata_Row_DtDate::_internal_key() const { - return key_.Get(); -} -inline void Response_Metadata_Row_DtDate::_internal_set_key(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata_Row_DtDate::set_key(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - key_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata_Row_DtDate::set_key(::std::string&& value) { + set_has_key(); + key_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } +#endif inline void Response_Metadata_Row_DtDate::set_key(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline void Response_Metadata_Row_DtDate::set_key(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata_Row_DtDate::set_key(const char* value, size_t size) { + set_has_key(); + key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline std::string* Response_Metadata_Row_DtDate::_internal_mutable_key() { - _has_bits_[0] |= 0x00000001u; - return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata_Row_DtDate::mutable_key() { + set_has_key(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) + return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata_Row_DtDate::release_key() { +inline ::std::string* Response_Metadata_Row_DtDate::release_key() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) - if (!_internal_has_key()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_key(); + return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata_Row_DtDate::set_allocated_key(std::string* key) { - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata_Row_DtDate::set_allocated_key(::std::string* key) { + if (key != NULL) { + set_has_key(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_key(); } - key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, - GetArena()); + key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline std::string* Response_Metadata_Row_DtDate::unsafe_arena_release_key() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata_Row_DtDate::unsafe_arena_set_allocated_key( - std::string* key) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (key != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - key, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) -} // required sfixed64 value = 2; -inline bool Response_Metadata_Row_DtDate::_internal_has_value() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata_Row_DtDate::has_value() const { - return _internal_has_value(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata_Row_DtDate::clear_value() { - value_ = PROTOBUF_LONGLONG(0); +inline void Response_Metadata_Row_DtDate::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata_Row_DtDate::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtDate::_internal_value() const { - return value_; +inline void Response_Metadata_Row_DtDate::clear_value() { + value_ = GOOGLE_LONGLONG(0); + clear_has_value(); } -inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtDate::value() const { +inline ::google::protobuf::int64 Response_Metadata_Row_DtDate::value() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDate.value) - return _internal_value(); + return value_; } -inline void Response_Metadata_Row_DtDate::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata_Row_DtDate::set_value(::google::protobuf::int64 value) { + set_has_value(); value_ = value; -} -inline void Response_Metadata_Row_DtDate::set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { - _internal_set_value(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDate.value) } @@ -3557,234 +2617,180 @@ inline void Response_Metadata_Row_DtDate::set_value(::PROTOBUF_NAMESPACE_ID::int // Response_Metadata_Row // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; -inline int Response_Metadata_Row::_internal_double_list_size() const { - return double_list_.size(); -} inline int Response_Metadata_Row::double_list_size() const { - return _internal_double_list_size(); + return double_list_.size(); } inline void Response_Metadata_Row::clear_double_list() { double_list_.Clear(); } +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& Response_Metadata_Row::double_list(int index) const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.double_list) + return double_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::mutable_double_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.double_list) return double_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::add_double_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.double_list) + return double_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* Response_Metadata_Row::mutable_double_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.double_list) return &double_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& Response_Metadata_Row::_internal_double_list(int index) const { - return double_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& Response_Metadata_Row::double_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.double_list) - return _internal_double_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::_internal_add_double_list() { - return double_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::add_double_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.double_list) - return _internal_add_double_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& Response_Metadata_Row::double_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.double_list) return double_list_; } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; -inline int Response_Metadata_Row::_internal_integer_list_size() const { - return integer_list_.size(); -} inline int Response_Metadata_Row::integer_list_size() const { - return _internal_integer_list_size(); + return integer_list_.size(); } inline void Response_Metadata_Row::clear_integer_list() { integer_list_.Clear(); } +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& Response_Metadata_Row::integer_list(int index) const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.integer_list) + return integer_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::mutable_integer_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.integer_list) return integer_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::add_integer_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.integer_list) + return integer_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* Response_Metadata_Row::mutable_integer_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.integer_list) return &integer_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& Response_Metadata_Row::_internal_integer_list(int index) const { - return integer_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& Response_Metadata_Row::integer_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.integer_list) - return _internal_integer_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::_internal_add_integer_list() { - return integer_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::add_integer_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.integer_list) - return _internal_add_integer_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& Response_Metadata_Row::integer_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.integer_list) return integer_list_; } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; -inline int Response_Metadata_Row::_internal_unsinged_long_list_size() const { - return unsinged_long_list_.size(); -} inline int Response_Metadata_Row::unsinged_long_list_size() const { - return _internal_unsinged_long_list_size(); + 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 { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) + return unsinged_long_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::mutable_unsinged_long_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) return unsinged_long_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::add_unsinged_long_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) + return unsinged_long_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* Response_Metadata_Row::mutable_unsinged_long_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) return &unsinged_long_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row::_internal_unsinged_long_list(int index) const { - return unsinged_long_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row::unsinged_long_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) - return _internal_unsinged_long_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::_internal_add_unsinged_long_list() { - return unsinged_long_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::add_unsinged_long_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) - return _internal_add_unsinged_long_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& Response_Metadata_Row::unsinged_long_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) return unsinged_long_list_; } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; -inline int Response_Metadata_Row::_internal_long_long_list_size() const { - return long_long_list_.size(); -} inline int Response_Metadata_Row::long_long_list_size() const { - return _internal_long_long_list_size(); + 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 { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.long_long_list) + return long_long_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::mutable_long_long_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.long_long_list) return long_long_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::add_long_long_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.long_long_list) + return long_long_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* Response_Metadata_Row::mutable_long_long_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.long_long_list) return &long_long_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& Response_Metadata_Row::_internal_long_long_list(int index) const { - return long_long_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& Response_Metadata_Row::long_long_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.long_long_list) - return _internal_long_long_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::_internal_add_long_long_list() { - return long_long_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::add_long_long_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.long_long_list) - return _internal_add_long_long_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& Response_Metadata_Row::long_long_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.long_long_list) return long_long_list_; } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; -inline int Response_Metadata_Row::_internal_strings_list_size() const { - return strings_list_.size(); -} inline int Response_Metadata_Row::strings_list_size() const { - return _internal_strings_list_size(); + 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 { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.strings_list) + return strings_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::mutable_strings_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.strings_list) return strings_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::add_strings_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.strings_list) + return strings_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* Response_Metadata_Row::mutable_strings_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.strings_list) return &strings_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& Response_Metadata_Row::_internal_strings_list(int index) const { - return strings_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& Response_Metadata_Row::strings_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.strings_list) - return _internal_strings_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::_internal_add_strings_list() { - return strings_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::add_strings_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.strings_list) - return _internal_add_strings_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& Response_Metadata_Row::strings_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.strings_list) return strings_list_; } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; -inline int Response_Metadata_Row::_internal_date_list_size() const { - return date_list_.size(); -} inline int Response_Metadata_Row::date_list_size() const { - return _internal_date_list_size(); + return date_list_.size(); } inline void Response_Metadata_Row::clear_date_list() { date_list_.Clear(); } +inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& Response_Metadata_Row::date_list(int index) const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.date_list) + return date_list_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::mutable_date_list(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.date_list) return date_list_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* +inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::add_date_list() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.date_list) + return date_list_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* Response_Metadata_Row::mutable_date_list() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.Row.date_list) return &date_list_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& Response_Metadata_Row::_internal_date_list(int index) const { - return date_list_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& Response_Metadata_Row::date_list(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.date_list) - return _internal_date_list(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::_internal_add_date_list() { - return date_list_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::add_date_list() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.Row.date_list) - return _internal_add_date_list(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& Response_Metadata_Row::date_list() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.Row.date_list) return date_list_; @@ -3795,161 +2801,118 @@ Response_Metadata_Row::date_list() const { // Response_Metadata // required .MetadataExporter_ns.Response.Metadata.State state = 1; -inline bool Response_Metadata::_internal_has_state() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - return value; -} inline bool Response_Metadata::has_state() const { - return _internal_has_state(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response_Metadata::clear_state() { - state_ = 0; +inline void Response_Metadata::set_has_state() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response_Metadata::clear_has_state() { _has_bits_[0] &= ~0x00000002u; } -inline ::MetadataExporter_ns::Response_Metadata_State Response_Metadata::_internal_state() const { - return static_cast< ::MetadataExporter_ns::Response_Metadata_State >(state_); +inline void Response_Metadata::clear_state() { + state_ = 0; + clear_has_state(); } inline ::MetadataExporter_ns::Response_Metadata_State Response_Metadata::state() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.state) - return _internal_state(); + return static_cast< ::MetadataExporter_ns::Response_Metadata_State >(state_); } -inline void Response_Metadata::_internal_set_state(::MetadataExporter_ns::Response_Metadata_State value) { +inline void Response_Metadata::set_state(::MetadataExporter_ns::Response_Metadata_State value) { assert(::MetadataExporter_ns::Response_Metadata_State_IsValid(value)); - _has_bits_[0] |= 0x00000002u; + set_has_state(); state_ = value; -} -inline void Response_Metadata::set_state(::MetadataExporter_ns::Response_Metadata_State value) { - _internal_set_state(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.state) } // required string status = 2; -inline bool Response_Metadata::_internal_has_status() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - return value; -} inline bool Response_Metadata::has_status() const { - return _internal_has_status(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response_Metadata::clear_status() { - status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline void Response_Metadata::set_has_status() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response_Metadata::clear_has_status() { _has_bits_[0] &= ~0x00000001u; } -inline const std::string& Response_Metadata::status() const { +inline void Response_Metadata::clear_status() { + status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_status(); +} +inline const ::std::string& Response_Metadata::status() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.status) - return _internal_status(); + return status_.GetNoArena(); } -inline void Response_Metadata::set_status(const std::string& value) { - _internal_set_status(value); +inline void Response_Metadata::set_status(const ::std::string& value) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.status) } -inline std::string* Response_Metadata::mutable_status() { - // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.status) - return _internal_mutable_status(); -} -inline const std::string& Response_Metadata::_internal_status() const { - return status_.Get(); -} -inline void Response_Metadata::_internal_set_status(const std::string& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void Response_Metadata::set_status(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - status_.Set( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); +#if LANG_CXX11 +inline void Response_Metadata::set_status(::std::string&& value) { + set_has_status(); + status_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.status) } +#endif inline void Response_Metadata::set_status(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); + GOOGLE_DCHECK(value != NULL); + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.status) } -inline void Response_Metadata::set_status(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast<const char*>(value), size), GetArena()); +inline void Response_Metadata::set_status(const char* value, size_t size) { + set_has_status(); + status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.status) } -inline std::string* Response_Metadata::_internal_mutable_status() { - _has_bits_[0] |= 0x00000001u; - return status_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); +inline ::std::string* Response_Metadata::mutable_status() { + set_has_status(); + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.status) + return status_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline std::string* Response_Metadata::release_status() { +inline ::std::string* Response_Metadata::release_status() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.status) - if (!_internal_has_status()) { - return nullptr; - } - _has_bits_[0] &= ~0x00000001u; - return status_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clear_has_status(); + return status_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void Response_Metadata::set_allocated_status(std::string* status) { - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; +inline void Response_Metadata::set_allocated_status(::std::string* status) { + if (status != NULL) { + set_has_status(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_status(); } - status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, - GetArena()); + status_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), status); // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.status) } -inline std::string* Response_Metadata::unsafe_arena_release_status() { - // @@protoc_insertion_point(field_unsafe_arena_release:MetadataExporter_ns.Response.Metadata.status) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return status_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void Response_Metadata::unsafe_arena_set_allocated_status( - std::string* status) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (status != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - status_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - status, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.Metadata.status) -} // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; -inline int Response_Metadata::_internal_rows_size() const { - return rows_.size(); -} inline int Response_Metadata::rows_size() const { - return _internal_rows_size(); + return rows_.size(); } inline void Response_Metadata::clear_rows() { rows_.Clear(); } +inline const ::MetadataExporter_ns::Response_Metadata_Row& Response_Metadata::rows(int index) const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.rows) + return rows_.Get(index); +} inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::mutable_rows(int index) { // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.rows) return rows_.Mutable(index); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* +inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::add_rows() { + // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.rows) + return rows_.Add(); +} +inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* Response_Metadata::mutable_rows() { // @@protoc_insertion_point(field_mutable_list:MetadataExporter_ns.Response.Metadata.rows) return &rows_; } -inline const ::MetadataExporter_ns::Response_Metadata_Row& Response_Metadata::_internal_rows(int index) const { - return rows_.Get(index); -} -inline const ::MetadataExporter_ns::Response_Metadata_Row& Response_Metadata::rows(int index) const { - // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.rows) - return _internal_rows(index); -} -inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::_internal_add_rows() { - return rows_.Add(); -} -inline ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::add_rows() { - // @@protoc_insertion_point(field_add:MetadataExporter_ns.Response.Metadata.rows) - return _internal_add_rows(); -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& +inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& Response_Metadata::rows() const { // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.rows) return rows_; @@ -3960,272 +2923,187 @@ Response_Metadata::rows() const { // Response // required .MetadataExporter_ns.Response.Type type = 1; -inline bool Response::_internal_has_type() const { - bool value = (_has_bits_[0] & 0x00000008u) != 0; - return value; -} inline bool Response::has_type() const { - return _internal_has_type(); + return (_has_bits_[0] & 0x00000008u) != 0; } -inline void Response::clear_type() { - type_ = 0; +inline void Response::set_has_type() { + _has_bits_[0] |= 0x00000008u; +} +inline void Response::clear_has_type() { _has_bits_[0] &= ~0x00000008u; } -inline ::MetadataExporter_ns::Response_Type Response::_internal_type() const { - return static_cast< ::MetadataExporter_ns::Response_Type >(type_); +inline void Response::clear_type() { + type_ = 0; + clear_has_type(); } inline ::MetadataExporter_ns::Response_Type Response::type() const { // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.type) - return _internal_type(); + return static_cast< ::MetadataExporter_ns::Response_Type >(type_); } -inline void Response::_internal_set_type(::MetadataExporter_ns::Response_Type value) { +inline void Response::set_type(::MetadataExporter_ns::Response_Type value) { assert(::MetadataExporter_ns::Response_Type_IsValid(value)); - _has_bits_[0] |= 0x00000008u; + set_has_type(); type_ = value; -} -inline void Response::set_type(::MetadataExporter_ns::Response_Type value) { - _internal_set_type(value); // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.type) } // optional .MetadataExporter_ns.Response.Authorization authorization = 2; -inline bool Response::_internal_has_authorization() const { - bool value = (_has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || authorization_ != nullptr); - return value; -} inline bool Response::has_authorization() const { - return _internal_has_authorization(); + return (_has_bits_[0] & 0x00000001u) != 0; } -inline void Response::clear_authorization() { - if (authorization_ != nullptr) authorization_->Clear(); +inline void Response::set_has_authorization() { + _has_bits_[0] |= 0x00000001u; +} +inline void Response::clear_has_authorization() { _has_bits_[0] &= ~0x00000001u; } -inline const ::MetadataExporter_ns::Response_Authorization& Response::_internal_authorization() const { - const ::MetadataExporter_ns::Response_Authorization* p = authorization_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Authorization*>( - &::MetadataExporter_ns::_Response_Authorization_default_instance_); +inline void Response::clear_authorization() { + if (authorization_ != NULL) authorization_->Clear(); + clear_has_authorization(); } inline const ::MetadataExporter_ns::Response_Authorization& Response::authorization() const { + const ::MetadataExporter_ns::Response_Authorization* p = authorization_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.authorization) - return _internal_authorization(); -} -inline void Response::unsafe_arena_set_allocated_authorization( - ::MetadataExporter_ns::Response_Authorization* authorization) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authorization_); - } - authorization_ = authorization; - if (authorization) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.authorization) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Authorization*>( + &::MetadataExporter_ns::_Response_Authorization_default_instance_); } inline ::MetadataExporter_ns::Response_Authorization* Response::release_authorization() { - auto temp = unsafe_arena_release_authorization(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Response_Authorization* Response::unsafe_arena_release_authorization() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.authorization) - _has_bits_[0] &= ~0x00000001u; + clear_has_authorization(); ::MetadataExporter_ns::Response_Authorization* temp = authorization_; - authorization_ = nullptr; + authorization_ = NULL; return temp; } -inline ::MetadataExporter_ns::Response_Authorization* Response::_internal_mutable_authorization() { - _has_bits_[0] |= 0x00000001u; - if (authorization_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Response_Authorization>(GetArena()); - authorization_ = p; - } - return authorization_; -} inline ::MetadataExporter_ns::Response_Authorization* Response::mutable_authorization() { + set_has_authorization(); + if (authorization_ == NULL) { + authorization_ = new ::MetadataExporter_ns::Response_Authorization; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.authorization) - return _internal_mutable_authorization(); + return authorization_; } inline void Response::set_allocated_authorization(::MetadataExporter_ns::Response_Authorization* authorization) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete authorization_; } if (authorization) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authorization); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - authorization = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + authorization = ::google::protobuf::internal::GetOwnedMessage( message_arena, authorization, submessage_arena); } - _has_bits_[0] |= 0x00000001u; + set_has_authorization(); } else { - _has_bits_[0] &= ~0x00000001u; + clear_has_authorization(); } authorization_ = authorization; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.authorization) } // optional .MetadataExporter_ns.Response.Validation validation = 3; -inline bool Response::_internal_has_validation() const { - bool value = (_has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || validation_ != nullptr); - return value; -} inline bool Response::has_validation() const { - return _internal_has_validation(); + return (_has_bits_[0] & 0x00000002u) != 0; } -inline void Response::clear_validation() { - if (validation_ != nullptr) validation_->Clear(); +inline void Response::set_has_validation() { + _has_bits_[0] |= 0x00000002u; +} +inline void Response::clear_has_validation() { _has_bits_[0] &= ~0x00000002u; } -inline const ::MetadataExporter_ns::Response_Validation& Response::_internal_validation() const { - const ::MetadataExporter_ns::Response_Validation* p = validation_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Validation*>( - &::MetadataExporter_ns::_Response_Validation_default_instance_); +inline void Response::clear_validation() { + if (validation_ != NULL) validation_->Clear(); + clear_has_validation(); } inline const ::MetadataExporter_ns::Response_Validation& Response::validation() const { + const ::MetadataExporter_ns::Response_Validation* p = validation_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.validation) - return _internal_validation(); -} -inline void Response::unsafe_arena_set_allocated_validation( - ::MetadataExporter_ns::Response_Validation* validation) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(validation_); - } - validation_ = validation; - if (validation) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.validation) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Validation*>( + &::MetadataExporter_ns::_Response_Validation_default_instance_); } inline ::MetadataExporter_ns::Response_Validation* Response::release_validation() { - auto temp = unsafe_arena_release_validation(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Response_Validation* Response::unsafe_arena_release_validation() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.validation) - _has_bits_[0] &= ~0x00000002u; + clear_has_validation(); ::MetadataExporter_ns::Response_Validation* temp = validation_; - validation_ = nullptr; + validation_ = NULL; return temp; } -inline ::MetadataExporter_ns::Response_Validation* Response::_internal_mutable_validation() { - _has_bits_[0] |= 0x00000002u; - if (validation_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Response_Validation>(GetArena()); - validation_ = p; - } - return validation_; -} inline ::MetadataExporter_ns::Response_Validation* Response::mutable_validation() { + set_has_validation(); + if (validation_ == NULL) { + validation_ = new ::MetadataExporter_ns::Response_Validation; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.validation) - return _internal_mutable_validation(); + return validation_; } inline void Response::set_allocated_validation(::MetadataExporter_ns::Response_Validation* validation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete validation_; } if (validation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(validation); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - validation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + validation = ::google::protobuf::internal::GetOwnedMessage( message_arena, validation, submessage_arena); } - _has_bits_[0] |= 0x00000002u; + set_has_validation(); } else { - _has_bits_[0] &= ~0x00000002u; + clear_has_validation(); } validation_ = validation; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.validation) } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; -inline bool Response::_internal_has_metadata() const { - bool value = (_has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || metadata_ != nullptr); - return value; -} inline bool Response::has_metadata() const { - return _internal_has_metadata(); + return (_has_bits_[0] & 0x00000004u) != 0; } -inline void Response::clear_metadata() { - if (metadata_ != nullptr) metadata_->Clear(); +inline void Response::set_has_metadata() { + _has_bits_[0] |= 0x00000004u; +} +inline void Response::clear_has_metadata() { _has_bits_[0] &= ~0x00000004u; } -inline const ::MetadataExporter_ns::Response_Metadata& Response::_internal_metadata() const { - const ::MetadataExporter_ns::Response_Metadata* p = metadata_; - return p != nullptr ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Metadata*>( - &::MetadataExporter_ns::_Response_Metadata_default_instance_); +inline void Response::clear_metadata() { + if (metadata_ != NULL) metadata_->Clear(); + clear_has_metadata(); } inline const ::MetadataExporter_ns::Response_Metadata& Response::metadata() const { + const ::MetadataExporter_ns::Response_Metadata* p = metadata_; // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.metadata) - return _internal_metadata(); -} -inline void Response::unsafe_arena_set_allocated_metadata( - ::MetadataExporter_ns::Response_Metadata* metadata) { - if (GetArena() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(metadata_); - } - metadata_ = metadata; - if (metadata) { - _has_bits_[0] |= 0x00000004u; - } else { - _has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MetadataExporter_ns.Response.metadata) + return p != NULL ? *p : *reinterpret_cast<const ::MetadataExporter_ns::Response_Metadata*>( + &::MetadataExporter_ns::_Response_Metadata_default_instance_); } inline ::MetadataExporter_ns::Response_Metadata* Response::release_metadata() { - auto temp = unsafe_arena_release_metadata(); - if (GetArena() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - return temp; -} -inline ::MetadataExporter_ns::Response_Metadata* Response::unsafe_arena_release_metadata() { // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.metadata) - _has_bits_[0] &= ~0x00000004u; + clear_has_metadata(); ::MetadataExporter_ns::Response_Metadata* temp = metadata_; - metadata_ = nullptr; + metadata_ = NULL; return temp; } -inline ::MetadataExporter_ns::Response_Metadata* Response::_internal_mutable_metadata() { - _has_bits_[0] |= 0x00000004u; - if (metadata_ == nullptr) { - auto* p = CreateMaybeMessage<::MetadataExporter_ns::Response_Metadata>(GetArena()); - metadata_ = p; - } - return metadata_; -} inline ::MetadataExporter_ns::Response_Metadata* Response::mutable_metadata() { + set_has_metadata(); + if (metadata_ == NULL) { + metadata_ = new ::MetadataExporter_ns::Response_Metadata; + } // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.metadata) - return _internal_mutable_metadata(); + return metadata_; } inline void Response::set_allocated_metadata(::MetadataExporter_ns::Response_Metadata* metadata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); - if (message_arena == nullptr) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { delete metadata_; } if (metadata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(metadata); + ::google::protobuf::Arena* submessage_arena = NULL; if (message_arena != submessage_arena) { - metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + metadata = ::google::protobuf::internal::GetOwnedMessage( message_arena, metadata, submessage_arena); } - _has_bits_[0] |= 0x00000004u; + set_has_metadata(); } else { - _has_bits_[0] &= ~0x00000004u; + clear_has_metadata(); } metadata_ = metadata; // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.metadata) @@ -4259,32 +3137,33 @@ inline void Response::set_allocated_metadata(::MetadataExporter_ns::Response_Met } // namespace MetadataExporter_ns -PROTOBUF_NAMESPACE_OPEN +namespace google { +namespace protobuf { -template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Authorization_State> : ::std::true_type {}; +template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Authorization_State> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Response_Authorization_State>() { return ::MetadataExporter_ns::Response_Authorization_State_descriptor(); } -template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Validation_State> : ::std::true_type {}; +template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Validation_State> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Response_Validation_State>() { return ::MetadataExporter_ns::Response_Validation_State_descriptor(); } -template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Metadata_State> : ::std::true_type {}; +template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Metadata_State> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Response_Metadata_State>() { return ::MetadataExporter_ns::Response_Metadata_State_descriptor(); } -template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Type> : ::std::true_type {}; +template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Type> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Response_Type>() { return ::MetadataExporter_ns::Response_Type_descriptor(); } -PROTOBUF_NAMESPACE_CLOSE +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -#include <google/protobuf/port_undef.inc> -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Response_2eproto +#endif // PROTOBUF_Response_2eproto__INCLUDED -- GitLab