|
@@ -0,0 +1,2879 @@
|
|
|
+// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
+// source: table.proto
|
|
|
+
|
|
|
+#include "table.pb.h"
|
|
|
+
|
|
|
+#include <algorithm>
|
|
|
+
|
|
|
+#include <google/protobuf/stubs/common.h>
|
|
|
+#include <google/protobuf/stubs/port.h>
|
|
|
+#include <google/protobuf/io/coded_stream.h>
|
|
|
+#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
+#include <google/protobuf/descriptor.h>
|
|
|
+#include <google/protobuf/generated_message_reflection.h>
|
|
|
+#include <google/protobuf/reflection_ops.h>
|
|
|
+#include <google/protobuf/wire_format.h>
|
|
|
+// This is a temporary google only hack
|
|
|
+#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
+#include "third_party/protobuf/version.h"
|
|
|
+#endif
|
|
|
+// @@protoc_insertion_point(includes)
|
|
|
+
|
|
|
+namespace protobuf_table_2eproto {
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer;
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply;
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_table_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_tb_type;
|
|
|
+} // namespace protobuf_table_2eproto
|
|
|
+class tb_customerDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<tb_customer>
|
|
|
+ _instance;
|
|
|
+} _tb_customer_default_instance_;
|
|
|
+class tb_typeDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<tb_type>
|
|
|
+ _instance;
|
|
|
+} _tb_type_default_instance_;
|
|
|
+class tb_replyDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<tb_reply>
|
|
|
+ _instance;
|
|
|
+} _tb_reply_default_instance_;
|
|
|
+class rec_customerDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<rec_customer>
|
|
|
+ _instance;
|
|
|
+} _rec_customer_default_instance_;
|
|
|
+class rec_typeDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<rec_type>
|
|
|
+ _instance;
|
|
|
+} _rec_type_default_instance_;
|
|
|
+class rec_replyDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<rec_reply>
|
|
|
+ _instance;
|
|
|
+} _rec_reply_default_instance_;
|
|
|
+class viewDefaultTypeInternal {
|
|
|
+ public:
|
|
|
+ ::google::protobuf::internal::ExplicitlyConstructed<view>
|
|
|
+ _instance;
|
|
|
+} _view_default_instance_;
|
|
|
+namespace protobuf_table_2eproto {
|
|
|
+static void InitDefaultstb_customer() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_tb_customer_default_instance_;
|
|
|
+ new (ptr) ::tb_customer();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::tb_customer::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_tb_customer =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_customer}, {}};
|
|
|
+
|
|
|
+static void InitDefaultstb_type() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_tb_type_default_instance_;
|
|
|
+ new (ptr) ::tb_type();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::tb_type::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_tb_type =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_type}, {}};
|
|
|
+
|
|
|
+static void InitDefaultstb_reply() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_tb_reply_default_instance_;
|
|
|
+ new (ptr) ::tb_reply();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::tb_reply::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_tb_reply =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultstb_reply}, {}};
|
|
|
+
|
|
|
+static void InitDefaultsrec_customer() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_rec_customer_default_instance_;
|
|
|
+ new (ptr) ::rec_customer();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::rec_customer::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<1> scc_info_rec_customer =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_customer}, {
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_customer.base,}};
|
|
|
+
|
|
|
+static void InitDefaultsrec_type() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_rec_type_default_instance_;
|
|
|
+ new (ptr) ::rec_type();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::rec_type::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<1> scc_info_rec_type =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_type}, {
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_type.base,}};
|
|
|
+
|
|
|
+static void InitDefaultsrec_reply() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_rec_reply_default_instance_;
|
|
|
+ new (ptr) ::rec_reply();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::rec_reply::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<1> scc_info_rec_reply =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsrec_reply}, {
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_reply.base,}};
|
|
|
+
|
|
|
+static void InitDefaultsview() {
|
|
|
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
+
|
|
|
+ {
|
|
|
+ void* ptr = &::_view_default_instance_;
|
|
|
+ new (ptr) ::view();
|
|
|
+ ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
+ }
|
|
|
+ ::view::InitAsDefaultInstance();
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_view =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsview}, {}};
|
|
|
+
|
|
|
+void InitDefaults() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_tb_customer.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_tb_type.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_tb_reply.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_rec_customer.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_rec_type.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_rec_reply.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_view.base);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata file_level_metadata[7];
|
|
|
+
|
|
|
+const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_name_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gender_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_phone_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_password_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_old_phone_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_vcode_expiry_time_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_enable_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_customer, customer_gen_time_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, customer_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_name_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_type, type_gen_time_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, customer_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, type_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_id_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_name_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_content_),
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::tb_reply, reply_gen_time_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_customer, customers_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_type, types_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rec_reply, replys_),
|
|
|
+ ~0u, // no _has_bits_
|
|
|
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::view, _internal_metadata_),
|
|
|
+ ~0u, // no _extensions_
|
|
|
+ ~0u, // no _oneof_case_
|
|
|
+ ~0u, // no _weak_field_map_
|
|
|
+};
|
|
|
+static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ { 0, -1, sizeof(::tb_customer)},
|
|
|
+ { 15, -1, sizeof(::tb_type)},
|
|
|
+ { 24, -1, sizeof(::tb_reply)},
|
|
|
+ { 35, -1, sizeof(::rec_customer)},
|
|
|
+ { 41, -1, sizeof(::rec_type)},
|
|
|
+ { 47, -1, sizeof(::rec_reply)},
|
|
|
+ { 53, -1, sizeof(::view)},
|
|
|
+};
|
|
|
+
|
|
|
+static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_customer_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_type_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_tb_reply_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_customer_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_type_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_rec_reply_default_instance_),
|
|
|
+ reinterpret_cast<const ::google::protobuf::Message*>(&::_view_default_instance_),
|
|
|
+};
|
|
|
+
|
|
|
+void protobuf_AssignDescriptors() {
|
|
|
+ AddDescriptors();
|
|
|
+ AssignDescriptors(
|
|
|
+ "table.proto", schemas, file_default_instances, TableStruct::offsets,
|
|
|
+ file_level_metadata, NULL, NULL);
|
|
|
+}
|
|
|
+
|
|
|
+void protobuf_AssignDescriptorsOnce() {
|
|
|
+ static ::google::protobuf::internal::once_flag once;
|
|
|
+ ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
|
|
|
+}
|
|
|
+
|
|
|
+void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
|
|
|
+void protobuf_RegisterTypes(const ::std::string&) {
|
|
|
+ protobuf_AssignDescriptorsOnce();
|
|
|
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 7);
|
|
|
+}
|
|
|
+
|
|
|
+void AddDescriptorsImpl() {
|
|
|
+ InitDefaults();
|
|
|
+ static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
+ "\n\013table.proto\"\221\002\n\013tb_customer\022\023\n\013custome"
|
|
|
+ "r_id\030\001 \001(\t\022\025\n\rcustomer_name\030\002 \001(\t\022\027\n\017cus"
|
|
|
+ "tomer_gender\030\003 \001(\010\022\026\n\016customer_phone\030\004 \001"
|
|
|
+ "(\t\022\031\n\021customer_password\030\005 \001(\t\022\032\n\022custome"
|
|
|
+ "r_old_phone\030\006 \001(\t\022\026\n\016customer_vcode\030\007 \001("
|
|
|
+ "\t\022\"\n\032customer_vcode_expiry_time\030\010 \001(\t\022\027\n"
|
|
|
+ "\017customer_enable\030\t \001(\010\022\031\n\021customer_gen_t"
|
|
|
+ "ime\030\n \001(\t\"Y\n\007tb_type\022\023\n\013customer_id\030\001 \001("
|
|
|
+ "\t\022\017\n\007type_id\030\002 \001(\t\022\021\n\ttype_name\030\003 \001(\t\022\025\n"
|
|
|
+ "\rtype_gen_time\030\004 \001(\t\"\205\001\n\010tb_reply\022\023\n\013cus"
|
|
|
+ "tomer_id\030\001 \001(\t\022\017\n\007type_id\030\002 \001(\t\022\020\n\010reply"
|
|
|
+ "_id\030\003 \001(\t\022\022\n\nreply_name\030\004 \001(\t\022\025\n\rreply_c"
|
|
|
+ "ontent\030\005 \001(\t\022\026\n\016reply_gen_time\030\006 \001(\t\"/\n\014"
|
|
|
+ "rec_customer\022\037\n\tcustomers\030\001 \003(\0132\014.tb_cus"
|
|
|
+ "tomer\"#\n\010rec_type\022\027\n\005types\030\001 \003(\0132\010.tb_ty"
|
|
|
+ "pe\"&\n\trec_reply\022\031\n\006replys\030\001 \003(\0132\t.tb_rep"
|
|
|
+ "ly\"\006\n\004viewb\006proto3"
|
|
|
+ };
|
|
|
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
+ descriptor, 658);
|
|
|
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
+ "table.proto", &protobuf_RegisterTypes);
|
|
|
+}
|
|
|
+
|
|
|
+void AddDescriptors() {
|
|
|
+ static ::google::protobuf::internal::once_flag once;
|
|
|
+ ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
|
|
|
+}
|
|
|
+// Force AddDescriptors() to be called at dynamic initialization time.
|
|
|
+struct StaticDescriptorInitializer {
|
|
|
+ StaticDescriptorInitializer() {
|
|
|
+ AddDescriptors();
|
|
|
+ }
|
|
|
+} static_descriptor_initializer;
|
|
|
+} // namespace protobuf_table_2eproto
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void tb_customer::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int tb_customer::kCustomerIdFieldNumber;
|
|
|
+const int tb_customer::kCustomerNameFieldNumber;
|
|
|
+const int tb_customer::kCustomerGenderFieldNumber;
|
|
|
+const int tb_customer::kCustomerPhoneFieldNumber;
|
|
|
+const int tb_customer::kCustomerPasswordFieldNumber;
|
|
|
+const int tb_customer::kCustomerOldPhoneFieldNumber;
|
|
|
+const int tb_customer::kCustomerVcodeFieldNumber;
|
|
|
+const int tb_customer::kCustomerVcodeExpiryTimeFieldNumber;
|
|
|
+const int tb_customer::kCustomerEnableFieldNumber;
|
|
|
+const int tb_customer::kCustomerGenTimeFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+tb_customer::tb_customer()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_customer.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:tb_customer)
|
|
|
+}
|
|
|
+tb_customer::tb_customer(const tb_customer& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_name().size() > 0) {
|
|
|
+ customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
|
|
|
+ }
|
|
|
+ customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_phone().size() > 0) {
|
|
|
+ customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
|
|
|
+ }
|
|
|
+ customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_password().size() > 0) {
|
|
|
+ customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
|
|
|
+ }
|
|
|
+ customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_old_phone().size() > 0) {
|
|
|
+ customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
|
|
|
+ }
|
|
|
+ customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_vcode().size() > 0) {
|
|
|
+ customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
|
|
|
+ }
|
|
|
+ customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_vcode_expiry_time().size() > 0) {
|
|
|
+ customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
|
|
|
+ }
|
|
|
+ customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_gen_time().size() > 0) {
|
|
|
+ customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
|
|
|
+ }
|
|
|
+ ::memcpy(&customer_gender_, &from.customer_gender_,
|
|
|
+ static_cast<size_t>(reinterpret_cast<char*>(&customer_enable_) -
|
|
|
+ reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
|
|
|
+ // @@protoc_insertion_point(copy_constructor:tb_customer)
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::SharedCtor() {
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_old_phone_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_expiry_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ ::memset(&customer_gender_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&customer_enable_) -
|
|
|
+ reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
|
|
|
+}
|
|
|
+
|
|
|
+tb_customer::~tb_customer() {
|
|
|
+ // @@protoc_insertion_point(destructor:tb_customer)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::SharedDtor() {
|
|
|
+ customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_old_phone_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_expiry_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* tb_customer::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const tb_customer& tb_customer::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_customer.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void tb_customer::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:tb_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_old_phone_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_vcode_expiry_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ customer_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ ::memset(&customer_gender_, 0, static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&customer_enable_) -
|
|
|
+ reinterpret_cast<char*>(&customer_gender_)) + sizeof(customer_enable_));
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_customer::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:tb_customer)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // string customer_id = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_name = 2;
|
|
|
+ case 2: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_name()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_name().data(), static_cast<int>(this->customer_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_name"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_gender = 3;
|
|
|
+ case 3: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
+
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
|
|
+ input, &customer_gender_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_phone = 4;
|
|
|
+ case 4: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_phone()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_phone"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_password = 5;
|
|
|
+ case 5: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_password()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_password().data(), static_cast<int>(this->customer_password().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_password"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_old_phone = 6;
|
|
|
+ case 6: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_old_phone()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_old_phone"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode = 7;
|
|
|
+ case 7: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_vcode()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_vcode"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode_expiry_time = 8;
|
|
|
+ case 8: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_vcode_expiry_time()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_vcode_expiry_time"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_enable = 9;
|
|
|
+ case 9: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
+
|
|
|
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
|
|
|
+ input, &customer_enable_)));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_gen_time = 10;
|
|
|
+ case 10: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_gen_time()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_customer.customer_gen_time"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:tb_customer)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:tb_customer)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:tb_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 1, this->customer_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_name = 2;
|
|
|
+ if (this->customer_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_name().data(), static_cast<int>(this->customer_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_name");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 2, this->customer_name(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_gender = 3;
|
|
|
+ if (this->customer_gender() != 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->customer_gender(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_phone = 4;
|
|
|
+ if (this->customer_phone().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_phone");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 4, this->customer_phone(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_password = 5;
|
|
|
+ if (this->customer_password().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_password().data(), static_cast<int>(this->customer_password().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_password");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 5, this->customer_password(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_old_phone = 6;
|
|
|
+ if (this->customer_old_phone().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_old_phone");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 6, this->customer_old_phone(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode = 7;
|
|
|
+ if (this->customer_vcode().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_vcode");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 7, this->customer_vcode(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode_expiry_time = 8;
|
|
|
+ if (this->customer_vcode_expiry_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_vcode_expiry_time");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 8, this->customer_vcode_expiry_time(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_enable = 9;
|
|
|
+ if (this->customer_enable() != 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->customer_enable(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_gen_time = 10;
|
|
|
+ if (this->customer_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_gen_time");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 10, this->customer_gen_time(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:tb_customer)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* tb_customer::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:tb_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 1, this->customer_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_name = 2;
|
|
|
+ if (this->customer_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_name().data(), static_cast<int>(this->customer_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_name");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 2, this->customer_name(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_gender = 3;
|
|
|
+ if (this->customer_gender() != 0) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->customer_gender(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_phone = 4;
|
|
|
+ if (this->customer_phone().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_phone().data(), static_cast<int>(this->customer_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_phone");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 4, this->customer_phone(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_password = 5;
|
|
|
+ if (this->customer_password().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_password().data(), static_cast<int>(this->customer_password().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_password");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 5, this->customer_password(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_old_phone = 6;
|
|
|
+ if (this->customer_old_phone().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_old_phone().data(), static_cast<int>(this->customer_old_phone().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_old_phone");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 6, this->customer_old_phone(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode = 7;
|
|
|
+ if (this->customer_vcode().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode().data(), static_cast<int>(this->customer_vcode().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_vcode");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 7, this->customer_vcode(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode_expiry_time = 8;
|
|
|
+ if (this->customer_vcode_expiry_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_vcode_expiry_time().data(), static_cast<int>(this->customer_vcode_expiry_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_vcode_expiry_time");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 8, this->customer_vcode_expiry_time(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_enable = 9;
|
|
|
+ if (this->customer_enable() != 0) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->customer_enable(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_gen_time = 10;
|
|
|
+ if (this->customer_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_gen_time().data(), static_cast<int>(this->customer_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_customer.customer_gen_time");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 10, this->customer_gen_time(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:tb_customer)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t tb_customer::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:tb_customer)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_name = 2;
|
|
|
+ if (this->customer_name().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_name());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_phone = 4;
|
|
|
+ if (this->customer_phone().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_phone());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_password = 5;
|
|
|
+ if (this->customer_password().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_password());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_old_phone = 6;
|
|
|
+ if (this->customer_old_phone().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_old_phone());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode = 7;
|
|
|
+ if (this->customer_vcode().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_vcode());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_vcode_expiry_time = 8;
|
|
|
+ if (this->customer_vcode_expiry_time().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_vcode_expiry_time());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string customer_gen_time = 10;
|
|
|
+ if (this->customer_gen_time().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_gen_time());
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_gender = 3;
|
|
|
+ if (this->customer_gender() != 0) {
|
|
|
+ total_size += 1 + 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ // bool customer_enable = 9;
|
|
|
+ if (this->customer_enable() != 0) {
|
|
|
+ total_size += 1 + 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:tb_customer)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const tb_customer* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const tb_customer>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_customer)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_customer)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::MergeFrom(const tb_customer& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:tb_customer)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ if (from.customer_name().size() > 0) {
|
|
|
+
|
|
|
+ customer_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_name_);
|
|
|
+ }
|
|
|
+ if (from.customer_phone().size() > 0) {
|
|
|
+
|
|
|
+ customer_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_phone_);
|
|
|
+ }
|
|
|
+ if (from.customer_password().size() > 0) {
|
|
|
+
|
|
|
+ customer_password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_password_);
|
|
|
+ }
|
|
|
+ if (from.customer_old_phone().size() > 0) {
|
|
|
+
|
|
|
+ customer_old_phone_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_old_phone_);
|
|
|
+ }
|
|
|
+ if (from.customer_vcode().size() > 0) {
|
|
|
+
|
|
|
+ customer_vcode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_);
|
|
|
+ }
|
|
|
+ if (from.customer_vcode_expiry_time().size() > 0) {
|
|
|
+
|
|
|
+ customer_vcode_expiry_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_vcode_expiry_time_);
|
|
|
+ }
|
|
|
+ if (from.customer_gen_time().size() > 0) {
|
|
|
+
|
|
|
+ customer_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_gen_time_);
|
|
|
+ }
|
|
|
+ if (from.customer_gender() != 0) {
|
|
|
+ set_customer_gender(from.customer_gender());
|
|
|
+ }
|
|
|
+ if (from.customer_enable() != 0) {
|
|
|
+ set_customer_enable(from.customer_enable());
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:tb_customer)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::CopyFrom(const tb_customer& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:tb_customer)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_customer::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_customer::Swap(tb_customer* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void tb_customer::InternalSwap(tb_customer* other) {
|
|
|
+ using std::swap;
|
|
|
+ customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_name_.Swap(&other->customer_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_phone_.Swap(&other->customer_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_password_.Swap(&other->customer_password_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_old_phone_.Swap(&other->customer_old_phone_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_vcode_.Swap(&other->customer_vcode_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_vcode_expiry_time_.Swap(&other->customer_vcode_expiry_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ customer_gen_time_.Swap(&other->customer_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ swap(customer_gender_, other->customer_gender_);
|
|
|
+ swap(customer_enable_, other->customer_enable_);
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata tb_customer::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void tb_type::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int tb_type::kCustomerIdFieldNumber;
|
|
|
+const int tb_type::kTypeIdFieldNumber;
|
|
|
+const int tb_type::kTypeNameFieldNumber;
|
|
|
+const int tb_type::kTypeGenTimeFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+tb_type::tb_type()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_type.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:tb_type)
|
|
|
+}
|
|
|
+tb_type::tb_type(const tb_type& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.type_id().size() > 0) {
|
|
|
+ type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
|
|
|
+ }
|
|
|
+ type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.type_name().size() > 0) {
|
|
|
+ type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
|
|
|
+ }
|
|
|
+ type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.type_gen_time().size() > 0) {
|
|
|
+ type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(copy_constructor:tb_type)
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::SharedCtor() {
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+tb_type::~tb_type() {
|
|
|
+ // @@protoc_insertion_point(destructor:tb_type)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::SharedDtor() {
|
|
|
+ customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* tb_type::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const tb_type& tb_type::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_type.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void tb_type::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:tb_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_type::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:tb_type)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // string customer_id = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_type.customer_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ case 2: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_type_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_type.type_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_name = 3;
|
|
|
+ case 3: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_type_name()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_name().data(), static_cast<int>(this->type_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_type.type_name"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_gen_time = 4;
|
|
|
+ case 4: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_type_gen_time()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_type.type_gen_time"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:tb_type)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:tb_type)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:tb_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.customer_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 1, this->customer_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 2, this->type_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_name = 3;
|
|
|
+ if (this->type_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_name().data(), static_cast<int>(this->type_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_name");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 3, this->type_name(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_gen_time = 4;
|
|
|
+ if (this->type_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_gen_time");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 4, this->type_gen_time(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:tb_type)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* tb_type::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:tb_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.customer_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 1, this->customer_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 2, this->type_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_name = 3;
|
|
|
+ if (this->type_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_name().data(), static_cast<int>(this->type_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_name");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 3, this->type_name(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_gen_time = 4;
|
|
|
+ if (this->type_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_gen_time().data(), static_cast<int>(this->type_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_type.type_gen_time");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 4, this->type_gen_time(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:tb_type)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t tb_type::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:tb_type)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->type_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_name = 3;
|
|
|
+ if (this->type_name().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->type_name());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_gen_time = 4;
|
|
|
+ if (this->type_gen_time().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->type_gen_time());
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:tb_type)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const tb_type* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const tb_type>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_type)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_type)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::MergeFrom(const tb_type& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:tb_type)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ if (from.type_id().size() > 0) {
|
|
|
+
|
|
|
+ type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
|
|
|
+ }
|
|
|
+ if (from.type_name().size() > 0) {
|
|
|
+
|
|
|
+ type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);
|
|
|
+ }
|
|
|
+ if (from.type_gen_time().size() > 0) {
|
|
|
+
|
|
|
+ type_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_gen_time_);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:tb_type)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::CopyFrom(const tb_type& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:tb_type)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_type::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_type::Swap(tb_type* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void tb_type::InternalSwap(tb_type* other) {
|
|
|
+ using std::swap;
|
|
|
+ customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ type_name_.Swap(&other->type_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ type_gen_time_.Swap(&other->type_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata tb_type::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void tb_reply::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int tb_reply::kCustomerIdFieldNumber;
|
|
|
+const int tb_reply::kTypeIdFieldNumber;
|
|
|
+const int tb_reply::kReplyIdFieldNumber;
|
|
|
+const int tb_reply::kReplyNameFieldNumber;
|
|
|
+const int tb_reply::kReplyContentFieldNumber;
|
|
|
+const int tb_reply::kReplyGenTimeFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+tb_reply::tb_reply()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_tb_reply.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:tb_reply)
|
|
|
+}
|
|
|
+tb_reply::tb_reply(const tb_reply& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.type_id().size() > 0) {
|
|
|
+ type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
|
|
|
+ }
|
|
|
+ reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.reply_id().size() > 0) {
|
|
|
+ reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
|
|
|
+ }
|
|
|
+ reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.reply_name().size() > 0) {
|
|
|
+ reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
|
|
|
+ }
|
|
|
+ reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.reply_content().size() > 0) {
|
|
|
+ reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
|
|
|
+ }
|
|
|
+ reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ if (from.reply_gen_time().size() > 0) {
|
|
|
+ reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(copy_constructor:tb_reply)
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::SharedCtor() {
|
|
|
+ customer_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_gen_time_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+tb_reply::~tb_reply() {
|
|
|
+ // @@protoc_insertion_point(destructor:tb_reply)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::SharedDtor() {
|
|
|
+ customer_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_content_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_gen_time_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* tb_reply::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const tb_reply& tb_reply::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_tb_reply.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void tb_reply::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:tb_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ customer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ type_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ reply_gen_time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_reply::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:tb_reply)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // string customer_id = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_customer_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.customer_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ case 2: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_type_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.type_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_id = 3;
|
|
|
+ case 3: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_reply_id()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_id().data(), static_cast<int>(this->reply_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.reply_id"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_name = 4;
|
|
|
+ case 4: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_reply_name()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_name().data(), static_cast<int>(this->reply_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.reply_name"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_content = 5;
|
|
|
+ case 5: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_reply_content()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_content().data(), static_cast<int>(this->reply_content().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.reply_content"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_gen_time = 6;
|
|
|
+ case 6: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
|
|
+ input, this->mutable_reply_gen_time()));
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
+ "tb_reply.reply_gen_time"));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:tb_reply)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:tb_reply)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:tb_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.customer_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 1, this->customer_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.type_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 2, this->type_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_id = 3;
|
|
|
+ if (this->reply_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_id().data(), static_cast<int>(this->reply_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_id");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 3, this->reply_id(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_name = 4;
|
|
|
+ if (this->reply_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_name().data(), static_cast<int>(this->reply_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_name");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 4, this->reply_name(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_content = 5;
|
|
|
+ if (this->reply_content().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_content().data(), static_cast<int>(this->reply_content().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_content");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 5, this->reply_content(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_gen_time = 6;
|
|
|
+ if (this->reply_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_gen_time");
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
+ 6, this->reply_gen_time(), output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:tb_reply)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* tb_reply::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:tb_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->customer_id().data(), static_cast<int>(this->customer_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.customer_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 1, this->customer_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->type_id().data(), static_cast<int>(this->type_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.type_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 2, this->type_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_id = 3;
|
|
|
+ if (this->reply_id().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_id().data(), static_cast<int>(this->reply_id().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_id");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 3, this->reply_id(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_name = 4;
|
|
|
+ if (this->reply_name().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_name().data(), static_cast<int>(this->reply_name().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_name");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 4, this->reply_name(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_content = 5;
|
|
|
+ if (this->reply_content().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_content().data(), static_cast<int>(this->reply_content().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_content");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 5, this->reply_content(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_gen_time = 6;
|
|
|
+ if (this->reply_gen_time().size() > 0) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
+ this->reply_gen_time().data(), static_cast<int>(this->reply_gen_time().length()),
|
|
|
+ ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
+ "tb_reply.reply_gen_time");
|
|
|
+ target =
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
+ 6, this->reply_gen_time(), target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:tb_reply)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t tb_reply::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:tb_reply)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // string customer_id = 1;
|
|
|
+ if (this->customer_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->customer_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string type_id = 2;
|
|
|
+ if (this->type_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->type_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_id = 3;
|
|
|
+ if (this->reply_id().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->reply_id());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_name = 4;
|
|
|
+ if (this->reply_name().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->reply_name());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_content = 5;
|
|
|
+ if (this->reply_content().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->reply_content());
|
|
|
+ }
|
|
|
+
|
|
|
+ // string reply_gen_time = 6;
|
|
|
+ if (this->reply_gen_time().size() > 0) {
|
|
|
+ total_size += 1 +
|
|
|
+ ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
+ this->reply_gen_time());
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:tb_reply)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const tb_reply* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const tb_reply>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:tb_reply)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:tb_reply)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::MergeFrom(const tb_reply& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:tb_reply)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if (from.customer_id().size() > 0) {
|
|
|
+
|
|
|
+ customer_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.customer_id_);
|
|
|
+ }
|
|
|
+ if (from.type_id().size() > 0) {
|
|
|
+
|
|
|
+ type_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_id_);
|
|
|
+ }
|
|
|
+ if (from.reply_id().size() > 0) {
|
|
|
+
|
|
|
+ reply_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_id_);
|
|
|
+ }
|
|
|
+ if (from.reply_name().size() > 0) {
|
|
|
+
|
|
|
+ reply_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_name_);
|
|
|
+ }
|
|
|
+ if (from.reply_content().size() > 0) {
|
|
|
+
|
|
|
+ reply_content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_content_);
|
|
|
+ }
|
|
|
+ if (from.reply_gen_time().size() > 0) {
|
|
|
+
|
|
|
+ reply_gen_time_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reply_gen_time_);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:tb_reply)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::CopyFrom(const tb_reply& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:tb_reply)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool tb_reply::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void tb_reply::Swap(tb_reply* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void tb_reply::InternalSwap(tb_reply* other) {
|
|
|
+ using std::swap;
|
|
|
+ customer_id_.Swap(&other->customer_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ type_id_.Swap(&other->type_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ reply_id_.Swap(&other->reply_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ reply_name_.Swap(&other->reply_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ reply_content_.Swap(&other->reply_content_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ reply_gen_time_.Swap(&other->reply_gen_time_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata tb_reply::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void rec_customer::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int rec_customer::kCustomersFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+rec_customer::rec_customer()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_rec_customer.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:rec_customer)
|
|
|
+}
|
|
|
+rec_customer::rec_customer(const rec_customer& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ customers_(from.customers_) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:rec_customer)
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::SharedCtor() {
|
|
|
+}
|
|
|
+
|
|
|
+rec_customer::~rec_customer() {
|
|
|
+ // @@protoc_insertion_point(destructor:rec_customer)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* rec_customer::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const rec_customer& rec_customer::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_customer.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void rec_customer::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:rec_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ customers_.Clear();
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_customer::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:rec_customer)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // repeated .tb_customer customers = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, add_customers()));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:rec_customer)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:rec_customer)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:rec_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_customer customers = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 1,
|
|
|
+ this->customers(static_cast<int>(i)),
|
|
|
+ output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:rec_customer)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* rec_customer::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:rec_customer)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_customer customers = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->customers_size()); i < n; i++) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 1, this->customers(static_cast<int>(i)), deterministic, target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:rec_customer)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t rec_customer::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:rec_customer)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // repeated .tb_customer customers = 1;
|
|
|
+ {
|
|
|
+ unsigned int count = static_cast<unsigned int>(this->customers_size());
|
|
|
+ total_size += 1UL * count;
|
|
|
+ for (unsigned int i = 0; i < count; i++) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ this->customers(static_cast<int>(i)));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:rec_customer)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const rec_customer* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const rec_customer>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_customer)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_customer)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::MergeFrom(const rec_customer& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:rec_customer)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ customers_.MergeFrom(from.customers_);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:rec_customer)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::CopyFrom(const rec_customer& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:rec_customer)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_customer::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_customer::Swap(rec_customer* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void rec_customer::InternalSwap(rec_customer* other) {
|
|
|
+ using std::swap;
|
|
|
+ CastToBase(&customers_)->InternalSwap(CastToBase(&other->customers_));
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata rec_customer::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void rec_type::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int rec_type::kTypesFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+rec_type::rec_type()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_rec_type.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:rec_type)
|
|
|
+}
|
|
|
+rec_type::rec_type(const rec_type& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ types_(from.types_) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:rec_type)
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::SharedCtor() {
|
|
|
+}
|
|
|
+
|
|
|
+rec_type::~rec_type() {
|
|
|
+ // @@protoc_insertion_point(destructor:rec_type)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* rec_type::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const rec_type& rec_type::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_type.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void rec_type::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:rec_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ types_.Clear();
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_type::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:rec_type)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // repeated .tb_type types = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, add_types()));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:rec_type)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:rec_type)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:rec_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_type types = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 1,
|
|
|
+ this->types(static_cast<int>(i)),
|
|
|
+ output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:rec_type)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* rec_type::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:rec_type)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_type types = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->types_size()); i < n; i++) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 1, this->types(static_cast<int>(i)), deterministic, target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:rec_type)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t rec_type::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:rec_type)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // repeated .tb_type types = 1;
|
|
|
+ {
|
|
|
+ unsigned int count = static_cast<unsigned int>(this->types_size());
|
|
|
+ total_size += 1UL * count;
|
|
|
+ for (unsigned int i = 0; i < count; i++) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ this->types(static_cast<int>(i)));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:rec_type)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const rec_type* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const rec_type>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_type)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_type)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::MergeFrom(const rec_type& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:rec_type)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ types_.MergeFrom(from.types_);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:rec_type)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::CopyFrom(const rec_type& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:rec_type)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_type::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_type::Swap(rec_type* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void rec_type::InternalSwap(rec_type* other) {
|
|
|
+ using std::swap;
|
|
|
+ CastToBase(&types_)->InternalSwap(CastToBase(&other->types_));
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata rec_type::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void rec_reply::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+const int rec_reply::kReplysFieldNumber;
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+rec_reply::rec_reply()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_rec_reply.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:rec_reply)
|
|
|
+}
|
|
|
+rec_reply::rec_reply(const rec_reply& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL),
|
|
|
+ replys_(from.replys_) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:rec_reply)
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::SharedCtor() {
|
|
|
+}
|
|
|
+
|
|
|
+rec_reply::~rec_reply() {
|
|
|
+ // @@protoc_insertion_point(destructor:rec_reply)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* rec_reply::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const rec_reply& rec_reply::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_rec_reply.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void rec_reply::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:rec_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ replys_.Clear();
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_reply::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:rec_reply)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
+ // repeated .tb_reply replys = 1;
|
|
|
+ case 1: {
|
|
|
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
+ static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
|
|
|
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
+ input, add_replys()));
|
|
|
+ } else {
|
|
|
+ goto handle_unusual;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ default: {
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:rec_reply)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:rec_reply)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:rec_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_reply replys = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
|
|
|
+ ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
+ 1,
|
|
|
+ this->replys(static_cast<int>(i)),
|
|
|
+ output);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:rec_reply)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* rec_reply::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:rec_reply)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ // repeated .tb_reply replys = 1;
|
|
|
+ for (unsigned int i = 0,
|
|
|
+ n = static_cast<unsigned int>(this->replys_size()); i < n; i++) {
|
|
|
+ target = ::google::protobuf::internal::WireFormatLite::
|
|
|
+ InternalWriteMessageToArray(
|
|
|
+ 1, this->replys(static_cast<int>(i)), deterministic, target);
|
|
|
+ }
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:rec_reply)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t rec_reply::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:rec_reply)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ // repeated .tb_reply replys = 1;
|
|
|
+ {
|
|
|
+ unsigned int count = static_cast<unsigned int>(this->replys_size());
|
|
|
+ total_size += 1UL * count;
|
|
|
+ for (unsigned int i = 0; i < count; i++) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
+ this->replys(static_cast<int>(i)));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:rec_reply)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const rec_reply* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const rec_reply>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:rec_reply)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:rec_reply)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::MergeFrom(const rec_reply& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:rec_reply)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ replys_.MergeFrom(from.replys_);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:rec_reply)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::CopyFrom(const rec_reply& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:rec_reply)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool rec_reply::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void rec_reply::Swap(rec_reply* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void rec_reply::InternalSwap(rec_reply* other) {
|
|
|
+ using std::swap;
|
|
|
+ CastToBase(&replys_)->InternalSwap(CastToBase(&other->replys_));
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata rec_reply::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void view::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
+
|
|
|
+view::view()
|
|
|
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_table_2eproto::scc_info_view.base);
|
|
|
+ SharedCtor();
|
|
|
+ // @@protoc_insertion_point(constructor:view)
|
|
|
+}
|
|
|
+view::view(const view& from)
|
|
|
+ : ::google::protobuf::Message(),
|
|
|
+ _internal_metadata_(NULL) {
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ // @@protoc_insertion_point(copy_constructor:view)
|
|
|
+}
|
|
|
+
|
|
|
+void view::SharedCtor() {
|
|
|
+}
|
|
|
+
|
|
|
+view::~view() {
|
|
|
+ // @@protoc_insertion_point(destructor:view)
|
|
|
+ SharedDtor();
|
|
|
+}
|
|
|
+
|
|
|
+void view::SharedDtor() {
|
|
|
+}
|
|
|
+
|
|
|
+void view::SetCachedSize(int size) const {
|
|
|
+ _cached_size_.Set(size);
|
|
|
+}
|
|
|
+const ::google::protobuf::Descriptor* view::descriptor() {
|
|
|
+ ::protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
+}
|
|
|
+
|
|
|
+const view& view::default_instance() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_table_2eproto::scc_info_view.base);
|
|
|
+ return *internal_default_instance();
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+void view::Clear() {
|
|
|
+// @@protoc_insertion_point(message_clear_start:view)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ // Prevent compiler warnings about cached_has_bits being unused
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ _internal_metadata_.Clear();
|
|
|
+}
|
|
|
+
|
|
|
+bool view::MergePartialFromCodedStream(
|
|
|
+ ::google::protobuf::io::CodedInputStream* input) {
|
|
|
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
|
|
|
+ ::google::protobuf::uint32 tag;
|
|
|
+ // @@protoc_insertion_point(parse_start:view)
|
|
|
+ for (;;) {
|
|
|
+ ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ tag = p.first;
|
|
|
+ if (!p.second) goto handle_unusual;
|
|
|
+ handle_unusual:
|
|
|
+ if (tag == 0) {
|
|
|
+ goto success;
|
|
|
+ }
|
|
|
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
|
|
|
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
|
|
|
+ }
|
|
|
+success:
|
|
|
+ // @@protoc_insertion_point(parse_success:view)
|
|
|
+ return true;
|
|
|
+failure:
|
|
|
+ // @@protoc_insertion_point(parse_failure:view)
|
|
|
+ return false;
|
|
|
+#undef DO_
|
|
|
+}
|
|
|
+
|
|
|
+void view::SerializeWithCachedSizes(
|
|
|
+ ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
+ // @@protoc_insertion_point(serialize_start:view)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_end:view)
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::uint8* view::InternalSerializeWithCachedSizesToArray(
|
|
|
+ bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
+ (void)deterministic; // Unused
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_start:view)
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
|
|
|
+ }
|
|
|
+ // @@protoc_insertion_point(serialize_to_array_end:view)
|
|
|
+ return target;
|
|
|
+}
|
|
|
+
|
|
|
+size_t view::ByteSizeLong() const {
|
|
|
+// @@protoc_insertion_point(message_byte_size_start:view)
|
|
|
+ size_t total_size = 0;
|
|
|
+
|
|
|
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
|
|
|
+ total_size +=
|
|
|
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
|
|
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
|
|
|
+ }
|
|
|
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void view::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_merge_from_start:view)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ const view* source =
|
|
|
+ ::google::protobuf::internal::DynamicCastToGenerated<const view>(
|
|
|
+ &from);
|
|
|
+ if (source == NULL) {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:view)
|
|
|
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
+ } else {
|
|
|
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:view)
|
|
|
+ MergeFrom(*source);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+void view::MergeFrom(const view& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_merge_from_start:view)
|
|
|
+ GOOGLE_DCHECK_NE(&from, this);
|
|
|
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
+ ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
+ (void) cached_has_bits;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+void view::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
+// @@protoc_insertion_point(generalized_copy_from_start:view)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+void view::CopyFrom(const view& from) {
|
|
|
+// @@protoc_insertion_point(class_specific_copy_from_start:view)
|
|
|
+ if (&from == this) return;
|
|
|
+ Clear();
|
|
|
+ MergeFrom(from);
|
|
|
+}
|
|
|
+
|
|
|
+bool view::IsInitialized() const {
|
|
|
+ return true;
|
|
|
+}
|
|
|
+
|
|
|
+void view::Swap(view* other) {
|
|
|
+ if (other == this) return;
|
|
|
+ InternalSwap(other);
|
|
|
+}
|
|
|
+void view::InternalSwap(view* other) {
|
|
|
+ using std::swap;
|
|
|
+ _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
+}
|
|
|
+
|
|
|
+::google::protobuf::Metadata view::GetMetadata() const {
|
|
|
+ protobuf_table_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
+ return ::protobuf_table_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// @@protoc_insertion_point(namespace_scope)
|
|
|
+namespace google {
|
|
|
+namespace protobuf {
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_customer* Arena::CreateMaybeMessage< ::tb_customer >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::tb_customer >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_type* Arena::CreateMaybeMessage< ::tb_type >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::tb_type >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tb_reply* Arena::CreateMaybeMessage< ::tb_reply >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::tb_reply >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_customer* Arena::CreateMaybeMessage< ::rec_customer >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::rec_customer >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_type* Arena::CreateMaybeMessage< ::rec_type >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::rec_type >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rec_reply* Arena::CreateMaybeMessage< ::rec_reply >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::rec_reply >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::view* Arena::CreateMaybeMessage< ::view >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::view >(arena);
|
|
|
+}
|
|
|
+} // namespace protobuf
|
|
|
+} // namespace google
|
|
|
+
|
|
|
+// @@protoc_insertion_point(global_scope)
|