diff --git a/Makefile b/Makefile index d8ed5e32268a6e4ffe60ed0f95a7cd0ea72c2fda..3019eeb5f7db12e0b5fd35ea790bef9655ee495f 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/mysql \ + /usr/include/mariadb \ /usr/include/soci \ /usr/local/protobuf/include \ ./src @@ -29,11 +29,11 @@ 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 LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \ - -lsoci_core -lsoci_mysql -lmysqlclient -lboost_system -lboost_thread \ + -lsoci_core -lsoci_mysql -lmariadbclient -lboost_system -lboost_thread \ -lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread INC_PARM=$(foreach d, $(INC_DIR), -I$d) LIB_PARM=$(foreach d, $(LIB_DIR), -L$d) -PROTOC :=/usr/local/protobuf/bin/protoc +PROTOC :=/usr/bin/protoc #================================================================================ SRC_DIR=./src OBJ_DIR=./obj @@ -67,7 +67,7 @@ debug: CXXFLAGS+=$(CXX_DEBUG_FLAGS) $(CXX_DEFAULT_FLAGS) debug: $(EXECUTABLE) $(EXECUTABLE): makedir $(OBJ_FILES) - $(CC) $(LDFLAGS) $(LIB_PARM) -o $@ $(OBJ_FILES) + $(CC) $(OBJ_FILES) $(LDFLAGS) $(LIB_PARM) -o $@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(CC) $(CXXFLAGS) $(INC_PARM) -o $@ $< diff --git a/proto/Request.proto b/proto/Request.proto index 4b96f8a8a1a663540e7d655e23f55a16850b8fb7..e028bd526616d4f1223c59abb00ac4d4cea0bb0f 100644 --- a/proto/Request.proto +++ b/proto/Request.proto @@ -1,3 +1,6 @@ + +syntax = "proto2"; + package MetadataExporter_ns; message Request diff --git a/proto/Response.proto b/proto/Response.proto index d7045203b108764ec3118ae6e36ee2a859cae89d..a26460dd011705d3de58e44e2587c632f7364073 100644 --- a/proto/Response.proto +++ b/proto/Response.proto @@ -1,3 +1,6 @@ + +syntax = "proto2"; + package MetadataExporter_ns; message Response diff --git a/src/Request.pb.cc b/src/Request.pb.cc index 7db780123acce229ed3f6cafbffd231d33f3c606..279614a6b1885837e14ba94a22a66debe103212c 100644 --- a/src/Request.pb.cc +++ b/src/Request.pb.cc @@ -1,226 +1,235 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Request.proto -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Request.pb.h" #include <algorithm> -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/wire_format_lite.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> // @@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; +} _Request_Authorization_default_instance_; +class Request_Validation_ColumnDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Validation_Column> _instance; +} _Request_Validation_Column_default_instance_; +class Request_ValidationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Validation> _instance; +} _Request_Validation_default_instance_; +class Request_MetadataDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request_Metadata> _instance; +} _Request_Metadata_default_instance_; +class RequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Request> _instance; +} _Request_default_instance_; +} // namespace MetadataExporter_ns +static void InitDefaultsscc_info_Request_Request_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Request_default_instance_; + new (ptr) ::MetadataExporter_ns::Request(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Request::InitAsDefaultInstance(); +} -namespace { - -const ::google::protobuf::Descriptor* Request_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Request_reflection_ = NULL; -const ::google::protobuf::Descriptor* Request_Authorization_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Request_Authorization_reflection_ = NULL; -const ::google::protobuf::Descriptor* Request_Validation_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Request_Validation_reflection_ = NULL; -const ::google::protobuf::Descriptor* Request_Validation_Column_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Request_Validation_Column_reflection_ = NULL; -const ::google::protobuf::Descriptor* Request_Metadata_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Request_Metadata_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* Request_Type_descriptor_ = NULL; - -} // namespace - - -void protobuf_AssignDesc_Request_2eproto() { - protobuf_AddDesc_Request_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "Request.proto"); - GOOGLE_CHECK(file != NULL); - Request_descriptor_ = file->message_type(0); - static const int Request_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, authorization_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, validation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, metadata_), - }; - Request_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Request_descriptor_, - Request::default_instance_, - Request_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Request)); - Request_Authorization_descriptor_ = Request_descriptor_->nested_type(0); - static const int Request_Authorization_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Authorization, username_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Authorization, password_), - }; - Request_Authorization_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Request_Authorization_descriptor_, - Request_Authorization::default_instance_, - Request_Authorization_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Authorization, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Authorization, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Request_Authorization)); - Request_Validation_descriptor_ = Request_descriptor_->nested_type(1); - static const int Request_Validation_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation, schema_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation, table_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation, columns_), - }; - Request_Validation_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Request_Validation_descriptor_, - Request_Validation::default_instance_, - Request_Validation_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Request_Validation)); - Request_Validation_Column_descriptor_ = Request_Validation_descriptor_->nested_type(0); - static const int Request_Validation_Column_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation_Column, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation_Column, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation_Column, nullable_), - }; - Request_Validation_Column_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Request_Validation_Column_descriptor_, - Request_Validation_Column::default_instance_, - Request_Validation_Column_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation_Column, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Validation_Column, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Request_Validation_Column)); - Request_Metadata_descriptor_ = Request_descriptor_->nested_type(2); - static const int Request_Metadata_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, timestamp_), - }; - Request_Metadata_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Request_Metadata_descriptor_, - Request_Metadata::default_instance_, - Request_Metadata_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Request_Metadata, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Request_Metadata)); - Request_Type_descriptor_ = Request_descriptor_->enum_type(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_Request_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Request_descriptor_, &Request::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Request_Authorization_descriptor_, &Request_Authorization::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Request_Validation_descriptor_, &Request_Validation::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Request_Validation_Column_descriptor_, &Request_Validation_Column::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Request_Metadata_descriptor_, &Request_Metadata::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_Request_2eproto() { - delete Request::default_instance_; - delete Request_reflection_; - delete Request_Authorization::default_instance_; - delete Request_Authorization_reflection_; - delete Request_Validation::default_instance_; - delete Request_Validation_reflection_; - delete Request_Validation_Column::default_instance_; - delete Request_Validation_Column_reflection_; - delete Request_Metadata::default_instance_; - delete Request_Metadata_reflection_; -} - -void protobuf_AddDesc_Request_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; +::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,}}; + +static void InitDefaultsscc_info_Request_Authorization_Request_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\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", 590); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "Request.proto", &protobuf_RegisterTypes); - Request::default_instance_ = new Request(); - Request_Authorization::default_instance_ = new Request_Authorization(); - Request_Validation::default_instance_ = new Request_Validation(); - Request_Validation_Column::default_instance_ = new Request_Validation_Column(); - Request_Metadata::default_instance_ = new Request_Metadata(); - Request::default_instance_->InitAsDefaultInstance(); - Request_Authorization::default_instance_->InitAsDefaultInstance(); - Request_Validation::default_instance_->InitAsDefaultInstance(); - Request_Validation_Column::default_instance_->InitAsDefaultInstance(); - Request_Metadata::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_Request_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_Request_2eproto { - StaticDescriptorInitializer_Request_2eproto() { - protobuf_AddDesc_Request_2eproto(); - } -} static_descriptor_initializer_Request_2eproto_; + { + void* ptr = &::MetadataExporter_ns::_Request_Authorization_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Authorization(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Request_Authorization::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}, {}}; -const ::google::protobuf::EnumDescriptor* Request_Type_descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_Type_descriptor_; +static void InitDefaultsscc_info_Request_Metadata_Request_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Request_Metadata_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Metadata(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Request_Metadata::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}, {}}; + +static void InitDefaultsscc_info_Request_Validation_Request_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Request_Validation_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Validation(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Request_Validation::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,}}; + +static void InitDefaultsscc_info_Request_Validation_Column_Request_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Request_Validation_Column_default_instance_; + new (ptr) ::MetadataExporter_ns::Request_Validation_Column(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Request_Validation_Column::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}, {}}; + +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; + +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_), + ~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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation_Column, _has_bits_), + PROTOBUF_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_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Validation, _has_bits_), + PROTOBUF_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_), + 0, + 1, + ~0u, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request_Metadata, _has_bits_), + PROTOBUF_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_), + 0, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Request, _has_bits_), + PROTOBUF_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_), + 3, + 0, + 1, + 2, +}; +static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_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)}, + { 31, 37, sizeof(::MetadataExporter_ns::Request_Metadata)}, + { 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, +}; + +// 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); +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]; } bool Request_Type_IsValid(int value) { - switch(value) { + switch (value) { case 0: case 1: case 2: @@ -230,1529 +239,1597 @@ bool Request_Type_IsValid(int value) { } } -#ifndef _MSC_VER -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 // _MSC_VER -#ifndef _MSC_VER -const int Request_Authorization::kUsernameFieldNumber; -const int Request_Authorization::kPasswordFieldNumber; -#endif // !_MSC_VER +#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) -Request_Authorization::Request_Authorization() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Request_Authorization::Request_Authorization(const Request_Authorization& from) - : ::google::protobuf::Message() { +Request_Authorization::Request_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Authorization) } void Request_Authorization::SharedCtor() { - _cached_size_ = 0; - username_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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()); } Request_Authorization::~Request_Authorization() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Authorization) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Authorization::SharedDtor() { - if (username_ != &::google::protobuf::internal::kEmptyString) { - delete username_; - } - if (password_ != &::google::protobuf::internal::kEmptyString) { - delete password_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + username_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + password_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Request_Authorization::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Request_Authorization::ArenaDtor(void* object) { + Request_Authorization* _this = reinterpret_cast< Request_Authorization* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Request_Authorization::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_Authorization_descriptor_; +void Request_Authorization::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Request_Authorization::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Request_Authorization& Request_Authorization::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Request_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Authorization_Request_2eproto.base); + return *internal_default_instance(); } -Request_Authorization* Request_Authorization::default_instance_ = NULL; - -Request_Authorization* Request_Authorization::New() const { - return new Request_Authorization; -} void Request_Authorization::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_username()) { - if (username_ != &::google::protobuf::internal::kEmptyString) { - username_->clear(); - } +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Authorization) + ::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 & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + username_.ClearNonDefaultToEmpty(); } - if (has_password()) { - if (password_ != &::google::protobuf::internal::kEmptyString) { - password_->clear(); - } + if (cached_has_bits & 0x00000002u) { + password_.ClearNonDefaultToEmpty(); } } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -bool Request_Authorization::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +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) { // required string username = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_username())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->username().data(), this->username().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_password; - break; - } - + 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; // required string password = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_password: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_password())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->password().data(), this->password().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Request_Authorization::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Request_Authorization::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Authorization) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string username = 1; - if (has_username()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->username().data(), this->username().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->username(), output); + 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, + "MetadataExporter_ns.Request.Authorization.username"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_username(), target); } // required string password = 2; - if (has_password()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->password().data(), this->password().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->password(), output); + 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, + "MetadataExporter_ns.Request.Authorization.password"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_password(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Authorization) + return target; } -::google::protobuf::uint8* Request_Authorization::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string username = 1; - if (has_username()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->username().data(), this->username().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->username(), target); - } +size_t Request_Authorization::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Request.Authorization) + size_t total_size = 0; - // required string password = 2; - if (has_password()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->password().data(), this->password().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->password(), target); + if (_internal_has_username()) { + // required string username = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_username()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_password()) { + // required string password = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_password()); } - return target; -} -int Request_Authorization::ByteSize() const { - int total_size = 0; + return total_size; +} +size_t Request_Authorization::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Authorization) + size_t total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string username = 1; - if (has_username()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->username()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_username()); // required string password = 2; - if (has_password()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->password()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_password()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Request_Authorization::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Request_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Authorization) + GOOGLE_DCHECK_NE(&from, this); const Request_Authorization* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Request_Authorization*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Authorization>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Authorization) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Authorization) MergeFrom(*source); } } void Request_Authorization::MergeFrom(const Request_Authorization& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_username()) { - set_username(from.username()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_username(from._internal_username()); } - if (from.has_password()) { - set_password(from.password()); + if (cached_has_bits & 0x00000002u) { + _internal_set_password(from._internal_password()); } } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Request_Authorization::CopyFrom(const ::google::protobuf::Message& from) { +void Request_Authorization::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Authorization) if (&from == this) return; Clear(); MergeFrom(from); } void Request_Authorization::CopyFrom(const Request_Authorization& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Request.Authorization) if (&from == this) return; Clear(); MergeFrom(from); } bool Request_Authorization::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Request_Authorization::Swap(Request_Authorization* other) { - if (other != this) { - std::swap(username_, other->username_); - std::swap(password_, other->password_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +void Request_Authorization::InternalSwap(Request_Authorization* other) { + using std::swap; + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + 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()); } -::google::protobuf::Metadata Request_Authorization::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Request_Authorization_descriptor_; - metadata.reflection = Request_Authorization_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Request_Authorization::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Request_Validation_Column::kNameFieldNumber; -const int Request_Validation_Column::kTypeFieldNumber; -const int Request_Validation_Column::kNullableFieldNumber; -#endif // !_MSC_VER - -Request_Validation_Column::Request_Validation_Column() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Request_Validation_Column::Request_Validation_Column(const Request_Validation_Column& from) - : ::google::protobuf::Message() { +Request_Validation_Column::Request_Validation_Column(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Validation.Column) } void Request_Validation_Column::SharedCtor() { - _cached_size_ = 0; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - nullable_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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()); } 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() { - if (name_ != &::google::protobuf::internal::kEmptyString) { - delete name_; - } - if (type_ != &::google::protobuf::internal::kEmptyString) { - delete type_; - } - if (nullable_ != &::google::protobuf::internal::kEmptyString) { - delete nullable_; - } - if (this != default_instance_) { - } + 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()); } -void Request_Validation_Column::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Request_Validation_Column::ArenaDtor(void* object) { + Request_Validation_Column* _this = reinterpret_cast< Request_Validation_Column* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Request_Validation_Column::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_Validation_Column_descriptor_; +void Request_Validation_Column::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Request_Validation_Column::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Request_Validation_Column& Request_Validation_Column::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Request_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Validation_Column_Request_2eproto.base); + return *internal_default_instance(); } -Request_Validation_Column* Request_Validation_Column::default_instance_ = NULL; - -Request_Validation_Column* Request_Validation_Column::New() const { - return new Request_Validation_Column; -} void Request_Validation_Column::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_name()) { - if (name_ != &::google::protobuf::internal::kEmptyString) { - name_->clear(); - } +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Validation.Column) + ::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 (cached_has_bits & 0x00000001u) { + name_.ClearNonDefaultToEmpty(); } - if (has_type()) { - if (type_ != &::google::protobuf::internal::kEmptyString) { - type_->clear(); - } + if (cached_has_bits & 0x00000002u) { + type_.ClearNonDefaultToEmpty(); } - if (has_nullable()) { - if (nullable_ != &::google::protobuf::internal::kEmptyString) { - nullable_->clear(); - } + if (cached_has_bits & 0x00000004u) { + nullable_.ClearNonDefaultToEmpty(); } } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -bool Request_Validation_Column::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +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) { // required string name = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_name())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->name().data(), this->name().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_type; - break; - } - + 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; // required string type = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_type: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_type())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->type().data(), this->type().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_nullable; - break; - } - + 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; // required string nullable = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_nullable: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_nullable())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->nullable().data(), this->nullable().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Request_Validation_Column::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Request_Validation_Column::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Validation.Column) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string name = 1; - if (has_name()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->name().data(), this->name().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->name(), output); + 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, + "MetadataExporter_ns.Request.Validation.Column.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); } // required string type = 2; - if (has_type()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->type().data(), this->type().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->type(), output); + 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, + "MetadataExporter_ns.Request.Validation.Column.type"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_type(), target); } // required string nullable = 3; - if (has_nullable()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->nullable().data(), this->nullable().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 3, this->nullable(), output); + 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, + "MetadataExporter_ns.Request.Validation.Column.nullable"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_nullable(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Validation.Column) + return target; } -::google::protobuf::uint8* Request_Validation_Column::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string name = 1; - if (has_name()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->name().data(), this->name().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->name(), target); - } +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; - // required string type = 2; - if (has_type()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->type().data(), this->type().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->type(), target); + if (_internal_has_name()) { + // required string name = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); } - // required string nullable = 3; - if (has_nullable()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->nullable().data(), this->nullable().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 3, this->nullable(), target); + if (_internal_has_type()) { + // required string type = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_nullable()) { + // required string nullable = 3; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nullable()); } - return target; -} -int Request_Validation_Column::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required string name = 1; - if (has_name()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->name()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); // required string type = 2; - if (has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->type()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); // required string nullable = 3; - if (has_nullable()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->nullable()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nullable()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Request_Validation_Column::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Request_Validation_Column::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Validation.Column) + GOOGLE_DCHECK_NE(&from, this); const Request_Validation_Column* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Request_Validation_Column*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Validation_Column>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Validation.Column) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Validation.Column) MergeFrom(*source); } } void Request_Validation_Column::MergeFrom(const Request_Validation_Column& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_name()) { - set_name(from.name()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_name(from._internal_name()); } - if (from.has_type()) { - set_type(from.type()); + if (cached_has_bits & 0x00000002u) { + _internal_set_type(from._internal_type()); } - if (from.has_nullable()) { - set_nullable(from.nullable()); + if (cached_has_bits & 0x00000004u) { + _internal_set_nullable(from._internal_nullable()); } } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Request_Validation_Column::CopyFrom(const ::google::protobuf::Message& from) { +void Request_Validation_Column::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Validation.Column) if (&from == this) return; Clear(); MergeFrom(from); } void Request_Validation_Column::CopyFrom(const Request_Validation_Column& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Request.Validation.Column) if (&from == this) return; Clear(); MergeFrom(from); } bool Request_Validation_Column::IsInitialized() const { - if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Request_Validation_Column::Swap(Request_Validation_Column* other) { - if (other != this) { - std::swap(name_, other->name_); - std::swap(type_, other->type_); - std::swap(nullable_, other->nullable_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +void Request_Validation_Column::InternalSwap(Request_Validation_Column* other) { + using std::swap; + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + 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()); } -::google::protobuf::Metadata Request_Validation_Column::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Request_Validation_Column_descriptor_; - metadata.reflection = Request_Validation_Column_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Request_Validation_Column::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Request_Validation::kSchemaFieldNumber; -const int Request_Validation::kTableFieldNumber; -const int Request_Validation::kColumnsFieldNumber; -#endif // !_MSC_VER - -Request_Validation::Request_Validation() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Request_Validation::Request_Validation(const Request_Validation& from) - : ::google::protobuf::Message() { +Request_Validation::Request_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + columns_(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request.Validation) +} +Request_Validation::Request_Validation(const Request_Validation& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_), + 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()); + } + table_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (from._internal_has_table()) { + table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_table(), + GetArena()); + } + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Validation) } void Request_Validation::SharedCtor() { - _cached_size_ = 0; - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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()); } Request_Validation::~Request_Validation() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request.Validation) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request_Validation::SharedDtor() { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - delete schema_; - } - if (table_ != &::google::protobuf::internal::kEmptyString) { - delete table_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + schema_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + table_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Request_Validation::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Request_Validation::ArenaDtor(void* object) { + Request_Validation* _this = reinterpret_cast< Request_Validation* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Request_Validation::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_Validation_descriptor_; +void Request_Validation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Request_Validation::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Request_Validation& Request_Validation::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Request_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Validation_Request_2eproto.base); + return *internal_default_instance(); } -Request_Validation* Request_Validation::default_instance_ = NULL; - -Request_Validation* Request_Validation::New() const { - return new Request_Validation; -} void Request_Validation::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_schema()) { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - schema_->clear(); - } +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Validation) + ::PROTOBUF_NAMESPACE_ID::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 & 0x00000001u) { + schema_.ClearNonDefaultToEmpty(); } - if (has_table()) { - if (table_ != &::google::protobuf::internal::kEmptyString) { - table_->clear(); - } + if (cached_has_bits & 0x00000002u) { + table_.ClearNonDefaultToEmpty(); } } - columns_.Clear(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -bool Request_Validation::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +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) { // required string schema = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_schema())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_table; - break; - } - + 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; // required string table = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_table: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_table())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_columns; - break; - } - + 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; // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_columns: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_columns())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_columns; - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Request_Validation::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Request_Validation::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Validation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string schema = 1; - if (has_schema()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->schema(), output); + 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, + "MetadataExporter_ns.Request.Validation.schema"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_schema(), target); } // required string table = 2; - if (has_table()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->table(), output); + 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, + "MetadataExporter_ns.Request.Validation.table"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_table(), target); } // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - for (int i = 0; i < this->columns_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->columns(i), output); + 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); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Validation) + return target; } -::google::protobuf::uint8* Request_Validation::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string schema = 1; - if (has_schema()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->schema().data(), this->schema().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->schema(), target); - } +size_t Request_Validation::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Request.Validation) + size_t total_size = 0; - // required string table = 2; - if (has_table()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->table().data(), this->table().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->table(), target); + if (_internal_has_schema()) { + // required string schema = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_schema()); } - // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - for (int i = 0; i < this->columns_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 3, this->columns(i), target); + if (_internal_has_table()) { + // required string table = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_table()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - return target; + return total_size; } +size_t Request_Validation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Validation) + size_t total_size = 0; -int Request_Validation::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string schema = 1; - if (has_schema()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->schema()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_schema()); // required string table = 2; - if (has_table()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->table()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_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 += 1 * this->columns_size(); - for (int i = 0; i < this->columns_size(); i++) { + total_size += 1UL * this->_internal_columns_size(); + for (const auto& msg : this->columns_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->columns(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Request_Validation::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Request_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Validation) + GOOGLE_DCHECK_NE(&from, this); const Request_Validation* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Request_Validation*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Validation>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Validation) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Validation) MergeFrom(*source); } } void Request_Validation::MergeFrom(const Request_Validation& from) { - GOOGLE_CHECK_NE(&from, this); +// @@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; + (void) cached_has_bits; + columns_.MergeFrom(from.columns_); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_schema()) { - set_schema(from.schema()); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_schema(from._internal_schema()); } - if (from.has_table()) { - set_table(from.table()); + if (cached_has_bits & 0x00000002u) { + _internal_set_table(from._internal_table()); } } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Request_Validation::CopyFrom(const ::google::protobuf::Message& from) { +void Request_Validation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Validation) if (&from == this) return; Clear(); MergeFrom(from); } void Request_Validation::CopyFrom(const Request_Validation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Request.Validation) if (&from == this) return; Clear(); MergeFrom(from); } bool Request_Validation::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - - for (int i = 0; i < columns_size(); i++) { - if (!this->columns(i).IsInitialized()) return false; - } + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(columns_)) return false; return true; } -void Request_Validation::Swap(Request_Validation* other) { - if (other != this) { - std::swap(schema_, other->schema_); - std::swap(table_, other->table_); - columns_.Swap(&other->columns_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); } -::google::protobuf::Metadata Request_Validation::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Request_Validation_descriptor_; - metadata.reflection = Request_Validation_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Request_Validation::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Request_Metadata::kTimestampFieldNumber; -#endif // !_MSC_VER - -Request_Metadata::Request_Metadata() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Request_Metadata::Request_Metadata(const Request_Metadata& from) - : ::google::protobuf::Message() { +Request_Metadata::Request_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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_); + timestamp_ = from.timestamp_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request.Metadata) } void Request_Metadata::SharedCtor() { - _cached_size_ = 0; - timestamp_ = GOOGLE_LONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + timestamp_ = PROTOBUF_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() { - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); } -void Request_Metadata::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Request_Metadata::ArenaDtor(void* object) { + Request_Metadata* _this = reinterpret_cast< Request_Metadata* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Request_Metadata::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_Metadata_descriptor_; +void Request_Metadata::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Request_Metadata::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Request_Metadata& Request_Metadata::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Request_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Metadata_Request_2eproto.base); + return *internal_default_instance(); } -Request_Metadata* Request_Metadata::default_instance_ = NULL; - -Request_Metadata* Request_Metadata::New() const { - return new Request_Metadata; -} void Request_Metadata::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - timestamp_ = GOOGLE_LONGLONG(0); - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Request_Metadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request.Metadata) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + timestamp_ = PROTOBUF_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) { // required sfixed64 timestamp = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>( - input, ×tamp_))); - set_has_timestamp(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Request_Metadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // required sfixed64 timestamp = 1; - if (has_timestamp()) { - ::google::protobuf::internal::WireFormatLite::WriteSFixed64(1, this->timestamp(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } -} - -::google::protobuf::uint8* Request_Metadata::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Request_Metadata::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request.Metadata) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required sfixed64 timestamp = 1; - if (has_timestamp()) { - target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(1, this->timestamp(), target); + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSFixed64ToArray(1, this->_internal_timestamp(), target); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request.Metadata) return target; } -int Request_Metadata::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required sfixed64 timestamp = 1; - if (has_timestamp()) { - total_size += 1 + 8; - } +size_t Request_Metadata::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request.Metadata) + size_t total_size = 0; + // required sfixed64 timestamp = 1; + if (_internal_has_timestamp()) { + total_size += 1 + 8; } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Request_Metadata::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Request_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request.Metadata) + GOOGLE_DCHECK_NE(&from, this); const Request_Metadata* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Request_Metadata*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request_Metadata>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request.Metadata) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request.Metadata) MergeFrom(*source); } } void Request_Metadata::MergeFrom(const Request_Metadata& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_timestamp()) { - set_timestamp(from.timestamp()); - } +// @@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; + (void) cached_has_bits; + + if (from._internal_has_timestamp()) { + _internal_set_timestamp(from._internal_timestamp()); } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Request_Metadata::CopyFrom(const ::google::protobuf::Message& from) { +void Request_Metadata::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request.Metadata) if (&from == this) return; Clear(); MergeFrom(from); } void Request_Metadata::CopyFrom(const Request_Metadata& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Request.Metadata) if (&from == this) return; Clear(); MergeFrom(from); } bool Request_Metadata::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Request_Metadata::Swap(Request_Metadata* other) { - if (other != this) { - std::swap(timestamp_, other->timestamp_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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_); } -::google::protobuf::Metadata Request_Metadata::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Request_Metadata_descriptor_; - metadata.reflection = Request_Metadata_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Request_Metadata::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Request::kTypeFieldNumber; -const int Request::kAuthorizationFieldNumber; -const int Request::kValidationFieldNumber; -const int Request::kMetadataFieldNumber; -#endif // !_MSC_VER - -Request::Request() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== void Request::InitAsDefaultInstance() { - authorization_ = const_cast< ::MetadataExporter_ns::Request_Authorization*>(&::MetadataExporter_ns::Request_Authorization::default_instance()); - validation_ = const_cast< ::MetadataExporter_ns::Request_Validation*>(&::MetadataExporter_ns::Request_Validation::default_instance()); - metadata_ = const_cast< ::MetadataExporter_ns::Request_Metadata*>(&::MetadataExporter_ns::Request_Metadata::default_instance()); + ::MetadataExporter_ns::_Request_default_instance_._instance.get_mutable()->authorization_ = const_cast< ::MetadataExporter_ns::Request_Authorization*>( + ::MetadataExporter_ns::Request_Authorization::internal_default_instance()); + ::MetadataExporter_ns::_Request_default_instance_._instance.get_mutable()->validation_ = const_cast< ::MetadataExporter_ns::Request_Validation*>( + ::MetadataExporter_ns::Request_Validation::internal_default_instance()); + ::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; + } +}; + +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) { + SharedCtor(); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Request) } - Request::Request(const Request& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(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()) { + authorization_ = new ::MetadataExporter_ns::Request_Authorization(*from.authorization_); + } else { + authorization_ = nullptr; + } + if (from._internal_has_validation()) { + validation_ = new ::MetadataExporter_ns::Request_Validation(*from.validation_); + } else { + validation_ = nullptr; + } + if (from._internal_has_metadata()) { + metadata_ = new ::MetadataExporter_ns::Request_Metadata(*from.metadata_); + } else { + metadata_ = nullptr; + } + type_ = from.type_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Request) } void Request::SharedCtor() { - _cached_size_ = 0; - type_ = 0; - authorization_ = NULL; - validation_ = NULL; - metadata_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_Request_2eproto.base); + ::memset(&authorization_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&type_) - + reinterpret_cast<char*>(&authorization_)) + sizeof(type_)); } Request::~Request() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Request) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Request::SharedDtor() { - if (this != default_instance_) { - delete authorization_; - delete validation_; - delete metadata_; - } + 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::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Request::ArenaDtor(void* object) { + Request* _this = reinterpret_cast< Request* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Request::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Request_descriptor_; +void Request::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Request::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Request& Request::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Request_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_Request_2eproto.base); + return *internal_default_instance(); } -Request* Request::default_instance_ = NULL; - -Request* Request::New() const { - return new Request; -} void Request::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - type_ = 0; - if (has_authorization()) { - if (authorization_ != NULL) authorization_->::MetadataExporter_ns::Request_Authorization::Clear(); +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Request) + ::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 (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(authorization_ != nullptr); + authorization_->Clear(); } - if (has_validation()) { - if (validation_ != NULL) validation_->::MetadataExporter_ns::Request_Validation::Clear(); + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(validation_ != nullptr); + validation_->Clear(); } - if (has_metadata()) { - if (metadata_ != NULL) metadata_->::MetadataExporter_ns::Request_Metadata::Clear(); + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(metadata_ != nullptr); + metadata_->Clear(); } } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Request::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + 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) { // required .MetadataExporter_ns.Request.Type type = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Request_Type_IsValid(value)) { - set_type(static_cast< ::MetadataExporter_ns::Request_Type >(value)); + 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)); } else { - mutable_unknown_fields()->AddVarint(1, value); + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_authorization; - break; - } - + } else goto handle_unusual; + continue; // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_authorization: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_authorization())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_validation; - break; - } - + 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; // optional .MetadataExporter_ns.Request.Validation validation = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_validation: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_validation())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(34)) goto parse_metadata; - break; - } - + 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; // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_metadata: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_metadata())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Request::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // required .MetadataExporter_ns.Request.Type type = 1; - if (has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->type(), output); - } - - // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - if (has_authorization()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->authorization(), output); - } - - // optional .MetadataExporter_ns.Request.Validation validation = 3; - if (has_validation()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->validation(), output); - } - - // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - if (has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, this->metadata(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } -} - -::google::protobuf::uint8* Request::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Request::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Request) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Request.Type type = 1; - if (has_type()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->type(), target); + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_type(), target); } // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - if (has_authorization()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 2, this->authorization(), target); + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::authorization(this), target, stream); } // optional .MetadataExporter_ns.Request.Validation validation = 3; - if (has_validation()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 3, this->validation(), target); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 3, _Internal::validation(this), target, stream); } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - if (has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 4, this->metadata(), target); + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 4, _Internal::metadata(this), target, stream); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Request) return target; } -int Request::ByteSize() const { - int total_size = 0; +size_t Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Request) + size_t total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required .MetadataExporter_ns.Request.Type type = 1; - if (has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); - } + // required .MetadataExporter_ns.Request.Type type = 1; + if (_internal_has_type()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_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) { // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - if (has_authorization()) { + if (cached_has_bits & 0x00000001u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->authorization()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *authorization_); } // optional .MetadataExporter_ns.Request.Validation validation = 3; - if (has_validation()) { + if (cached_has_bits & 0x00000002u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->validation()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *validation_); } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; - if (has_metadata()) { + if (cached_has_bits & 0x00000004u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->metadata()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *metadata_); } } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Request::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Request::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Request) + GOOGLE_DCHECK_NE(&from, this); const Request* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Request*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Request>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Request) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Request) MergeFrom(*source); } } void Request::MergeFrom(const Request& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_type()) { - set_type(from.type()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _internal_mutable_authorization()->::MetadataExporter_ns::Request_Authorization::MergeFrom(from._internal_authorization()); } - if (from.has_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()); } - if (from.has_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()); } - if (from.has_metadata()) { - mutable_metadata()->::MetadataExporter_ns::Request_Metadata::MergeFrom(from.metadata()); + if (cached_has_bits & 0x00000008u) { + type_ = from.type_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Request::CopyFrom(const ::google::protobuf::Message& from) { +void Request::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Request) if (&from == this) return; Clear(); MergeFrom(from); } void Request::CopyFrom(const Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Request) if (&from == this) return; Clear(); MergeFrom(from); } bool Request::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - - if (has_authorization()) { - if (!this->authorization().IsInitialized()) return false; + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if (_internal_has_authorization()) { + if (!authorization_->IsInitialized()) return false; } - if (has_validation()) { - if (!this->validation().IsInitialized()) return false; + if (_internal_has_validation()) { + if (!validation_->IsInitialized()) return false; } - if (has_metadata()) { - if (!this->metadata().IsInitialized()) return false; + if (_internal_has_metadata()) { + if (!metadata_->IsInitialized()) return false; } return true; } -void Request::Swap(Request* other) { - if (other != this) { - std::swap(type_, other->type_); - std::swap(authorization_, other->authorization_); - std::swap(validation_, other->validation_); - std::swap(metadata_, other->metadata_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +void Request::InternalSwap(Request* other) { + using std::swap; + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + 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_)); } -::google::protobuf::Metadata Request::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Request_descriptor_; - metadata.reflection = Request_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Request::GetMetadata() const { + return GetMetadataStatic(); } // @@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 914a068d4929b475a995d0d552f8abdbf9c61bc9..b70f65618dee0ac4350729662784d2e6e25f8ff0 100644 --- a/src/Request.pb.h +++ b/src/Request.pb.h @@ -1,335 +1,655 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Request.proto -#ifndef PROTOBUF_Request_2eproto__INCLUDED -#define PROTOBUF_Request_2eproto__INCLUDED +#ifndef GOOGLE_PROTOBUF_INCLUDED_Request_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_Request_2eproto +#include <limits> #include <string> -#include <google/protobuf/stubs/common.h> - -#if GOOGLE_PROTOBUF_VERSION < 2005000 +#include <google/protobuf/port_def.inc> +#if PROTOBUF_VERSION < 3012000 #error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update +#error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please +#error 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/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.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 + +// 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[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Request_2eproto; namespace MetadataExporter_ns { - -// Internal implementation detail -- do not call these. -void protobuf_AddDesc_Request_2eproto(); -void protobuf_AssignDesc_Request_2eproto(); -void protobuf_ShutdownFile_Request_2eproto(); - class Request; +class RequestDefaultTypeInternal; +extern RequestDefaultTypeInternal _Request_default_instance_; class Request_Authorization; +class Request_AuthorizationDefaultTypeInternal; +extern Request_AuthorizationDefaultTypeInternal _Request_Authorization_default_instance_; +class Request_Metadata; +class Request_MetadataDefaultTypeInternal; +extern Request_MetadataDefaultTypeInternal _Request_Metadata_default_instance_; class Request_Validation; +class Request_ValidationDefaultTypeInternal; +extern Request_ValidationDefaultTypeInternal _Request_Validation_default_instance_; class Request_Validation_Column; -class Request_Metadata; +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 { +enum Request_Type : int { Request_Type_AUTHORIZATION = 0, Request_Type_VALIDATION = 1, Request_Type_METADATA = 2 }; bool Request_Type_IsValid(int 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); +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); } inline bool Request_Type_Parse( - const ::std::string& name, Request_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum<Request_Type>( + const std::string& name, Request_Type* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Request_Type>( Request_Type_descriptor(), name, value); } // =================================================================== -class Request_Authorization : public ::google::protobuf::Message { +class Request_Authorization PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Authorization) */ { public: - Request_Authorization(); + inline Request_Authorization() : Request_Authorization(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Request_Authorization& operator=(Request_Authorization&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } static const Request_Authorization& default_instance(); - void Swap(Request_Authorization* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Request_Authorization* internal_default_instance() { + return reinterpret_cast<const Request_Authorization*>( + &_Request_Authorization_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + 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 ---------------------------------------------- - Request_Authorization* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Request_Authorization* New() const final { + return CreateMaybeMessage<Request_Authorization>(nullptr); + } + + 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; void CopyFrom(const Request_Authorization& from); void MergeFrom(const Request_Authorization& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Request_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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); + return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kUsernameFieldNumber = 1, + kPasswordFieldNumber = 2, + }; // required string username = 1; - inline bool has_username() const; - inline void clear_username(); - static const int kUsernameFieldNumber = 1; - inline const ::std::string& username() const; - inline void set_username(const ::std::string& value); - inline void set_username(const char* value); - inline void set_username(const char* value, size_t size); - inline ::std::string* mutable_username(); - inline ::std::string* release_username(); - inline void set_allocated_username(::std::string* username); + bool has_username() const; + private: + bool _internal_has_username() const; + public: + void clear_username(); + const std::string& username() const; + void set_username(const std::string& value); + void set_username(std::string&& value); + void set_username(const char* value); + void set_username(const char* value, size_t size); + std::string* mutable_username(); + std::string* release_username(); + void set_allocated_username(std::string* username); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + std::string* unsafe_arena_release_username(); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + void unsafe_arena_set_allocated_username( + std::string* username); + private: + const std::string& _internal_username() const; + void _internal_set_username(const std::string& value); + std::string* _internal_mutable_username(); + public: // required string password = 2; - inline bool has_password() const; - inline void clear_password(); - static const int kPasswordFieldNumber = 2; - inline const ::std::string& password() const; - inline void set_password(const ::std::string& value); - inline void set_password(const char* value); - inline void set_password(const char* value, size_t size); - inline ::std::string* mutable_password(); - inline ::std::string* release_password(); - inline void set_allocated_password(::std::string* password); + bool has_password() const; + private: + bool _internal_has_password() const; + public: + void clear_password(); + const std::string& password() const; + void set_password(const std::string& value); + void set_password(std::string&& value); + void set_password(const char* value); + void set_password(const char* value, size_t size); + std::string* mutable_password(); + std::string* release_password(); + void set_allocated_password(std::string* password); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + std::string* unsafe_arena_release_password(); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + void unsafe_arena_set_allocated_password( + std::string* password); + private: + const std::string& _internal_password() const; + void _internal_set_password(const std::string& value); + std::string* _internal_mutable_password(); + public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Authorization) private: - inline void set_has_username(); - inline void clear_has_username(); - inline void set_has_password(); - inline void clear_has_password(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* username_; - ::std::string* password_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Request_2eproto(); - friend void protobuf_AssignDesc_Request_2eproto(); - friend void protobuf_ShutdownFile_Request_2eproto(); - - void InitAsDefaultInstance(); - static Request_Authorization* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Request_Validation_Column : public ::google::protobuf::Message { +class Request_Validation_Column PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation.Column) */ { public: - Request_Validation_Column(); + inline Request_Validation_Column() : Request_Validation_Column(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Request_Validation_Column& operator=(Request_Validation_Column&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } static const Request_Validation_Column& default_instance(); - void Swap(Request_Validation_Column* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Request_Validation_Column* internal_default_instance() { + return reinterpret_cast<const Request_Validation_Column*>( + &_Request_Validation_Column_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + 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 ---------------------------------------------- - Request_Validation_Column* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Request_Validation_Column* New() const final { + return CreateMaybeMessage<Request_Validation_Column>(nullptr); + } + + 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; void CopyFrom(const Request_Validation_Column& from); void MergeFrom(const Request_Validation_Column& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Request_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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); + return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kNameFieldNumber = 1, + kTypeFieldNumber = 2, + kNullableFieldNumber = 3, + }; // required string name = 1; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 1; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const char* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); + 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); + 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: // required string type = 2; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 2; - inline const ::std::string& type() const; - inline void set_type(const ::std::string& value); - inline void set_type(const char* value); - inline void set_type(const char* value, size_t size); - inline ::std::string* mutable_type(); - inline ::std::string* release_type(); - inline void set_allocated_type(::std::string* type); + 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); + 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: // required string nullable = 3; - inline bool has_nullable() const; - inline void clear_nullable(); - static const int kNullableFieldNumber = 3; - inline const ::std::string& nullable() const; - inline void set_nullable(const ::std::string& value); - inline void set_nullable(const char* value); - inline void set_nullable(const char* value, size_t size); - inline ::std::string* mutable_nullable(); - inline ::std::string* release_nullable(); - inline void set_allocated_nullable(::std::string* nullable); + 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); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Validation.Column) private: - inline void set_has_name(); - inline void clear_has_name(); - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_nullable(); - inline void clear_has_nullable(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* name_; - ::std::string* type_; - ::std::string* nullable_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - - friend void protobuf_AddDesc_Request_2eproto(); - friend void protobuf_AssignDesc_Request_2eproto(); - friend void protobuf_ShutdownFile_Request_2eproto(); - - void InitAsDefaultInstance(); - static Request_Validation_Column* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Request_Validation : public ::google::protobuf::Message { +class Request_Validation PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Validation) */ { public: - Request_Validation(); + inline Request_Validation() : Request_Validation(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Request_Validation& operator=(Request_Validation&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } static const Request_Validation& default_instance(); - void Swap(Request_Validation* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Request_Validation* internal_default_instance() { + return reinterpret_cast<const Request_Validation*>( + &_Request_Validation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + 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 ---------------------------------------------- - Request_Validation* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Request_Validation* New() const final { + return CreateMaybeMessage<Request_Validation>(nullptr); + } + + 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; void CopyFrom(const Request_Validation& from); void MergeFrom(const Request_Validation& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Request_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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); + return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: // nested types ---------------------------------------------------- @@ -337,198 +657,369 @@ class Request_Validation : public ::google::protobuf::Message { // 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: + const ::MetadataExporter_ns::Request_Validation_Column& columns(int index) const; + ::MetadataExporter_ns::Request_Validation_Column* add_columns(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& + columns() const; + // required string schema = 1; - inline bool has_schema() const; - inline void clear_schema(); - static const int kSchemaFieldNumber = 1; - inline const ::std::string& schema() const; - inline void set_schema(const ::std::string& value); - inline void set_schema(const char* value); - inline void set_schema(const char* value, size_t size); - inline ::std::string* mutable_schema(); - inline ::std::string* release_schema(); - inline void set_allocated_schema(::std::string* schema); + bool has_schema() const; + private: + bool _internal_has_schema() const; + public: + void clear_schema(); + const std::string& schema() const; + void set_schema(const std::string& value); + void set_schema(std::string&& value); + void set_schema(const char* value); + void set_schema(const char* value, size_t size); + std::string* mutable_schema(); + std::string* release_schema(); + void set_allocated_schema(std::string* schema); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + std::string* unsafe_arena_release_schema(); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + void unsafe_arena_set_allocated_schema( + std::string* schema); + private: + const std::string& _internal_schema() const; + void _internal_set_schema(const std::string& value); + std::string* _internal_mutable_schema(); + public: // required string table = 2; - inline bool has_table() const; - inline void clear_table(); - static const int kTableFieldNumber = 2; - inline const ::std::string& table() const; - inline void set_table(const ::std::string& value); - inline void set_table(const char* value); - inline void set_table(const char* value, size_t size); - inline ::std::string* mutable_table(); - inline ::std::string* release_table(); - inline void set_allocated_table(::std::string* table); - - // repeated .MetadataExporter_ns.Request.Validation.Column columns = 3; - inline int columns_size() const; - inline void clear_columns(); - static const int kColumnsFieldNumber = 3; - inline const ::MetadataExporter_ns::Request_Validation_Column& columns(int index) const; - inline ::MetadataExporter_ns::Request_Validation_Column* mutable_columns(int index); - inline ::MetadataExporter_ns::Request_Validation_Column* add_columns(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& - columns() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* - mutable_columns(); + bool has_table() const; + private: + bool _internal_has_table() const; + public: + void clear_table(); + const std::string& table() const; + void set_table(const std::string& value); + void set_table(std::string&& value); + void set_table(const char* value); + void set_table(const char* value, size_t size); + std::string* mutable_table(); + std::string* release_table(); + void set_allocated_table(std::string* table); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + std::string* unsafe_arena_release_table(); + GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" + " string fields are deprecated and will be removed in a" + " future release.") + void unsafe_arena_set_allocated_table( + std::string* table); + private: + const std::string& _internal_table() const; + void _internal_set_table(const std::string& value); + std::string* _internal_mutable_table(); + public: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Validation) private: - inline void set_has_schema(); - inline void clear_has_schema(); - inline void set_has_table(); - inline void clear_has_table(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* schema_; - ::std::string* table_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column > columns_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - - friend void protobuf_AddDesc_Request_2eproto(); - friend void protobuf_AssignDesc_Request_2eproto(); - friend void protobuf_ShutdownFile_Request_2eproto(); - - void InitAsDefaultInstance(); - static Request_Validation* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Request_Metadata : public ::google::protobuf::Message { +class Request_Metadata PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request.Metadata) */ { public: - Request_Metadata(); + inline Request_Metadata() : Request_Metadata(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Request_Metadata& operator=(Request_Metadata&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } static const Request_Metadata& default_instance(); - void Swap(Request_Metadata* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Request_Metadata* internal_default_instance() { + return reinterpret_cast<const Request_Metadata*>( + &_Request_Metadata_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + 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 ---------------------------------------------- - Request_Metadata* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Request_Metadata* New() const final { + return CreateMaybeMessage<Request_Metadata>(nullptr); + } + + 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; void CopyFrom(const Request_Metadata& from); void MergeFrom(const Request_Metadata& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + 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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const 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: - ::google::protobuf::Metadata GetMetadata() const; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); + return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kTimestampFieldNumber = 1, + }; // required sfixed64 timestamp = 1; - inline bool has_timestamp() const; - inline void clear_timestamp(); - static const int kTimestampFieldNumber = 1; - inline ::google::protobuf::int64 timestamp() const; - inline void set_timestamp(::google::protobuf::int64 value); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Request.Metadata) private: - inline void set_has_timestamp(); - inline void clear_has_timestamp(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::int64 timestamp_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - - friend void protobuf_AddDesc_Request_2eproto(); - friend void protobuf_AssignDesc_Request_2eproto(); - friend void protobuf_ShutdownFile_Request_2eproto(); - - void InitAsDefaultInstance(); - static Request_Metadata* default_instance_; + 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; }; // ------------------------------------------------------------------- -class Request : public ::google::protobuf::Message { +class Request PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Request) */ { public: - Request(); + inline Request() : Request(nullptr) {}; virtual ~Request(); Request(const Request& from); + Request(Request&& from) noexcept + : Request() { + *this = ::std::move(from); + } inline Request& operator=(const Request& from) { CopyFrom(from); return *this; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Request& operator=(Request&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } static const Request& default_instance(); - void Swap(Request* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Request* internal_default_instance() { + return reinterpret_cast<const Request*>( + &_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + 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 ---------------------------------------------- - Request* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Request* New() const final { + return CreateMaybeMessage<Request>(nullptr); + } + + 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; void CopyFrom(const Request& from); void MergeFrom(const Request& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Request* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "MetadataExporter_ns.Request"; + } + protected: + explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_Request_2eproto); + return ::descriptor_table_Request_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: // nested types ---------------------------------------------------- @@ -537,239 +1028,322 @@ class Request : public ::google::protobuf::Message { typedef Request_Metadata Metadata; typedef Request_Type Type; - static const Type AUTHORIZATION = Request_Type_AUTHORIZATION; - static const Type VALIDATION = Request_Type_VALIDATION; - static const Type METADATA = Request_Type_METADATA; + static constexpr Type AUTHORIZATION = + Request_Type_AUTHORIZATION; + static constexpr Type VALIDATION = + Request_Type_VALIDATION; + static constexpr Type METADATA = + Request_Type_METADATA; static inline bool Type_IsValid(int value) { return Request_Type_IsValid(value); } - static const Type Type_MIN = + static constexpr Type Type_MIN = Request_Type_Type_MIN; - static const Type Type_MAX = + static constexpr Type Type_MAX = Request_Type_Type_MAX; - static const int Type_ARRAYSIZE = + static constexpr int Type_ARRAYSIZE = Request_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Type_descriptor() { return Request_Type_descriptor(); } - static inline const ::std::string& Type_Name(Type value) { - return Request_Type_Name(value); + 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 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 ------------------------------------------------------- - // required .MetadataExporter_ns.Request.Type type = 1; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 1; - inline ::MetadataExporter_ns::Request_Type type() const; - inline void set_type(::MetadataExporter_ns::Request_Type value); - + enum : int { + kAuthorizationFieldNumber = 2, + kValidationFieldNumber = 3, + kMetadataFieldNumber = 4, + kTypeFieldNumber = 1, + }; // optional .MetadataExporter_ns.Request.Authorization authorization = 2; - inline bool has_authorization() const; - inline void clear_authorization(); - static const int kAuthorizationFieldNumber = 2; - inline const ::MetadataExporter_ns::Request_Authorization& authorization() const; - inline ::MetadataExporter_ns::Request_Authorization* mutable_authorization(); - inline ::MetadataExporter_ns::Request_Authorization* release_authorization(); - inline void set_allocated_authorization(::MetadataExporter_ns::Request_Authorization* authorization); + bool has_authorization() const; + private: + bool _internal_has_authorization() const; + public: + void clear_authorization(); + 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; - inline bool has_validation() const; - inline void clear_validation(); - static const int kValidationFieldNumber = 3; - inline const ::MetadataExporter_ns::Request_Validation& validation() const; - inline ::MetadataExporter_ns::Request_Validation* mutable_validation(); - inline ::MetadataExporter_ns::Request_Validation* release_validation(); - inline void set_allocated_validation(::MetadataExporter_ns::Request_Validation* validation); + bool has_validation() const; + private: + bool _internal_has_validation() const; + public: + void clear_validation(); + 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; - inline bool has_metadata() const; - inline void clear_metadata(); - static const int kMetadataFieldNumber = 4; - inline const ::MetadataExporter_ns::Request_Metadata& metadata() const; - inline ::MetadataExporter_ns::Request_Metadata* mutable_metadata(); - inline ::MetadataExporter_ns::Request_Metadata* release_metadata(); - inline void set_allocated_metadata(::MetadataExporter_ns::Request_Metadata* metadata); + bool has_metadata() const; + private: + bool _internal_has_metadata() const; + public: + void clear_metadata(); + 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(); + ::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: - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_authorization(); - inline void clear_has_authorization(); - inline void set_has_validation(); - inline void clear_has_validation(); - inline void set_has_metadata(); - inline void clear_has_metadata(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; + 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_; ::MetadataExporter_ns::Request_Authorization* authorization_; ::MetadataExporter_ns::Request_Validation* validation_; ::MetadataExporter_ns::Request_Metadata* metadata_; int type_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - - friend void protobuf_AddDesc_Request_2eproto(); - friend void protobuf_AssignDesc_Request_2eproto(); - friend void protobuf_ShutdownFile_Request_2eproto(); - - void InitAsDefaultInstance(); - static Request* default_instance_; + friend struct ::TableStruct_Request_2eproto; }; // =================================================================== // =================================================================== +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ // Request_Authorization // required string username = 1; -inline bool Request_Authorization::has_username() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Request_Authorization::_internal_has_username() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Request_Authorization::set_has_username() { - _has_bits_[0] |= 0x00000001u; +inline bool Request_Authorization::has_username() const { + return _internal_has_username(); } -inline void Request_Authorization::clear_has_username() { +inline void Request_Authorization::clear_username() { + username_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Request_Authorization::clear_username() { - if (username_ != &::google::protobuf::internal::kEmptyString) { - username_->clear(); - } - clear_has_username(); +inline const std::string& Request_Authorization::username() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Authorization.username) + return _internal_username(); } -inline const ::std::string& Request_Authorization::username() const { - return *username_; +inline void Request_Authorization::set_username(const std::string& value) { + _internal_set_username(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Authorization.username) } -inline void Request_Authorization::set_username(const ::std::string& value) { - set_has_username(); - if (username_ == &::google::protobuf::internal::kEmptyString) { - username_ = new ::std::string; - } - username_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Authorization.username) } inline void Request_Authorization::set_username(const char* value) { - set_has_username(); - if (username_ == &::google::protobuf::internal::kEmptyString) { - username_ = new ::std::string; - } - username_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + username_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Authorization.username) } -inline void Request_Authorization::set_username(const char* value, size_t size) { - set_has_username(); - if (username_ == &::google::protobuf::internal::kEmptyString) { - username_ = new ::std::string; - } - username_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Authorization.username) } -inline ::std::string* Request_Authorization::mutable_username() { - set_has_username(); - if (username_ == &::google::protobuf::internal::kEmptyString) { - username_ = new ::std::string; +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::release_username() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Authorization.username) + if (!_internal_has_username()) { + return nullptr; } - return username_; + _has_bits_[0] &= ~0x00000001u; + return username_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Authorization::release_username() { - clear_has_username(); - if (username_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Authorization::set_allocated_username(std::string* username) { + if (username != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = username_; - username_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + username_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), username, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Authorization.username) } -inline void Request_Authorization::set_allocated_username(::std::string* username) { - if (username_ != &::google::protobuf::internal::kEmptyString) { - delete username_; - } - if (username) { - set_has_username(); - username_ = 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 { - clear_has_username(); - username_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_password() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Request_Authorization::_internal_has_password() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Request_Authorization::set_has_password() { - _has_bits_[0] |= 0x00000002u; +inline bool Request_Authorization::has_password() const { + return _internal_has_password(); } -inline void Request_Authorization::clear_has_password() { +inline void Request_Authorization::clear_password() { + password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } -inline void Request_Authorization::clear_password() { - if (password_ != &::google::protobuf::internal::kEmptyString) { - password_->clear(); - } - clear_has_password(); +inline const std::string& Request_Authorization::password() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Authorization.password) + return _internal_password(); } -inline const ::std::string& Request_Authorization::password() const { - return *password_; +inline void Request_Authorization::set_password(const std::string& value) { + _internal_set_password(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Authorization.password) } -inline void Request_Authorization::set_password(const ::std::string& value) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Authorization.password) } inline void Request_Authorization::set_password(const char* value) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000002u; + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Authorization.password) } -inline void Request_Authorization::set_password(const char* value, size_t size) { - set_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; - } - password_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - password_ = new ::std::string; +inline std::string* Request_Authorization::release_password() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Authorization.password) + if (!_internal_has_password()) { + return nullptr; } - return password_; + _has_bits_[0] &= ~0x00000002u; + return password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Authorization::release_password() { - clear_has_password(); - if (password_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Authorization::set_allocated_password(std::string* password) { + if (password != nullptr) { + _has_bits_[0] |= 0x00000002u; } else { - ::std::string* temp = password_; - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000002u; } + password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Authorization.password) } -inline void Request_Authorization::set_allocated_password(::std::string* password) { - if (password_ != &::google::protobuf::internal::kEmptyString) { - delete password_; - } - if (password) { - set_has_password(); - password_ = 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 { - clear_has_password(); - password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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) } // ------------------------------------------------------------------- @@ -777,213 +1351,282 @@ inline void Request_Authorization::set_allocated_password(::std::string* passwor // Request_Validation_Column // required string name = 1; -inline bool Request_Validation_Column::has_name() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Request_Validation_Column::_internal_has_name() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Request_Validation_Column::set_has_name() { - _has_bits_[0] |= 0x00000001u; +inline bool Request_Validation_Column::has_name() const { + return _internal_has_name(); } -inline void Request_Validation_Column::clear_has_name() { +inline void Request_Validation_Column::clear_name() { + name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Request_Validation_Column::clear_name() { - if (name_ != &::google::protobuf::internal::kEmptyString) { - name_->clear(); - } - 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(); } -inline const ::std::string& Request_Validation_Column::name() const { - return *name_; +inline void Request_Validation_Column::set_name(const std::string& value) { + _internal_set_name(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.name) } -inline void Request_Validation_Column::set_name(const ::std::string& value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::kEmptyString) { - name_ = new ::std::string; - } - name_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.name) } inline void Request_Validation_Column::set_name(const char* value) { - set_has_name(); - if (name_ == &::google::protobuf::internal::kEmptyString) { - name_ = new ::std::string; - } - name_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_name(); - if (name_ == &::google::protobuf::internal::kEmptyString) { - name_ = new ::std::string; - } - name_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.Column.name) } -inline ::std::string* Request_Validation_Column::mutable_name() { - set_has_name(); - if (name_ == &::google::protobuf::internal::kEmptyString) { - name_ = new ::std::string; +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::release_name() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.Column.name) + if (!_internal_has_name()) { + return nullptr; } - return name_; + _has_bits_[0] &= ~0x00000001u; + return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Validation_Column::release_name() { - clear_has_name(); - if (name_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Validation_Column::set_allocated_name(std::string* name) { + if (name != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = name_; - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.name) } -inline void Request_Validation_Column::set_allocated_name(::std::string* name) { - if (name_ != &::google::protobuf::internal::kEmptyString) { - delete name_; - } - if (name) { - set_has_name(); - name_ = 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 { - clear_has_name(); - name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_type() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Request_Validation_Column::_internal_has_type() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Request_Validation_Column::set_has_type() { - _has_bits_[0] |= 0x00000002u; +inline bool Request_Validation_Column::has_type() const { + return _internal_has_type(); } -inline void Request_Validation_Column::clear_has_type() { +inline void Request_Validation_Column::clear_type() { + type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } -inline void Request_Validation_Column::clear_type() { - if (type_ != &::google::protobuf::internal::kEmptyString) { - type_->clear(); - } - 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(); } -inline const ::std::string& Request_Validation_Column::type() const { - return *type_; +inline void Request_Validation_Column::set_type(const std::string& value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.type) } -inline void Request_Validation_Column::set_type(const ::std::string& value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::kEmptyString) { - type_ = new ::std::string; - } - type_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.type) } inline void Request_Validation_Column::set_type(const char* value) { - set_has_type(); - if (type_ == &::google::protobuf::internal::kEmptyString) { - type_ = new ::std::string; - } - type_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000002u; + type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_type(); - if (type_ == &::google::protobuf::internal::kEmptyString) { - type_ = new ::std::string; - } - type_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (type_ == &::google::protobuf::internal::kEmptyString) { - type_ = new ::std::string; +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; } - return type_; + _has_bits_[0] &= ~0x00000002u; + return type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Validation_Column::release_type() { - clear_has_type(); - if (type_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Validation_Column::set_allocated_type(std::string* type) { + if (type != nullptr) { + _has_bits_[0] |= 0x00000002u; } else { - ::std::string* temp = type_; - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000002u; } + type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.type) } -inline void Request_Validation_Column::set_allocated_type(::std::string* type) { - if (type_ != &::google::protobuf::internal::kEmptyString) { - delete type_; - } - if (type) { - set_has_type(); - type_ = 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 { - clear_has_type(); - type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_nullable() const { - return (_has_bits_[0] & 0x00000004u) != 0; +inline bool Request_Validation_Column::_internal_has_nullable() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + return value; } -inline void Request_Validation_Column::set_has_nullable() { - _has_bits_[0] |= 0x00000004u; +inline bool Request_Validation_Column::has_nullable() const { + return _internal_has_nullable(); } -inline void Request_Validation_Column::clear_has_nullable() { +inline void Request_Validation_Column::clear_nullable() { + nullable_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000004u; } -inline void Request_Validation_Column::clear_nullable() { - if (nullable_ != &::google::protobuf::internal::kEmptyString) { - nullable_->clear(); - } - 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(); } -inline const ::std::string& Request_Validation_Column::nullable() const { - return *nullable_; +inline void Request_Validation_Column::set_nullable(const std::string& value) { + _internal_set_nullable(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline void Request_Validation_Column::set_nullable(const ::std::string& value) { - set_has_nullable(); - if (nullable_ == &::google::protobuf::internal::kEmptyString) { - nullable_ = new ::std::string; - } - nullable_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.Column.nullable) } inline void Request_Validation_Column::set_nullable(const char* value) { - set_has_nullable(); - if (nullable_ == &::google::protobuf::internal::kEmptyString) { - nullable_ = new ::std::string; - } - nullable_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000004u; + nullable_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_nullable(); - if (nullable_ == &::google::protobuf::internal::kEmptyString) { - nullable_ = new ::std::string; - } - nullable_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline ::std::string* Request_Validation_Column::mutable_nullable() { - set_has_nullable(); - if (nullable_ == &::google::protobuf::internal::kEmptyString) { - nullable_ = new ::std::string; +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::release_nullable() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.Column.nullable) + if (!_internal_has_nullable()) { + return nullptr; } - return nullable_; + _has_bits_[0] &= ~0x00000004u; + return nullable_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Validation_Column::release_nullable() { - clear_has_nullable(); - if (nullable_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Validation_Column::set_allocated_nullable(std::string* nullable) { + if (nullable != nullptr) { + _has_bits_[0] |= 0x00000004u; } else { - ::std::string* temp = nullable_; - nullable_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000004u; } + nullable_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), nullable, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.Column.nullable) } -inline void Request_Validation_Column::set_allocated_nullable(::std::string* nullable) { - if (nullable_ != &::google::protobuf::internal::kEmptyString) { - delete nullable_; - } - if (nullable) { - set_has_nullable(); - nullable_ = 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 { - clear_has_nullable(); - nullable_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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) } // ------------------------------------------------------------------- @@ -991,355 +1634,565 @@ inline void Request_Validation_Column::set_allocated_nullable(::std::string* nul // Request_Validation // required string schema = 1; -inline bool Request_Validation::has_schema() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Request_Validation::_internal_has_schema() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Request_Validation::set_has_schema() { - _has_bits_[0] |= 0x00000001u; +inline bool Request_Validation::has_schema() const { + return _internal_has_schema(); } -inline void Request_Validation::clear_has_schema() { +inline void Request_Validation::clear_schema() { + schema_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Request_Validation::clear_schema() { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - schema_->clear(); - } - clear_has_schema(); +inline const std::string& Request_Validation::schema() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.schema) + return _internal_schema(); } -inline const ::std::string& Request_Validation::schema() const { - return *schema_; +inline void Request_Validation::set_schema(const std::string& value) { + _internal_set_schema(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.schema) } -inline void Request_Validation::set_schema(const ::std::string& value) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.schema) } inline void Request_Validation::set_schema(const char* value) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + schema_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.schema) } -inline void Request_Validation::set_schema(const char* value, size_t size) { - set_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; - } - schema_->assign(reinterpret_cast<const char*>(value), size); +inline 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()); + // @@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(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - schema_ = new ::std::string; +inline std::string* Request_Validation::release_schema() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.schema) + if (!_internal_has_schema()) { + return nullptr; } - return schema_; + _has_bits_[0] &= ~0x00000001u; + return schema_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Validation::release_schema() { - clear_has_schema(); - if (schema_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Validation::set_allocated_schema(std::string* schema) { + if (schema != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = schema_; - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + schema_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), schema, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.schema) } -inline void Request_Validation::set_allocated_schema(::std::string* schema) { - if (schema_ != &::google::protobuf::internal::kEmptyString) { - delete schema_; - } - if (schema) { - set_has_schema(); - schema_ = 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 { - clear_has_schema(); - schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_table() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Request_Validation::_internal_has_table() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Request_Validation::set_has_table() { - _has_bits_[0] |= 0x00000002u; +inline bool Request_Validation::has_table() const { + return _internal_has_table(); } -inline void Request_Validation::clear_has_table() { +inline void Request_Validation::clear_table() { + table_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } -inline void Request_Validation::clear_table() { - if (table_ != &::google::protobuf::internal::kEmptyString) { - table_->clear(); - } - clear_has_table(); +inline const std::string& Request_Validation::table() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Validation.table) + return _internal_table(); } -inline const ::std::string& Request_Validation::table() const { - return *table_; +inline void Request_Validation::set_table(const std::string& value) { + _internal_set_table(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Request.Validation.table) } -inline void Request_Validation::set_table(const ::std::string& value) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Request.Validation.table) } inline void Request_Validation::set_table(const char* value) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000002u; + table_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Request.Validation.table) } -inline void Request_Validation::set_table(const char* value, size_t size) { - set_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; - } - table_->assign(reinterpret_cast<const char*>(value), size); +inline 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()); + // @@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(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - table_ = new ::std::string; +inline std::string* Request_Validation::release_table() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Request.Validation.table) + if (!_internal_has_table()) { + return nullptr; } - return table_; + _has_bits_[0] &= ~0x00000002u; + return table_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Request_Validation::release_table() { - clear_has_table(); - if (table_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Request_Validation::set_allocated_table(std::string* table) { + if (table != nullptr) { + _has_bits_[0] |= 0x00000002u; } else { - ::std::string* temp = table_; - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000002u; } + table_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), table, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.Validation.table) } -inline void Request_Validation::set_allocated_table(::std::string* table) { - if (table_ != &::google::protobuf::internal::kEmptyString) { - delete table_; - } - if (table) { - set_has_table(); - table_ = 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 { - clear_has_table(); - table_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::columns_size() const { +inline int Request_Validation::_internal_columns_size() const { return columns_.size(); } +inline int Request_Validation::columns_size() const { + return _internal_columns_size(); +} inline void Request_Validation::clear_columns() { columns_.Clear(); } -inline const ::MetadataExporter_ns::Request_Validation_Column& Request_Validation::columns(int index) const { - 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 ::MetadataExporter_ns::Request_Validation_Column* Request_Validation::add_columns() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_columns(); +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >& Request_Validation::columns() const { + // @@protoc_insertion_point(field_list:MetadataExporter_ns.Request.Validation.columns) return columns_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Request_Validation_Column >* -Request_Validation::mutable_columns() { - return &columns_; -} // ------------------------------------------------------------------- // Request_Metadata // required sfixed64 timestamp = 1; -inline bool Request_Metadata::has_timestamp() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Request_Metadata::set_has_timestamp() { - _has_bits_[0] |= 0x00000001u; +inline bool Request_Metadata::_internal_has_timestamp() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Request_Metadata::clear_has_timestamp() { - _has_bits_[0] &= ~0x00000001u; +inline bool Request_Metadata::has_timestamp() const { + return _internal_has_timestamp(); } inline void Request_Metadata::clear_timestamp() { - timestamp_ = GOOGLE_LONGLONG(0); - clear_has_timestamp(); + timestamp_ = PROTOBUF_LONGLONG(0); + _has_bits_[0] &= ~0x00000001u; } -inline ::google::protobuf::int64 Request_Metadata::timestamp() const { +inline ::PROTOBUF_NAMESPACE_ID::int64 Request_Metadata::_internal_timestamp() const { return timestamp_; } -inline void Request_Metadata::set_timestamp(::google::protobuf::int64 value) { - set_has_timestamp(); +inline ::PROTOBUF_NAMESPACE_ID::int64 Request_Metadata::timestamp() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.Metadata.timestamp) + return _internal_timestamp(); +} +inline void Request_Metadata::_internal_set_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { + _has_bits_[0] |= 0x00000001u; 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) +} // ------------------------------------------------------------------- // Request // required .MetadataExporter_ns.Request.Type type = 1; -inline bool Request::has_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Request::_internal_has_type() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + return value; } -inline void Request::set_has_type() { - _has_bits_[0] |= 0x00000001u; -} -inline void Request::clear_has_type() { - _has_bits_[0] &= ~0x00000001u; +inline bool Request::has_type() const { + return _internal_has_type(); } inline void Request::clear_type() { type_ = 0; - clear_has_type(); + _has_bits_[0] &= ~0x00000008u; } -inline ::MetadataExporter_ns::Request_Type Request::type() const { +inline ::MetadataExporter_ns::Request_Type Request::_internal_type() const { return static_cast< ::MetadataExporter_ns::Request_Type >(type_); } -inline void Request::set_type(::MetadataExporter_ns::Request_Type value) { +inline ::MetadataExporter_ns::Request_Type Request::type() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.type) + return _internal_type(); +} +inline void Request::_internal_set_type(::MetadataExporter_ns::Request_Type value) { assert(::MetadataExporter_ns::Request_Type_IsValid(value)); - set_has_type(); + _has_bits_[0] |= 0x00000008u; 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::has_authorization() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Request::set_has_authorization() { - _has_bits_[0] |= 0x00000002u; +inline bool Request::_internal_has_authorization() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || authorization_ != nullptr); + return value; } -inline void Request::clear_has_authorization() { - _has_bits_[0] &= ~0x00000002u; +inline bool Request::has_authorization() const { + return _internal_has_authorization(); } inline void Request::clear_authorization() { - if (authorization_ != NULL) authorization_->::MetadataExporter_ns::Request_Authorization::Clear(); - clear_has_authorization(); + if (authorization_ != nullptr) authorization_->Clear(); + _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 const ::MetadataExporter_ns::Request_Authorization& Request::authorization() const { - return authorization_ != NULL ? *authorization_ : *default_instance_->authorization_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.authorization) + return _internal_authorization(); } -inline ::MetadataExporter_ns::Request_Authorization* Request::mutable_authorization() { - set_has_authorization(); - if (authorization_ == NULL) authorization_ = new ::MetadataExporter_ns::Request_Authorization; - return 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) } inline ::MetadataExporter_ns::Request_Authorization* Request::release_authorization() { - clear_has_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; ::MetadataExporter_ns::Request_Authorization* temp = authorization_; - authorization_ = NULL; + authorization_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.authorization) + return _internal_mutable_authorization(); +} inline void Request::set_allocated_authorization(::MetadataExporter_ns::Request_Authorization* authorization) { - delete authorization_; - authorization_ = authorization; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete authorization_; + } if (authorization) { - set_has_authorization(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authorization); + if (message_arena != submessage_arena) { + authorization = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, authorization, submessage_arena); + } + _has_bits_[0] |= 0x00000001u; } else { - clear_has_authorization(); + _has_bits_[0] &= ~0x00000001u; } + authorization_ = authorization; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.authorization) } // optional .MetadataExporter_ns.Request.Validation validation = 3; -inline bool Request::has_validation() const { - return (_has_bits_[0] & 0x00000004u) != 0; +inline bool Request::_internal_has_validation() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || validation_ != nullptr); + return value; } -inline void Request::set_has_validation() { - _has_bits_[0] |= 0x00000004u; -} -inline void Request::clear_has_validation() { - _has_bits_[0] &= ~0x00000004u; +inline bool Request::has_validation() const { + return _internal_has_validation(); } inline void Request::clear_validation() { - if (validation_ != NULL) validation_->::MetadataExporter_ns::Request_Validation::Clear(); - clear_has_validation(); + if (validation_ != nullptr) validation_->Clear(); + _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 const ::MetadataExporter_ns::Request_Validation& Request::validation() const { - return validation_ != NULL ? *validation_ : *default_instance_->validation_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.validation) + return _internal_validation(); } -inline ::MetadataExporter_ns::Request_Validation* Request::mutable_validation() { - set_has_validation(); - if (validation_ == NULL) validation_ = new ::MetadataExporter_ns::Request_Validation; - return 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) } inline ::MetadataExporter_ns::Request_Validation* Request::release_validation() { - clear_has_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; ::MetadataExporter_ns::Request_Validation* temp = validation_; - validation_ = NULL; + validation_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.validation) + return _internal_mutable_validation(); +} inline void Request::set_allocated_validation(::MetadataExporter_ns::Request_Validation* validation) { - delete validation_; - validation_ = validation; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete validation_; + } if (validation) { - set_has_validation(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(validation); + if (message_arena != submessage_arena) { + validation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, validation, submessage_arena); + } + _has_bits_[0] |= 0x00000002u; } else { - clear_has_validation(); + _has_bits_[0] &= ~0x00000002u; } + validation_ = validation; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.validation) } // optional .MetadataExporter_ns.Request.Metadata metadata = 4; -inline bool Request::has_metadata() const { - return (_has_bits_[0] & 0x00000008u) != 0; +inline bool Request::_internal_has_metadata() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || metadata_ != nullptr); + return value; } -inline void Request::set_has_metadata() { - _has_bits_[0] |= 0x00000008u; -} -inline void Request::clear_has_metadata() { - _has_bits_[0] &= ~0x00000008u; +inline bool Request::has_metadata() const { + return _internal_has_metadata(); } inline void Request::clear_metadata() { - if (metadata_ != NULL) metadata_->::MetadataExporter_ns::Request_Metadata::Clear(); - clear_has_metadata(); + if (metadata_ != nullptr) metadata_->Clear(); + _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 const ::MetadataExporter_ns::Request_Metadata& Request::metadata() const { - return metadata_ != NULL ? *metadata_ : *default_instance_->metadata_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Request.metadata) + return _internal_metadata(); } -inline ::MetadataExporter_ns::Request_Metadata* Request::mutable_metadata() { - set_has_metadata(); - if (metadata_ == NULL) metadata_ = new ::MetadataExporter_ns::Request_Metadata; - return 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) } inline ::MetadataExporter_ns::Request_Metadata* Request::release_metadata() { - clear_has_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; ::MetadataExporter_ns::Request_Metadata* temp = metadata_; - metadata_ = NULL; + metadata_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Request.metadata) + return _internal_mutable_metadata(); +} inline void Request::set_allocated_metadata(::MetadataExporter_ns::Request_Metadata* metadata) { - delete metadata_; - metadata_ = metadata; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete metadata_; + } if (metadata) { - set_has_metadata(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(metadata); + if (message_arena != submessage_arena) { + metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, metadata, submessage_arena); + } + _has_bits_[0] |= 0x00000004u; } else { - clear_has_metadata(); + _has_bits_[0] &= ~0x00000004u; } + metadata_ = metadata; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Request.metadata) } +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) } // namespace MetadataExporter_ns -#ifndef SWIG -namespace google { -namespace protobuf { +PROTOBUF_NAMESPACE_OPEN +template <> struct is_proto_enum< ::MetadataExporter_ns::Request_Type> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Request_Type>() { return ::MetadataExporter_ns::Request_Type_descriptor(); } -} // namespace google -} // namespace protobuf -#endif // SWIG +PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_Request_2eproto__INCLUDED +#include <google/protobuf/port_undef.inc> +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Request_2eproto diff --git a/src/Response.pb.cc b/src/Response.pb.cc index b9a18693634c65901a231b50da9866a53979c6c7..7c10e79b3fbae9c9b2b33549c49408d1433c44dc 100644 --- a/src/Response.pb.cc +++ b/src/Response.pb.cc @@ -1,432 +1,473 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Response.proto -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Response.pb.h" #include <algorithm> -#include <google/protobuf/stubs/common.h> -#include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> -#include <google/protobuf/wire_format_lite_inl.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/wire_format_lite.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> // @@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; +} _Response_Authorization_default_instance_; +class Response_ValidationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::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; +} _Response_Metadata_Row_DtDouble_default_instance_; +class Response_Metadata_Row_DtIntegerDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::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; +} _Response_Metadata_Row_DtUnsignedLong_default_instance_; +class Response_Metadata_Row_DtLongLongDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::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; +} _Response_Metadata_Row_DtString_default_instance_; +class Response_Metadata_Row_DtDateDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::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; +} _Response_Metadata_Row_default_instance_; +class Response_MetadataDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response_Metadata> _instance; +} _Response_Metadata_default_instance_; +class ResponseDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Response> _instance; +} _Response_default_instance_; +} // namespace MetadataExporter_ns +static void InitDefaultsscc_info_Response_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; -namespace { - -const ::google::protobuf::Descriptor* Response_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Authorization_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Authorization_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* Response_Authorization_State_descriptor_ = NULL; -const ::google::protobuf::Descriptor* Response_Validation_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Validation_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* Response_Validation_State_descriptor_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDouble_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtDouble_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtInteger_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtInteger_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtUnsignedLong_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtUnsignedLong_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtLongLong_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtLongLong_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtString_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtString_reflection_ = NULL; -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDate_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Response_Metadata_Row_DtDate_reflection_ = NULL; -const ::google::protobuf::EnumDescriptor* Response_Metadata_State_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* Response_Type_descriptor_ = NULL; - -} // namespace - - -void protobuf_AssignDesc_Response_2eproto() { - protobuf_AddDesc_Response_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "Response.proto"); - GOOGLE_CHECK(file != NULL); - Response_descriptor_ = file->message_type(0); - static const int Response_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, type_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, authorization_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, validation_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, metadata_), - }; - Response_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_descriptor_, - Response::default_instance_, - Response_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response)); - Response_Authorization_descriptor_ = Response_descriptor_->nested_type(0); - static const int Response_Authorization_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Authorization, state_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Authorization, status_), - }; - Response_Authorization_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Authorization_descriptor_, - Response_Authorization::default_instance_, - Response_Authorization_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Authorization, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Authorization, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Authorization)); - Response_Authorization_State_descriptor_ = Response_Authorization_descriptor_->enum_type(0); - Response_Validation_descriptor_ = Response_descriptor_->nested_type(1); - static const int Response_Validation_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Validation, state_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Validation, status_), - }; - Response_Validation_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Validation_descriptor_, - Response_Validation::default_instance_, - Response_Validation_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Validation, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Validation, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Validation)); - Response_Validation_State_descriptor_ = Response_Validation_descriptor_->enum_type(0); - Response_Metadata_descriptor_ = Response_descriptor_->nested_type(2); - static const int Response_Metadata_offsets_[3] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, state_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, status_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, rows_), - }; - Response_Metadata_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_descriptor_, - Response_Metadata::default_instance_, - Response_Metadata_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata)); - Response_Metadata_Row_descriptor_ = Response_Metadata_descriptor_->nested_type(0); - static const int Response_Metadata_Row_offsets_[6] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, double_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, integer_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, unsinged_long_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, long_long_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, strings_list_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, date_list_), - }; - Response_Metadata_Row_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_descriptor_, - Response_Metadata_Row::default_instance_, - Response_Metadata_Row_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row)); - Response_Metadata_Row_DtDouble_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(0); - static const int Response_Metadata_Row_DtDouble_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, value_), - }; - Response_Metadata_Row_DtDouble_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtDouble_descriptor_, - Response_Metadata_Row_DtDouble::default_instance_, - Response_Metadata_Row_DtDouble_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDouble, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtDouble)); - Response_Metadata_Row_DtInteger_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(1); - static const int Response_Metadata_Row_DtInteger_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, value_), - }; - Response_Metadata_Row_DtInteger_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtInteger_descriptor_, - Response_Metadata_Row_DtInteger::default_instance_, - Response_Metadata_Row_DtInteger_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtInteger, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtInteger)); - Response_Metadata_Row_DtUnsignedLong_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(2); - static const int Response_Metadata_Row_DtUnsignedLong_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, value_), - }; - Response_Metadata_Row_DtUnsignedLong_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtUnsignedLong_descriptor_, - Response_Metadata_Row_DtUnsignedLong::default_instance_, - Response_Metadata_Row_DtUnsignedLong_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtUnsignedLong, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtUnsignedLong)); - Response_Metadata_Row_DtLongLong_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(3); - static const int Response_Metadata_Row_DtLongLong_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, value_), - }; - Response_Metadata_Row_DtLongLong_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtLongLong_descriptor_, - Response_Metadata_Row_DtLongLong::default_instance_, - Response_Metadata_Row_DtLongLong_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtLongLong, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtLongLong)); - Response_Metadata_Row_DtString_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(4); - static const int Response_Metadata_Row_DtString_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, value_), - }; - Response_Metadata_Row_DtString_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtString_descriptor_, - Response_Metadata_Row_DtString::default_instance_, - Response_Metadata_Row_DtString_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtString, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtString)); - Response_Metadata_Row_DtDate_descriptor_ = Response_Metadata_Row_descriptor_->nested_type(5); - static const int Response_Metadata_Row_DtDate_offsets_[2] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, key_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, value_), - }; - Response_Metadata_Row_DtDate_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Response_Metadata_Row_DtDate_descriptor_, - Response_Metadata_Row_DtDate::default_instance_, - Response_Metadata_Row_DtDate_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Response_Metadata_Row_DtDate, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Response_Metadata_Row_DtDate)); - Response_Metadata_State_descriptor_ = Response_Metadata_descriptor_->enum_type(0); - Response_Type_descriptor_ = Response_descriptor_->enum_type(0); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_Response_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_descriptor_, &Response::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Authorization_descriptor_, &Response_Authorization::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Validation_descriptor_, &Response_Validation::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_descriptor_, &Response_Metadata::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_descriptor_, &Response_Metadata_Row::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtDouble_descriptor_, &Response_Metadata_Row_DtDouble::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtInteger_descriptor_, &Response_Metadata_Row_DtInteger::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtUnsignedLong_descriptor_, &Response_Metadata_Row_DtUnsignedLong::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtLongLong_descriptor_, &Response_Metadata_Row_DtLongLong::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtString_descriptor_, &Response_Metadata_Row_DtString::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Response_Metadata_Row_DtDate_descriptor_, &Response_Metadata_Row_DtDate::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_Response_2eproto() { - delete Response::default_instance_; - delete Response_reflection_; - delete Response_Authorization::default_instance_; - delete Response_Authorization_reflection_; - delete Response_Validation::default_instance_; - delete Response_Validation_reflection_; - delete Response_Metadata::default_instance_; - delete Response_Metadata_reflection_; - delete Response_Metadata_Row::default_instance_; - delete Response_Metadata_Row_reflection_; - delete Response_Metadata_Row_DtDouble::default_instance_; - delete Response_Metadata_Row_DtDouble_reflection_; - delete Response_Metadata_Row_DtInteger::default_instance_; - delete Response_Metadata_Row_DtInteger_reflection_; - delete Response_Metadata_Row_DtUnsignedLong::default_instance_; - delete Response_Metadata_Row_DtUnsignedLong_reflection_; - delete Response_Metadata_Row_DtLongLong::default_instance_; - delete Response_Metadata_Row_DtLongLong_reflection_; - delete Response_Metadata_Row_DtString::default_instance_; - delete Response_Metadata_Row_DtString_reflection_; - delete Response_Metadata_Row_DtDate::default_instance_; - delete Response_Metadata_Row_DtDate_reflection_; -} - -void protobuf_AddDesc_Response_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; + { + void* ptr = &::MetadataExporter_ns::_Response_default_instance_; + new (ptr) ::MetadataExporter_ns::Response(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response::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,}}; + +static void InitDefaultsscc_info_Response_Authorization_Response_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\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", 1514); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "Response.proto", &protobuf_RegisterTypes); - Response::default_instance_ = new Response(); - Response_Authorization::default_instance_ = new Response_Authorization(); - Response_Validation::default_instance_ = new Response_Validation(); - Response_Metadata::default_instance_ = new Response_Metadata(); - Response_Metadata_Row::default_instance_ = new Response_Metadata_Row(); - Response_Metadata_Row_DtDouble::default_instance_ = new Response_Metadata_Row_DtDouble(); - Response_Metadata_Row_DtInteger::default_instance_ = new Response_Metadata_Row_DtInteger(); - Response_Metadata_Row_DtUnsignedLong::default_instance_ = new Response_Metadata_Row_DtUnsignedLong(); - Response_Metadata_Row_DtLongLong::default_instance_ = new Response_Metadata_Row_DtLongLong(); - Response_Metadata_Row_DtString::default_instance_ = new Response_Metadata_Row_DtString(); - Response_Metadata_Row_DtDate::default_instance_ = new Response_Metadata_Row_DtDate(); - Response::default_instance_->InitAsDefaultInstance(); - Response_Authorization::default_instance_->InitAsDefaultInstance(); - Response_Validation::default_instance_->InitAsDefaultInstance(); - Response_Metadata::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtDouble::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtInteger::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtUnsignedLong::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtLongLong::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtString::default_instance_->InitAsDefaultInstance(); - Response_Metadata_Row_DtDate::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_Response_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_Response_2eproto { - StaticDescriptorInitializer_Response_2eproto() { - protobuf_AddDesc_Response_2eproto(); - } -} static_descriptor_initializer_Response_2eproto_; + { + void* ptr = &::MetadataExporter_ns::_Response_Authorization_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Authorization(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Authorization::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; -const ::google::protobuf::EnumDescriptor* Response_Type_descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Type_descriptor_; + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata::InitAsDefaultInstance(); } -bool Response_Type_IsValid(int value) { - switch(value) { + +::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,}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row::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,}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtDate_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDate_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDate(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtDate::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtDouble_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtDouble_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtDouble(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtDouble::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtInteger_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtInteger_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtInteger(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtInteger::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtLongLong_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtLongLong_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtString_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtString_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtString(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtString::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}, {}}; + +static void InitDefaultsscc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Metadata_Row_DtUnsignedLong_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong::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}, {}}; + +static void InitDefaultsscc_info_Response_Validation_Response_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::MetadataExporter_ns::_Response_Validation_default_instance_; + new (ptr) ::MetadataExporter_ns::Response_Validation(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::MetadataExporter_ns::Response_Validation::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}, {}}; + +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; + +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_), + ~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_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Validation, _has_bits_), + PROTOBUF_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_), + 1, + 0, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDouble, _has_bits_), + PROTOBUF_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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtInteger, _has_bits_), + PROTOBUF_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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong, _has_bits_), + PROTOBUF_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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtLongLong, _has_bits_), + PROTOBUF_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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtString, _has_bits_), + PROTOBUF_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_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response_Metadata_Row_DtDate, _has_bits_), + PROTOBUF_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_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_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_), + ~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_), + 1, + 0, + ~0u, + PROTOBUF_FIELD_OFFSET(::MetadataExporter_ns::Response, _has_bits_), + PROTOBUF_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_), + 3, + 0, + 1, + 2, +}; +static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_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)}, + { 27, 34, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtInteger)}, + { 36, 43, sizeof(::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong)}, + { 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_), +}; + +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, +}; + +// 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); +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]; +} +bool Response_Authorization_State_IsValid(int value) { + switch (value) { case 0: case 1: - case 2: return true; default: return false; } } -#ifndef _MSC_VER -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 // _MSC_VER -const ::google::protobuf::EnumDescriptor* Response_Authorization_State_descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Authorization_State_descriptor_; +#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]; } -bool Response_Authorization_State_IsValid(int value) { - switch(value) { +bool Response_Validation_State_IsValid(int value) { + switch (value) { case 0: case 1: return true; @@ -435,3303 +476,3437 @@ bool Response_Authorization_State_IsValid(int value) { } } -#ifndef _MSC_VER -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 // _MSC_VER -#ifndef _MSC_VER -const int Response_Authorization::kStateFieldNumber; -const int Response_Authorization::kStatusFieldNumber; -#endif // !_MSC_VER +#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]; +} +bool Response_Metadata_State_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} -Response_Authorization::Response_Authorization() - : ::google::protobuf::Message() { - SharedCtor(); +#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]; } +bool Response_Type_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +#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) + +// =================================================================== 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; + } +}; -Response_Authorization::Response_Authorization(const Response_Authorization& from) - : ::google::protobuf::Message() { +Response_Authorization::Response_Authorization(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + state_ = from.state_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Authorization) } void Response_Authorization::SharedCtor() { - _cached_size_ = 0; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Authorization_Response_2eproto.base); + status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); state_ = 0; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); } Response_Authorization::~Response_Authorization() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Authorization) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Authorization::SharedDtor() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Authorization::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Authorization::ArenaDtor(void* object) { + Response_Authorization* _this = reinterpret_cast< Response_Authorization* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Authorization::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Authorization_descriptor_; +void Response_Authorization::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Authorization::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Authorization& Response_Authorization::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Authorization_Response_2eproto.base); + return *internal_default_instance(); } -Response_Authorization* Response_Authorization::default_instance_ = NULL; - -Response_Authorization* Response_Authorization::New() const { - return new Response_Authorization; -} void Response_Authorization::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - state_ = 0; - if (has_status()) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - } - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Authorization) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -bool Response_Authorization::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + status_.ClearNonDefaultToEmpty(); + } + 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) { // required .MetadataExporter_ns.Response.Authorization.State state = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Response_Authorization_State_IsValid(value)) { - set_state(static_cast< ::MetadataExporter_ns::Response_Authorization_State >(value)); + 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)); } else { - mutable_unknown_fields()->AddVarint(1, value); + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_status; - break; - } - + } else goto handle_unusual; + continue; // required string status = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_status: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_status())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Authorization::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Authorization::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Authorization) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Authorization.State state = 1; - if (has_state()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_state(), target); } // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->status(), output); + 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, + "MetadataExporter_ns.Response.Authorization.status"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_status(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Authorization) + return target; } -::google::protobuf::uint8* Response_Authorization::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required .MetadataExporter_ns.Response.Authorization.State state = 1; - if (has_state()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } +size_t Response_Authorization::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Authorization) + size_t total_size = 0; - // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->status(), target); + if (_internal_has_status()) { + // required string status = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_state()) { + // required .MetadataExporter_ns.Response.Authorization.State state = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); } - return target; + + return total_size; } +size_t Response_Authorization::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Authorization) + size_t total_size = 0; -int Response_Authorization::ByteSize() const { - int total_size = 0; + 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()); - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .MetadataExporter_ns.Response.Authorization.State state = 1; - if (has_state()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - // required string status = 2; - if (has_status()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->status()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Authorization::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Authorization::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Authorization) + GOOGLE_DCHECK_NE(&from, this); const Response_Authorization* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Authorization*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Authorization>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Authorization) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Authorization) MergeFrom(*source); } } void Response_Authorization::MergeFrom(const Response_Authorization& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_state()) { - set_state(from.state()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_status(from._internal_status()); } - if (from.has_status()) { - set_status(from.status()); + if (cached_has_bits & 0x00000002u) { + state_ = from.state_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Authorization::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Authorization::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Authorization) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Authorization::CopyFrom(const Response_Authorization& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Authorization) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Authorization::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Authorization::Swap(Response_Authorization* other) { - if (other != this) { - std::swap(state_, other->state_); - std::swap(status_, other->status_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(state_, other->state_); } -::google::protobuf::Metadata Response_Authorization::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Authorization_descriptor_; - metadata.reflection = Response_Authorization_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Authorization::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- +// =================================================================== -const ::google::protobuf::EnumDescriptor* Response_Validation_State_descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Validation_State_descriptor_; +void Response_Validation::InitAsDefaultInstance() { } -bool Response_Validation_State_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; +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; } -} - -#ifndef _MSC_VER -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 // _MSC_VER -#ifndef _MSC_VER -const int Response_Validation::kStateFieldNumber; -const int Response_Validation::kStatusFieldNumber; -#endif // !_MSC_VER + 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; + } +}; -Response_Validation::Response_Validation() - : ::google::protobuf::Message() { +Response_Validation::Response_Validation(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Validation) } - -void Response_Validation::InitAsDefaultInstance() { -} - Response_Validation::Response_Validation(const Response_Validation& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(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()); + } + state_ = from.state_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Validation) } void Response_Validation::SharedCtor() { - _cached_size_ = 0; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Validation_Response_2eproto.base); + status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); state_ = 0; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); } Response_Validation::~Response_Validation() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Validation) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Validation::SharedDtor() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Validation::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Validation::ArenaDtor(void* object) { + Response_Validation* _this = reinterpret_cast< Response_Validation* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Validation::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Validation_descriptor_; +void Response_Validation::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Validation::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Validation& Response_Validation::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Validation_Response_2eproto.base); + return *internal_default_instance(); } -Response_Validation* Response_Validation::default_instance_ = NULL; - -Response_Validation* Response_Validation::New() const { - return new Response_Validation; -} void Response_Validation::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - state_ = 0; - if (has_status()) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - } - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Validation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -bool Response_Validation::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + status_.ClearNonDefaultToEmpty(); + } + 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) { // required .MetadataExporter_ns.Response.Validation.State state = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Response_Validation_State_IsValid(value)) { - set_state(static_cast< ::MetadataExporter_ns::Response_Validation_State >(value)); + 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)); } else { - mutable_unknown_fields()->AddVarint(1, value); + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_status; - break; - } - + } else goto handle_unusual; + continue; // required string status = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_status: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_status())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Validation::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Validation::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Validation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Validation.State state = 1; - if (has_state()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_state(), target); } // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->status(), output); + 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, + "MetadataExporter_ns.Response.Validation.status"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_status(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Validation) + return target; } -::google::protobuf::uint8* Response_Validation::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required .MetadataExporter_ns.Response.Validation.State state = 1; - if (has_state()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } +size_t Response_Validation::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Validation) + size_t total_size = 0; - // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->status(), target); + if (_internal_has_status()) { + // required string status = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_state()) { + // required .MetadataExporter_ns.Response.Validation.State state = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); } - return target; + + return total_size; } +size_t Response_Validation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Validation) + size_t total_size = 0; -int Response_Validation::ByteSize() const { - int total_size = 0; + 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()); - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .MetadataExporter_ns.Response.Validation.State state = 1; - if (has_state()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - // required string status = 2; - if (has_status()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->status()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Validation::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Validation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Validation) + GOOGLE_DCHECK_NE(&from, this); const Response_Validation* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Validation*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Validation>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Validation) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Validation) MergeFrom(*source); } } void Response_Validation::MergeFrom(const Response_Validation& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_state()) { - set_state(from.state()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_status(from._internal_status()); } - if (from.has_status()) { - set_status(from.status()); + if (cached_has_bits & 0x00000002u) { + state_ = from.state_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Validation::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Validation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Validation) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Validation::CopyFrom(const Response_Validation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Validation) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Validation::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Validation::Swap(Response_Validation* other) { - if (other != this) { - std::swap(state_, other->state_); - std::swap(status_, other->status_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(state_, other->state_); } -::google::protobuf::Metadata Response_Validation::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Validation_descriptor_; - metadata.reflection = Response_Validation_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Validation::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- +// =================================================================== -const ::google::protobuf::EnumDescriptor* Response_Metadata_State_descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_State_descriptor_; +void Response_Metadata_Row_DtDouble::InitAsDefaultInstance() { } -bool Response_Metadata_State_IsValid(int value) { - switch(value) { - case 0: - case 1: - return true; - default: - return false; +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; } -} - -#ifndef _MSC_VER -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 // _MSC_VER -#ifndef _MSC_VER -const int Response_Metadata_Row_DtDouble::kKeyFieldNumber; -const int Response_Metadata_Row_DtDouble::kValueFieldNumber; -#endif // !_MSC_VER + 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; + } +}; -Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble() - : ::google::protobuf::Message() { +Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) } - -void Response_Metadata_Row_DtDouble::InitAsDefaultInstance() { -} - Response_Metadata_Row_DtDouble::Response_Metadata_Row_DtDouble(const Response_Metadata_Row_DtDouble& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(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_ = from.value_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDouble) } void Response_Metadata_Row_DtDouble::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base); + key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); value_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtDouble::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtDouble::ArenaDtor(void* object) { + Response_Metadata_Row_DtDouble* _this = reinterpret_cast< Response_Metadata_Row_DtDouble* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDouble::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtDouble_descriptor_; +void Response_Metadata_Row_DtDouble::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtDouble::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtDouble& Response_Metadata_Row_DtDouble::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtDouble_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtDouble* Response_Metadata_Row_DtDouble::default_instance_ = NULL; - -Response_Metadata_Row_DtDouble* Response_Metadata_Row_DtDouble::New() const { - return new Response_Metadata_Row_DtDouble; -} void Response_Metadata_Row_DtDouble::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - } - value_ = 0; - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -bool Response_Metadata_Row_DtDouble::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); + } + 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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(17)) goto parse_value; - break; - } - + 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; // required double value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { - parse_value: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( - input, &value_))); - set_has_value(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtDouble::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtDouble::_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.DtDouble) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtDouble.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required double value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->value(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtDouble::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } +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; - // required double value = 2; - if (has_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required double value = 2; + total_size += 1 + 8; } - return target; -} -int Response_Metadata_Row_DtDouble::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required double value = 2; - if (has_value()) { - total_size += 1 + 8; - } + total_size += 1 + 8; + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtDouble::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtDouble::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtDouble*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtDouble>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtDouble) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtDouble) MergeFrom(*source); } } void Response_Metadata_Row_DtDouble::MergeFrom(const Response_Metadata_Row_DtDouble& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + value_ = from.value_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtDouble::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDouble::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtDouble::CopyFrom(const Response_Metadata_Row_DtDouble& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDouble) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtDouble::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtDouble::Swap(Response_Metadata_Row_DtDouble* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(value_, other->value_); } -::google::protobuf::Metadata Response_Metadata_Row_DtDouble::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtDouble_descriptor_; - metadata.reflection = Response_Metadata_Row_DtDouble_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtDouble::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row_DtInteger::kKeyFieldNumber; -const int Response_Metadata_Row_DtInteger::kValueFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger(const Response_Metadata_Row_DtInteger& from) - : ::google::protobuf::Message() { +Response_Metadata_Row_DtInteger::Response_Metadata_Row_DtInteger(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + value_ = from.value_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtInteger) } void Response_Metadata_Row_DtInteger::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base); + key_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); value_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtInteger::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtInteger::ArenaDtor(void* object) { + Response_Metadata_Row_DtInteger* _this = reinterpret_cast< Response_Metadata_Row_DtInteger* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtInteger::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtInteger_descriptor_; +void Response_Metadata_Row_DtInteger::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtInteger::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtInteger& Response_Metadata_Row_DtInteger::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtInteger_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtInteger* Response_Metadata_Row_DtInteger::default_instance_ = NULL; - -Response_Metadata_Row_DtInteger* Response_Metadata_Row_DtInteger::New() const { - return new Response_Metadata_Row_DtInteger; -} void Response_Metadata_Row_DtInteger::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - } - value_ = 0; - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -bool Response_Metadata_Row_DtInteger::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); + } + 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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_value; - break; - } - + 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; // required int32 value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_value: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &value_))); - set_has_value(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtInteger::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::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) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtInteger.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required int32 value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->value(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtInteger::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), 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; - // required int32 value = 2; - if (has_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required int32 value = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_value()); } - return target; -} -int Response_Metadata_Row_DtInteger::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required int32 value = 2; - if (has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->value()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_value()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtInteger::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtInteger::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtInteger*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtInteger>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtInteger) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtInteger) MergeFrom(*source); } } void Response_Metadata_Row_DtInteger::MergeFrom(const Response_Metadata_Row_DtInteger& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + value_ = from.value_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtInteger::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtInteger::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtInteger::CopyFrom(const Response_Metadata_Row_DtInteger& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtInteger) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtInteger::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtInteger::Swap(Response_Metadata_Row_DtInteger* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(value_, other->value_); } -::google::protobuf::Metadata Response_Metadata_Row_DtInteger::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtInteger_descriptor_; - metadata.reflection = Response_Metadata_Row_DtInteger_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtInteger::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row_DtUnsignedLong::kKeyFieldNumber; -const int Response_Metadata_Row_DtUnsignedLong::kValueFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong(const Response_Metadata_Row_DtUnsignedLong& from) - : ::google::protobuf::Message() { +Response_Metadata_Row_DtUnsignedLong::Response_Metadata_Row_DtUnsignedLong(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + value_ = from.value_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) } void Response_Metadata_Row_DtUnsignedLong::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - value_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtUnsignedLong::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtUnsignedLong::ArenaDtor(void* object) { + Response_Metadata_Row_DtUnsignedLong* _this = reinterpret_cast< Response_Metadata_Row_DtUnsignedLong* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtUnsignedLong::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtUnsignedLong_descriptor_; +void Response_Metadata_Row_DtUnsignedLong::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtUnsignedLong::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row_DtUnsignedLong::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtUnsignedLong_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row_DtUnsignedLong::default_instance_ = NULL; - -Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row_DtUnsignedLong::New() const { - return new Response_Metadata_Row_DtUnsignedLong; -} void Response_Metadata_Row_DtUnsignedLong::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - } - value_ = GOOGLE_ULONGLONG(0); - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Response_Metadata_Row_DtUnsignedLong::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + ::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 & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); + } + value_ = PROTOBUF_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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_value; - break; - } - + 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; // required uint64 value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_value: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &value_))); - set_has_value(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtUnsignedLong::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtUnsignedLong::_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.DtUnsignedLong) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required uint64 value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->value(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtUnsignedLong::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } +size_t Response_Metadata_Row_DtUnsignedLong::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + size_t total_size = 0; - // required uint64 value = 2; - if (has_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required uint64 value = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->_internal_value()); } - return target; -} -int Response_Metadata_Row_DtUnsignedLong::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required uint64 value = 2; - if (has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->value()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->_internal_value()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtUnsignedLong*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtUnsignedLong>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) MergeFrom(*source); } } void Response_Metadata_Row_DtUnsignedLong::MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + value_ = from.value_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtUnsignedLong::CopyFrom(const Response_Metadata_Row_DtUnsignedLong& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtUnsignedLong::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtUnsignedLong::Swap(Response_Metadata_Row_DtUnsignedLong* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(value_, other->value_); } -::google::protobuf::Metadata Response_Metadata_Row_DtUnsignedLong::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtUnsignedLong_descriptor_; - metadata.reflection = Response_Metadata_Row_DtUnsignedLong_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtUnsignedLong::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row_DtLongLong::kKeyFieldNumber; -const int Response_Metadata_Row_DtLongLong::kValueFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong(const Response_Metadata_Row_DtLongLong& from) - : ::google::protobuf::Message() { +Response_Metadata_Row_DtLongLong::Response_Metadata_Row_DtLongLong(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + value_ = from.value_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) } void Response_Metadata_Row_DtLongLong::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - value_ = GOOGLE_LONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtLongLong::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtLongLong::ArenaDtor(void* object) { + Response_Metadata_Row_DtLongLong* _this = reinterpret_cast< Response_Metadata_Row_DtLongLong* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtLongLong::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtLongLong_descriptor_; +void Response_Metadata_Row_DtLongLong::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtLongLong::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtLongLong& Response_Metadata_Row_DtLongLong::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtLongLong_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtLongLong* Response_Metadata_Row_DtLongLong::default_instance_ = NULL; - -Response_Metadata_Row_DtLongLong* Response_Metadata_Row_DtLongLong::New() const { - return new Response_Metadata_Row_DtLongLong; -} void Response_Metadata_Row_DtLongLong::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - } - value_ = GOOGLE_LONGLONG(0); - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Response_Metadata_Row_DtLongLong::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + ::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 & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); + } + value_ = PROTOBUF_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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(16)) goto parse_value; - break; - } - + 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; // required int64 value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - parse_value: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( - input, &value_))); - set_has_value(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtLongLong::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtLongLong::_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.DtLongLong) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required int64 value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->value(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtLongLong::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } +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; - // required int64 value = 2; - if (has_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required int64 value = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->_internal_value()); } - return target; -} -int Response_Metadata_Row_DtLongLong::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required int64 value = 2; - if (has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int64Size( - this->value()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->_internal_value()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtLongLong::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtLongLong::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtLongLong*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtLongLong>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) MergeFrom(*source); } } void Response_Metadata_Row_DtLongLong::MergeFrom(const Response_Metadata_Row_DtLongLong& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + value_ = from.value_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtLongLong::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtLongLong::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtLongLong::CopyFrom(const Response_Metadata_Row_DtLongLong& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtLongLong::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtLongLong::Swap(Response_Metadata_Row_DtLongLong* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(value_, other->value_); } -::google::protobuf::Metadata Response_Metadata_Row_DtLongLong::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtLongLong_descriptor_; - metadata.reflection = Response_Metadata_Row_DtLongLong_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtLongLong::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row_DtString::kKeyFieldNumber; -const int Response_Metadata_Row_DtString::kValueFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row_DtString::Response_Metadata_Row_DtString() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Response_Metadata_Row_DtString::Response_Metadata_Row_DtString(const Response_Metadata_Row_DtString& from) - : ::google::protobuf::Message() { +Response_Metadata_Row_DtString::Response_Metadata_Row_DtString(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtString) } void Response_Metadata_Row_DtString::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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()); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (value_ != &::google::protobuf::internal::kEmptyString) { - delete value_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtString::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtString::ArenaDtor(void* object) { + Response_Metadata_Row_DtString* _this = reinterpret_cast< Response_Metadata_Row_DtString* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtString::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtString_descriptor_; +void Response_Metadata_Row_DtString::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtString::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtString& Response_Metadata_Row_DtString::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtString_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtString* Response_Metadata_Row_DtString::default_instance_ = NULL; - -Response_Metadata_Row_DtString* Response_Metadata_Row_DtString::New() const { - return new Response_Metadata_Row_DtString; -} void Response_Metadata_Row_DtString::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtString) + ::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 & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); } - if (has_value()) { - if (value_ != &::google::protobuf::internal::kEmptyString) { - value_->clear(); - } + if (cached_has_bits & 0x00000002u) { + value_.ClearNonDefaultToEmpty(); } } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); + _has_bits_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -bool Response_Metadata_Row_DtString::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_value; - break; - } - + 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; // required string value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_value: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_value())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->value().data(), this->value().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtString::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtString::_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.DtString) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtString.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required string value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->value().data(), this->value().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->value(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtString.value"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtString) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtString::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } +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; - // required string value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->value().data(), this->value().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required string value = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); } - return target; -} -int Response_Metadata_Row_DtString::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required string value = 2; - if (has_value()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->value()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_value()); + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtString::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtString::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtString*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtString>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtString) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtString) MergeFrom(*source); } } void Response_Metadata_Row_DtString::MergeFrom(const Response_Metadata_Row_DtString& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + _internal_set_value(from._internal_value()); } } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtString::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtString::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtString) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtString::CopyFrom(const Response_Metadata_Row_DtString& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtString) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtString::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtString::Swap(Response_Metadata_Row_DtString* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +void Response_Metadata_Row_DtString::InternalSwap(Response_Metadata_Row_DtString* 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()); + value_.Swap(&other->value_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -::google::protobuf::Metadata Response_Metadata_Row_DtString::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtString_descriptor_; - metadata.reflection = Response_Metadata_Row_DtString_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtString::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row_DtDate::kKeyFieldNumber; -const int Response_Metadata_Row_DtDate::kValueFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== 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; + } +}; -Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate(const Response_Metadata_Row_DtDate& from) - : ::google::protobuf::Message() { +Response_Metadata_Row_DtDate::Response_Metadata_Row_DtDate(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_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()); + } + value_ = from.value_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row.DtDate) } void Response_Metadata_Row_DtDate::SharedCtor() { - _cached_size_ = 0; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - value_ = GOOGLE_LONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::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); } 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() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + key_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata_Row_DtDate::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row_DtDate::ArenaDtor(void* object) { + Response_Metadata_Row_DtDate* _this = reinterpret_cast< Response_Metadata_Row_DtDate* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row_DtDate::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_DtDate_descriptor_; +void Response_Metadata_Row_DtDate::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row_DtDate::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row_DtDate& Response_Metadata_Row_DtDate::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_DtDate_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row_DtDate* Response_Metadata_Row_DtDate::default_instance_ = NULL; - -Response_Metadata_Row_DtDate* Response_Metadata_Row_DtDate::New() const { - return new Response_Metadata_Row_DtDate; -} void Response_Metadata_Row_DtDate::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (has_key()) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - } - value_ = GOOGLE_LONGLONG(0); - } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Response_Metadata_Row_DtDate::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) + ::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 & 0x00000001u) { + key_.ClearNonDefaultToEmpty(); + } + value_ = PROTOBUF_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) { // required string key = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_key())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(17)) goto parse_value; - break; - } - + 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; // required sfixed64 value = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { - parse_value: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>( - input, &value_))); - set_has_value(); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row_DtDate::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row_DtDate::_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.DtDate) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 1, this->key(), output); + 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, + "MetadataExporter_ns.Response.Metadata.Row.DtDate.key"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_key(), target); } // required sfixed64 value = 2; - if (has_value()) { - ::google::protobuf::internal::WireFormatLite::WriteSFixed64(2, this->value(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteSFixed64ToArray(2, this->_internal_value(), target); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row.DtDate) + return target; } -::google::protobuf::uint8* Response_Metadata_Row_DtDate::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required string key = 1; - if (has_key()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->key().data(), this->key().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 1, this->key(), target); - } +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; - // required sfixed64 value = 2; - if (has_value()) { - target = ::google::protobuf::internal::WireFormatLite::WriteSFixed64ToArray(2, this->value(), target); + if (_internal_has_key()) { + // required string key = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); + if (_internal_has_value()) { + // required sfixed64 value = 2; + total_size += 1 + 8; } - return target; -} -int Response_Metadata_Row_DtDate::ByteSize() const { - int total_size = 0; + return total_size; +} +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 (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string key = 1; - if (has_key()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->key()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_key()); // required sfixed64 value = 2; - if (has_value()) { - total_size += 1 + 8; - } + total_size += 1 + 8; + } else { + total_size += RequiredFieldsByteSizeFallback(); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + ::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_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row_DtDate::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row_DtDate::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::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 = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row_DtDate*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row_DtDate>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row.DtDate) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row.DtDate) MergeFrom(*source); } } void Response_Metadata_Row_DtDate::MergeFrom(const Response_Metadata_Row_DtDate& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_key()) { - set_key(from.key()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_key(from._internal_key()); } - if (from.has_value()) { - set_value(from.value()); + if (cached_has_bits & 0x00000002u) { + value_ = from.value_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row_DtDate::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row_DtDate::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row_DtDate::CopyFrom(const Response_Metadata_Row_DtDate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row.DtDate) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row_DtDate::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + if (_Internal::MissingRequiredFields(_has_bits_)) return false; return true; } -void Response_Metadata_Row_DtDate::Swap(Response_Metadata_Row_DtDate* other) { - if (other != this) { - std::swap(key_, other->key_); - std::swap(value_, other->value_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(value_, other->value_); } -::google::protobuf::Metadata Response_Metadata_Row_DtDate::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_DtDate_descriptor_; - metadata.reflection = Response_Metadata_Row_DtDate_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row_DtDate::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata_Row::kDoubleListFieldNumber; -const int Response_Metadata_Row::kIntegerListFieldNumber; -const int Response_Metadata_Row::kUnsingedLongListFieldNumber; -const int Response_Metadata_Row::kLongLongListFieldNumber; -const int Response_Metadata_Row::kStringsListFieldNumber; -const int Response_Metadata_Row::kDateListFieldNumber; -#endif // !_MSC_VER - -Response_Metadata_Row::Response_Metadata_Row() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== void Response_Metadata_Row::InitAsDefaultInstance() { } - -Response_Metadata_Row::Response_Metadata_Row(const Response_Metadata_Row& from) - : ::google::protobuf::Message() { +class Response_Metadata_Row::_Internal { + public: +}; + +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) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata.Row) +} +Response_Metadata_Row::Response_Metadata_Row(const Response_Metadata_Row& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + 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_); + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata.Row) } void Response_Metadata_Row::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Row_Response_2eproto.base); } 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() { - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); } -void Response_Metadata_Row::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata_Row::ArenaDtor(void* object) { + Response_Metadata_Row* _this = reinterpret_cast< Response_Metadata_Row* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata_Row::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_Row_descriptor_; +void Response_Metadata_Row::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata_Row::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata_Row& Response_Metadata_Row::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Row_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata_Row* Response_Metadata_Row::default_instance_ = NULL; - -Response_Metadata_Row* Response_Metadata_Row::New() const { - return new Response_Metadata_Row; -} void Response_Metadata_Row::Clear() { +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata.Row) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + double_list_.Clear(); integer_list_.Clear(); unsinged_long_list_.Clear(); long_long_list_.Clear(); strings_list_.Clear(); date_list_.Clear(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -bool Response_Metadata_Row::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { +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) { // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_double_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_double_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(10)) goto parse_double_list; - if (input->ExpectTag(18)) goto parse_integer_list; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_integer_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_integer_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_integer_list; - if (input->ExpectTag(26)) goto parse_unsinged_long_list; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_unsinged_long_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_unsinged_long_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_unsinged_long_list; - if (input->ExpectTag(34)) goto parse_long_long_list; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_long_long_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_long_long_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(34)) goto parse_long_long_list; - if (input->ExpectTag(42)) goto parse_strings_list; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - case 5: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_strings_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_strings_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(42)) goto parse_strings_list; - if (input->ExpectTag(50)) goto parse_date_list; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - case 6: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_date_list: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_date_list())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(50)) goto parse_date_list; - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata_Row::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; - for (int i = 0; i < this->double_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, this->double_list(i), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - for (int i = 0; i < this->integer_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->integer_list(i), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - for (int i = 0; i < this->unsinged_long_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->unsinged_long_list(i), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - for (int i = 0; i < this->long_long_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, this->long_long_list(i), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - for (int i = 0; i < this->strings_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, this->strings_list(i), output); - } - - // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - for (int i = 0; i < this->date_list_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, this->date_list(i), output); - } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata_Row::_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) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } -} - -::google::protobuf::uint8* Response_Metadata_Row::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; - for (int i = 0; i < this->double_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 1, this->double_list(i), target); + 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); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - for (int i = 0; i < this->integer_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 2, this->integer_list(i), target); + 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); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - for (int i = 0; i < this->unsinged_long_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 3, this->unsinged_long_list(i), target); + 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); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - for (int i = 0; i < this->long_long_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 4, this->long_long_list(i), target); + 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); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - for (int i = 0; i < this->strings_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 5, this->strings_list(i), target); + 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); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - for (int i = 0; i < this->date_list_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 6, this->date_list(i), target); + 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); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata.Row) return target; } -int Response_Metadata_Row::ByteSize() const { - int total_size = 0; +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 += 1 * this->double_list_size(); - for (int i = 0; i < this->double_list_size(); i++) { + total_size += 1UL * this->_internal_double_list_size(); + for (const auto& msg : this->double_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->double_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - total_size += 1 * this->integer_list_size(); - for (int i = 0; i < this->integer_list_size(); i++) { + total_size += 1UL * this->_internal_integer_list_size(); + for (const auto& msg : this->integer_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->integer_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - total_size += 1 * this->unsinged_long_list_size(); - for (int i = 0; i < this->unsinged_long_list_size(); i++) { + total_size += 1UL * this->_internal_unsinged_long_list_size(); + for (const auto& msg : this->unsinged_long_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->unsinged_long_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - total_size += 1 * this->long_long_list_size(); - for (int i = 0; i < this->long_long_list_size(); i++) { + total_size += 1UL * this->_internal_long_long_list_size(); + for (const auto& msg : this->long_long_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->long_long_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - total_size += 1 * this->strings_list_size(); - for (int i = 0; i < this->strings_list_size(); i++) { + total_size += 1UL * this->_internal_strings_list_size(); + for (const auto& msg : this->strings_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->strings_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - total_size += 1 * this->date_list_size(); - for (int i = 0; i < this->date_list_size(); i++) { + total_size += 1UL * this->_internal_date_list_size(); + for (const auto& msg : this->date_list_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->date_list(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata_Row::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata_Row::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata.Row) + GOOGLE_DCHECK_NE(&from, this); const Response_Metadata_Row* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata_Row*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata_Row>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata.Row) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata.Row) MergeFrom(*source); } } void Response_Metadata_Row::MergeFrom(const Response_Metadata_Row& from) { - GOOGLE_CHECK_NE(&from, this); +// @@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; + (void) cached_has_bits; + double_list_.MergeFrom(from.double_list_); integer_list_.MergeFrom(from.integer_list_); unsinged_long_list_.MergeFrom(from.unsinged_long_list_); long_long_list_.MergeFrom(from.long_long_list_); strings_list_.MergeFrom(from.strings_list_); date_list_.MergeFrom(from.date_list_); - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata_Row::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata_Row::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata.Row) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata_Row::CopyFrom(const Response_Metadata_Row& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata.Row) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata_Row::IsInitialized() const { - - for (int i = 0; i < double_list_size(); i++) { - if (!this->double_list(i).IsInitialized()) return false; - } - for (int i = 0; i < integer_list_size(); i++) { - if (!this->integer_list(i).IsInitialized()) return false; - } - for (int i = 0; i < unsinged_long_list_size(); i++) { - if (!this->unsinged_long_list(i).IsInitialized()) return false; - } - for (int i = 0; i < long_long_list_size(); i++) { - if (!this->long_long_list(i).IsInitialized()) return false; - } - for (int i = 0; i < strings_list_size(); i++) { - if (!this->strings_list(i).IsInitialized()) return false; - } - for (int i = 0; i < date_list_size(); i++) { - if (!this->date_list(i).IsInitialized()) return false; - } + 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; return true; } -void Response_Metadata_Row::Swap(Response_Metadata_Row* other) { - if (other != this) { - double_list_.Swap(&other->double_list_); - integer_list_.Swap(&other->integer_list_); - unsinged_long_list_.Swap(&other->unsinged_long_list_); - long_long_list_.Swap(&other->long_long_list_); - strings_list_.Swap(&other->strings_list_); - date_list_.Swap(&other->date_list_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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_); } -::google::protobuf::Metadata Response_Metadata_Row::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_Row_descriptor_; - metadata.reflection = Response_Metadata_Row_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata_Row::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response_Metadata::kStateFieldNumber; -const int Response_Metadata::kStatusFieldNumber; -const int Response_Metadata::kRowsFieldNumber; -#endif // !_MSC_VER - -Response_Metadata::Response_Metadata() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== void Response_Metadata::InitAsDefaultInstance() { } +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; + } +}; -Response_Metadata::Response_Metadata(const Response_Metadata& from) - : ::google::protobuf::Message() { +Response_Metadata::Response_Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena) + : ::PROTOBUF_NAMESPACE_ID::Message(arena), + rows_(arena) { SharedCtor(); - MergeFrom(from); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response.Metadata) +} +Response_Metadata::Response_Metadata(const Response_Metadata& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _has_bits_(from._has_bits_), + 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()); + } + state_ = from.state_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response.Metadata) } void Response_Metadata::SharedCtor() { - _cached_size_ = 0; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Metadata_Response_2eproto.base); + status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); state_ = 0; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); } Response_Metadata::~Response_Metadata() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response.Metadata) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response_Metadata::SharedDtor() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } - if (this != default_instance_) { - } + GOOGLE_DCHECK(GetArena() == nullptr); + status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void Response_Metadata::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response_Metadata::ArenaDtor(void* object) { + Response_Metadata* _this = reinterpret_cast< Response_Metadata* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response_Metadata::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_Metadata_descriptor_; +void Response_Metadata::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response_Metadata::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response_Metadata& Response_Metadata::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Metadata_Response_2eproto.base); + return *internal_default_instance(); } -Response_Metadata* Response_Metadata::default_instance_ = NULL; - -Response_Metadata* Response_Metadata::New() const { - return new Response_Metadata; -} void Response_Metadata::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - state_ = 0; - if (has_status()) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - } - } - rows_.Clear(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response.Metadata) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; -bool Response_Metadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + rows_.Clear(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + status_.ClearNonDefaultToEmpty(); + } + 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) { // required .MetadataExporter_ns.Response.Metadata.State state = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Response_Metadata_State_IsValid(value)) { - set_state(static_cast< ::MetadataExporter_ns::Response_Metadata_State >(value)); + 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)); } else { - mutable_unknown_fields()->AddVarint(1, value); + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_status; - break; - } - + } else goto handle_unusual; + continue; // required string status = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_status: - DO_(::google::protobuf::internal::WireFormatLite::ReadString( - input, this->mutable_status())); - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::PARSE); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_rows; - break; - } - + 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; // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_rows: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_rows())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_rows; - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response_Metadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response_Metadata::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response.Metadata) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Metadata.State state = 1; - if (has_state()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->state(), output); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_state(), target); } // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - ::google::protobuf::internal::WireFormatLite::WriteString( - 2, this->status(), output); + 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, + "MetadataExporter_ns.Response.Metadata.status"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_status(), target); } // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - for (int i = 0; i < this->rows_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->rows(i), output); + 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); } - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response.Metadata) + return target; } -::google::protobuf::uint8* Response_Metadata::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // required .MetadataExporter_ns.Response.Metadata.State state = 1; - if (has_state()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->state(), target); - } +size_t Response_Metadata::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:MetadataExporter_ns.Response.Metadata) + size_t total_size = 0; - // required string status = 2; - if (has_status()) { - ::google::protobuf::internal::WireFormat::VerifyUTF8String( - this->status().data(), this->status().length(), - ::google::protobuf::internal::WireFormat::SERIALIZE); - target = - ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->status(), target); + if (_internal_has_status()) { + // required string status = 2; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); } - // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - for (int i = 0; i < this->rows_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 3, this->rows(i), target); + if (_internal_has_state()) { + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state()); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - return target; + return total_size; } +size_t Response_Metadata::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response.Metadata) + size_t total_size = 0; -int Response_Metadata::ByteSize() const { - int total_size = 0; + 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()); - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .MetadataExporter_ns.Response.Metadata.State state = 1; - if (has_state()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); - } - - // required string status = 2; - if (has_status()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::StringSize( - this->status()); - } + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_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 += 1 * this->rows_size(); - for (int i = 0; i < this->rows_size(); i++) { + total_size += 1UL * this->_internal_rows_size(); + for (const auto& msg : this->rows_) { total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->rows(i)); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response_Metadata::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response_Metadata::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response.Metadata) + GOOGLE_DCHECK_NE(&from, this); const Response_Metadata* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response_Metadata*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response_Metadata>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response.Metadata) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response.Metadata) MergeFrom(*source); } } void Response_Metadata::MergeFrom(const Response_Metadata& from) { - GOOGLE_CHECK_NE(&from, this); +// @@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; + (void) cached_has_bits; + rows_.MergeFrom(from.rows_); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_state()) { - set_state(from.state()); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + _internal_set_status(from._internal_status()); } - if (from.has_status()) { - set_status(from.status()); + if (cached_has_bits & 0x00000002u) { + state_ = from.state_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response_Metadata::CopyFrom(const ::google::protobuf::Message& from) { +void Response_Metadata::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response.Metadata) if (&from == this) return; Clear(); MergeFrom(from); } void Response_Metadata::CopyFrom(const Response_Metadata& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response.Metadata) if (&from == this) return; Clear(); MergeFrom(from); } bool Response_Metadata::IsInitialized() const { - if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - - for (int i = 0; i < rows_size(); i++) { - if (!this->rows(i).IsInitialized()) return false; - } + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(rows_)) return false; return true; } -void Response_Metadata::Swap(Response_Metadata* other) { - if (other != this) { - std::swap(state_, other->state_); - std::swap(status_, other->status_); - rows_.Swap(&other->rows_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +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()); + swap(state_, other->state_); } -::google::protobuf::Metadata Response_Metadata::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_Metadata_descriptor_; - metadata.reflection = Response_Metadata_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response_Metadata::GetMetadata() const { + return GetMetadataStatic(); } -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int Response::kTypeFieldNumber; -const int Response::kAuthorizationFieldNumber; -const int Response::kValidationFieldNumber; -const int Response::kMetadataFieldNumber; -#endif // !_MSC_VER - -Response::Response() - : ::google::protobuf::Message() { - SharedCtor(); -} +// =================================================================== void Response::InitAsDefaultInstance() { - authorization_ = const_cast< ::MetadataExporter_ns::Response_Authorization*>(&::MetadataExporter_ns::Response_Authorization::default_instance()); - validation_ = const_cast< ::MetadataExporter_ns::Response_Validation*>(&::MetadataExporter_ns::Response_Validation::default_instance()); - metadata_ = const_cast< ::MetadataExporter_ns::Response_Metadata*>(&::MetadataExporter_ns::Response_Metadata::default_instance()); + ::MetadataExporter_ns::_Response_default_instance_._instance.get_mutable()->authorization_ = const_cast< ::MetadataExporter_ns::Response_Authorization*>( + ::MetadataExporter_ns::Response_Authorization::internal_default_instance()); + ::MetadataExporter_ns::_Response_default_instance_._instance.get_mutable()->validation_ = const_cast< ::MetadataExporter_ns::Response_Validation*>( + ::MetadataExporter_ns::Response_Validation::internal_default_instance()); + ::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; + } +}; + +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) { + SharedCtor(); + RegisterArenaDtor(arena); + // @@protoc_insertion_point(arena_constructor:MetadataExporter_ns.Response) } - Response::Response(const Response& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(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()) { + authorization_ = new ::MetadataExporter_ns::Response_Authorization(*from.authorization_); + } else { + authorization_ = nullptr; + } + if (from._internal_has_validation()) { + validation_ = new ::MetadataExporter_ns::Response_Validation(*from.validation_); + } else { + validation_ = nullptr; + } + if (from._internal_has_metadata()) { + metadata_ = new ::MetadataExporter_ns::Response_Metadata(*from.metadata_); + } else { + metadata_ = nullptr; + } + type_ = from.type_; + // @@protoc_insertion_point(copy_constructor:MetadataExporter_ns.Response) } void Response::SharedCtor() { - _cached_size_ = 0; - type_ = 0; - authorization_ = NULL; - validation_ = NULL; - metadata_ = NULL; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_Response_2eproto.base); + ::memset(&authorization_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&type_) - + reinterpret_cast<char*>(&authorization_)) + sizeof(type_)); } Response::~Response() { + // @@protoc_insertion_point(destructor:MetadataExporter_ns.Response) SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void Response::SharedDtor() { - if (this != default_instance_) { - delete authorization_; - delete validation_; - delete metadata_; - } + 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::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); +void Response::ArenaDtor(void* object) { + Response* _this = reinterpret_cast< Response* >(object); + (void)_this; } -const ::google::protobuf::Descriptor* Response::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Response_descriptor_; +void Response::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Response::SetCachedSize(int size) const { + _cached_size_.Set(size); } - const Response& Response::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_Response_2eproto(); - return *default_instance_; + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_Response_2eproto.base); + return *internal_default_instance(); } -Response* Response::default_instance_ = NULL; - -Response* Response::New() const { - return new Response; -} void Response::Clear() { - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - type_ = 0; - if (has_authorization()) { - if (authorization_ != NULL) authorization_->::MetadataExporter_ns::Response_Authorization::Clear(); +// @@protoc_insertion_point(message_clear_start:MetadataExporter_ns.Response) + ::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 (cached_has_bits & 0x00000001u) { + GOOGLE_DCHECK(authorization_ != nullptr); + authorization_->Clear(); } - if (has_validation()) { - if (validation_ != NULL) validation_->::MetadataExporter_ns::Response_Validation::Clear(); + if (cached_has_bits & 0x00000002u) { + GOOGLE_DCHECK(validation_ != nullptr); + validation_->Clear(); } - if (has_metadata()) { - if (metadata_ != NULL) metadata_->::MetadataExporter_ns::Response_Metadata::Clear(); + if (cached_has_bits & 0x00000004u) { + GOOGLE_DCHECK(metadata_ != nullptr); + metadata_->Clear(); } } - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Response::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) return false - ::google::protobuf::uint32 tag; - while ((tag = input->ReadTag()) != 0) { - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + 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) { // required .MetadataExporter_ns.Response.Type type = 1; - case 1: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::MetadataExporter_ns::Response_Type_IsValid(value)) { - set_type(static_cast< ::MetadataExporter_ns::Response_Type >(value)); + 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)); } else { - mutable_unknown_fields()->AddVarint(1, value); + ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(18)) goto parse_authorization; - break; - } - + } else goto handle_unusual; + continue; // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - case 2: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_authorization: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_authorization())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(26)) goto parse_validation; - break; - } - + 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; // optional .MetadataExporter_ns.Response.Validation validation = 3; - case 3: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_validation: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_validation())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectTag(34)) goto parse_metadata; - break; - } - + 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; // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - case 4: { - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { - parse_metadata: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_metadata())); - } else { - goto handle_uninterpreted; - } - if (input->ExpectAtEnd()) return true; - break; - } - + 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; default: { - handle_uninterpreted: - if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - return true; + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; + ptr = UnknownFieldParse(tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + continue; } - } - } - return true; -#undef DO_ -} - -void Response::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // required .MetadataExporter_ns.Response.Type type = 1; - if (has_type()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 1, this->type(), output); - } - - // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - if (has_authorization()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->authorization(), output); - } - - // optional .MetadataExporter_ns.Response.Validation validation = 3; - if (has_validation()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, this->validation(), output); - } - - // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - if (has_metadata()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, this->metadata(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } -} - -::google::protobuf::uint8* Response::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { + } // switch + } // while +success: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Response::_InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:MetadataExporter_ns.Response) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; // required .MetadataExporter_ns.Response.Type type = 1; - if (has_type()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 1, this->type(), target); + if (cached_has_bits & 0x00000008u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 1, this->_internal_type(), target); } // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - if (has_authorization()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 2, this->authorization(), target); + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::authorization(this), target, stream); } // optional .MetadataExporter_ns.Response.Validation validation = 3; - if (has_validation()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 3, this->validation(), target); + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 3, _Internal::validation(this), target, stream); } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - if (has_metadata()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 4, this->metadata(), target); + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 4, _Internal::metadata(this), target, stream); } - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), 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); } + // @@protoc_insertion_point(serialize_to_array_end:MetadataExporter_ns.Response) return target; } -int Response::ByteSize() const { - int total_size = 0; +size_t Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:MetadataExporter_ns.Response) + size_t total_size = 0; - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // required .MetadataExporter_ns.Response.Type type = 1; - if (has_type()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); - } + // required .MetadataExporter_ns.Response.Type type = 1; + if (_internal_has_type()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_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) { // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - if (has_authorization()) { + if (cached_has_bits & 0x00000001u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->authorization()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *authorization_); } // optional .MetadataExporter_ns.Response.Validation validation = 3; - if (has_validation()) { + if (cached_has_bits & 0x00000002u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->validation()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *validation_); } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; - if (has_metadata()) { + if (cached_has_bits & 0x00000004u) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->metadata()); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *metadata_); } } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); return total_size; } -void Response::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); +void Response::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:MetadataExporter_ns.Response) + GOOGLE_DCHECK_NE(&from, this); const Response* source = - ::google::protobuf::internal::dynamic_cast_if_available<const Response*>( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Response>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:MetadataExporter_ns.Response) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:MetadataExporter_ns.Response) MergeFrom(*source); } } void Response::MergeFrom(const Response& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_type()) { - set_type(from.type()); +// @@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; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + _internal_mutable_authorization()->::MetadataExporter_ns::Response_Authorization::MergeFrom(from._internal_authorization()); } - if (from.has_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()); } - if (from.has_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()); } - if (from.has_metadata()) { - mutable_metadata()->::MetadataExporter_ns::Response_Metadata::MergeFrom(from.metadata()); + if (cached_has_bits & 0x00000008u) { + type_ = from.type_; } + _has_bits_[0] |= cached_has_bits; } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void Response::CopyFrom(const ::google::protobuf::Message& from) { +void Response::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:MetadataExporter_ns.Response) if (&from == this) return; Clear(); MergeFrom(from); } void Response::CopyFrom(const Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:MetadataExporter_ns.Response) if (&from == this) return; Clear(); MergeFrom(from); } bool Response::IsInitialized() const { - if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - - if (has_authorization()) { - if (!this->authorization().IsInitialized()) return false; + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if (_internal_has_authorization()) { + if (!authorization_->IsInitialized()) return false; } - if (has_validation()) { - if (!this->validation().IsInitialized()) return false; + if (_internal_has_validation()) { + if (!validation_->IsInitialized()) return false; } - if (has_metadata()) { - if (!this->metadata().IsInitialized()) return false; + if (_internal_has_metadata()) { + if (!metadata_->IsInitialized()) return false; } return true; } -void Response::Swap(Response* other) { - if (other != this) { - std::swap(type_, other->type_); - std::swap(authorization_, other->authorization_); - std::swap(validation_, other->validation_); - std::swap(metadata_, other->metadata_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } +void Response::InternalSwap(Response* other) { + using std::swap; + _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); + 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_)); } -::google::protobuf::Metadata Response::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Response_descriptor_; - metadata.reflection = Response_reflection_; - return metadata; +::PROTOBUF_NAMESPACE_ID::Metadata Response::GetMetadata() const { + return GetMetadataStatic(); } // @@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 8081a053e7091e8fa2e9cffb2ba7068e29714dad..446800c7f24d067e66f0299d5302d2f6edea257c 100644 --- a/src/Response.pb.h +++ b/src/Response.pb.h @@ -1,1008 +1,1859 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Response.proto -#ifndef PROTOBUF_Response_2eproto__INCLUDED -#define PROTOBUF_Response_2eproto__INCLUDED +#ifndef GOOGLE_PROTOBUF_INCLUDED_Response_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_Response_2eproto +#include <limits> #include <string> -#include <google/protobuf/stubs/common.h> - -#if GOOGLE_PROTOBUF_VERSION < 2005000 +#include <google/protobuf/port_def.inc> +#if PROTOBUF_VERSION < 3012000 #error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update +#error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3012004 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please +#error 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/message.h> -#include <google/protobuf/repeated_field.h> -#include <google/protobuf/extension_set.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 + +// 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[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Response_2eproto; namespace MetadataExporter_ns { - -// Internal implementation detail -- do not call these. -void protobuf_AddDesc_Response_2eproto(); -void protobuf_AssignDesc_Response_2eproto(); -void protobuf_ShutdownFile_Response_2eproto(); - class Response; +class ResponseDefaultTypeInternal; +extern ResponseDefaultTypeInternal _Response_default_instance_; class Response_Authorization; -class Response_Validation; +class Response_AuthorizationDefaultTypeInternal; +extern Response_AuthorizationDefaultTypeInternal _Response_Authorization_default_instance_; class Response_Metadata; +class Response_MetadataDefaultTypeInternal; +extern Response_MetadataDefaultTypeInternal _Response_Metadata_default_instance_; class Response_Metadata_Row; +class Response_Metadata_RowDefaultTypeInternal; +extern Response_Metadata_RowDefaultTypeInternal _Response_Metadata_Row_default_instance_; +class Response_Metadata_Row_DtDate; +class Response_Metadata_Row_DtDateDefaultTypeInternal; +extern Response_Metadata_Row_DtDateDefaultTypeInternal _Response_Metadata_Row_DtDate_default_instance_; class Response_Metadata_Row_DtDouble; +class Response_Metadata_Row_DtDoubleDefaultTypeInternal; +extern Response_Metadata_Row_DtDoubleDefaultTypeInternal _Response_Metadata_Row_DtDouble_default_instance_; class Response_Metadata_Row_DtInteger; -class Response_Metadata_Row_DtUnsignedLong; +class Response_Metadata_Row_DtIntegerDefaultTypeInternal; +extern Response_Metadata_Row_DtIntegerDefaultTypeInternal _Response_Metadata_Row_DtInteger_default_instance_; class Response_Metadata_Row_DtLongLong; +class Response_Metadata_Row_DtLongLongDefaultTypeInternal; +extern Response_Metadata_Row_DtLongLongDefaultTypeInternal _Response_Metadata_Row_DtLongLong_default_instance_; class Response_Metadata_Row_DtString; -class Response_Metadata_Row_DtDate; +class Response_Metadata_Row_DtStringDefaultTypeInternal; +extern Response_Metadata_Row_DtStringDefaultTypeInternal _Response_Metadata_Row_DtString_default_instance_; +class Response_Metadata_Row_DtUnsignedLong; +class Response_Metadata_Row_DtUnsignedLongDefaultTypeInternal; +extern Response_Metadata_Row_DtUnsignedLongDefaultTypeInternal _Response_Metadata_Row_DtUnsignedLong_default_instance_; +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 { +enum Response_Authorization_State : int { Response_Authorization_State_ACCEPTED = 0, Response_Authorization_State_REJECTED = 1 }; bool Response_Authorization_State_IsValid(int 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); +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); } inline bool Response_Authorization_State_Parse( - const ::std::string& name, Response_Authorization_State* value) { - return ::google::protobuf::internal::ParseNamedEnum<Response_Authorization_State>( + const std::string& name, Response_Authorization_State* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Authorization_State>( Response_Authorization_State_descriptor(), name, value); } -enum Response_Validation_State { +enum Response_Validation_State : int { Response_Validation_State_ACCEPTED = 0, Response_Validation_State_REJECTED = 1 }; bool Response_Validation_State_IsValid(int 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); +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); } inline bool Response_Validation_State_Parse( - const ::std::string& name, Response_Validation_State* value) { - return ::google::protobuf::internal::ParseNamedEnum<Response_Validation_State>( + const std::string& name, Response_Validation_State* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Validation_State>( Response_Validation_State_descriptor(), name, value); } -enum Response_Metadata_State { +enum Response_Metadata_State : int { Response_Metadata_State_ACCEPTED = 0, Response_Metadata_State_REJECTED = 1 }; bool Response_Metadata_State_IsValid(int 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); +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); } inline bool Response_Metadata_State_Parse( - const ::std::string& name, Response_Metadata_State* value) { - return ::google::protobuf::internal::ParseNamedEnum<Response_Metadata_State>( + const std::string& name, Response_Metadata_State* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Metadata_State>( Response_Metadata_State_descriptor(), name, value); } -enum Response_Type { +enum Response_Type : int { Response_Type_AUTHORIZATION = 0, Response_Type_VALIDATION = 1, Response_Type_METADATA = 2 }; bool Response_Type_IsValid(int 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); +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); } inline bool Response_Type_Parse( - const ::std::string& name, Response_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum<Response_Type>( + const std::string& name, Response_Type* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Response_Type>( Response_Type_descriptor(), name, value); } // =================================================================== -class Response_Authorization : public ::google::protobuf::Message { +class Response_Authorization PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Authorization) */ { public: - Response_Authorization(); + inline Response_Authorization() : Response_Authorization(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Authorization& operator=(Response_Authorization&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Authorization& default_instance(); - void Swap(Response_Authorization* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Authorization* internal_default_instance() { + return reinterpret_cast<const Response_Authorization*>( + &_Response_Authorization_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + 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 ---------------------------------------------- - Response_Authorization* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Authorization* New() const final { + return CreateMaybeMessage<Response_Authorization>(nullptr); + } + + 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; void CopyFrom(const Response_Authorization& from); void MergeFrom(const Response_Authorization& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- typedef Response_Authorization_State State; - static const State ACCEPTED = Response_Authorization_State_ACCEPTED; - static const State REJECTED = Response_Authorization_State_REJECTED; + static constexpr State ACCEPTED = + Response_Authorization_State_ACCEPTED; + static constexpr State REJECTED = + Response_Authorization_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Authorization_State_IsValid(value); } - static const State State_MIN = + static constexpr State State_MIN = Response_Authorization_State_State_MIN; - static const State State_MAX = + static constexpr State State_MAX = Response_Authorization_State_State_MAX; - static const int State_ARRAYSIZE = + static constexpr int State_ARRAYSIZE = Response_Authorization_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* State_descriptor() { return Response_Authorization_State_descriptor(); } - static inline const ::std::string& State_Name(State value) { - return Response_Authorization_State_Name(value); + 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 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 ------------------------------------------------------- - // required .MetadataExporter_ns.Response.Authorization.State state = 1; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 1; - inline ::MetadataExporter_ns::Response_Authorization_State state() const; - inline void set_state(::MetadataExporter_ns::Response_Authorization_State value); - + enum : int { + kStatusFieldNumber = 2, + kStateFieldNumber = 1, + }; // required string status = 2; - inline bool has_status() const; - inline void clear_status(); - static const int kStatusFieldNumber = 2; - inline const ::std::string& status() const; - inline void set_status(const ::std::string& value); - inline void set_status(const char* value); - inline void set_status(const char* value, size_t size); - inline ::std::string* mutable_status(); - inline ::std::string* release_status(); - inline void set_allocated_status(::std::string* status); + 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); + 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: + + // required .MetadataExporter_ns.Response.Authorization.State state = 1; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + ::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: - inline void set_has_state(); - inline void clear_has_state(); - inline void set_has_status(); - inline void clear_has_status(); + class _Internal; - ::google::protobuf::UnknownFieldSet _unknown_fields_; + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; - ::std::string* status_; + 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_; int state_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Authorization* default_instance_; + friend struct ::TableStruct_Response_2eproto; }; // ------------------------------------------------------------------- -class Response_Validation : public ::google::protobuf::Message { +class Response_Validation PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Validation) */ { public: - Response_Validation(); + inline Response_Validation() : Response_Validation(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Validation& operator=(Response_Validation&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Validation& default_instance(); - void Swap(Response_Validation* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Validation* internal_default_instance() { + return reinterpret_cast<const Response_Validation*>( + &_Response_Validation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + 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 ---------------------------------------------- - Response_Validation* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Validation* New() const final { + return CreateMaybeMessage<Response_Validation>(nullptr); + } + + 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; void CopyFrom(const Response_Validation& from); void MergeFrom(const Response_Validation& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- typedef Response_Validation_State State; - static const State ACCEPTED = Response_Validation_State_ACCEPTED; - static const State REJECTED = Response_Validation_State_REJECTED; + static constexpr State ACCEPTED = + Response_Validation_State_ACCEPTED; + static constexpr State REJECTED = + Response_Validation_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Validation_State_IsValid(value); } - static const State State_MIN = + static constexpr State State_MIN = Response_Validation_State_State_MIN; - static const State State_MAX = + static constexpr State State_MAX = Response_Validation_State_State_MAX; - static const int State_ARRAYSIZE = + static constexpr int State_ARRAYSIZE = Response_Validation_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* State_descriptor() { return Response_Validation_State_descriptor(); } - static inline const ::std::string& State_Name(State value) { - return Response_Validation_State_Name(value); + 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 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 ------------------------------------------------------- - // required .MetadataExporter_ns.Response.Validation.State state = 1; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 1; - inline ::MetadataExporter_ns::Response_Validation_State state() const; - inline void set_state(::MetadataExporter_ns::Response_Validation_State value); - + enum : int { + kStatusFieldNumber = 2, + kStateFieldNumber = 1, + }; // required string status = 2; - inline bool has_status() const; - inline void clear_status(); - static const int kStatusFieldNumber = 2; - inline const ::std::string& status() const; - inline void set_status(const ::std::string& value); - inline void set_status(const char* value); - inline void set_status(const char* value, size_t size); - inline ::std::string* mutable_status(); - inline ::std::string* release_status(); - inline void set_allocated_status(::std::string* status); + 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); + 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: + + // required .MetadataExporter_ns.Response.Validation.State state = 1; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + ::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: - inline void set_has_state(); - inline void clear_has_state(); - inline void set_has_status(); - inline void clear_has_status(); + class _Internal; - ::google::protobuf::UnknownFieldSet _unknown_fields_; + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; - ::std::string* status_; + 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_; int state_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Validation* default_instance_; + friend struct ::TableStruct_Response_2eproto; }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtDouble : public ::google::protobuf::Message { +class Response_Metadata_Row_DtDouble PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDouble) */ { public: - Response_Metadata_Row_DtDouble(); + inline Response_Metadata_Row_DtDouble() : Response_Metadata_Row_DtDouble(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtDouble& operator=(Response_Metadata_Row_DtDouble&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtDouble& default_instance(); - void Swap(Response_Metadata_Row_DtDouble* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtDouble* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtDouble*>( + &_Response_Metadata_Row_DtDouble_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtDouble* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtDouble* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtDouble>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtDouble& from); void MergeFrom(const Response_Metadata_Row_DtDouble& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required double value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline double value() const; - inline void set_value(double value); + bool has_value() const; + private: + bool _internal_has_value() const; + public: + void clear_value(); + 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: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); + class _Internal; - ::google::protobuf::UnknownFieldSet _unknown_fields_; + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; - ::std::string* key_; + 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_; double value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtDouble* default_instance_; + friend struct ::TableStruct_Response_2eproto; }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtInteger : public ::google::protobuf::Message { +class Response_Metadata_Row_DtInteger PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtInteger) */ { public: - Response_Metadata_Row_DtInteger(); + inline Response_Metadata_Row_DtInteger() : Response_Metadata_Row_DtInteger(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtInteger& operator=(Response_Metadata_Row_DtInteger&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtInteger& default_instance(); - void Swap(Response_Metadata_Row_DtInteger* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtInteger* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtInteger*>( + &_Response_Metadata_Row_DtInteger_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtInteger* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtInteger* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtInteger>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtInteger& from); void MergeFrom(const Response_Metadata_Row_DtInteger& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required int32 value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline ::google::protobuf::int32 value() const; - inline void set_value(::google::protobuf::int32 value); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtInteger) private: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* key_; - ::google::protobuf::int32 value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtInteger* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtUnsignedLong : public ::google::protobuf::Message { +class Response_Metadata_Row_DtUnsignedLong PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) */ { public: - Response_Metadata_Row_DtUnsignedLong(); + inline Response_Metadata_Row_DtUnsignedLong() : Response_Metadata_Row_DtUnsignedLong(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtUnsignedLong& operator=(Response_Metadata_Row_DtUnsignedLong&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtUnsignedLong& default_instance(); - void Swap(Response_Metadata_Row_DtUnsignedLong* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtUnsignedLong* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtUnsignedLong*>( + &_Response_Metadata_Row_DtUnsignedLong_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtUnsignedLong* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtUnsignedLong* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtUnsignedLong>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtUnsignedLong& from); void MergeFrom(const Response_Metadata_Row_DtUnsignedLong& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required uint64 value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline ::google::protobuf::uint64 value() const; - inline void set_value(::google::protobuf::uint64 value); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong) private: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* key_; - ::google::protobuf::uint64 value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtUnsignedLong* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtLongLong : public ::google::protobuf::Message { +class Response_Metadata_Row_DtLongLong PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) */ { public: - Response_Metadata_Row_DtLongLong(); + inline Response_Metadata_Row_DtLongLong() : Response_Metadata_Row_DtLongLong(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtLongLong& operator=(Response_Metadata_Row_DtLongLong&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtLongLong& default_instance(); - void Swap(Response_Metadata_Row_DtLongLong* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtLongLong* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtLongLong*>( + &_Response_Metadata_Row_DtLongLong_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtLongLong* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtLongLong* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtLongLong>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtLongLong& from); void MergeFrom(const Response_Metadata_Row_DtLongLong& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required int64 value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline ::google::protobuf::int64 value() const; - inline void set_value(::google::protobuf::int64 value); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtLongLong) private: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* key_; - ::google::protobuf::int64 value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtLongLong* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Response_Metadata_Row_DtString : public ::google::protobuf::Message { +class Response_Metadata_Row_DtString PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtString) */ { public: - Response_Metadata_Row_DtString(); + inline Response_Metadata_Row_DtString() : Response_Metadata_Row_DtString(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtString& operator=(Response_Metadata_Row_DtString&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtString& default_instance(); - void Swap(Response_Metadata_Row_DtString* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtString* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtString*>( + &_Response_Metadata_Row_DtString_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtString* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtString* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtString>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtString& from); void MergeFrom(const Response_Metadata_Row_DtString& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required string value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline const ::std::string& value() const; - inline void set_value(const ::std::string& value); - inline void set_value(const char* value); - inline void set_value(const char* value, size_t size); - inline ::std::string* mutable_value(); - inline ::std::string* release_value(); - inline void set_allocated_value(::std::string* value); + 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); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtString) private: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); + class _Internal; + + // 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::UnknownFieldSet _unknown_fields_; - - ::std::string* key_; - ::std::string* value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtString* default_instance_; -}; -// ------------------------------------------------------------------- - -class Response_Metadata_Row_DtDate : public ::google::protobuf::Message { - public: - Response_Metadata_Row_DtDate(); - virtual ~Response_Metadata_Row_DtDate(); +class Response_Metadata_Row_DtDate PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row.DtDate) */ { + public: + inline Response_Metadata_Row_DtDate() : Response_Metadata_Row_DtDate(nullptr) {}; + 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row_DtDate& operator=(Response_Metadata_Row_DtDate&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row_DtDate& default_instance(); - void Swap(Response_Metadata_Row_DtDate* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row_DtDate* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row_DtDate*>( + &_Response_Metadata_Row_DtDate_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + 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 ---------------------------------------------- - Response_Metadata_Row_DtDate* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row_DtDate* New() const final { + return CreateMaybeMessage<Response_Metadata_Row_DtDate>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row_DtDate& from); void MergeFrom(const Response_Metadata_Row_DtDate& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kValueFieldNumber = 2, + }; // required string key = 1; - inline bool has_key() const; - inline void clear_key(); - static const int kKeyFieldNumber = 1; - inline const ::std::string& key() const; - inline void set_key(const ::std::string& value); - inline void set_key(const char* value); - inline void set_key(const char* value, size_t size); - inline ::std::string* mutable_key(); - inline ::std::string* release_key(); - inline void set_allocated_key(::std::string* key); + 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); + 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: // required sfixed64 value = 2; - inline bool has_value() const; - inline void clear_value(); - static const int kValueFieldNumber = 2; - inline ::google::protobuf::int64 value() const; - inline void set_value(::google::protobuf::int64 value); + 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: // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row.DtDate) private: - inline void set_has_key(); - inline void clear_has_key(); - inline void set_has_value(); - inline void clear_has_value(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* key_; - ::google::protobuf::int64 value_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row_DtDate* default_instance_; + class _Internal; + + // 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; }; // ------------------------------------------------------------------- -class Response_Metadata_Row : public ::google::protobuf::Message { +class Response_Metadata_Row PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata.Row) */ { public: - Response_Metadata_Row(); + inline Response_Metadata_Row() : Response_Metadata_Row(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata_Row& operator=(Response_Metadata_Row&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata_Row& default_instance(); - void Swap(Response_Metadata_Row* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata_Row* internal_default_instance() { + return reinterpret_cast<const Response_Metadata_Row*>( + &_Response_Metadata_Row_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + 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 ---------------------------------------------- - Response_Metadata_Row* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata_Row* New() const final { + return CreateMaybeMessage<Response_Metadata_Row>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata_Row& from); void MergeFrom(const Response_Metadata_Row& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- @@ -1015,287 +1866,489 @@ class Response_Metadata_Row : public ::google::protobuf::Message { // 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; - inline int double_list_size() const; - inline void clear_double_list(); - static const int kDoubleListFieldNumber = 1; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& double_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* mutable_double_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* add_double_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& - double_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtDouble& double_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* add_double_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >& + double_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; - inline int integer_list_size() const; - inline void clear_integer_list(); - static const int kIntegerListFieldNumber = 2; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& integer_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* mutable_integer_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* add_integer_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& - integer_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtInteger& integer_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* add_integer_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >& + integer_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; - inline int unsinged_long_list_size() const; - inline void clear_unsinged_long_list(); - static const int kUnsingedLongListFieldNumber = 3; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& unsinged_long_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* mutable_unsinged_long_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* add_unsinged_long_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& - unsinged_long_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& unsinged_long_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* add_unsinged_long_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >& + unsinged_long_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; - inline int long_long_list_size() const; - inline void clear_long_long_list(); - static const int kLongLongListFieldNumber = 4; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& long_long_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* mutable_long_long_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* add_long_long_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& - long_long_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& long_long_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* add_long_long_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >& + long_long_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; - inline int strings_list_size() const; - inline void clear_strings_list(); - static const int kStringsListFieldNumber = 5; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& strings_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* mutable_strings_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* add_strings_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& - strings_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtString& strings_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtString* add_strings_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >& + strings_list() const; // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; - inline int date_list_size() const; - inline void clear_date_list(); - static const int kDateListFieldNumber = 6; - inline const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& date_list(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* mutable_date_list(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row_DtDate* add_date_list(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& - date_list() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* + 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: + const ::MetadataExporter_ns::Response_Metadata_Row_DtDate& date_list(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row_DtDate* add_date_list(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >& + date_list() const; // @@protoc_insertion_point(class_scope:MetadataExporter_ns.Response.Metadata.Row) private: - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble > double_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger > integer_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong > unsinged_long_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong > long_long_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString > strings_list_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate > date_list_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata_Row* default_instance_; + 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; }; // ------------------------------------------------------------------- -class Response_Metadata : public ::google::protobuf::Message { +class Response_Metadata PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response.Metadata) */ { public: - Response_Metadata(); + inline Response_Metadata() : Response_Metadata(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response_Metadata& operator=(Response_Metadata&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response_Metadata& default_instance(); - void Swap(Response_Metadata* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response_Metadata* internal_default_instance() { + return reinterpret_cast<const Response_Metadata*>( + &_Response_Metadata_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + 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 ---------------------------------------------- - Response_Metadata* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response_Metadata* New() const final { + return CreateMaybeMessage<Response_Metadata>(nullptr); + } + + 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; void CopyFrom(const Response_Metadata& from); void MergeFrom(const Response_Metadata& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- typedef Response_Metadata_Row Row; typedef Response_Metadata_State State; - static const State ACCEPTED = Response_Metadata_State_ACCEPTED; - static const State REJECTED = Response_Metadata_State_REJECTED; + static constexpr State ACCEPTED = + Response_Metadata_State_ACCEPTED; + static constexpr State REJECTED = + Response_Metadata_State_REJECTED; static inline bool State_IsValid(int value) { return Response_Metadata_State_IsValid(value); } - static const State State_MIN = + static constexpr State State_MIN = Response_Metadata_State_State_MIN; - static const State State_MAX = + static constexpr State State_MAX = Response_Metadata_State_State_MAX; - static const int State_ARRAYSIZE = + static constexpr int State_ARRAYSIZE = Response_Metadata_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* State_descriptor() { return Response_Metadata_State_descriptor(); } - static inline const ::std::string& State_Name(State value) { - return Response_Metadata_State_Name(value); + 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 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 ------------------------------------------------------- - // required .MetadataExporter_ns.Response.Metadata.State state = 1; - inline bool has_state() const; - inline void clear_state(); - static const int kStateFieldNumber = 1; - inline ::MetadataExporter_ns::Response_Metadata_State state() const; - inline void set_state(::MetadataExporter_ns::Response_Metadata_State value); + 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: + const ::MetadataExporter_ns::Response_Metadata_Row& rows(int index) const; + ::MetadataExporter_ns::Response_Metadata_Row* add_rows(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& + rows() const; // required string status = 2; - inline bool has_status() const; - inline void clear_status(); - static const int kStatusFieldNumber = 2; - inline const ::std::string& status() const; - inline void set_status(const ::std::string& value); - inline void set_status(const char* value); - inline void set_status(const char* value, size_t size); - inline ::std::string* mutable_status(); - inline ::std::string* release_status(); - inline void set_allocated_status(::std::string* status); + 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); + 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: - // repeated .MetadataExporter_ns.Response.Metadata.Row rows = 3; - inline int rows_size() const; - inline void clear_rows(); - static const int kRowsFieldNumber = 3; - inline const ::MetadataExporter_ns::Response_Metadata_Row& rows(int index) const; - inline ::MetadataExporter_ns::Response_Metadata_Row* mutable_rows(int index); - inline ::MetadataExporter_ns::Response_Metadata_Row* add_rows(); - inline const ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& - rows() const; - inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* - mutable_rows(); + // required .MetadataExporter_ns.Response.Metadata.State state = 1; + bool has_state() const; + private: + bool _internal_has_state() const; + public: + void clear_state(); + ::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: - inline void set_has_state(); - inline void clear_has_state(); - inline void set_has_status(); - inline void clear_has_status(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::std::string* status_; - ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row > rows_; + class _Internal; + + // 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_; int state_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response_Metadata* default_instance_; + friend struct ::TableStruct_Response_2eproto; }; // ------------------------------------------------------------------- -class Response : public ::google::protobuf::Message { +class Response PROTOBUF_FINAL : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MetadataExporter_ns.Response) */ { public: - Response(); + inline Response() : Response(nullptr) {}; 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; } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; + inline Response& operator=(Response&& from) noexcept { + if (GetArena() == from.GetArena()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; + inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { + return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); + } + inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } - static const ::google::protobuf::Descriptor* descriptor(); + 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 Response& default_instance(); - void Swap(Response* other); + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Response* internal_default_instance() { + return reinterpret_cast<const Response*>( + &_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + 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 ---------------------------------------------- - Response* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); + inline Response* New() const final { + return CreateMaybeMessage<Response>(nullptr); + } + + 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; void CopyFrom(const Response& from); void MergeFrom(const Response& from); - void Clear(); - bool IsInitialized() const; + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(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: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: - ::google::protobuf::Metadata GetMetadata() const; + ::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]; + } + + public: // nested types ---------------------------------------------------- @@ -1304,192 +2357,258 @@ class Response : public ::google::protobuf::Message { typedef Response_Metadata Metadata; typedef Response_Type Type; - static const Type AUTHORIZATION = Response_Type_AUTHORIZATION; - static const Type VALIDATION = Response_Type_VALIDATION; - static const Type METADATA = Response_Type_METADATA; + static constexpr Type AUTHORIZATION = + Response_Type_AUTHORIZATION; + static constexpr Type VALIDATION = + Response_Type_VALIDATION; + static constexpr Type METADATA = + Response_Type_METADATA; static inline bool Type_IsValid(int value) { return Response_Type_IsValid(value); } - static const Type Type_MIN = + static constexpr Type Type_MIN = Response_Type_Type_MIN; - static const Type Type_MAX = + static constexpr Type Type_MAX = Response_Type_Type_MAX; - static const int Type_ARRAYSIZE = + static constexpr int Type_ARRAYSIZE = Response_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* + static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Type_descriptor() { return Response_Type_descriptor(); } - static inline const ::std::string& Type_Name(Type value) { - return Response_Type_Name(value); + 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 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 ------------------------------------------------------- - // required .MetadataExporter_ns.Response.Type type = 1; - inline bool has_type() const; - inline void clear_type(); - static const int kTypeFieldNumber = 1; - inline ::MetadataExporter_ns::Response_Type type() const; - inline void set_type(::MetadataExporter_ns::Response_Type value); - + enum : int { + kAuthorizationFieldNumber = 2, + kValidationFieldNumber = 3, + kMetadataFieldNumber = 4, + kTypeFieldNumber = 1, + }; // optional .MetadataExporter_ns.Response.Authorization authorization = 2; - inline bool has_authorization() const; - inline void clear_authorization(); - static const int kAuthorizationFieldNumber = 2; - inline const ::MetadataExporter_ns::Response_Authorization& authorization() const; - inline ::MetadataExporter_ns::Response_Authorization* mutable_authorization(); - inline ::MetadataExporter_ns::Response_Authorization* release_authorization(); - inline void set_allocated_authorization(::MetadataExporter_ns::Response_Authorization* authorization); + bool has_authorization() const; + private: + bool _internal_has_authorization() const; + public: + void clear_authorization(); + 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; - inline bool has_validation() const; - inline void clear_validation(); - static const int kValidationFieldNumber = 3; - inline const ::MetadataExporter_ns::Response_Validation& validation() const; - inline ::MetadataExporter_ns::Response_Validation* mutable_validation(); - inline ::MetadataExporter_ns::Response_Validation* release_validation(); - inline void set_allocated_validation(::MetadataExporter_ns::Response_Validation* validation); + bool has_validation() const; + private: + bool _internal_has_validation() const; + public: + void clear_validation(); + 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; - inline bool has_metadata() const; - inline void clear_metadata(); - static const int kMetadataFieldNumber = 4; - inline const ::MetadataExporter_ns::Response_Metadata& metadata() const; - inline ::MetadataExporter_ns::Response_Metadata* mutable_metadata(); - inline ::MetadataExporter_ns::Response_Metadata* release_metadata(); - inline void set_allocated_metadata(::MetadataExporter_ns::Response_Metadata* metadata); + bool has_metadata() const; + private: + bool _internal_has_metadata() const; + public: + void clear_metadata(); + 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(); + ::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: - inline void set_has_type(); - inline void clear_has_type(); - inline void set_has_authorization(); - inline void clear_has_authorization(); - inline void set_has_validation(); - inline void clear_has_validation(); - inline void set_has_metadata(); - inline void clear_has_metadata(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; + 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_; ::MetadataExporter_ns::Response_Authorization* authorization_; ::MetadataExporter_ns::Response_Validation* validation_; ::MetadataExporter_ns::Response_Metadata* metadata_; int type_; - - mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - - friend void protobuf_AddDesc_Response_2eproto(); - friend void protobuf_AssignDesc_Response_2eproto(); - friend void protobuf_ShutdownFile_Response_2eproto(); - - void InitAsDefaultInstance(); - static Response* default_instance_; + friend struct ::TableStruct_Response_2eproto; }; // =================================================================== // =================================================================== +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ // Response_Authorization // required .MetadataExporter_ns.Response.Authorization.State state = 1; -inline bool Response_Authorization::has_state() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Response_Authorization::set_has_state() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Authorization::_internal_has_state() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Authorization::clear_has_state() { - _has_bits_[0] &= ~0x00000001u; +inline bool Response_Authorization::has_state() const { + return _internal_has_state(); } inline void Response_Authorization::clear_state() { state_ = 0; - clear_has_state(); + _has_bits_[0] &= ~0x00000002u; } -inline ::MetadataExporter_ns::Response_Authorization_State Response_Authorization::state() const { +inline ::MetadataExporter_ns::Response_Authorization_State Response_Authorization::_internal_state() const { return static_cast< ::MetadataExporter_ns::Response_Authorization_State >(state_); } -inline void Response_Authorization::set_state(::MetadataExporter_ns::Response_Authorization_State value) { +inline ::MetadataExporter_ns::Response_Authorization_State Response_Authorization::state() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Authorization.state) + return _internal_state(); +} +inline void Response_Authorization::_internal_set_state(::MetadataExporter_ns::Response_Authorization_State value) { assert(::MetadataExporter_ns::Response_Authorization_State_IsValid(value)); - set_has_state(); + _has_bits_[0] |= 0x00000002u; 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 (_has_bits_[0] & 0x00000002u) != 0; + return _internal_has_status(); } -inline void Response_Authorization::set_has_status() { - _has_bits_[0] |= 0x00000002u; +inline void Response_Authorization::clear_status() { + status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _has_bits_[0] &= ~0x00000001u; } -inline void Response_Authorization::clear_has_status() { - _has_bits_[0] &= ~0x00000002u; +inline const std::string& Response_Authorization::status() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Authorization.status) + return _internal_status(); } -inline void Response_Authorization::clear_status() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - clear_has_status(); +inline void Response_Authorization::set_status(const std::string& value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Authorization.status) } -inline const ::std::string& Response_Authorization::status() const { - return *status_; +inline std::string* Response_Authorization::mutable_status() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Authorization.status) + return _internal_mutable_status(); } -inline void Response_Authorization::set_status(const ::std::string& value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Authorization.status) } inline void Response_Authorization::set_status(const char* value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Authorization.status) } -inline void Response_Authorization::set_status(const char* value, size_t size) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; +inline std::string* Response_Authorization::release_status() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Authorization.status) + if (!_internal_has_status()) { + return nullptr; } - return status_; + _has_bits_[0] &= ~0x00000001u; + return status_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Authorization::release_status() { - clear_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Authorization::set_allocated_status(std::string* status) { + if (status != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = status_; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Authorization.status) } -inline void Response_Authorization::set_allocated_status(::std::string* status) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } - if (status) { - set_has_status(); - status_ = 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 { - clear_has_status(); - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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) } // ------------------------------------------------------------------- @@ -1497,96 +2616,125 @@ inline void Response_Authorization::set_allocated_status(::std::string* status) // Response_Validation // required .MetadataExporter_ns.Response.Validation.State state = 1; -inline bool Response_Validation::has_state() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Response_Validation::set_has_state() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Validation::_internal_has_state() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Validation::clear_has_state() { - _has_bits_[0] &= ~0x00000001u; +inline bool Response_Validation::has_state() const { + return _internal_has_state(); } inline void Response_Validation::clear_state() { state_ = 0; - clear_has_state(); + _has_bits_[0] &= ~0x00000002u; } -inline ::MetadataExporter_ns::Response_Validation_State Response_Validation::state() const { +inline ::MetadataExporter_ns::Response_Validation_State Response_Validation::_internal_state() const { return static_cast< ::MetadataExporter_ns::Response_Validation_State >(state_); } -inline void Response_Validation::set_state(::MetadataExporter_ns::Response_Validation_State value) { +inline ::MetadataExporter_ns::Response_Validation_State Response_Validation::state() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Validation.state) + return _internal_state(); +} +inline void Response_Validation::_internal_set_state(::MetadataExporter_ns::Response_Validation_State value) { assert(::MetadataExporter_ns::Response_Validation_State_IsValid(value)); - set_has_state(); + _has_bits_[0] |= 0x00000002u; 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::has_status() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Response_Validation::_internal_has_status() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Validation::set_has_status() { - _has_bits_[0] |= 0x00000002u; -} -inline void Response_Validation::clear_has_status() { - _has_bits_[0] &= ~0x00000002u; +inline bool Response_Validation::has_status() const { + return _internal_has_status(); } inline void Response_Validation::clear_status() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - clear_has_status(); + status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _has_bits_[0] &= ~0x00000001u; } -inline const ::std::string& Response_Validation::status() const { - return *status_; +inline const std::string& Response_Validation::status() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Validation.status) + return _internal_status(); } -inline void Response_Validation::set_status(const ::std::string& value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); +inline void Response_Validation::set_status(const std::string& value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Validation.status) } -inline void Response_Validation::set_status(const char* value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); +inline std::string* Response_Validation::mutable_status() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Validation.status) + return _internal_mutable_status(); } -inline void Response_Validation::set_status(const char* value, size_t size) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(reinterpret_cast<const char*>(value), size); +inline const std::string& Response_Validation::_internal_status() const { + return status_.Get(); } -inline ::std::string* Response_Validation::mutable_status() { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - return status_; +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 ::std::string* Response_Validation::release_status() { - clear_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - return NULL; - } else { - ::std::string* temp = status_; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; +inline void Response_Validation::set_status(std::string&& value) { + _has_bits_[0] |= 0x00000001u; + status_.Set( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Validation.status) +} +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()); + // @@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()); + // @@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::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()); } -inline void Response_Validation::set_allocated_status(::std::string* status) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; +inline void Response_Validation::set_allocated_status(std::string* status) { + if (status != nullptr) { + _has_bits_[0] |= 0x00000001u; + } else { + _has_bits_[0] &= ~0x00000001u; } - if (status) { - set_has_status(); - status_ = status; + status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, + GetArena()); + // @@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 { - clear_has_status(); - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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) } // ------------------------------------------------------------------- @@ -1594,527 +2742,689 @@ inline void Response_Validation::set_allocated_status(::std::string* status) { // Response_Metadata_Row_DtDouble // required string key = 1; -inline bool Response_Metadata_Row_DtDouble::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtDouble::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtDouble::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtDouble::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtDouble::clear_has_key() { +inline void Response_Metadata_Row_DtDouble::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtDouble::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtDouble::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtDouble::key() const { - return *key_; +inline void Response_Metadata_Row_DtDouble::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline void Response_Metadata_Row_DtDouble::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } inline void Response_Metadata_Row_DtDouble::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtDouble::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtDouble::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDouble.key) } -inline void Response_Metadata_Row_DtDouble::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Response_Metadata_Row_DtDouble::set_has_value() { - _has_bits_[0] |= 0x00000002u; +inline bool Response_Metadata_Row_DtDouble::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Metadata_Row_DtDouble::clear_has_value() { - _has_bits_[0] &= ~0x00000002u; +inline bool Response_Metadata_Row_DtDouble::has_value() const { + return _internal_has_value(); } inline void Response_Metadata_Row_DtDouble::clear_value() { value_ = 0; - clear_has_value(); + _has_bits_[0] &= ~0x00000002u; } -inline double Response_Metadata_Row_DtDouble::value() const { +inline double Response_Metadata_Row_DtDouble::_internal_value() const { return value_; } -inline void Response_Metadata_Row_DtDouble::set_value(double value) { - set_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; } +inline void Response_Metadata_Row_DtDouble::set_value(double value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDouble.value) +} // ------------------------------------------------------------------- // Response_Metadata_Row_DtInteger // required string key = 1; -inline bool Response_Metadata_Row_DtInteger::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtInteger::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtInteger::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtInteger::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtInteger::clear_has_key() { +inline void Response_Metadata_Row_DtInteger::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtInteger::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtInteger::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtInteger::key() const { - return *key_; +inline void Response_Metadata_Row_DtInteger::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline void Response_Metadata_Row_DtInteger::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } inline void Response_Metadata_Row_DtInteger::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtInteger::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtInteger::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtInteger.key) } -inline void Response_Metadata_Row_DtInteger::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Response_Metadata_Row_DtInteger::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -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 bool Response_Metadata_Row_DtInteger::has_value() const { + return _internal_has_value(); } inline void Response_Metadata_Row_DtInteger::clear_value() { value_ = 0; - clear_has_value(); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::int32 Response_Metadata_Row_DtInteger::value() const { +inline ::PROTOBUF_NAMESPACE_ID::int32 Response_Metadata_Row_DtInteger::_internal_value() const { return value_; } -inline void Response_Metadata_Row_DtInteger::set_value(::google::protobuf::int32 value) { - set_has_value(); +inline ::PROTOBUF_NAMESPACE_ID::int32 Response_Metadata_Row_DtInteger::value() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtInteger.value) + return _internal_value(); +} +inline void Response_Metadata_Row_DtInteger::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int32 value) { + _has_bits_[0] |= 0x00000002u; 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) +} // ------------------------------------------------------------------- // Response_Metadata_Row_DtUnsignedLong // required string key = 1; -inline bool Response_Metadata_Row_DtUnsignedLong::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtUnsignedLong::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtUnsignedLong::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtUnsignedLong::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtUnsignedLong::clear_has_key() { +inline void Response_Metadata_Row_DtUnsignedLong::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtUnsignedLong::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtUnsignedLong::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtUnsignedLong::key() const { - return *key_; +inline void Response_Metadata_Row_DtUnsignedLong::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline void Response_Metadata_Row_DtUnsignedLong::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } inline void Response_Metadata_Row_DtUnsignedLong::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtUnsignedLong::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtUnsignedLong::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.key) } -inline void Response_Metadata_Row_DtUnsignedLong::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Response_Metadata_Row_DtUnsignedLong::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -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 bool Response_Metadata_Row_DtUnsignedLong::has_value() const { + return _internal_has_value(); } inline void Response_Metadata_Row_DtUnsignedLong::clear_value() { - value_ = GOOGLE_ULONGLONG(0); - clear_has_value(); + value_ = PROTOBUF_ULONGLONG(0); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::uint64 Response_Metadata_Row_DtUnsignedLong::value() const { +inline ::PROTOBUF_NAMESPACE_ID::uint64 Response_Metadata_Row_DtUnsignedLong::_internal_value() const { return value_; } -inline void Response_Metadata_Row_DtUnsignedLong::set_value(::google::protobuf::uint64 value) { - set_has_value(); +inline ::PROTOBUF_NAMESPACE_ID::uint64 Response_Metadata_Row_DtUnsignedLong::value() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong.value) + return _internal_value(); +} +inline void Response_Metadata_Row_DtUnsignedLong::_internal_set_value(::PROTOBUF_NAMESPACE_ID::uint64 value) { + _has_bits_[0] |= 0x00000002u; 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) +} // ------------------------------------------------------------------- // Response_Metadata_Row_DtLongLong // required string key = 1; -inline bool Response_Metadata_Row_DtLongLong::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtLongLong::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtLongLong::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtLongLong::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtLongLong::clear_has_key() { +inline void Response_Metadata_Row_DtLongLong::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtLongLong::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtLongLong::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtLongLong::key() const { - return *key_; +inline void Response_Metadata_Row_DtLongLong::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline void Response_Metadata_Row_DtLongLong::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } inline void Response_Metadata_Row_DtLongLong::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtLongLong::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtLongLong::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.key) } -inline void Response_Metadata_Row_DtLongLong::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Response_Metadata_Row_DtLongLong::set_has_value() { - _has_bits_[0] |= 0x00000002u; +inline bool Response_Metadata_Row_DtLongLong::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Metadata_Row_DtLongLong::clear_has_value() { - _has_bits_[0] &= ~0x00000002u; +inline bool Response_Metadata_Row_DtLongLong::has_value() const { + return _internal_has_value(); } inline void Response_Metadata_Row_DtLongLong::clear_value() { - value_ = GOOGLE_LONGLONG(0); - clear_has_value(); + value_ = PROTOBUF_LONGLONG(0); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::int64 Response_Metadata_Row_DtLongLong::value() const { +inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtLongLong::_internal_value() const { return value_; } -inline void Response_Metadata_Row_DtLongLong::set_value(::google::protobuf::int64 value) { - set_has_value(); +inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtLongLong::value() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtLongLong.value) + return _internal_value(); +} +inline void Response_Metadata_Row_DtLongLong::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { + _has_bits_[0] |= 0x00000002u; 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) +} // ------------------------------------------------------------------- // Response_Metadata_Row_DtString // required string key = 1; -inline bool Response_Metadata_Row_DtString::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtString::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtString::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtString::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtString::clear_has_key() { +inline void Response_Metadata_Row_DtString::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtString::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtString::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtString.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtString::key() const { - return *key_; +inline void Response_Metadata_Row_DtString::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline void Response_Metadata_Row_DtString::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } inline void Response_Metadata_Row_DtString::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline ::std::string* Response_Metadata_Row_DtString::mutable_key() { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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::release_key() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtString.key) + if (!_internal_has_key()) { + return nullptr; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtString::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtString::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.key) } -inline void Response_Metadata_Row_DtString::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Response_Metadata_Row_DtString::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Metadata_Row_DtString::set_has_value() { - _has_bits_[0] |= 0x00000002u; +inline bool Response_Metadata_Row_DtString::has_value() const { + return _internal_has_value(); } -inline void Response_Metadata_Row_DtString::clear_has_value() { +inline void Response_Metadata_Row_DtString::clear_value() { + value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000002u; } -inline void Response_Metadata_Row_DtString::clear_value() { - if (value_ != &::google::protobuf::internal::kEmptyString) { - value_->clear(); - } - clear_has_value(); +inline const std::string& Response_Metadata_Row_DtString::value() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtString.value) + return _internal_value(); } -inline const ::std::string& Response_Metadata_Row_DtString::value() const { - return *value_; +inline void Response_Metadata_Row_DtString::set_value(const std::string& value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline void Response_Metadata_Row_DtString::set_value(const ::std::string& value) { - set_has_value(); - if (value_ == &::google::protobuf::internal::kEmptyString) { - value_ = new ::std::string; - } - value_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } inline void Response_Metadata_Row_DtString::set_value(const char* value) { - set_has_value(); - if (value_ == &::google::protobuf::internal::kEmptyString) { - value_ = new ::std::string; - } - value_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000002u; + value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_value(); - if (value_ == &::google::protobuf::internal::kEmptyString) { - value_ = new ::std::string; - } - value_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@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(); - if (value_ == &::google::protobuf::internal::kEmptyString) { - value_ = new ::std::string; +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; } - return value_; + _has_bits_[0] &= ~0x00000002u; + return value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtString::release_value() { - clear_has_value(); - if (value_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtString::set_allocated_value(std::string* value) { + if (value != nullptr) { + _has_bits_[0] |= 0x00000002u; } else { - ::std::string* temp = value_; - value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000002u; } + value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtString.value) } -inline void Response_Metadata_Row_DtString::set_allocated_value(::std::string* value) { - if (value_ != &::google::protobuf::internal::kEmptyString) { - delete value_; - } - if (value) { - set_has_value(); - value_ = 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 { - clear_has_value(); - value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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) } // ------------------------------------------------------------------- @@ -2122,544 +3432,859 @@ inline void Response_Metadata_Row_DtString::set_allocated_value(::std::string* v // Response_Metadata_Row_DtDate // required string key = 1; -inline bool Response_Metadata_Row_DtDate::has_key() const { - return (_has_bits_[0] & 0x00000001u) != 0; +inline bool Response_Metadata_Row_DtDate::_internal_has_key() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; } -inline void Response_Metadata_Row_DtDate::set_has_key() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata_Row_DtDate::has_key() const { + return _internal_has_key(); } -inline void Response_Metadata_Row_DtDate::clear_has_key() { +inline void Response_Metadata_Row_DtDate::clear_key() { + key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata_Row_DtDate::clear_key() { - if (key_ != &::google::protobuf::internal::kEmptyString) { - key_->clear(); - } - clear_has_key(); +inline const std::string& Response_Metadata_Row_DtDate::key() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) + return _internal_key(); } -inline const ::std::string& Response_Metadata_Row_DtDate::key() const { - return *key_; +inline void Response_Metadata_Row_DtDate::set_key(const std::string& value) { + _internal_set_key(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline void Response_Metadata_Row_DtDate::set_key(const ::std::string& value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); +inline 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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } inline void Response_Metadata_Row_DtDate::set_key(const char* value) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@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) { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; - } - key_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline ::std::string* Response_Metadata_Row_DtDate::mutable_key() { - set_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - key_ = new ::std::string; +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::release_key() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) + if (!_internal_has_key()) { + return nullptr; } - return key_; + _has_bits_[0] &= ~0x00000001u; + return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata_Row_DtDate::release_key() { - clear_has_key(); - if (key_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata_Row_DtDate::set_allocated_key(std::string* key) { + if (key != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = key_; - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.Row.DtDate.key) } -inline void Response_Metadata_Row_DtDate::set_allocated_key(::std::string* key) { - if (key_ != &::google::protobuf::internal::kEmptyString) { - delete key_; - } - if (key) { - set_has_key(); - key_ = 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 { - clear_has_key(); - key_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::has_value() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void Response_Metadata_Row_DtDate::set_has_value() { - _has_bits_[0] |= 0x00000002u; +inline bool Response_Metadata_Row_DtDate::_internal_has_value() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Metadata_Row_DtDate::clear_has_value() { - _has_bits_[0] &= ~0x00000002u; +inline bool Response_Metadata_Row_DtDate::has_value() const { + return _internal_has_value(); } inline void Response_Metadata_Row_DtDate::clear_value() { - value_ = GOOGLE_LONGLONG(0); - clear_has_value(); + value_ = PROTOBUF_LONGLONG(0); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::int64 Response_Metadata_Row_DtDate::value() const { +inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtDate::_internal_value() const { return value_; } -inline void Response_Metadata_Row_DtDate::set_value(::google::protobuf::int64 value) { - set_has_value(); +inline ::PROTOBUF_NAMESPACE_ID::int64 Response_Metadata_Row_DtDate::value() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.Row.DtDate.value) + return _internal_value(); +} +inline void Response_Metadata_Row_DtDate::_internal_set_value(::PROTOBUF_NAMESPACE_ID::int64 value) { + _has_bits_[0] |= 0x00000002u; 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) +} // ------------------------------------------------------------------- // Response_Metadata_Row // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDouble double_list = 1; -inline int Response_Metadata_Row::double_list_size() const { +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(); +} 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 { - 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 ::MetadataExporter_ns::Response_Metadata_Row_DtDouble* Response_Metadata_Row::add_double_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_double_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDouble >* -Response_Metadata_Row::mutable_double_list() { - return &double_list_; -} // repeated .MetadataExporter_ns.Response.Metadata.Row.DtInteger integer_list = 2; -inline int Response_Metadata_Row::integer_list_size() const { +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(); +} 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 { - 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 ::MetadataExporter_ns::Response_Metadata_Row_DtInteger* Response_Metadata_Row::add_integer_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_integer_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtInteger >* -Response_Metadata_Row::mutable_integer_list() { - return &integer_list_; -} // repeated .MetadataExporter_ns.Response.Metadata.Row.DtUnsignedLong unsinged_long_list = 3; -inline int Response_Metadata_Row::unsinged_long_list_size() const { +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(); +} inline void Response_Metadata_Row::clear_unsinged_long_list() { unsinged_long_list_.Clear(); } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong& Response_Metadata_Row::unsinged_long_list(int index) const { - return unsinged_long_list_.Get(index); -} inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::mutable_unsinged_long_list(int index) { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.unsinged_long_list) return unsinged_long_list_.Mutable(index); } -inline ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong* Response_Metadata_Row::add_unsinged_long_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_unsinged_long_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtUnsignedLong >* -Response_Metadata_Row::mutable_unsinged_long_list() { - return &unsinged_long_list_; -} // repeated .MetadataExporter_ns.Response.Metadata.Row.DtLongLong long_long_list = 4; -inline int Response_Metadata_Row::long_long_list_size() const { +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(); +} inline void Response_Metadata_Row::clear_long_long_list() { long_long_list_.Clear(); } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong& Response_Metadata_Row::long_long_list(int index) const { - return long_long_list_.Get(index); -} inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::mutable_long_long_list(int index) { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.long_long_list) return long_long_list_.Mutable(index); } -inline ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong* Response_Metadata_Row::add_long_long_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_long_long_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtLongLong >* -Response_Metadata_Row::mutable_long_long_list() { - return &long_long_list_; -} // repeated .MetadataExporter_ns.Response.Metadata.Row.DtString strings_list = 5; -inline int Response_Metadata_Row::strings_list_size() const { +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(); +} inline void Response_Metadata_Row::clear_strings_list() { strings_list_.Clear(); } -inline const ::MetadataExporter_ns::Response_Metadata_Row_DtString& Response_Metadata_Row::strings_list(int index) const { - return strings_list_.Get(index); -} inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::mutable_strings_list(int index) { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.Row.strings_list) return strings_list_.Mutable(index); } -inline ::MetadataExporter_ns::Response_Metadata_Row_DtString* Response_Metadata_Row::add_strings_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_strings_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtString >* -Response_Metadata_Row::mutable_strings_list() { - return &strings_list_; -} // repeated .MetadataExporter_ns.Response.Metadata.Row.DtDate date_list = 6; -inline int Response_Metadata_Row::date_list_size() const { +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(); +} 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 { - 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 ::MetadataExporter_ns::Response_Metadata_Row_DtDate* Response_Metadata_Row::add_date_list() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_date_list(); +} +inline const ::PROTOBUF_NAMESPACE_ID::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_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row_DtDate >* -Response_Metadata_Row::mutable_date_list() { - return &date_list_; -} // ------------------------------------------------------------------- // Response_Metadata // required .MetadataExporter_ns.Response.Metadata.State state = 1; -inline bool Response_Metadata::has_state() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Response_Metadata::set_has_state() { - _has_bits_[0] |= 0x00000001u; +inline bool Response_Metadata::_internal_has_state() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; } -inline void Response_Metadata::clear_has_state() { - _has_bits_[0] &= ~0x00000001u; +inline bool Response_Metadata::has_state() const { + return _internal_has_state(); } inline void Response_Metadata::clear_state() { state_ = 0; - clear_has_state(); + _has_bits_[0] &= ~0x00000002u; } -inline ::MetadataExporter_ns::Response_Metadata_State Response_Metadata::state() const { +inline ::MetadataExporter_ns::Response_Metadata_State Response_Metadata::_internal_state() const { return static_cast< ::MetadataExporter_ns::Response_Metadata_State >(state_); } -inline void Response_Metadata::set_state(::MetadataExporter_ns::Response_Metadata_State value) { +inline ::MetadataExporter_ns::Response_Metadata_State Response_Metadata::state() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.state) + return _internal_state(); +} +inline void Response_Metadata::_internal_set_state(::MetadataExporter_ns::Response_Metadata_State value) { assert(::MetadataExporter_ns::Response_Metadata_State_IsValid(value)); - set_has_state(); + _has_bits_[0] |= 0x00000002u; 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 (_has_bits_[0] & 0x00000002u) != 0; + return _internal_has_status(); } -inline void Response_Metadata::set_has_status() { - _has_bits_[0] |= 0x00000002u; +inline void Response_Metadata::clear_status() { + status_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + _has_bits_[0] &= ~0x00000001u; } -inline void Response_Metadata::clear_has_status() { - _has_bits_[0] &= ~0x00000002u; +inline const std::string& Response_Metadata::status() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.Metadata.status) + return _internal_status(); } -inline void Response_Metadata::clear_status() { - if (status_ != &::google::protobuf::internal::kEmptyString) { - status_->clear(); - } - clear_has_status(); +inline void Response_Metadata::set_status(const std::string& value) { + _internal_set_status(value); + // @@protoc_insertion_point(field_set:MetadataExporter_ns.Response.Metadata.status) } -inline const ::std::string& Response_Metadata::status() const { - return *status_; +inline std::string* Response_Metadata::mutable_status() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.Metadata.status) + return _internal_mutable_status(); } -inline void Response_Metadata::set_status(const ::std::string& value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); +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()); + // @@protoc_insertion_point(field_set_rvalue:MetadataExporter_ns.Response.Metadata.status) } inline void Response_Metadata::set_status(const char* value) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(value); + GOOGLE_DCHECK(value != nullptr); + _has_bits_[0] |= 0x00000001u; + status_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), + GetArena()); + // @@protoc_insertion_point(field_set_char:MetadataExporter_ns.Response.Metadata.status) } -inline void Response_Metadata::set_status(const char* value, size_t size) { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; - } - status_->assign(reinterpret_cast<const char*>(value), size); +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()); + // @@protoc_insertion_point(field_set_pointer:MetadataExporter_ns.Response.Metadata.status) } -inline ::std::string* Response_Metadata::mutable_status() { - set_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - status_ = new ::std::string; +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::release_status() { + // @@protoc_insertion_point(field_release:MetadataExporter_ns.Response.Metadata.status) + if (!_internal_has_status()) { + return nullptr; } - return status_; + _has_bits_[0] &= ~0x00000001u; + return status_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } -inline ::std::string* Response_Metadata::release_status() { - clear_has_status(); - if (status_ == &::google::protobuf::internal::kEmptyString) { - return NULL; +inline void Response_Metadata::set_allocated_status(std::string* status) { + if (status != nullptr) { + _has_bits_[0] |= 0x00000001u; } else { - ::std::string* temp = status_; - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); - return temp; + _has_bits_[0] &= ~0x00000001u; } + status_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status, + GetArena()); + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.Metadata.status) } -inline void Response_Metadata::set_allocated_status(::std::string* status) { - if (status_ != &::google::protobuf::internal::kEmptyString) { - delete status_; - } - if (status) { - set_has_status(); - status_ = 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 { - clear_has_status(); - status_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + _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::rows_size() const { +inline int Response_Metadata::_internal_rows_size() const { return rows_.size(); } +inline int Response_Metadata::rows_size() const { + return _internal_rows_size(); +} inline void Response_Metadata::clear_rows() { rows_.Clear(); } -inline const ::MetadataExporter_ns::Response_Metadata_Row& Response_Metadata::rows(int index) const { - 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 ::MetadataExporter_ns::Response_Metadata_Row* Response_Metadata::add_rows() { +inline ::PROTOBUF_NAMESPACE_ID::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 const ::google::protobuf::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 _internal_add_rows(); +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >& Response_Metadata::rows() const { + // @@protoc_insertion_point(field_list:MetadataExporter_ns.Response.Metadata.rows) return rows_; } -inline ::google::protobuf::RepeatedPtrField< ::MetadataExporter_ns::Response_Metadata_Row >* -Response_Metadata::mutable_rows() { - return &rows_; -} // ------------------------------------------------------------------- // Response // required .MetadataExporter_ns.Response.Type type = 1; -inline bool Response::has_type() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Response::set_has_type() { - _has_bits_[0] |= 0x00000001u; +inline bool Response::_internal_has_type() const { + bool value = (_has_bits_[0] & 0x00000008u) != 0; + return value; } -inline void Response::clear_has_type() { - _has_bits_[0] &= ~0x00000001u; +inline bool Response::has_type() const { + return _internal_has_type(); } inline void Response::clear_type() { type_ = 0; - clear_has_type(); + _has_bits_[0] &= ~0x00000008u; } -inline ::MetadataExporter_ns::Response_Type Response::type() const { +inline ::MetadataExporter_ns::Response_Type Response::_internal_type() const { return static_cast< ::MetadataExporter_ns::Response_Type >(type_); } -inline void Response::set_type(::MetadataExporter_ns::Response_Type value) { +inline ::MetadataExporter_ns::Response_Type Response::type() const { + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.type) + return _internal_type(); +} +inline void Response::_internal_set_type(::MetadataExporter_ns::Response_Type value) { assert(::MetadataExporter_ns::Response_Type_IsValid(value)); - set_has_type(); + _has_bits_[0] |= 0x00000008u; 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::has_authorization() const { - return (_has_bits_[0] & 0x00000002u) != 0; +inline bool Response::_internal_has_authorization() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || authorization_ != nullptr); + return value; } -inline void Response::set_has_authorization() { - _has_bits_[0] |= 0x00000002u; -} -inline void Response::clear_has_authorization() { - _has_bits_[0] &= ~0x00000002u; +inline bool Response::has_authorization() const { + return _internal_has_authorization(); } inline void Response::clear_authorization() { - if (authorization_ != NULL) authorization_->::MetadataExporter_ns::Response_Authorization::Clear(); - clear_has_authorization(); + if (authorization_ != nullptr) authorization_->Clear(); + _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 const ::MetadataExporter_ns::Response_Authorization& Response::authorization() const { - return authorization_ != NULL ? *authorization_ : *default_instance_->authorization_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.authorization) + return _internal_authorization(); } -inline ::MetadataExporter_ns::Response_Authorization* Response::mutable_authorization() { - set_has_authorization(); - if (authorization_ == NULL) authorization_ = new ::MetadataExporter_ns::Response_Authorization; - return 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) } inline ::MetadataExporter_ns::Response_Authorization* Response::release_authorization() { - clear_has_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; ::MetadataExporter_ns::Response_Authorization* temp = authorization_; - authorization_ = NULL; + authorization_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.authorization) + return _internal_mutable_authorization(); +} inline void Response::set_allocated_authorization(::MetadataExporter_ns::Response_Authorization* authorization) { - delete authorization_; - authorization_ = authorization; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete authorization_; + } if (authorization) { - set_has_authorization(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authorization); + if (message_arena != submessage_arena) { + authorization = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, authorization, submessage_arena); + } + _has_bits_[0] |= 0x00000001u; } else { - clear_has_authorization(); + _has_bits_[0] &= ~0x00000001u; } + authorization_ = authorization; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.authorization) } // optional .MetadataExporter_ns.Response.Validation validation = 3; -inline bool Response::has_validation() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void Response::set_has_validation() { - _has_bits_[0] |= 0x00000004u; +inline bool Response::_internal_has_validation() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || validation_ != nullptr); + return value; } -inline void Response::clear_has_validation() { - _has_bits_[0] &= ~0x00000004u; +inline bool Response::has_validation() const { + return _internal_has_validation(); } inline void Response::clear_validation() { - if (validation_ != NULL) validation_->::MetadataExporter_ns::Response_Validation::Clear(); - clear_has_validation(); + if (validation_ != nullptr) validation_->Clear(); + _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 const ::MetadataExporter_ns::Response_Validation& Response::validation() const { - return validation_ != NULL ? *validation_ : *default_instance_->validation_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.validation) + return _internal_validation(); } -inline ::MetadataExporter_ns::Response_Validation* Response::mutable_validation() { - set_has_validation(); - if (validation_ == NULL) validation_ = new ::MetadataExporter_ns::Response_Validation; - return 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) } inline ::MetadataExporter_ns::Response_Validation* Response::release_validation() { - clear_has_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; ::MetadataExporter_ns::Response_Validation* temp = validation_; - validation_ = NULL; + validation_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.validation) + return _internal_mutable_validation(); +} inline void Response::set_allocated_validation(::MetadataExporter_ns::Response_Validation* validation) { - delete validation_; - validation_ = validation; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete validation_; + } if (validation) { - set_has_validation(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(validation); + if (message_arena != submessage_arena) { + validation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, validation, submessage_arena); + } + _has_bits_[0] |= 0x00000002u; } else { - clear_has_validation(); + _has_bits_[0] &= ~0x00000002u; } + validation_ = validation; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.validation) } // optional .MetadataExporter_ns.Response.Metadata metadata = 4; -inline bool Response::has_metadata() const { - return (_has_bits_[0] & 0x00000008u) != 0; +inline bool Response::_internal_has_metadata() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || metadata_ != nullptr); + return value; } -inline void Response::set_has_metadata() { - _has_bits_[0] |= 0x00000008u; -} -inline void Response::clear_has_metadata() { - _has_bits_[0] &= ~0x00000008u; +inline bool Response::has_metadata() const { + return _internal_has_metadata(); } inline void Response::clear_metadata() { - if (metadata_ != NULL) metadata_->::MetadataExporter_ns::Response_Metadata::Clear(); - clear_has_metadata(); + if (metadata_ != nullptr) metadata_->Clear(); + _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 const ::MetadataExporter_ns::Response_Metadata& Response::metadata() const { - return metadata_ != NULL ? *metadata_ : *default_instance_->metadata_; + // @@protoc_insertion_point(field_get:MetadataExporter_ns.Response.metadata) + return _internal_metadata(); } -inline ::MetadataExporter_ns::Response_Metadata* Response::mutable_metadata() { - set_has_metadata(); - if (metadata_ == NULL) metadata_ = new ::MetadataExporter_ns::Response_Metadata; - return 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) } inline ::MetadataExporter_ns::Response_Metadata* Response::release_metadata() { - clear_has_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; ::MetadataExporter_ns::Response_Metadata* temp = metadata_; - metadata_ = NULL; + metadata_ = nullptr; 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() { + // @@protoc_insertion_point(field_mutable:MetadataExporter_ns.Response.metadata) + return _internal_mutable_metadata(); +} inline void Response::set_allocated_metadata(::MetadataExporter_ns::Response_Metadata* metadata) { - delete metadata_; - metadata_ = metadata; + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + if (message_arena == nullptr) { + delete metadata_; + } if (metadata) { - set_has_metadata(); + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(metadata); + if (message_arena != submessage_arena) { + metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, metadata, submessage_arena); + } + _has_bits_[0] |= 0x00000004u; } else { - clear_has_metadata(); + _has_bits_[0] &= ~0x00000004u; } + metadata_ = metadata; + // @@protoc_insertion_point(field_set_allocated:MetadataExporter_ns.Response.metadata) } +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) } // namespace MetadataExporter_ns -#ifndef SWIG -namespace google { -namespace protobuf { +PROTOBUF_NAMESPACE_OPEN +template <> struct is_proto_enum< ::MetadataExporter_ns::Response_Authorization_State> : ::std::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 <> 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 <> 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 <> inline const EnumDescriptor* GetEnumDescriptor< ::MetadataExporter_ns::Response_Type>() { return ::MetadataExporter_ns::Response_Type_descriptor(); } -} // namespace google -} // namespace protobuf -#endif // SWIG +PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_Response_2eproto__INCLUDED +#include <google/protobuf/port_undef.inc> +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Response_2eproto