diff --git a/.cache/clangd/index/Generator.cc.1C9499EBA0B17B3B.idx b/.cache/clangd/index/Generator.cc.1C9499EBA0B17B3B.idx deleted file mode 100644 index 6cbab88..0000000 Binary files a/.cache/clangd/index/Generator.cc.1C9499EBA0B17B3B.idx and /dev/null differ diff --git a/.cache/clangd/index/Generator.h.52157F593DFF3D15.idx b/.cache/clangd/index/Generator.h.52157F593DFF3D15.idx deleted file mode 100644 index 8f12483..0000000 Binary files a/.cache/clangd/index/Generator.h.52157F593DFF3D15.idx and /dev/null differ diff --git a/.cache/clangd/index/const.h.2033ED1264FDB090.idx b/.cache/clangd/index/const.h.2033ED1264FDB090.idx deleted file mode 100644 index 11bb9f3..0000000 Binary files a/.cache/clangd/index/const.h.2033ED1264FDB090.idx and /dev/null differ diff --git a/.cache/clangd/index/dismember.cc.AA8F4D1A648457C6.idx b/.cache/clangd/index/dismember.cc.AA8F4D1A648457C6.idx deleted file mode 100644 index 8a17681..0000000 Binary files a/.cache/clangd/index/dismember.cc.AA8F4D1A648457C6.idx and /dev/null differ diff --git a/.cache/clangd/index/logger.h.61B54A06994D61D4.idx b/.cache/clangd/index/logger.h.61B54A06994D61D4.idx deleted file mode 100644 index 0d76ced..0000000 Binary files a/.cache/clangd/index/logger.h.61B54A06994D61D4.idx and /dev/null differ diff --git a/.cache/clangd/index/logger.h.B9A3676C98048400.idx b/.cache/clangd/index/logger.h.B9A3676C98048400.idx deleted file mode 100644 index ad601ba..0000000 Binary files a/.cache/clangd/index/logger.h.B9A3676C98048400.idx and /dev/null differ diff --git a/.cache/clangd/index/mod.h.26616D95926D1915.idx b/.cache/clangd/index/mod.h.26616D95926D1915.idx deleted file mode 100644 index 6625a2f..0000000 Binary files a/.cache/clangd/index/mod.h.26616D95926D1915.idx and /dev/null differ diff --git a/.cache/clangd/index/msg.h.3B12D281B79421D1.idx b/.cache/clangd/index/msg.h.3B12D281B79421D1.idx deleted file mode 100644 index 268e136..0000000 Binary files a/.cache/clangd/index/msg.h.3B12D281B79421D1.idx and /dev/null differ diff --git a/.cache/clangd/index/options.h.28AD6AFA4D1F9935.idx b/.cache/clangd/index/options.h.28AD6AFA4D1F9935.idx deleted file mode 100644 index 9fab467..0000000 Binary files a/.cache/clangd/index/options.h.28AD6AFA4D1F9935.idx and /dev/null differ diff --git a/.cache/clangd/index/options.h.4AAC7639F45C5275.idx b/.cache/clangd/index/options.h.4AAC7639F45C5275.idx deleted file mode 100644 index ce609c6..0000000 Binary files a/.cache/clangd/index/options.h.4AAC7639F45C5275.idx and /dev/null differ diff --git a/.cache/clangd/index/ppd.cc.C6BE21F20C9B17A7.idx b/.cache/clangd/index/ppd.cc.C6BE21F20C9B17A7.idx deleted file mode 100644 index 89d0ba4..0000000 Binary files a/.cache/clangd/index/ppd.cc.C6BE21F20C9B17A7.idx and /dev/null differ diff --git a/.cache/clangd/index/reqgen.cc.91BD5FC7B6C918CD.idx b/.cache/clangd/index/reqgen.cc.91BD5FC7B6C918CD.idx deleted file mode 100644 index db5a758..0000000 Binary files a/.cache/clangd/index/reqgen.cc.91BD5FC7B6C918CD.idx and /dev/null differ diff --git a/.cache/clangd/index/reqgen.h.70810491066557D6.idx b/.cache/clangd/index/reqgen.h.70810491066557D6.idx deleted file mode 100644 index 51d75b2..0000000 Binary files a/.cache/clangd/index/reqgen.h.70810491066557D6.idx and /dev/null differ diff --git a/.cache/clangd/index/reqproc.cc.05EE0464CA036120.idx b/.cache/clangd/index/reqproc.cc.05EE0464CA036120.idx deleted file mode 100644 index f0a3a94..0000000 Binary files a/.cache/clangd/index/reqproc.cc.05EE0464CA036120.idx and /dev/null differ diff --git a/.cache/clangd/index/reqproc.h.30BB41B1A3C4C931.idx b/.cache/clangd/index/reqproc.h.30BB41B1A3C4C931.idx deleted file mode 100644 index 1991b44..0000000 Binary files a/.cache/clangd/index/reqproc.h.30BB41B1A3C4C931.idx and /dev/null differ diff --git a/.cache/clangd/index/util.cc.DC6D6B61479C342B.idx b/.cache/clangd/index/util.cc.DC6D6B61479C342B.idx deleted file mode 100644 index 76edd59..0000000 Binary files a/.cache/clangd/index/util.cc.DC6D6B61479C342B.idx and /dev/null differ diff --git a/.cache/clangd/index/util.h.163535C9421C5D4F.idx b/.cache/clangd/index/util.h.163535C9421C5D4F.idx deleted file mode 100644 index db2516c..0000000 Binary files a/.cache/clangd/index/util.h.163535C9421C5D4F.idx and /dev/null differ diff --git a/.cache/clangd/index/util.h.36CDBB98EA596ACF.idx b/.cache/clangd/index/util.h.36CDBB98EA596ACF.idx deleted file mode 100644 index 0195807..0000000 Binary files a/.cache/clangd/index/util.h.36CDBB98EA596ACF.idx and /dev/null differ diff --git a/.cache/clangd/index/util.h.C02372DF51A50931.idx b/.cache/clangd/index/util.h.C02372DF51A50931.idx deleted file mode 100644 index 48678c4..0000000 Binary files a/.cache/clangd/index/util.h.C02372DF51A50931.idx and /dev/null differ diff --git a/build/.cache/clangd/index/msg.pb.cc.906FD935221063CA.idx b/build/.cache/clangd/index/msg.pb.cc.906FD935221063CA.idx deleted file mode 100644 index dfb14c0..0000000 Binary files a/build/.cache/clangd/index/msg.pb.cc.906FD935221063CA.idx and /dev/null differ diff --git a/build/.cache/clangd/index/msg.pb.h.7FF09A0169F7F37B.idx b/build/.cache/clangd/index/msg.pb.h.7FF09A0169F7F37B.idx deleted file mode 100644 index 9429453..0000000 Binary files a/build/.cache/clangd/index/msg.pb.h.7FF09A0169F7F37B.idx and /dev/null differ diff --git a/build/dismember b/build/dismember deleted file mode 100755 index 489288a..0000000 Binary files a/build/dismember and /dev/null differ diff --git a/build/msg/msg.pb.cc b/build/msg/msg.pb.cc deleted file mode 100644 index a8a72da..0000000 --- a/build/msg/msg.pb.cc +++ /dev/null @@ -1,1991 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: msg.proto - -#include "msg.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR ppd_slave_resp::ppd_slave_resp( - ::_pbi::ConstantInitialized) - : qps_(0) - , send_sz_(0) - , resp_sz_(0){} -struct ppd_slave_respDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_slave_respDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_slave_respDefaultTypeInternal() {} - union { - ppd_slave_resp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_slave_respDefaultTypeInternal _ppd_slave_resp_default_instance_; -PROTOBUF_CONSTEXPR ppd_master_start::ppd_master_start( - ::_pbi::ConstantInitialized) - : dummy_(0){} -struct ppd_master_startDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_master_startDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_master_startDefaultTypeInternal() {} - union { - ppd_master_start _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_master_startDefaultTypeInternal _ppd_master_start_default_instance_; -PROTOBUF_CONSTEXPR ppd_rdb_req::ppd_rdb_req( - ::_pbi::ConstantInitialized) - : key_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) - , val_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) - , op_(0) - , optarg_(0){} -struct ppd_rdb_reqDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_rdb_reqDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_rdb_reqDefaultTypeInternal() {} - union { - ppd_rdb_req _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_rdb_reqDefaultTypeInternal _ppd_rdb_req_default_instance_; -PROTOBUF_CONSTEXPR ppd_rdb_resp::ppd_rdb_resp( - ::_pbi::ConstantInitialized) - : result_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) - , status_(0){} -struct ppd_rdb_respDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_rdb_respDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_rdb_respDefaultTypeInternal() {} - union { - ppd_rdb_resp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_rdb_respDefaultTypeInternal _ppd_rdb_resp_default_instance_; -PROTOBUF_CONSTEXPR ppd_echo_req::ppd_echo_req( - ::_pbi::ConstantInitialized) - : enable_delay_(0) - , data_size_(0){} -struct ppd_echo_reqDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_echo_reqDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_echo_reqDefaultTypeInternal() {} - union { - ppd_echo_req _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_echo_reqDefaultTypeInternal _ppd_echo_req_default_instance_; -PROTOBUF_CONSTEXPR ppd_echo_resp::ppd_echo_resp( - ::_pbi::ConstantInitialized) - : data_(&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}) - , status_(0){} -struct ppd_echo_respDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_echo_respDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_echo_respDefaultTypeInternal() {} - union { - ppd_echo_resp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_echo_respDefaultTypeInternal _ppd_echo_resp_default_instance_; -PROTOBUF_CONSTEXPR ppd_touch_req::ppd_touch_req( - ::_pbi::ConstantInitialized) - : touch_cnt_(0) - , inc_(0){} -struct ppd_touch_reqDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_touch_reqDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_touch_reqDefaultTypeInternal() {} - union { - ppd_touch_req _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_touch_reqDefaultTypeInternal _ppd_touch_req_default_instance_; -PROTOBUF_CONSTEXPR ppd_touch_resp::ppd_touch_resp( - ::_pbi::ConstantInitialized) - : status_(0){} -struct ppd_touch_respDefaultTypeInternal { - PROTOBUF_CONSTEXPR ppd_touch_respDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ppd_touch_respDefaultTypeInternal() {} - union { - ppd_touch_resp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ppd_touch_respDefaultTypeInternal _ppd_touch_resp_default_instance_; -static ::_pb::Metadata file_level_metadata_msg_2eproto[8]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_msg_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_msg_2eproto = nullptr; - -const uint32_t TableStruct_msg_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_slave_resp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_slave_resp, qps_), - PROTOBUF_FIELD_OFFSET(::ppd_slave_resp, send_sz_), - PROTOBUF_FIELD_OFFSET(::ppd_slave_resp, resp_sz_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_master_start, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_master_start, dummy_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_rdb_req, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_rdb_req, op_), - PROTOBUF_FIELD_OFFSET(::ppd_rdb_req, optarg_), - PROTOBUF_FIELD_OFFSET(::ppd_rdb_req, key_), - PROTOBUF_FIELD_OFFSET(::ppd_rdb_req, val_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_rdb_resp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_rdb_resp, status_), - PROTOBUF_FIELD_OFFSET(::ppd_rdb_resp, result_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_echo_req, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_echo_req, enable_delay_), - PROTOBUF_FIELD_OFFSET(::ppd_echo_req, data_size_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_echo_resp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_echo_resp, status_), - PROTOBUF_FIELD_OFFSET(::ppd_echo_resp, data_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_touch_req, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_touch_req, touch_cnt_), - PROTOBUF_FIELD_OFFSET(::ppd_touch_req, inc_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::ppd_touch_resp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ppd_touch_resp, status_), -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::ppd_slave_resp)}, - { 9, -1, -1, sizeof(::ppd_master_start)}, - { 16, -1, -1, sizeof(::ppd_rdb_req)}, - { 26, -1, -1, sizeof(::ppd_rdb_resp)}, - { 34, -1, -1, sizeof(::ppd_echo_req)}, - { 42, -1, -1, sizeof(::ppd_echo_resp)}, - { 50, -1, -1, sizeof(::ppd_touch_req)}, - { 58, -1, -1, sizeof(::ppd_touch_resp)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_ppd_slave_resp_default_instance_._instance, - &::_ppd_master_start_default_instance_._instance, - &::_ppd_rdb_req_default_instance_._instance, - &::_ppd_rdb_resp_default_instance_._instance, - &::_ppd_echo_req_default_instance_._instance, - &::_ppd_echo_resp_default_instance_._instance, - &::_ppd_touch_req_default_instance_._instance, - &::_ppd_touch_resp_default_instance_._instance, -}; - -const char descriptor_table_protodef_msg_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\tmsg.proto\"\?\n\016ppd_slave_resp\022\013\n\003qps\030\001 \001" - "(\005\022\017\n\007send_sz\030\002 \001(\005\022\017\n\007resp_sz\030\003 \001(\005\"!\n\020" - "ppd_master_start\022\r\n\005dummy\030\001 \001(\005\"C\n\013ppd_r" - "db_req\022\n\n\002op\030\001 \001(\005\022\016\n\006optarg\030\002 \001(\005\022\013\n\003ke" - "y\030\003 \001(\014\022\013\n\003val\030\004 \001(\014\".\n\014ppd_rdb_resp\022\016\n\006" - "status\030\001 \001(\005\022\016\n\006result\030\002 \001(\014\"7\n\014ppd_echo" - "_req\022\024\n\014enable_delay\030\001 \001(\005\022\021\n\tdata_size\030" - "\002 \001(\005\"-\n\rppd_echo_resp\022\016\n\006status\030\001 \001(\005\022\014" - "\n\004data\030\002 \001(\014\"/\n\rppd_touch_req\022\021\n\ttouch_c" - "nt\030\001 \001(\005\022\013\n\003inc\030\002 \001(\005\" \n\016ppd_touch_resp\022" - "\016\n\006status\030\001 \001(\005b\006proto3" - ; -static ::_pbi::once_flag descriptor_table_msg_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_msg_2eproto = { - false, false, 423, descriptor_table_protodef_msg_2eproto, - "msg.proto", - &descriptor_table_msg_2eproto_once, nullptr, 0, 8, - schemas, file_default_instances, TableStruct_msg_2eproto::offsets, - file_level_metadata_msg_2eproto, file_level_enum_descriptors_msg_2eproto, - file_level_service_descriptors_msg_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_msg_2eproto_getter() { - return &descriptor_table_msg_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_msg_2eproto(&descriptor_table_msg_2eproto); - -// =================================================================== - -class ppd_slave_resp::_Internal { - public: -}; - -ppd_slave_resp::ppd_slave_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_slave_resp) -} -ppd_slave_resp::ppd_slave_resp(const ppd_slave_resp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&qps_, &from.qps_, - static_cast(reinterpret_cast(&resp_sz_) - - reinterpret_cast(&qps_)) + sizeof(resp_sz_)); - // @@protoc_insertion_point(copy_constructor:ppd_slave_resp) -} - -inline void ppd_slave_resp::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&qps_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&resp_sz_) - - reinterpret_cast(&qps_)) + sizeof(resp_sz_)); -} - -ppd_slave_resp::~ppd_slave_resp() { - // @@protoc_insertion_point(destructor:ppd_slave_resp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_slave_resp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ppd_slave_resp::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_slave_resp::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_slave_resp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&qps_, 0, static_cast( - reinterpret_cast(&resp_sz_) - - reinterpret_cast(&qps_)) + sizeof(resp_sz_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_slave_resp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 qps = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - qps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 send_sz = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - send_sz_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 resp_sz = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - resp_sz_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_slave_resp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_slave_resp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 qps = 1; - if (this->_internal_qps() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_qps(), target); - } - - // int32 send_sz = 2; - if (this->_internal_send_sz() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_send_sz(), target); - } - - // int32 resp_sz = 3; - if (this->_internal_resp_sz() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_resp_sz(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_slave_resp) - return target; -} - -size_t ppd_slave_resp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_slave_resp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // int32 qps = 1; - if (this->_internal_qps() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_qps()); - } - - // int32 send_sz = 2; - if (this->_internal_send_sz() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_send_sz()); - } - - // int32 resp_sz = 3; - if (this->_internal_resp_sz() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_resp_sz()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_slave_resp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_slave_resp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_slave_resp::GetClassData() const { return &_class_data_; } - -void ppd_slave_resp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_slave_resp::MergeFrom(const ppd_slave_resp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_slave_resp) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_qps() != 0) { - _internal_set_qps(from._internal_qps()); - } - if (from._internal_send_sz() != 0) { - _internal_set_send_sz(from._internal_send_sz()); - } - if (from._internal_resp_sz() != 0) { - _internal_set_resp_sz(from._internal_resp_sz()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_slave_resp::CopyFrom(const ppd_slave_resp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_slave_resp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_slave_resp::IsInitialized() const { - return true; -} - -void ppd_slave_resp::InternalSwap(ppd_slave_resp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ppd_slave_resp, resp_sz_) - + sizeof(ppd_slave_resp::resp_sz_) - - PROTOBUF_FIELD_OFFSET(ppd_slave_resp, qps_)>( - reinterpret_cast(&qps_), - reinterpret_cast(&other->qps_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_slave_resp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[0]); -} - -// =================================================================== - -class ppd_master_start::_Internal { - public: -}; - -ppd_master_start::ppd_master_start(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_master_start) -} -ppd_master_start::ppd_master_start(const ppd_master_start& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - dummy_ = from.dummy_; - // @@protoc_insertion_point(copy_constructor:ppd_master_start) -} - -inline void ppd_master_start::SharedCtor() { -dummy_ = 0; -} - -ppd_master_start::~ppd_master_start() { - // @@protoc_insertion_point(destructor:ppd_master_start) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_master_start::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ppd_master_start::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_master_start::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_master_start) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - dummy_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_master_start::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_master_start::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_master_start) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 dummy = 1; - if (this->_internal_dummy() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_master_start) - return target; -} - -size_t ppd_master_start::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_master_start) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // int32 dummy = 1; - if (this->_internal_dummy() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_master_start::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_master_start::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_master_start::GetClassData() const { return &_class_data_; } - -void ppd_master_start::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_master_start::MergeFrom(const ppd_master_start& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_master_start) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_dummy() != 0) { - _internal_set_dummy(from._internal_dummy()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_master_start::CopyFrom(const ppd_master_start& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_master_start) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_master_start::IsInitialized() const { - return true; -} - -void ppd_master_start::InternalSwap(ppd_master_start* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(dummy_, other->dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_master_start::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[1]); -} - -// =================================================================== - -class ppd_rdb_req::_Internal { - public: -}; - -ppd_rdb_req::ppd_rdb_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_rdb_req) -} -ppd_rdb_req::ppd_rdb_req(const ppd_rdb_req& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_key().empty()) { - key_.Set(from._internal_key(), - GetArenaForAllocation()); - } - val_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - val_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_val().empty()) { - val_.Set(from._internal_val(), - GetArenaForAllocation()); - } - ::memcpy(&op_, &from.op_, - static_cast(reinterpret_cast(&optarg_) - - reinterpret_cast(&op_)) + sizeof(optarg_)); - // @@protoc_insertion_point(copy_constructor:ppd_rdb_req) -} - -inline void ppd_rdb_req::SharedCtor() { -key_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - key_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -val_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - val_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&op_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&optarg_) - - reinterpret_cast(&op_)) + sizeof(optarg_)); -} - -ppd_rdb_req::~ppd_rdb_req() { - // @@protoc_insertion_point(destructor:ppd_rdb_req) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_rdb_req::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - key_.Destroy(); - val_.Destroy(); -} - -void ppd_rdb_req::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_rdb_req::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_rdb_req) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - key_.ClearToEmpty(); - val_.ClearToEmpty(); - ::memset(&op_, 0, static_cast( - reinterpret_cast(&optarg_) - - reinterpret_cast(&op_)) + sizeof(optarg_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_rdb_req::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - op_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 optarg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - optarg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bytes key = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bytes val = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_val(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_rdb_req::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_rdb_req) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 op = 1; - if (this->_internal_op() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_op(), target); - } - - // int32 optarg = 2; - if (this->_internal_optarg() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_optarg(), target); - } - - // bytes key = 3; - if (!this->_internal_key().empty()) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_key(), target); - } - - // bytes val = 4; - if (!this->_internal_val().empty()) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_val(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_rdb_req) - return target; -} - -size_t ppd_rdb_req::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_rdb_req) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bytes key = 3; - if (!this->_internal_key().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_key()); - } - - // bytes val = 4; - if (!this->_internal_val().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_val()); - } - - // int32 op = 1; - if (this->_internal_op() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_op()); - } - - // int32 optarg = 2; - if (this->_internal_optarg() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_optarg()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_rdb_req::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_rdb_req::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_rdb_req::GetClassData() const { return &_class_data_; } - -void ppd_rdb_req::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_rdb_req::MergeFrom(const ppd_rdb_req& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_rdb_req) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_key().empty()) { - _internal_set_key(from._internal_key()); - } - if (!from._internal_val().empty()) { - _internal_set_val(from._internal_val()); - } - if (from._internal_op() != 0) { - _internal_set_op(from._internal_op()); - } - if (from._internal_optarg() != 0) { - _internal_set_optarg(from._internal_optarg()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_rdb_req::CopyFrom(const ppd_rdb_req& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_rdb_req) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_rdb_req::IsInitialized() const { - return true; -} - -void ppd_rdb_req::InternalSwap(ppd_rdb_req* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &key_, lhs_arena, - &other->key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &val_, lhs_arena, - &other->val_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ppd_rdb_req, optarg_) - + sizeof(ppd_rdb_req::optarg_) - - PROTOBUF_FIELD_OFFSET(ppd_rdb_req, op_)>( - reinterpret_cast(&op_), - reinterpret_cast(&other->op_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_rdb_req::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[2]); -} - -// =================================================================== - -class ppd_rdb_resp::_Internal { - public: -}; - -ppd_rdb_resp::ppd_rdb_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_rdb_resp) -} -ppd_rdb_resp::ppd_rdb_resp(const ppd_rdb_resp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - result_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - result_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_result().empty()) { - result_.Set(from._internal_result(), - GetArenaForAllocation()); - } - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ppd_rdb_resp) -} - -inline void ppd_rdb_resp::SharedCtor() { -result_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - result_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -status_ = 0; -} - -ppd_rdb_resp::~ppd_rdb_resp() { - // @@protoc_insertion_point(destructor:ppd_rdb_resp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_rdb_resp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - result_.Destroy(); -} - -void ppd_rdb_resp::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_rdb_resp::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_rdb_resp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - result_.ClearToEmpty(); - status_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_rdb_resp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bytes result = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_result(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_rdb_resp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_rdb_resp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 status = 1; - if (this->_internal_status() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_status(), target); - } - - // bytes result = 2; - if (!this->_internal_result().empty()) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_result(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_rdb_resp) - return target; -} - -size_t ppd_rdb_resp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_rdb_resp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bytes result = 2; - if (!this->_internal_result().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_result()); - } - - // int32 status = 1; - if (this->_internal_status() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_status()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_rdb_resp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_rdb_resp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_rdb_resp::GetClassData() const { return &_class_data_; } - -void ppd_rdb_resp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_rdb_resp::MergeFrom(const ppd_rdb_resp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_rdb_resp) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_result().empty()) { - _internal_set_result(from._internal_result()); - } - if (from._internal_status() != 0) { - _internal_set_status(from._internal_status()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_rdb_resp::CopyFrom(const ppd_rdb_resp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_rdb_resp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_rdb_resp::IsInitialized() const { - return true; -} - -void ppd_rdb_resp::InternalSwap(ppd_rdb_resp* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &result_, lhs_arena, - &other->result_, rhs_arena - ); - swap(status_, other->status_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_rdb_resp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[3]); -} - -// =================================================================== - -class ppd_echo_req::_Internal { - public: -}; - -ppd_echo_req::ppd_echo_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_echo_req) -} -ppd_echo_req::ppd_echo_req(const ppd_echo_req& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&enable_delay_, &from.enable_delay_, - static_cast(reinterpret_cast(&data_size_) - - reinterpret_cast(&enable_delay_)) + sizeof(data_size_)); - // @@protoc_insertion_point(copy_constructor:ppd_echo_req) -} - -inline void ppd_echo_req::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&enable_delay_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&data_size_) - - reinterpret_cast(&enable_delay_)) + sizeof(data_size_)); -} - -ppd_echo_req::~ppd_echo_req() { - // @@protoc_insertion_point(destructor:ppd_echo_req) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_echo_req::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ppd_echo_req::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_echo_req::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_echo_req) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&enable_delay_, 0, static_cast( - reinterpret_cast(&data_size_) - - reinterpret_cast(&enable_delay_)) + sizeof(data_size_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_echo_req::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 enable_delay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - enable_delay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 data_size = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - data_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_echo_req::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_echo_req) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 enable_delay = 1; - if (this->_internal_enable_delay() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_enable_delay(), target); - } - - // int32 data_size = 2; - if (this->_internal_data_size() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_data_size(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_echo_req) - return target; -} - -size_t ppd_echo_req::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_echo_req) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // int32 enable_delay = 1; - if (this->_internal_enable_delay() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_enable_delay()); - } - - // int32 data_size = 2; - if (this->_internal_data_size() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data_size()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_echo_req::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_echo_req::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_echo_req::GetClassData() const { return &_class_data_; } - -void ppd_echo_req::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_echo_req::MergeFrom(const ppd_echo_req& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_echo_req) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_enable_delay() != 0) { - _internal_set_enable_delay(from._internal_enable_delay()); - } - if (from._internal_data_size() != 0) { - _internal_set_data_size(from._internal_data_size()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_echo_req::CopyFrom(const ppd_echo_req& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_echo_req) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_echo_req::IsInitialized() const { - return true; -} - -void ppd_echo_req::InternalSwap(ppd_echo_req* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ppd_echo_req, data_size_) - + sizeof(ppd_echo_req::data_size_) - - PROTOBUF_FIELD_OFFSET(ppd_echo_req, enable_delay_)>( - reinterpret_cast(&enable_delay_), - reinterpret_cast(&other->enable_delay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_echo_req::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[4]); -} - -// =================================================================== - -class ppd_echo_resp::_Internal { - public: -}; - -ppd_echo_resp::ppd_echo_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_echo_resp) -} -ppd_echo_resp::ppd_echo_resp(const ppd_echo_resp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (!from._internal_data().empty()) { - data_.Set(from._internal_data(), - GetArenaForAllocation()); - } - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ppd_echo_resp) -} - -inline void ppd_echo_resp::SharedCtor() { -data_.InitDefault(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - data_.Set("", GetArenaForAllocation()); -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -status_ = 0; -} - -ppd_echo_resp::~ppd_echo_resp() { - // @@protoc_insertion_point(destructor:ppd_echo_resp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_echo_resp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - data_.Destroy(); -} - -void ppd_echo_resp::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_echo_resp::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_echo_resp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - data_.ClearToEmpty(); - status_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_echo_resp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_echo_resp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_echo_resp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 status = 1; - if (this->_internal_status() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_status(), target); - } - - // bytes data = 2; - if (!this->_internal_data().empty()) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_echo_resp) - return target; -} - -size_t ppd_echo_resp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_echo_resp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // bytes data = 2; - if (!this->_internal_data().empty()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // int32 status = 1; - if (this->_internal_status() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_status()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_echo_resp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_echo_resp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_echo_resp::GetClassData() const { return &_class_data_; } - -void ppd_echo_resp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_echo_resp::MergeFrom(const ppd_echo_resp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_echo_resp) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_data().empty()) { - _internal_set_data(from._internal_data()); - } - if (from._internal_status() != 0) { - _internal_set_status(from._internal_status()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_echo_resp::CopyFrom(const ppd_echo_resp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_echo_resp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_echo_resp::IsInitialized() const { - return true; -} - -void ppd_echo_resp::InternalSwap(ppd_echo_resp* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &data_, lhs_arena, - &other->data_, rhs_arena - ); - swap(status_, other->status_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_echo_resp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[5]); -} - -// =================================================================== - -class ppd_touch_req::_Internal { - public: -}; - -ppd_touch_req::ppd_touch_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_touch_req) -} -ppd_touch_req::ppd_touch_req(const ppd_touch_req& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&touch_cnt_, &from.touch_cnt_, - static_cast(reinterpret_cast(&inc_) - - reinterpret_cast(&touch_cnt_)) + sizeof(inc_)); - // @@protoc_insertion_point(copy_constructor:ppd_touch_req) -} - -inline void ppd_touch_req::SharedCtor() { -::memset(reinterpret_cast(this) + static_cast( - reinterpret_cast(&touch_cnt_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&inc_) - - reinterpret_cast(&touch_cnt_)) + sizeof(inc_)); -} - -ppd_touch_req::~ppd_touch_req() { - // @@protoc_insertion_point(destructor:ppd_touch_req) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_touch_req::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ppd_touch_req::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_touch_req::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_touch_req) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&touch_cnt_, 0, static_cast( - reinterpret_cast(&inc_) - - reinterpret_cast(&touch_cnt_)) + sizeof(inc_)); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_touch_req::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 touch_cnt = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - touch_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // int32 inc = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - inc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_touch_req::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_touch_req) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 touch_cnt = 1; - if (this->_internal_touch_cnt() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_touch_cnt(), target); - } - - // int32 inc = 2; - if (this->_internal_inc() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_inc(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_touch_req) - return target; -} - -size_t ppd_touch_req::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_touch_req) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // int32 touch_cnt = 1; - if (this->_internal_touch_cnt() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_touch_cnt()); - } - - // int32 inc = 2; - if (this->_internal_inc() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_inc()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_touch_req::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_touch_req::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_touch_req::GetClassData() const { return &_class_data_; } - -void ppd_touch_req::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_touch_req::MergeFrom(const ppd_touch_req& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_touch_req) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_touch_cnt() != 0) { - _internal_set_touch_cnt(from._internal_touch_cnt()); - } - if (from._internal_inc() != 0) { - _internal_set_inc(from._internal_inc()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_touch_req::CopyFrom(const ppd_touch_req& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_touch_req) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_touch_req::IsInitialized() const { - return true; -} - -void ppd_touch_req::InternalSwap(ppd_touch_req* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ppd_touch_req, inc_) - + sizeof(ppd_touch_req::inc_) - - PROTOBUF_FIELD_OFFSET(ppd_touch_req, touch_cnt_)>( - reinterpret_cast(&touch_cnt_), - reinterpret_cast(&other->touch_cnt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_touch_req::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[6]); -} - -// =================================================================== - -class ppd_touch_resp::_Internal { - public: -}; - -ppd_touch_resp::ppd_touch_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(); - // @@protoc_insertion_point(arena_constructor:ppd_touch_resp) -} -ppd_touch_resp::ppd_touch_resp(const ppd_touch_resp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - status_ = from.status_; - // @@protoc_insertion_point(copy_constructor:ppd_touch_resp) -} - -inline void ppd_touch_resp::SharedCtor() { -status_ = 0; -} - -ppd_touch_resp::~ppd_touch_resp() { - // @@protoc_insertion_point(destructor:ppd_touch_resp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ppd_touch_resp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ppd_touch_resp::SetCachedSize(int size) const { - _cached_size_.Set(size); -} - -void ppd_touch_resp::Clear() { -// @@protoc_insertion_point(message_clear_start:ppd_touch_resp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - status_ = 0; - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ppd_touch_resp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // int32 status = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ppd_touch_resp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ppd_touch_resp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // int32 status = 1; - if (this->_internal_status() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_status(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::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:ppd_touch_resp) - return target; -} - -size_t ppd_touch_resp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ppd_touch_resp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // int32 status = 1; - if (this->_internal_status() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_status()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ppd_touch_resp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - ppd_touch_resp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ppd_touch_resp::GetClassData() const { return &_class_data_; } - -void ppd_touch_resp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, - const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); -} - - -void ppd_touch_resp::MergeFrom(const ppd_touch_resp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:ppd_touch_resp) - GOOGLE_DCHECK_NE(&from, this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_status() != 0) { - _internal_set_status(from._internal_status()); - } - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ppd_touch_resp::CopyFrom(const ppd_touch_resp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ppd_touch_resp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ppd_touch_resp::IsInitialized() const { - return true; -} - -void ppd_touch_resp::InternalSwap(ppd_touch_resp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(status_, other->status_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ppd_touch_resp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_msg_2eproto_getter, &descriptor_table_msg_2eproto_once, - file_level_metadata_msg_2eproto[7]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::ppd_slave_resp* -Arena::CreateMaybeMessage< ::ppd_slave_resp >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_slave_resp >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_master_start* -Arena::CreateMaybeMessage< ::ppd_master_start >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_master_start >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_rdb_req* -Arena::CreateMaybeMessage< ::ppd_rdb_req >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_rdb_req >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_rdb_resp* -Arena::CreateMaybeMessage< ::ppd_rdb_resp >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_rdb_resp >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_echo_req* -Arena::CreateMaybeMessage< ::ppd_echo_req >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_echo_req >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_echo_resp* -Arena::CreateMaybeMessage< ::ppd_echo_resp >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_echo_resp >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_touch_req* -Arena::CreateMaybeMessage< ::ppd_touch_req >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_touch_req >(arena); -} -template<> PROTOBUF_NOINLINE ::ppd_touch_resp* -Arena::CreateMaybeMessage< ::ppd_touch_resp >(Arena* arena) { - return Arena::CreateMessageInternal< ::ppd_touch_resp >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/build/msg/msg.pb.h b/build/msg/msg.pb.h deleted file mode 100644 index 0efee9e..0000000 --- a/build/msg/msg.pb.h +++ /dev/null @@ -1,1868 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: msg.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_msg_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_msg_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3020000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3020001 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_msg_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_msg_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_msg_2eproto; -class ppd_echo_req; -struct ppd_echo_reqDefaultTypeInternal; -extern ppd_echo_reqDefaultTypeInternal _ppd_echo_req_default_instance_; -class ppd_echo_resp; -struct ppd_echo_respDefaultTypeInternal; -extern ppd_echo_respDefaultTypeInternal _ppd_echo_resp_default_instance_; -class ppd_master_start; -struct ppd_master_startDefaultTypeInternal; -extern ppd_master_startDefaultTypeInternal _ppd_master_start_default_instance_; -class ppd_rdb_req; -struct ppd_rdb_reqDefaultTypeInternal; -extern ppd_rdb_reqDefaultTypeInternal _ppd_rdb_req_default_instance_; -class ppd_rdb_resp; -struct ppd_rdb_respDefaultTypeInternal; -extern ppd_rdb_respDefaultTypeInternal _ppd_rdb_resp_default_instance_; -class ppd_slave_resp; -struct ppd_slave_respDefaultTypeInternal; -extern ppd_slave_respDefaultTypeInternal _ppd_slave_resp_default_instance_; -class ppd_touch_req; -struct ppd_touch_reqDefaultTypeInternal; -extern ppd_touch_reqDefaultTypeInternal _ppd_touch_req_default_instance_; -class ppd_touch_resp; -struct ppd_touch_respDefaultTypeInternal; -extern ppd_touch_respDefaultTypeInternal _ppd_touch_resp_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::ppd_echo_req* Arena::CreateMaybeMessage<::ppd_echo_req>(Arena*); -template<> ::ppd_echo_resp* Arena::CreateMaybeMessage<::ppd_echo_resp>(Arena*); -template<> ::ppd_master_start* Arena::CreateMaybeMessage<::ppd_master_start>(Arena*); -template<> ::ppd_rdb_req* Arena::CreateMaybeMessage<::ppd_rdb_req>(Arena*); -template<> ::ppd_rdb_resp* Arena::CreateMaybeMessage<::ppd_rdb_resp>(Arena*); -template<> ::ppd_slave_resp* Arena::CreateMaybeMessage<::ppd_slave_resp>(Arena*); -template<> ::ppd_touch_req* Arena::CreateMaybeMessage<::ppd_touch_req>(Arena*); -template<> ::ppd_touch_resp* Arena::CreateMaybeMessage<::ppd_touch_resp>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class ppd_slave_resp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_slave_resp) */ { - public: - inline ppd_slave_resp() : ppd_slave_resp(nullptr) {} - ~ppd_slave_resp() override; - explicit PROTOBUF_CONSTEXPR ppd_slave_resp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_slave_resp(const ppd_slave_resp& from); - ppd_slave_resp(ppd_slave_resp&& from) noexcept - : ppd_slave_resp() { - *this = ::std::move(from); - } - - inline ppd_slave_resp& operator=(const ppd_slave_resp& from) { - CopyFrom(from); - return *this; - } - inline ppd_slave_resp& operator=(ppd_slave_resp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_slave_resp& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_slave_resp* internal_default_instance() { - return reinterpret_cast( - &_ppd_slave_resp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(ppd_slave_resp& a, ppd_slave_resp& b) { - a.Swap(&b); - } - inline void Swap(ppd_slave_resp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_slave_resp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_slave_resp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_slave_resp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_slave_resp& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_slave_resp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_slave_resp"; - } - protected: - explicit ppd_slave_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kQpsFieldNumber = 1, - kSendSzFieldNumber = 2, - kRespSzFieldNumber = 3, - }; - // int32 qps = 1; - void clear_qps(); - int32_t qps() const; - void set_qps(int32_t value); - private: - int32_t _internal_qps() const; - void _internal_set_qps(int32_t value); - public: - - // int32 send_sz = 2; - void clear_send_sz(); - int32_t send_sz() const; - void set_send_sz(int32_t value); - private: - int32_t _internal_send_sz() const; - void _internal_set_send_sz(int32_t value); - public: - - // int32 resp_sz = 3; - void clear_resp_sz(); - int32_t resp_sz() const; - void set_resp_sz(int32_t value); - private: - int32_t _internal_resp_sz() const; - void _internal_set_resp_sz(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_slave_resp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int32_t qps_; - int32_t send_sz_; - int32_t resp_sz_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_master_start final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_master_start) */ { - public: - inline ppd_master_start() : ppd_master_start(nullptr) {} - ~ppd_master_start() override; - explicit PROTOBUF_CONSTEXPR ppd_master_start(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_master_start(const ppd_master_start& from); - ppd_master_start(ppd_master_start&& from) noexcept - : ppd_master_start() { - *this = ::std::move(from); - } - - inline ppd_master_start& operator=(const ppd_master_start& from) { - CopyFrom(from); - return *this; - } - inline ppd_master_start& operator=(ppd_master_start&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_master_start& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_master_start* internal_default_instance() { - return reinterpret_cast( - &_ppd_master_start_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(ppd_master_start& a, ppd_master_start& b) { - a.Swap(&b); - } - inline void Swap(ppd_master_start* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_master_start* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_master_start* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_master_start& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_master_start& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_master_start* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_master_start"; - } - protected: - explicit ppd_master_start(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // int32 dummy = 1; - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_master_start) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int32_t dummy_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_rdb_req final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_rdb_req) */ { - public: - inline ppd_rdb_req() : ppd_rdb_req(nullptr) {} - ~ppd_rdb_req() override; - explicit PROTOBUF_CONSTEXPR ppd_rdb_req(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_rdb_req(const ppd_rdb_req& from); - ppd_rdb_req(ppd_rdb_req&& from) noexcept - : ppd_rdb_req() { - *this = ::std::move(from); - } - - inline ppd_rdb_req& operator=(const ppd_rdb_req& from) { - CopyFrom(from); - return *this; - } - inline ppd_rdb_req& operator=(ppd_rdb_req&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_rdb_req& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_rdb_req* internal_default_instance() { - return reinterpret_cast( - &_ppd_rdb_req_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(ppd_rdb_req& a, ppd_rdb_req& b) { - a.Swap(&b); - } - inline void Swap(ppd_rdb_req* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_rdb_req* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_rdb_req* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_rdb_req& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_rdb_req& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_rdb_req* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_rdb_req"; - } - protected: - explicit ppd_rdb_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyFieldNumber = 3, - kValFieldNumber = 4, - kOpFieldNumber = 1, - kOptargFieldNumber = 2, - }; - // bytes key = 3; - void clear_key(); - const std::string& key() const; - template - void set_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_key(); - PROTOBUF_NODISCARD std::string* release_key(); - void set_allocated_key(std::string* key); - private: - const std::string& _internal_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: - - // bytes val = 4; - void clear_val(); - const std::string& val() const; - template - void set_val(ArgT0&& arg0, ArgT... args); - std::string* mutable_val(); - PROTOBUF_NODISCARD std::string* release_val(); - void set_allocated_val(std::string* val); - private: - const std::string& _internal_val() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_val(const std::string& value); - std::string* _internal_mutable_val(); - public: - - // int32 op = 1; - void clear_op(); - int32_t op() const; - void set_op(int32_t value); - private: - int32_t _internal_op() const; - void _internal_set_op(int32_t value); - public: - - // int32 optarg = 2; - void clear_optarg(); - int32_t optarg() const; - void set_optarg(int32_t value); - private: - int32_t _internal_optarg() const; - void _internal_set_optarg(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_rdb_req) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_; - int32_t op_; - int32_t optarg_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_rdb_resp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_rdb_resp) */ { - public: - inline ppd_rdb_resp() : ppd_rdb_resp(nullptr) {} - ~ppd_rdb_resp() override; - explicit PROTOBUF_CONSTEXPR ppd_rdb_resp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_rdb_resp(const ppd_rdb_resp& from); - ppd_rdb_resp(ppd_rdb_resp&& from) noexcept - : ppd_rdb_resp() { - *this = ::std::move(from); - } - - inline ppd_rdb_resp& operator=(const ppd_rdb_resp& from) { - CopyFrom(from); - return *this; - } - inline ppd_rdb_resp& operator=(ppd_rdb_resp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_rdb_resp& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_rdb_resp* internal_default_instance() { - return reinterpret_cast( - &_ppd_rdb_resp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(ppd_rdb_resp& a, ppd_rdb_resp& b) { - a.Swap(&b); - } - inline void Swap(ppd_rdb_resp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_rdb_resp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_rdb_resp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_rdb_resp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_rdb_resp& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_rdb_resp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_rdb_resp"; - } - protected: - explicit ppd_rdb_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kResultFieldNumber = 2, - kStatusFieldNumber = 1, - }; - // bytes result = 2; - void clear_result(); - const std::string& result() const; - template - void set_result(ArgT0&& arg0, ArgT... args); - std::string* mutable_result(); - PROTOBUF_NODISCARD std::string* release_result(); - void set_allocated_result(std::string* result); - private: - const std::string& _internal_result() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_result(const std::string& value); - std::string* _internal_mutable_result(); - public: - - // int32 status = 1; - void clear_status(); - int32_t status() const; - void set_status(int32_t value); - private: - int32_t _internal_status() const; - void _internal_set_status(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_rdb_resp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr result_; - int32_t status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_echo_req final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_echo_req) */ { - public: - inline ppd_echo_req() : ppd_echo_req(nullptr) {} - ~ppd_echo_req() override; - explicit PROTOBUF_CONSTEXPR ppd_echo_req(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_echo_req(const ppd_echo_req& from); - ppd_echo_req(ppd_echo_req&& from) noexcept - : ppd_echo_req() { - *this = ::std::move(from); - } - - inline ppd_echo_req& operator=(const ppd_echo_req& from) { - CopyFrom(from); - return *this; - } - inline ppd_echo_req& operator=(ppd_echo_req&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_echo_req& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_echo_req* internal_default_instance() { - return reinterpret_cast( - &_ppd_echo_req_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(ppd_echo_req& a, ppd_echo_req& b) { - a.Swap(&b); - } - inline void Swap(ppd_echo_req* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_echo_req* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_echo_req* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_echo_req& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_echo_req& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_echo_req* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_echo_req"; - } - protected: - explicit ppd_echo_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEnableDelayFieldNumber = 1, - kDataSizeFieldNumber = 2, - }; - // int32 enable_delay = 1; - void clear_enable_delay(); - int32_t enable_delay() const; - void set_enable_delay(int32_t value); - private: - int32_t _internal_enable_delay() const; - void _internal_set_enable_delay(int32_t value); - public: - - // int32 data_size = 2; - void clear_data_size(); - int32_t data_size() const; - void set_data_size(int32_t value); - private: - int32_t _internal_data_size() const; - void _internal_set_data_size(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_echo_req) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int32_t enable_delay_; - int32_t data_size_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_echo_resp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_echo_resp) */ { - public: - inline ppd_echo_resp() : ppd_echo_resp(nullptr) {} - ~ppd_echo_resp() override; - explicit PROTOBUF_CONSTEXPR ppd_echo_resp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_echo_resp(const ppd_echo_resp& from); - ppd_echo_resp(ppd_echo_resp&& from) noexcept - : ppd_echo_resp() { - *this = ::std::move(from); - } - - inline ppd_echo_resp& operator=(const ppd_echo_resp& from) { - CopyFrom(from); - return *this; - } - inline ppd_echo_resp& operator=(ppd_echo_resp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_echo_resp& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_echo_resp* internal_default_instance() { - return reinterpret_cast( - &_ppd_echo_resp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(ppd_echo_resp& a, ppd_echo_resp& b) { - a.Swap(&b); - } - inline void Swap(ppd_echo_resp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_echo_resp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_echo_resp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_echo_resp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_echo_resp& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_echo_resp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_echo_resp"; - } - protected: - explicit ppd_echo_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kStatusFieldNumber = 1, - }; - // bytes data = 2; - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // int32 status = 1; - void clear_status(); - int32_t status() const; - void set_status(int32_t value); - private: - int32_t _internal_status() const; - void _internal_set_status(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_echo_resp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_touch_req final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_touch_req) */ { - public: - inline ppd_touch_req() : ppd_touch_req(nullptr) {} - ~ppd_touch_req() override; - explicit PROTOBUF_CONSTEXPR ppd_touch_req(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_touch_req(const ppd_touch_req& from); - ppd_touch_req(ppd_touch_req&& from) noexcept - : ppd_touch_req() { - *this = ::std::move(from); - } - - inline ppd_touch_req& operator=(const ppd_touch_req& from) { - CopyFrom(from); - return *this; - } - inline ppd_touch_req& operator=(ppd_touch_req&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_touch_req& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_touch_req* internal_default_instance() { - return reinterpret_cast( - &_ppd_touch_req_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(ppd_touch_req& a, ppd_touch_req& b) { - a.Swap(&b); - } - inline void Swap(ppd_touch_req* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_touch_req* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_touch_req* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_touch_req& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_touch_req& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_touch_req* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_touch_req"; - } - protected: - explicit ppd_touch_req(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTouchCntFieldNumber = 1, - kIncFieldNumber = 2, - }; - // int32 touch_cnt = 1; - void clear_touch_cnt(); - int32_t touch_cnt() const; - void set_touch_cnt(int32_t value); - private: - int32_t _internal_touch_cnt() const; - void _internal_set_touch_cnt(int32_t value); - public: - - // int32 inc = 2; - void clear_inc(); - int32_t inc() const; - void set_inc(int32_t value); - private: - int32_t _internal_inc() const; - void _internal_set_inc(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_touch_req) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int32_t touch_cnt_; - int32_t inc_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// ------------------------------------------------------------------- - -class ppd_touch_resp final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ppd_touch_resp) */ { - public: - inline ppd_touch_resp() : ppd_touch_resp(nullptr) {} - ~ppd_touch_resp() override; - explicit PROTOBUF_CONSTEXPR ppd_touch_resp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ppd_touch_resp(const ppd_touch_resp& from); - ppd_touch_resp(ppd_touch_resp&& from) noexcept - : ppd_touch_resp() { - *this = ::std::move(from); - } - - inline ppd_touch_resp& operator=(const ppd_touch_resp& from) { - CopyFrom(from); - return *this; - } - inline ppd_touch_resp& operator=(ppd_touch_resp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ppd_touch_resp& default_instance() { - return *internal_default_instance(); - } - static inline const ppd_touch_resp* internal_default_instance() { - return reinterpret_cast( - &_ppd_touch_resp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(ppd_touch_resp& a, ppd_touch_resp& b) { - a.Swap(&b); - } - inline void Swap(ppd_touch_resp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ppd_touch_resp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ppd_touch_resp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ppd_touch_resp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const ppd_touch_resp& from); - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); - public: - 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; - uint8_t* _InternalSerialize( - uint8_t* 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 final; - void InternalSwap(ppd_touch_resp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ppd_touch_resp"; - } - protected: - explicit ppd_touch_resp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - }; - // int32 status = 1; - void clear_status(); - int32_t status() const; - void set_status(int32_t value); - private: - int32_t _internal_status() const; - void _internal_set_status(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ppd_touch_resp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int32_t status_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_msg_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ppd_slave_resp - -// int32 qps = 1; -inline void ppd_slave_resp::clear_qps() { - qps_ = 0; -} -inline int32_t ppd_slave_resp::_internal_qps() const { - return qps_; -} -inline int32_t ppd_slave_resp::qps() const { - // @@protoc_insertion_point(field_get:ppd_slave_resp.qps) - return _internal_qps(); -} -inline void ppd_slave_resp::_internal_set_qps(int32_t value) { - - qps_ = value; -} -inline void ppd_slave_resp::set_qps(int32_t value) { - _internal_set_qps(value); - // @@protoc_insertion_point(field_set:ppd_slave_resp.qps) -} - -// int32 send_sz = 2; -inline void ppd_slave_resp::clear_send_sz() { - send_sz_ = 0; -} -inline int32_t ppd_slave_resp::_internal_send_sz() const { - return send_sz_; -} -inline int32_t ppd_slave_resp::send_sz() const { - // @@protoc_insertion_point(field_get:ppd_slave_resp.send_sz) - return _internal_send_sz(); -} -inline void ppd_slave_resp::_internal_set_send_sz(int32_t value) { - - send_sz_ = value; -} -inline void ppd_slave_resp::set_send_sz(int32_t value) { - _internal_set_send_sz(value); - // @@protoc_insertion_point(field_set:ppd_slave_resp.send_sz) -} - -// int32 resp_sz = 3; -inline void ppd_slave_resp::clear_resp_sz() { - resp_sz_ = 0; -} -inline int32_t ppd_slave_resp::_internal_resp_sz() const { - return resp_sz_; -} -inline int32_t ppd_slave_resp::resp_sz() const { - // @@protoc_insertion_point(field_get:ppd_slave_resp.resp_sz) - return _internal_resp_sz(); -} -inline void ppd_slave_resp::_internal_set_resp_sz(int32_t value) { - - resp_sz_ = value; -} -inline void ppd_slave_resp::set_resp_sz(int32_t value) { - _internal_set_resp_sz(value); - // @@protoc_insertion_point(field_set:ppd_slave_resp.resp_sz) -} - -// ------------------------------------------------------------------- - -// ppd_master_start - -// int32 dummy = 1; -inline void ppd_master_start::clear_dummy() { - dummy_ = 0; -} -inline int32_t ppd_master_start::_internal_dummy() const { - return dummy_; -} -inline int32_t ppd_master_start::dummy() const { - // @@protoc_insertion_point(field_get:ppd_master_start.dummy) - return _internal_dummy(); -} -inline void ppd_master_start::_internal_set_dummy(int32_t value) { - - dummy_ = value; -} -inline void ppd_master_start::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:ppd_master_start.dummy) -} - -// ------------------------------------------------------------------- - -// ppd_rdb_req - -// int32 op = 1; -inline void ppd_rdb_req::clear_op() { - op_ = 0; -} -inline int32_t ppd_rdb_req::_internal_op() const { - return op_; -} -inline int32_t ppd_rdb_req::op() const { - // @@protoc_insertion_point(field_get:ppd_rdb_req.op) - return _internal_op(); -} -inline void ppd_rdb_req::_internal_set_op(int32_t value) { - - op_ = value; -} -inline void ppd_rdb_req::set_op(int32_t value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:ppd_rdb_req.op) -} - -// int32 optarg = 2; -inline void ppd_rdb_req::clear_optarg() { - optarg_ = 0; -} -inline int32_t ppd_rdb_req::_internal_optarg() const { - return optarg_; -} -inline int32_t ppd_rdb_req::optarg() const { - // @@protoc_insertion_point(field_get:ppd_rdb_req.optarg) - return _internal_optarg(); -} -inline void ppd_rdb_req::_internal_set_optarg(int32_t value) { - - optarg_ = value; -} -inline void ppd_rdb_req::set_optarg(int32_t value) { - _internal_set_optarg(value); - // @@protoc_insertion_point(field_set:ppd_rdb_req.optarg) -} - -// bytes key = 3; -inline void ppd_rdb_req::clear_key() { - key_.ClearToEmpty(); -} -inline const std::string& ppd_rdb_req::key() const { - // @@protoc_insertion_point(field_get:ppd_rdb_req.key) - return _internal_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ppd_rdb_req::set_key(ArgT0&& arg0, ArgT... args) { - - key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ppd_rdb_req.key) -} -inline std::string* ppd_rdb_req::mutable_key() { - std::string* _s = _internal_mutable_key(); - // @@protoc_insertion_point(field_mutable:ppd_rdb_req.key) - return _s; -} -inline const std::string& ppd_rdb_req::_internal_key() const { - return key_.Get(); -} -inline void ppd_rdb_req::_internal_set_key(const std::string& value) { - - key_.Set(value, GetArenaForAllocation()); -} -inline std::string* ppd_rdb_req::_internal_mutable_key() { - - return key_.Mutable(GetArenaForAllocation()); -} -inline std::string* ppd_rdb_req::release_key() { - // @@protoc_insertion_point(field_release:ppd_rdb_req.key) - return key_.Release(); -} -inline void ppd_rdb_req::set_allocated_key(std::string* key) { - if (key != nullptr) { - - } else { - - } - key_.SetAllocated(key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (key_.IsDefault()) { - key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ppd_rdb_req.key) -} - -// bytes val = 4; -inline void ppd_rdb_req::clear_val() { - val_.ClearToEmpty(); -} -inline const std::string& ppd_rdb_req::val() const { - // @@protoc_insertion_point(field_get:ppd_rdb_req.val) - return _internal_val(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ppd_rdb_req::set_val(ArgT0&& arg0, ArgT... args) { - - val_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ppd_rdb_req.val) -} -inline std::string* ppd_rdb_req::mutable_val() { - std::string* _s = _internal_mutable_val(); - // @@protoc_insertion_point(field_mutable:ppd_rdb_req.val) - return _s; -} -inline const std::string& ppd_rdb_req::_internal_val() const { - return val_.Get(); -} -inline void ppd_rdb_req::_internal_set_val(const std::string& value) { - - val_.Set(value, GetArenaForAllocation()); -} -inline std::string* ppd_rdb_req::_internal_mutable_val() { - - return val_.Mutable(GetArenaForAllocation()); -} -inline std::string* ppd_rdb_req::release_val() { - // @@protoc_insertion_point(field_release:ppd_rdb_req.val) - return val_.Release(); -} -inline void ppd_rdb_req::set_allocated_val(std::string* val) { - if (val != nullptr) { - - } else { - - } - val_.SetAllocated(val, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (val_.IsDefault()) { - val_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ppd_rdb_req.val) -} - -// ------------------------------------------------------------------- - -// ppd_rdb_resp - -// int32 status = 1; -inline void ppd_rdb_resp::clear_status() { - status_ = 0; -} -inline int32_t ppd_rdb_resp::_internal_status() const { - return status_; -} -inline int32_t ppd_rdb_resp::status() const { - // @@protoc_insertion_point(field_get:ppd_rdb_resp.status) - return _internal_status(); -} -inline void ppd_rdb_resp::_internal_set_status(int32_t value) { - - status_ = value; -} -inline void ppd_rdb_resp::set_status(int32_t value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:ppd_rdb_resp.status) -} - -// bytes result = 2; -inline void ppd_rdb_resp::clear_result() { - result_.ClearToEmpty(); -} -inline const std::string& ppd_rdb_resp::result() const { - // @@protoc_insertion_point(field_get:ppd_rdb_resp.result) - return _internal_result(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ppd_rdb_resp::set_result(ArgT0&& arg0, ArgT... args) { - - result_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ppd_rdb_resp.result) -} -inline std::string* ppd_rdb_resp::mutable_result() { - std::string* _s = _internal_mutable_result(); - // @@protoc_insertion_point(field_mutable:ppd_rdb_resp.result) - return _s; -} -inline const std::string& ppd_rdb_resp::_internal_result() const { - return result_.Get(); -} -inline void ppd_rdb_resp::_internal_set_result(const std::string& value) { - - result_.Set(value, GetArenaForAllocation()); -} -inline std::string* ppd_rdb_resp::_internal_mutable_result() { - - return result_.Mutable(GetArenaForAllocation()); -} -inline std::string* ppd_rdb_resp::release_result() { - // @@protoc_insertion_point(field_release:ppd_rdb_resp.result) - return result_.Release(); -} -inline void ppd_rdb_resp::set_allocated_result(std::string* result) { - if (result != nullptr) { - - } else { - - } - result_.SetAllocated(result, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (result_.IsDefault()) { - result_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ppd_rdb_resp.result) -} - -// ------------------------------------------------------------------- - -// ppd_echo_req - -// int32 enable_delay = 1; -inline void ppd_echo_req::clear_enable_delay() { - enable_delay_ = 0; -} -inline int32_t ppd_echo_req::_internal_enable_delay() const { - return enable_delay_; -} -inline int32_t ppd_echo_req::enable_delay() const { - // @@protoc_insertion_point(field_get:ppd_echo_req.enable_delay) - return _internal_enable_delay(); -} -inline void ppd_echo_req::_internal_set_enable_delay(int32_t value) { - - enable_delay_ = value; -} -inline void ppd_echo_req::set_enable_delay(int32_t value) { - _internal_set_enable_delay(value); - // @@protoc_insertion_point(field_set:ppd_echo_req.enable_delay) -} - -// int32 data_size = 2; -inline void ppd_echo_req::clear_data_size() { - data_size_ = 0; -} -inline int32_t ppd_echo_req::_internal_data_size() const { - return data_size_; -} -inline int32_t ppd_echo_req::data_size() const { - // @@protoc_insertion_point(field_get:ppd_echo_req.data_size) - return _internal_data_size(); -} -inline void ppd_echo_req::_internal_set_data_size(int32_t value) { - - data_size_ = value; -} -inline void ppd_echo_req::set_data_size(int32_t value) { - _internal_set_data_size(value); - // @@protoc_insertion_point(field_set:ppd_echo_req.data_size) -} - -// ------------------------------------------------------------------- - -// ppd_echo_resp - -// int32 status = 1; -inline void ppd_echo_resp::clear_status() { - status_ = 0; -} -inline int32_t ppd_echo_resp::_internal_status() const { - return status_; -} -inline int32_t ppd_echo_resp::status() const { - // @@protoc_insertion_point(field_get:ppd_echo_resp.status) - return _internal_status(); -} -inline void ppd_echo_resp::_internal_set_status(int32_t value) { - - status_ = value; -} -inline void ppd_echo_resp::set_status(int32_t value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:ppd_echo_resp.status) -} - -// bytes data = 2; -inline void ppd_echo_resp::clear_data() { - data_.ClearToEmpty(); -} -inline const std::string& ppd_echo_resp::data() const { - // @@protoc_insertion_point(field_get:ppd_echo_resp.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ppd_echo_resp::set_data(ArgT0&& arg0, ArgT... args) { - - data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ppd_echo_resp.data) -} -inline std::string* ppd_echo_resp::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:ppd_echo_resp.data) - return _s; -} -inline const std::string& ppd_echo_resp::_internal_data() const { - return data_.Get(); -} -inline void ppd_echo_resp::_internal_set_data(const std::string& value) { - - data_.Set(value, GetArenaForAllocation()); -} -inline std::string* ppd_echo_resp::_internal_mutable_data() { - - return data_.Mutable(GetArenaForAllocation()); -} -inline std::string* ppd_echo_resp::release_data() { - // @@protoc_insertion_point(field_release:ppd_echo_resp.data) - return data_.Release(); -} -inline void ppd_echo_resp::set_allocated_data(std::string* data) { - if (data != nullptr) { - - } else { - - } - data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (data_.IsDefault()) { - data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ppd_echo_resp.data) -} - -// ------------------------------------------------------------------- - -// ppd_touch_req - -// int32 touch_cnt = 1; -inline void ppd_touch_req::clear_touch_cnt() { - touch_cnt_ = 0; -} -inline int32_t ppd_touch_req::_internal_touch_cnt() const { - return touch_cnt_; -} -inline int32_t ppd_touch_req::touch_cnt() const { - // @@protoc_insertion_point(field_get:ppd_touch_req.touch_cnt) - return _internal_touch_cnt(); -} -inline void ppd_touch_req::_internal_set_touch_cnt(int32_t value) { - - touch_cnt_ = value; -} -inline void ppd_touch_req::set_touch_cnt(int32_t value) { - _internal_set_touch_cnt(value); - // @@protoc_insertion_point(field_set:ppd_touch_req.touch_cnt) -} - -// int32 inc = 2; -inline void ppd_touch_req::clear_inc() { - inc_ = 0; -} -inline int32_t ppd_touch_req::_internal_inc() const { - return inc_; -} -inline int32_t ppd_touch_req::inc() const { - // @@protoc_insertion_point(field_get:ppd_touch_req.inc) - return _internal_inc(); -} -inline void ppd_touch_req::_internal_set_inc(int32_t value) { - - inc_ = value; -} -inline void ppd_touch_req::set_inc(int32_t value) { - _internal_set_inc(value); - // @@protoc_insertion_point(field_set:ppd_touch_req.inc) -} - -// ------------------------------------------------------------------- - -// ppd_touch_resp - -// int32 status = 1; -inline void ppd_touch_resp::clear_status() { - status_ = 0; -} -inline int32_t ppd_touch_resp::_internal_status() const { - return status_; -} -inline int32_t ppd_touch_resp::status() const { - // @@protoc_insertion_point(field_get:ppd_touch_resp.status) - return _internal_status(); -} -inline void ppd_touch_resp::_internal_set_status(int32_t value) { - - status_ = value; -} -inline void ppd_touch_resp::set_status(int32_t value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:ppd_touch_resp.status) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_msg_2eproto