|
|
@@ -1,2674 +0,0 @@
|
|
|
-// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
-// source: PathPlanning.proto
|
|
|
-
|
|
|
-#include "PathPlanning.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_PathPlanning_2eproto {
|
|
|
-extern PROTOBUF_INTERNAL_EXPORT_protobuf_PathPlanning_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WaimaiOrder;
|
|
|
-extern PROTOBUF_INTERNAL_EXPORT_protobuf_PathPlanning_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WaimaiOrderTask;
|
|
|
-} // namespace protobuf_PathPlanning_2eproto
|
|
|
-namespace pathplanning {
|
|
|
-class WaimaiOrderDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<WaimaiOrder>
|
|
|
- _instance;
|
|
|
-} _WaimaiOrder_default_instance_;
|
|
|
-class PathPlanningRequestDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<PathPlanningRequest>
|
|
|
- _instance;
|
|
|
-} _PathPlanningRequest_default_instance_;
|
|
|
-class WaimaiOrderTaskDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<WaimaiOrderTask>
|
|
|
- _instance;
|
|
|
-} _WaimaiOrderTask_default_instance_;
|
|
|
-class PathPlanningReplyDefaultTypeInternal {
|
|
|
- public:
|
|
|
- ::google::protobuf::internal::ExplicitlyConstructed<PathPlanningReply>
|
|
|
- _instance;
|
|
|
-} _PathPlanningReply_default_instance_;
|
|
|
-} // namespace pathplanning
|
|
|
-namespace protobuf_PathPlanning_2eproto {
|
|
|
-static void InitDefaultsWaimaiOrder() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::pathplanning::_WaimaiOrder_default_instance_;
|
|
|
- new (ptr) ::pathplanning::WaimaiOrder();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::pathplanning::WaimaiOrder::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::internal::SCCInfo<0> scc_info_WaimaiOrder =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWaimaiOrder}, {}};
|
|
|
-
|
|
|
-static void InitDefaultsPathPlanningRequest() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::pathplanning::_PathPlanningRequest_default_instance_;
|
|
|
- new (ptr) ::pathplanning::PathPlanningRequest();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::pathplanning::PathPlanningRequest::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::internal::SCCInfo<1> scc_info_PathPlanningRequest =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPathPlanningRequest}, {
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_WaimaiOrder.base,}};
|
|
|
-
|
|
|
-static void InitDefaultsWaimaiOrderTask() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::pathplanning::_WaimaiOrderTask_default_instance_;
|
|
|
- new (ptr) ::pathplanning::WaimaiOrderTask();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::pathplanning::WaimaiOrderTask::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::internal::SCCInfo<0> scc_info_WaimaiOrderTask =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWaimaiOrderTask}, {}};
|
|
|
-
|
|
|
-static void InitDefaultsPathPlanningReply() {
|
|
|
- GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
-
|
|
|
- {
|
|
|
- void* ptr = &::pathplanning::_PathPlanningReply_default_instance_;
|
|
|
- new (ptr) ::pathplanning::PathPlanningReply();
|
|
|
- ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
|
|
- }
|
|
|
- ::pathplanning::PathPlanningReply::InitAsDefaultInstance();
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::internal::SCCInfo<1> scc_info_PathPlanningReply =
|
|
|
- {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPathPlanningReply}, {
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_WaimaiOrderTask.base,}};
|
|
|
-
|
|
|
-void InitDefaults() {
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_WaimaiOrder.base);
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_PathPlanningRequest.base);
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_WaimaiOrderTask.base);
|
|
|
- ::google::protobuf::internal::InitSCC(&scc_info_PathPlanningReply.base);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata file_level_metadata[4];
|
|
|
-
|
|
|
-const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- ~0u, // no _has_bits_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, init_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, confirme_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, daodian_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, quhuo_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, guke_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, songda_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, qiwang_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, chucan_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, jiaofu_time_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, haoshi_second_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, is_chaoshi_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, chaoshi_second_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, m_waimaiorder_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, m_group_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, m_deliveryman_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, m_status_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, shop_lat_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, shop_lng_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, cus_lat_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrder, cus_lng_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, lat_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, lng_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, name_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, group_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, deliveryman_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, deliveryman_num_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, order_num_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, orders_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, request_type_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, group_code_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningRequest, init_time_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrderTask, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrderTask, order_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::WaimaiOrderTask, task_type_),
|
|
|
- ~0u, // no _has_bits_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, _internal_metadata_),
|
|
|
- ~0u, // no _extensions_
|
|
|
- ~0u, // no _oneof_case_
|
|
|
- ~0u, // no _weak_field_map_
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, status_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, err_message_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, m_bestdes_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, group_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, deliveryman_id_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, deliveryman_num_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, order_num_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, request_type_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, bestroad_),
|
|
|
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pathplanning::PathPlanningReply, group_code_),
|
|
|
-};
|
|
|
-static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- { 0, -1, sizeof(::pathplanning::WaimaiOrder)},
|
|
|
- { 25, -1, sizeof(::pathplanning::PathPlanningRequest)},
|
|
|
- { 41, -1, sizeof(::pathplanning::WaimaiOrderTask)},
|
|
|
- { 48, -1, sizeof(::pathplanning::PathPlanningReply)},
|
|
|
-};
|
|
|
-
|
|
|
-static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::pathplanning::_WaimaiOrder_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::pathplanning::_PathPlanningRequest_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::pathplanning::_WaimaiOrderTask_default_instance_),
|
|
|
- reinterpret_cast<const ::google::protobuf::Message*>(&::pathplanning::_PathPlanningReply_default_instance_),
|
|
|
-};
|
|
|
-
|
|
|
-void protobuf_AssignDescriptors() {
|
|
|
- AddDescriptors();
|
|
|
- AssignDescriptors(
|
|
|
- "PathPlanning.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, 4);
|
|
|
-}
|
|
|
-
|
|
|
-void AddDescriptorsImpl() {
|
|
|
- InitDefaults();
|
|
|
- static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
|
|
|
- "\n\022PathPlanning.proto\022\014pathplanning\"\253\003\n\013W"
|
|
|
- "aimaiOrder\022\021\n\tinit_time\030\001 \001(\003\022\025\n\rconfirm"
|
|
|
- "e_time\030\002 \001(\003\022\024\n\014daodian_time\030\003 \001(\003\022\022\n\nqu"
|
|
|
- "huo_time\030\004 \001(\003\022\021\n\tguke_time\030\005 \001(\003\022\023\n\013son"
|
|
|
- "gda_time\030\006 \001(\003\022\023\n\013qiwang_time\030\007 \001(\003\022\023\n\013c"
|
|
|
- "hucan_time\030\010 \001(\005\022\023\n\013jiaofu_time\030\t \001(\005\022\025\n"
|
|
|
- "\rhaoshi_second\030\n \001(\005\022\022\n\nis_chaoshi\030\013 \001(\005"
|
|
|
- "\022\026\n\016chaoshi_second\030\014 \001(\005\022\030\n\020m_waimaiorde"
|
|
|
- "r_id\030\r \001(\005\022\022\n\nm_group_id\030\016 \001(\005\022\030\n\020m_deli"
|
|
|
- "veryman_id\030\017 \001(\005\022\020\n\010m_status\030\020 \001(\005\022\020\n\010sh"
|
|
|
- "op_lat\030\021 \001(\001\022\020\n\010shop_lng\030\022 \001(\001\022\017\n\007cus_la"
|
|
|
- "t\030\023 \001(\001\022\017\n\007cus_lng\030\024 \001(\001\"\373\001\n\023PathPlannin"
|
|
|
- "gRequest\022\013\n\003lat\030\001 \001(\001\022\013\n\003lng\030\002 \001(\001\022\014\n\004na"
|
|
|
- "me\030\003 \001(\t\022\020\n\010group_id\030\004 \001(\005\022\026\n\016deliveryma"
|
|
|
- "n_id\030\005 \001(\005\022\027\n\017deliveryman_num\030\006 \001(\005\022\021\n\to"
|
|
|
- "rder_num\030\007 \001(\005\022)\n\006orders\030\010 \003(\0132\031.pathpla"
|
|
|
- "nning.WaimaiOrder\022\024\n\014request_type\030\t \001(\005\022"
|
|
|
- "\022\n\ngroup_code\030\n \001(\005\022\021\n\tinit_time\030\013 \001(\003\"6"
|
|
|
- "\n\017WaimaiOrderTask\022\020\n\010order_id\030\001 \001(\005\022\021\n\tt"
|
|
|
- "ask_type\030\002 \001(\005\"\374\001\n\021PathPlanningReply\022\016\n\006"
|
|
|
- "status\030\001 \001(\t\022\023\n\013err_message\030\002 \001(\t\022\021\n\tm_b"
|
|
|
- "estDes\030\003 \001(\001\022\020\n\010group_id\030\004 \001(\005\022\026\n\016delive"
|
|
|
- "ryman_id\030\005 \001(\005\022\027\n\017deliveryman_num\030\006 \001(\005\022"
|
|
|
- "\021\n\torder_num\030\007 \001(\005\022\024\n\014request_type\030\010 \001(\005"
|
|
|
- "\022/\n\010bestRoad\030\t \003(\0132\035.pathplanning.Waimai"
|
|
|
- "OrderTask\022\022\n\ngroup_code\030\n \001(\0052`\n\rCPathPl"
|
|
|
- "anning\022O\n\007CalPath\022!.pathplanning.PathPla"
|
|
|
- "nningRequest\032\037.pathplanning.PathPlanning"
|
|
|
- "Reply\"\000b\006proto3"
|
|
|
- };
|
|
|
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
|
- descriptor, 1135);
|
|
|
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
|
- "PathPlanning.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_PathPlanning_2eproto
|
|
|
-namespace pathplanning {
|
|
|
-
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void WaimaiOrder::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int WaimaiOrder::kInitTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kConfirmeTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kDaodianTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kQuhuoTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kGukeTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kSongdaTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kQiwangTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kChucanTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kJiaofuTimeFieldNumber;
|
|
|
-const int WaimaiOrder::kHaoshiSecondFieldNumber;
|
|
|
-const int WaimaiOrder::kIsChaoshiFieldNumber;
|
|
|
-const int WaimaiOrder::kChaoshiSecondFieldNumber;
|
|
|
-const int WaimaiOrder::kMWaimaiorderIdFieldNumber;
|
|
|
-const int WaimaiOrder::kMGroupIdFieldNumber;
|
|
|
-const int WaimaiOrder::kMDeliverymanIdFieldNumber;
|
|
|
-const int WaimaiOrder::kMStatusFieldNumber;
|
|
|
-const int WaimaiOrder::kShopLatFieldNumber;
|
|
|
-const int WaimaiOrder::kShopLngFieldNumber;
|
|
|
-const int WaimaiOrder::kCusLatFieldNumber;
|
|
|
-const int WaimaiOrder::kCusLngFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-
|
|
|
-WaimaiOrder::WaimaiOrder()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_WaimaiOrder.base);
|
|
|
- SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:pathplanning.WaimaiOrder)
|
|
|
-}
|
|
|
-WaimaiOrder::WaimaiOrder(const WaimaiOrder& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::memcpy(&init_time_, &from.init_time_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&m_status_) -
|
|
|
- reinterpret_cast<char*>(&init_time_)) + sizeof(m_status_));
|
|
|
- // @@protoc_insertion_point(copy_constructor:pathplanning.WaimaiOrder)
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::SharedCtor() {
|
|
|
- ::memset(&init_time_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&m_status_) -
|
|
|
- reinterpret_cast<char*>(&init_time_)) + sizeof(m_status_));
|
|
|
-}
|
|
|
-
|
|
|
-WaimaiOrder::~WaimaiOrder() {
|
|
|
- // @@protoc_insertion_point(destructor:pathplanning.WaimaiOrder)
|
|
|
- SharedDtor();
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::SharedDtor() {
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
-}
|
|
|
-const ::google::protobuf::Descriptor* WaimaiOrder::descriptor() {
|
|
|
- ::protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
-const WaimaiOrder& WaimaiOrder::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_PathPlanning_2eproto::scc_info_WaimaiOrder.base);
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-void WaimaiOrder::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:pathplanning.WaimaiOrder)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- ::memset(&init_time_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&m_status_) -
|
|
|
- reinterpret_cast<char*>(&init_time_)) + sizeof(m_status_));
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool WaimaiOrder::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:pathplanning.WaimaiOrder)
|
|
|
- for (;;) {
|
|
|
- ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
|
|
|
- tag = p.first;
|
|
|
- if (!p.second) goto handle_unusual;
|
|
|
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
|
|
- // int64 init_time = 1;
|
|
|
- case 1: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &init_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 confirme_time = 2;
|
|
|
- case 2: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &confirme_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 daodian_time = 3;
|
|
|
- case 3: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &daodian_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 quhuo_time = 4;
|
|
|
- case 4: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &quhuo_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 guke_time = 5;
|
|
|
- case 5: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &guke_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 songda_time = 6;
|
|
|
- case 6: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &songda_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 qiwang_time = 7;
|
|
|
- case 7: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &qiwang_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chucan_time = 8;
|
|
|
- case 8: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &chucan_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 jiaofu_time = 9;
|
|
|
- case 9: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &jiaofu_time_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 haoshi_second = 10;
|
|
|
- case 10: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &haoshi_second_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 is_chaoshi = 11;
|
|
|
- case 11: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &is_chaoshi_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chaoshi_second = 12;
|
|
|
- case 12: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &chaoshi_second_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_waimaiorder_id = 13;
|
|
|
- case 13: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &m_waimaiorder_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_group_id = 14;
|
|
|
- case 14: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &m_group_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_deliveryman_id = 15;
|
|
|
- case 15: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(120u /* 120 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &m_deliveryman_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_status = 16;
|
|
|
- case 16: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &m_status_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lat = 17;
|
|
|
- case 17: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(137u /* 137 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &shop_lat_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lng = 18;
|
|
|
- case 18: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(145u /* 145 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &shop_lng_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lat = 19;
|
|
|
- case 19: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(153u /* 153 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &cus_lat_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lng = 20;
|
|
|
- case 20: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(161u /* 161 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &cus_lng_)));
|
|
|
- } 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:pathplanning.WaimaiOrder)
|
|
|
- return true;
|
|
|
-failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:pathplanning.WaimaiOrder)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:pathplanning.WaimaiOrder)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // int64 init_time = 1;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(1, this->init_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 confirme_time = 2;
|
|
|
- if (this->confirme_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->confirme_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 daodian_time = 3;
|
|
|
- if (this->daodian_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->daodian_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 quhuo_time = 4;
|
|
|
- if (this->quhuo_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->quhuo_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 guke_time = 5;
|
|
|
- if (this->guke_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->guke_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 songda_time = 6;
|
|
|
- if (this->songda_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->songda_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 qiwang_time = 7;
|
|
|
- if (this->qiwang_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(7, this->qiwang_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chucan_time = 8;
|
|
|
- if (this->chucan_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->chucan_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 jiaofu_time = 9;
|
|
|
- if (this->jiaofu_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->jiaofu_time(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 haoshi_second = 10;
|
|
|
- if (this->haoshi_second() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->haoshi_second(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 is_chaoshi = 11;
|
|
|
- if (this->is_chaoshi() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->is_chaoshi(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chaoshi_second = 12;
|
|
|
- if (this->chaoshi_second() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->chaoshi_second(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_waimaiorder_id = 13;
|
|
|
- if (this->m_waimaiorder_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->m_waimaiorder_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_group_id = 14;
|
|
|
- if (this->m_group_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->m_group_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_deliveryman_id = 15;
|
|
|
- if (this->m_deliveryman_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->m_deliveryman_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_status = 16;
|
|
|
- if (this->m_status() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->m_status(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lat = 17;
|
|
|
- if (this->shop_lat() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(17, this->shop_lat(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lng = 18;
|
|
|
- if (this->shop_lng() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(18, this->shop_lng(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lat = 19;
|
|
|
- if (this->cus_lat() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(19, this->cus_lat(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lng = 20;
|
|
|
- if (this->cus_lng() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(20, this->cus_lng(), 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:pathplanning.WaimaiOrder)
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::uint8* WaimaiOrder::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:pathplanning.WaimaiOrder)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // int64 init_time = 1;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(1, this->init_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 confirme_time = 2;
|
|
|
- if (this->confirme_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->confirme_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 daodian_time = 3;
|
|
|
- if (this->daodian_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->daodian_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 quhuo_time = 4;
|
|
|
- if (this->quhuo_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->quhuo_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 guke_time = 5;
|
|
|
- if (this->guke_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->guke_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 songda_time = 6;
|
|
|
- if (this->songda_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->songda_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 qiwang_time = 7;
|
|
|
- if (this->qiwang_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(7, this->qiwang_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chucan_time = 8;
|
|
|
- if (this->chucan_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->chucan_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 jiaofu_time = 9;
|
|
|
- if (this->jiaofu_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->jiaofu_time(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 haoshi_second = 10;
|
|
|
- if (this->haoshi_second() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->haoshi_second(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 is_chaoshi = 11;
|
|
|
- if (this->is_chaoshi() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->is_chaoshi(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chaoshi_second = 12;
|
|
|
- if (this->chaoshi_second() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->chaoshi_second(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_waimaiorder_id = 13;
|
|
|
- if (this->m_waimaiorder_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->m_waimaiorder_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_group_id = 14;
|
|
|
- if (this->m_group_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->m_group_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_deliveryman_id = 15;
|
|
|
- if (this->m_deliveryman_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->m_deliveryman_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_status = 16;
|
|
|
- if (this->m_status() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->m_status(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lat = 17;
|
|
|
- if (this->shop_lat() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(17, this->shop_lat(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lng = 18;
|
|
|
- if (this->shop_lng() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(18, this->shop_lng(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lat = 19;
|
|
|
- if (this->cus_lat() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(19, this->cus_lat(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lng = 20;
|
|
|
- if (this->cus_lng() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(20, this->cus_lng(), 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:pathplanning.WaimaiOrder)
|
|
|
- return target;
|
|
|
-}
|
|
|
-
|
|
|
-size_t WaimaiOrder::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:pathplanning.WaimaiOrder)
|
|
|
- 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()));
|
|
|
- }
|
|
|
- // int64 init_time = 1;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->init_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 confirme_time = 2;
|
|
|
- if (this->confirme_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->confirme_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 daodian_time = 3;
|
|
|
- if (this->daodian_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->daodian_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 quhuo_time = 4;
|
|
|
- if (this->quhuo_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->quhuo_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 guke_time = 5;
|
|
|
- if (this->guke_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->guke_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 songda_time = 6;
|
|
|
- if (this->songda_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->songda_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 qiwang_time = 7;
|
|
|
- if (this->qiwang_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->qiwang_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chucan_time = 8;
|
|
|
- if (this->chucan_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->chucan_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 jiaofu_time = 9;
|
|
|
- if (this->jiaofu_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->jiaofu_time());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 haoshi_second = 10;
|
|
|
- if (this->haoshi_second() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->haoshi_second());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 is_chaoshi = 11;
|
|
|
- if (this->is_chaoshi() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->is_chaoshi());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 chaoshi_second = 12;
|
|
|
- if (this->chaoshi_second() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->chaoshi_second());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_waimaiorder_id = 13;
|
|
|
- if (this->m_waimaiorder_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->m_waimaiorder_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_group_id = 14;
|
|
|
- if (this->m_group_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->m_group_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_deliveryman_id = 15;
|
|
|
- if (this->m_deliveryman_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->m_deliveryman_id());
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lat = 17;
|
|
|
- if (this->shop_lat() != 0) {
|
|
|
- total_size += 2 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // double shop_lng = 18;
|
|
|
- if (this->shop_lng() != 0) {
|
|
|
- total_size += 2 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lat = 19;
|
|
|
- if (this->cus_lat() != 0) {
|
|
|
- total_size += 2 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // double cus_lng = 20;
|
|
|
- if (this->cus_lng() != 0) {
|
|
|
- total_size += 2 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 m_status = 16;
|
|
|
- if (this->m_status() != 0) {
|
|
|
- total_size += 2 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->m_status());
|
|
|
- }
|
|
|
-
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:pathplanning.WaimaiOrder)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const WaimaiOrder* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const WaimaiOrder>(
|
|
|
- &from);
|
|
|
- if (source == NULL) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pathplanning.WaimaiOrder)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
- } else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pathplanning.WaimaiOrder)
|
|
|
- MergeFrom(*source);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::MergeFrom(const WaimaiOrder& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:pathplanning.WaimaiOrder)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- if (from.init_time() != 0) {
|
|
|
- set_init_time(from.init_time());
|
|
|
- }
|
|
|
- if (from.confirme_time() != 0) {
|
|
|
- set_confirme_time(from.confirme_time());
|
|
|
- }
|
|
|
- if (from.daodian_time() != 0) {
|
|
|
- set_daodian_time(from.daodian_time());
|
|
|
- }
|
|
|
- if (from.quhuo_time() != 0) {
|
|
|
- set_quhuo_time(from.quhuo_time());
|
|
|
- }
|
|
|
- if (from.guke_time() != 0) {
|
|
|
- set_guke_time(from.guke_time());
|
|
|
- }
|
|
|
- if (from.songda_time() != 0) {
|
|
|
- set_songda_time(from.songda_time());
|
|
|
- }
|
|
|
- if (from.qiwang_time() != 0) {
|
|
|
- set_qiwang_time(from.qiwang_time());
|
|
|
- }
|
|
|
- if (from.chucan_time() != 0) {
|
|
|
- set_chucan_time(from.chucan_time());
|
|
|
- }
|
|
|
- if (from.jiaofu_time() != 0) {
|
|
|
- set_jiaofu_time(from.jiaofu_time());
|
|
|
- }
|
|
|
- if (from.haoshi_second() != 0) {
|
|
|
- set_haoshi_second(from.haoshi_second());
|
|
|
- }
|
|
|
- if (from.is_chaoshi() != 0) {
|
|
|
- set_is_chaoshi(from.is_chaoshi());
|
|
|
- }
|
|
|
- if (from.chaoshi_second() != 0) {
|
|
|
- set_chaoshi_second(from.chaoshi_second());
|
|
|
- }
|
|
|
- if (from.m_waimaiorder_id() != 0) {
|
|
|
- set_m_waimaiorder_id(from.m_waimaiorder_id());
|
|
|
- }
|
|
|
- if (from.m_group_id() != 0) {
|
|
|
- set_m_group_id(from.m_group_id());
|
|
|
- }
|
|
|
- if (from.m_deliveryman_id() != 0) {
|
|
|
- set_m_deliveryman_id(from.m_deliveryman_id());
|
|
|
- }
|
|
|
- if (from.shop_lat() != 0) {
|
|
|
- set_shop_lat(from.shop_lat());
|
|
|
- }
|
|
|
- if (from.shop_lng() != 0) {
|
|
|
- set_shop_lng(from.shop_lng());
|
|
|
- }
|
|
|
- if (from.cus_lat() != 0) {
|
|
|
- set_cus_lat(from.cus_lat());
|
|
|
- }
|
|
|
- if (from.cus_lng() != 0) {
|
|
|
- set_cus_lng(from.cus_lng());
|
|
|
- }
|
|
|
- if (from.m_status() != 0) {
|
|
|
- set_m_status(from.m_status());
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:pathplanning.WaimaiOrder)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::CopyFrom(const WaimaiOrder& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:pathplanning.WaimaiOrder)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-bool WaimaiOrder::IsInitialized() const {
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrder::Swap(WaimaiOrder* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
-void WaimaiOrder::InternalSwap(WaimaiOrder* other) {
|
|
|
- using std::swap;
|
|
|
- swap(init_time_, other->init_time_);
|
|
|
- swap(confirme_time_, other->confirme_time_);
|
|
|
- swap(daodian_time_, other->daodian_time_);
|
|
|
- swap(quhuo_time_, other->quhuo_time_);
|
|
|
- swap(guke_time_, other->guke_time_);
|
|
|
- swap(songda_time_, other->songda_time_);
|
|
|
- swap(qiwang_time_, other->qiwang_time_);
|
|
|
- swap(chucan_time_, other->chucan_time_);
|
|
|
- swap(jiaofu_time_, other->jiaofu_time_);
|
|
|
- swap(haoshi_second_, other->haoshi_second_);
|
|
|
- swap(is_chaoshi_, other->is_chaoshi_);
|
|
|
- swap(chaoshi_second_, other->chaoshi_second_);
|
|
|
- swap(m_waimaiorder_id_, other->m_waimaiorder_id_);
|
|
|
- swap(m_group_id_, other->m_group_id_);
|
|
|
- swap(m_deliveryman_id_, other->m_deliveryman_id_);
|
|
|
- swap(shop_lat_, other->shop_lat_);
|
|
|
- swap(shop_lng_, other->shop_lng_);
|
|
|
- swap(cus_lat_, other->cus_lat_);
|
|
|
- swap(cus_lng_, other->cus_lng_);
|
|
|
- swap(m_status_, other->m_status_);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata WaimaiOrder::GetMetadata() const {
|
|
|
- protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void PathPlanningRequest::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int PathPlanningRequest::kLatFieldNumber;
|
|
|
-const int PathPlanningRequest::kLngFieldNumber;
|
|
|
-const int PathPlanningRequest::kNameFieldNumber;
|
|
|
-const int PathPlanningRequest::kGroupIdFieldNumber;
|
|
|
-const int PathPlanningRequest::kDeliverymanIdFieldNumber;
|
|
|
-const int PathPlanningRequest::kDeliverymanNumFieldNumber;
|
|
|
-const int PathPlanningRequest::kOrderNumFieldNumber;
|
|
|
-const int PathPlanningRequest::kOrdersFieldNumber;
|
|
|
-const int PathPlanningRequest::kRequestTypeFieldNumber;
|
|
|
-const int PathPlanningRequest::kGroupCodeFieldNumber;
|
|
|
-const int PathPlanningRequest::kInitTimeFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-
|
|
|
-PathPlanningRequest::PathPlanningRequest()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_PathPlanningRequest.base);
|
|
|
- SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:pathplanning.PathPlanningRequest)
|
|
|
-}
|
|
|
-PathPlanningRequest::PathPlanningRequest(const PathPlanningRequest& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL),
|
|
|
- orders_(from.orders_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.name().size() > 0) {
|
|
|
- name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
|
|
|
- }
|
|
|
- ::memcpy(&lat_, &from.lat_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&init_time_) -
|
|
|
- reinterpret_cast<char*>(&lat_)) + sizeof(init_time_));
|
|
|
- // @@protoc_insertion_point(copy_constructor:pathplanning.PathPlanningRequest)
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::SharedCtor() {
|
|
|
- name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&lat_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&init_time_) -
|
|
|
- reinterpret_cast<char*>(&lat_)) + sizeof(init_time_));
|
|
|
-}
|
|
|
-
|
|
|
-PathPlanningRequest::~PathPlanningRequest() {
|
|
|
- // @@protoc_insertion_point(destructor:pathplanning.PathPlanningRequest)
|
|
|
- SharedDtor();
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::SharedDtor() {
|
|
|
- name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
-}
|
|
|
-const ::google::protobuf::Descriptor* PathPlanningRequest::descriptor() {
|
|
|
- ::protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
-const PathPlanningRequest& PathPlanningRequest::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_PathPlanning_2eproto::scc_info_PathPlanningRequest.base);
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-void PathPlanningRequest::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:pathplanning.PathPlanningRequest)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- orders_.Clear();
|
|
|
- name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&lat_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&init_time_) -
|
|
|
- reinterpret_cast<char*>(&lat_)) + sizeof(init_time_));
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool PathPlanningRequest::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:pathplanning.PathPlanningRequest)
|
|
|
- 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)) {
|
|
|
- // double lat = 1;
|
|
|
- case 1: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(9u /* 9 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &lat_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double lng = 2;
|
|
|
- case 2: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &lng_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // string 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_name()));
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->name().data(), static_cast<int>(this->name().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
- "pathplanning.PathPlanningRequest.name"));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- case 4: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &group_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- case 5: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &deliveryman_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- case 6: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &deliveryman_num_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- case 7: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &order_num_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrder orders = 8;
|
|
|
- case 8: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
- input, add_orders()));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 9;
|
|
|
- case 9: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &request_type_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- case 10: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &group_code_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int64 init_time = 11;
|
|
|
- case 11: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
|
|
|
- input, &init_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:pathplanning.PathPlanningRequest)
|
|
|
- return true;
|
|
|
-failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:pathplanning.PathPlanningRequest)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:pathplanning.PathPlanningRequest)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // double lat = 1;
|
|
|
- if (this->lat() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(1, this->lat(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double lng = 2;
|
|
|
- if (this->lng() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->lng(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // string name = 3;
|
|
|
- if (this->name().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->name().data(), static_cast<int>(this->name().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningRequest.name");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 3, this->name(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->group_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->deliveryman_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->deliveryman_num(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->order_num(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrder orders = 8;
|
|
|
- for (unsigned int i = 0,
|
|
|
- n = static_cast<unsigned int>(this->orders_size()); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 8,
|
|
|
- this->orders(static_cast<int>(i)),
|
|
|
- output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 9;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->request_type(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->group_code(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 init_time = 11;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt64(11, this->init_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:pathplanning.PathPlanningRequest)
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::uint8* PathPlanningRequest::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:pathplanning.PathPlanningRequest)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // double lat = 1;
|
|
|
- if (this->lat() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(1, this->lat(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double lng = 2;
|
|
|
- if (this->lng() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->lng(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // string name = 3;
|
|
|
- if (this->name().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->name().data(), static_cast<int>(this->name().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningRequest.name");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 3, this->name(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->group_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->deliveryman_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->deliveryman_num(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->order_num(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrder orders = 8;
|
|
|
- for (unsigned int i = 0,
|
|
|
- n = static_cast<unsigned int>(this->orders_size()); i < n; i++) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- InternalWriteMessageToArray(
|
|
|
- 8, this->orders(static_cast<int>(i)), deterministic, target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 9;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->request_type(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->group_code(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int64 init_time = 11;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(11, this->init_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:pathplanning.PathPlanningRequest)
|
|
|
- return target;
|
|
|
-}
|
|
|
-
|
|
|
-size_t PathPlanningRequest::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:pathplanning.PathPlanningRequest)
|
|
|
- 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 .pathplanning.WaimaiOrder orders = 8;
|
|
|
- {
|
|
|
- unsigned int count = static_cast<unsigned int>(this->orders_size());
|
|
|
- total_size += 1UL * count;
|
|
|
- for (unsigned int i = 0; i < count; i++) {
|
|
|
- total_size +=
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- this->orders(static_cast<int>(i)));
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // string name = 3;
|
|
|
- if (this->name().size() > 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->name());
|
|
|
- }
|
|
|
-
|
|
|
- // double lat = 1;
|
|
|
- if (this->lat() != 0) {
|
|
|
- total_size += 1 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // double lng = 2;
|
|
|
- if (this->lng() != 0) {
|
|
|
- total_size += 1 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->group_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->deliveryman_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->deliveryman_num());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->order_num());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 9;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->request_type());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->group_code());
|
|
|
- }
|
|
|
-
|
|
|
- // int64 init_time = 11;
|
|
|
- if (this->init_time() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int64Size(
|
|
|
- this->init_time());
|
|
|
- }
|
|
|
-
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:pathplanning.PathPlanningRequest)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const PathPlanningRequest* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const PathPlanningRequest>(
|
|
|
- &from);
|
|
|
- if (source == NULL) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pathplanning.PathPlanningRequest)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
- } else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pathplanning.PathPlanningRequest)
|
|
|
- MergeFrom(*source);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::MergeFrom(const PathPlanningRequest& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:pathplanning.PathPlanningRequest)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- orders_.MergeFrom(from.orders_);
|
|
|
- if (from.name().size() > 0) {
|
|
|
-
|
|
|
- name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
|
|
|
- }
|
|
|
- if (from.lat() != 0) {
|
|
|
- set_lat(from.lat());
|
|
|
- }
|
|
|
- if (from.lng() != 0) {
|
|
|
- set_lng(from.lng());
|
|
|
- }
|
|
|
- if (from.group_id() != 0) {
|
|
|
- set_group_id(from.group_id());
|
|
|
- }
|
|
|
- if (from.deliveryman_id() != 0) {
|
|
|
- set_deliveryman_id(from.deliveryman_id());
|
|
|
- }
|
|
|
- if (from.deliveryman_num() != 0) {
|
|
|
- set_deliveryman_num(from.deliveryman_num());
|
|
|
- }
|
|
|
- if (from.order_num() != 0) {
|
|
|
- set_order_num(from.order_num());
|
|
|
- }
|
|
|
- if (from.request_type() != 0) {
|
|
|
- set_request_type(from.request_type());
|
|
|
- }
|
|
|
- if (from.group_code() != 0) {
|
|
|
- set_group_code(from.group_code());
|
|
|
- }
|
|
|
- if (from.init_time() != 0) {
|
|
|
- set_init_time(from.init_time());
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:pathplanning.PathPlanningRequest)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::CopyFrom(const PathPlanningRequest& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:pathplanning.PathPlanningRequest)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-bool PathPlanningRequest::IsInitialized() const {
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningRequest::Swap(PathPlanningRequest* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
-void PathPlanningRequest::InternalSwap(PathPlanningRequest* other) {
|
|
|
- using std::swap;
|
|
|
- CastToBase(&orders_)->InternalSwap(CastToBase(&other->orders_));
|
|
|
- name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- GetArenaNoVirtual());
|
|
|
- swap(lat_, other->lat_);
|
|
|
- swap(lng_, other->lng_);
|
|
|
- swap(group_id_, other->group_id_);
|
|
|
- swap(deliveryman_id_, other->deliveryman_id_);
|
|
|
- swap(deliveryman_num_, other->deliveryman_num_);
|
|
|
- swap(order_num_, other->order_num_);
|
|
|
- swap(request_type_, other->request_type_);
|
|
|
- swap(group_code_, other->group_code_);
|
|
|
- swap(init_time_, other->init_time_);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata PathPlanningRequest::GetMetadata() const {
|
|
|
- protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void WaimaiOrderTask::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int WaimaiOrderTask::kOrderIdFieldNumber;
|
|
|
-const int WaimaiOrderTask::kTaskTypeFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-
|
|
|
-WaimaiOrderTask::WaimaiOrderTask()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_WaimaiOrderTask.base);
|
|
|
- SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:pathplanning.WaimaiOrderTask)
|
|
|
-}
|
|
|
-WaimaiOrderTask::WaimaiOrderTask(const WaimaiOrderTask& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::memcpy(&order_id_, &from.order_id_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&task_type_) -
|
|
|
- reinterpret_cast<char*>(&order_id_)) + sizeof(task_type_));
|
|
|
- // @@protoc_insertion_point(copy_constructor:pathplanning.WaimaiOrderTask)
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::SharedCtor() {
|
|
|
- ::memset(&order_id_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&task_type_) -
|
|
|
- reinterpret_cast<char*>(&order_id_)) + sizeof(task_type_));
|
|
|
-}
|
|
|
-
|
|
|
-WaimaiOrderTask::~WaimaiOrderTask() {
|
|
|
- // @@protoc_insertion_point(destructor:pathplanning.WaimaiOrderTask)
|
|
|
- SharedDtor();
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::SharedDtor() {
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
-}
|
|
|
-const ::google::protobuf::Descriptor* WaimaiOrderTask::descriptor() {
|
|
|
- ::protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
-const WaimaiOrderTask& WaimaiOrderTask::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_PathPlanning_2eproto::scc_info_WaimaiOrderTask.base);
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-void WaimaiOrderTask::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:pathplanning.WaimaiOrderTask)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- ::memset(&order_id_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&task_type_) -
|
|
|
- reinterpret_cast<char*>(&order_id_)) + sizeof(task_type_));
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool WaimaiOrderTask::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:pathplanning.WaimaiOrderTask)
|
|
|
- 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)) {
|
|
|
- // int32 order_id = 1;
|
|
|
- case 1: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &order_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 task_type = 2;
|
|
|
- case 2: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &task_type_)));
|
|
|
- } 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:pathplanning.WaimaiOrderTask)
|
|
|
- return true;
|
|
|
-failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:pathplanning.WaimaiOrderTask)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:pathplanning.WaimaiOrderTask)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // int32 order_id = 1;
|
|
|
- if (this->order_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->order_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 task_type = 2;
|
|
|
- if (this->task_type() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->task_type(), 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:pathplanning.WaimaiOrderTask)
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::uint8* WaimaiOrderTask::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:pathplanning.WaimaiOrderTask)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // int32 order_id = 1;
|
|
|
- if (this->order_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->order_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 task_type = 2;
|
|
|
- if (this->task_type() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->task_type(), 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:pathplanning.WaimaiOrderTask)
|
|
|
- return target;
|
|
|
-}
|
|
|
-
|
|
|
-size_t WaimaiOrderTask::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:pathplanning.WaimaiOrderTask)
|
|
|
- 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()));
|
|
|
- }
|
|
|
- // int32 order_id = 1;
|
|
|
- if (this->order_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->order_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 task_type = 2;
|
|
|
- if (this->task_type() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->task_type());
|
|
|
- }
|
|
|
-
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:pathplanning.WaimaiOrderTask)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const WaimaiOrderTask* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const WaimaiOrderTask>(
|
|
|
- &from);
|
|
|
- if (source == NULL) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pathplanning.WaimaiOrderTask)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
- } else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pathplanning.WaimaiOrderTask)
|
|
|
- MergeFrom(*source);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::MergeFrom(const WaimaiOrderTask& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:pathplanning.WaimaiOrderTask)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- if (from.order_id() != 0) {
|
|
|
- set_order_id(from.order_id());
|
|
|
- }
|
|
|
- if (from.task_type() != 0) {
|
|
|
- set_task_type(from.task_type());
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:pathplanning.WaimaiOrderTask)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::CopyFrom(const WaimaiOrderTask& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:pathplanning.WaimaiOrderTask)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-bool WaimaiOrderTask::IsInitialized() const {
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-void WaimaiOrderTask::Swap(WaimaiOrderTask* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
-void WaimaiOrderTask::InternalSwap(WaimaiOrderTask* other) {
|
|
|
- using std::swap;
|
|
|
- swap(order_id_, other->order_id_);
|
|
|
- swap(task_type_, other->task_type_);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata WaimaiOrderTask::GetMetadata() const {
|
|
|
- protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-// ===================================================================
|
|
|
-
|
|
|
-void PathPlanningReply::InitAsDefaultInstance() {
|
|
|
-}
|
|
|
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-const int PathPlanningReply::kStatusFieldNumber;
|
|
|
-const int PathPlanningReply::kErrMessageFieldNumber;
|
|
|
-const int PathPlanningReply::kMBestDesFieldNumber;
|
|
|
-const int PathPlanningReply::kGroupIdFieldNumber;
|
|
|
-const int PathPlanningReply::kDeliverymanIdFieldNumber;
|
|
|
-const int PathPlanningReply::kDeliverymanNumFieldNumber;
|
|
|
-const int PathPlanningReply::kOrderNumFieldNumber;
|
|
|
-const int PathPlanningReply::kRequestTypeFieldNumber;
|
|
|
-const int PathPlanningReply::kBestRoadFieldNumber;
|
|
|
-const int PathPlanningReply::kGroupCodeFieldNumber;
|
|
|
-#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
|
|
-
|
|
|
-PathPlanningReply::PathPlanningReply()
|
|
|
- : ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- ::google::protobuf::internal::InitSCC(
|
|
|
- &protobuf_PathPlanning_2eproto::scc_info_PathPlanningReply.base);
|
|
|
- SharedCtor();
|
|
|
- // @@protoc_insertion_point(constructor:pathplanning.PathPlanningReply)
|
|
|
-}
|
|
|
-PathPlanningReply::PathPlanningReply(const PathPlanningReply& from)
|
|
|
- : ::google::protobuf::Message(),
|
|
|
- _internal_metadata_(NULL),
|
|
|
- bestroad_(from.bestroad_) {
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.status().size() > 0) {
|
|
|
- status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
|
|
|
- }
|
|
|
- err_message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- if (from.err_message().size() > 0) {
|
|
|
- err_message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.err_message_);
|
|
|
- }
|
|
|
- ::memcpy(&m_bestdes_, &from.m_bestdes_,
|
|
|
- static_cast<size_t>(reinterpret_cast<char*>(&group_code_) -
|
|
|
- reinterpret_cast<char*>(&m_bestdes_)) + sizeof(group_code_));
|
|
|
- // @@protoc_insertion_point(copy_constructor:pathplanning.PathPlanningReply)
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::SharedCtor() {
|
|
|
- status_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- err_message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&m_bestdes_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&group_code_) -
|
|
|
- reinterpret_cast<char*>(&m_bestdes_)) + sizeof(group_code_));
|
|
|
-}
|
|
|
-
|
|
|
-PathPlanningReply::~PathPlanningReply() {
|
|
|
- // @@protoc_insertion_point(destructor:pathplanning.PathPlanningReply)
|
|
|
- SharedDtor();
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::SharedDtor() {
|
|
|
- status_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- err_message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::SetCachedSize(int size) const {
|
|
|
- _cached_size_.Set(size);
|
|
|
-}
|
|
|
-const ::google::protobuf::Descriptor* PathPlanningReply::descriptor() {
|
|
|
- ::protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
|
|
|
-}
|
|
|
-
|
|
|
-const PathPlanningReply& PathPlanningReply::default_instance() {
|
|
|
- ::google::protobuf::internal::InitSCC(&protobuf_PathPlanning_2eproto::scc_info_PathPlanningReply.base);
|
|
|
- return *internal_default_instance();
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-void PathPlanningReply::Clear() {
|
|
|
-// @@protoc_insertion_point(message_clear_start:pathplanning.PathPlanningReply)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- // Prevent compiler warnings about cached_has_bits being unused
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- bestroad_.Clear();
|
|
|
- status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- err_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&m_bestdes_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&group_code_) -
|
|
|
- reinterpret_cast<char*>(&m_bestdes_)) + sizeof(group_code_));
|
|
|
- _internal_metadata_.Clear();
|
|
|
-}
|
|
|
-
|
|
|
-bool PathPlanningReply::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:pathplanning.PathPlanningReply)
|
|
|
- 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 status = 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_status()));
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->status().data(), static_cast<int>(this->status().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
- "pathplanning.PathPlanningReply.status"));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // string err_message = 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_err_message()));
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->err_message().data(), static_cast<int>(this->err_message().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::PARSE,
|
|
|
- "pathplanning.PathPlanningReply.err_message"));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // double m_bestDes = 3;
|
|
|
- case 3: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
|
|
|
- input, &m_bestdes_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- case 4: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &group_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- case 5: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &deliveryman_id_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- case 6: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &deliveryman_num_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- case 7: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &order_num_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 8;
|
|
|
- case 8: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &request_type_)));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrderTask bestRoad = 9;
|
|
|
- case 9: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
|
|
|
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
|
|
|
- input, add_bestroad()));
|
|
|
- } else {
|
|
|
- goto handle_unusual;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- case 10: {
|
|
|
- if (static_cast< ::google::protobuf::uint8>(tag) ==
|
|
|
- static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {
|
|
|
-
|
|
|
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
|
|
|
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
|
|
|
- input, &group_code_)));
|
|
|
- } 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:pathplanning.PathPlanningReply)
|
|
|
- return true;
|
|
|
-failure:
|
|
|
- // @@protoc_insertion_point(parse_failure:pathplanning.PathPlanningReply)
|
|
|
- return false;
|
|
|
-#undef DO_
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::SerializeWithCachedSizes(
|
|
|
- ::google::protobuf::io::CodedOutputStream* output) const {
|
|
|
- // @@protoc_insertion_point(serialize_start:pathplanning.PathPlanningReply)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // string status = 1;
|
|
|
- if (this->status().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->status().data(), static_cast<int>(this->status().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningReply.status");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 1, this->status(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // string err_message = 2;
|
|
|
- if (this->err_message().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->err_message().data(), static_cast<int>(this->err_message().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningReply.err_message");
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
|
|
|
- 2, this->err_message(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // double m_bestDes = 3;
|
|
|
- if (this->m_bestdes() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteDouble(3, this->m_bestdes(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->group_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->deliveryman_id(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->deliveryman_num(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->order_num(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 8;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->request_type(), output);
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrderTask bestRoad = 9;
|
|
|
- for (unsigned int i = 0,
|
|
|
- n = static_cast<unsigned int>(this->bestroad_size()); i < n; i++) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 9,
|
|
|
- this->bestroad(static_cast<int>(i)),
|
|
|
- output);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->group_code(), 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:pathplanning.PathPlanningReply)
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::uint8* PathPlanningReply::InternalSerializeWithCachedSizesToArray(
|
|
|
- bool deterministic, ::google::protobuf::uint8* target) const {
|
|
|
- (void)deterministic; // Unused
|
|
|
- // @@protoc_insertion_point(serialize_to_array_start:pathplanning.PathPlanningReply)
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- // string status = 1;
|
|
|
- if (this->status().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->status().data(), static_cast<int>(this->status().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningReply.status");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 1, this->status(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // string err_message = 2;
|
|
|
- if (this->err_message().size() > 0) {
|
|
|
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
|
- this->err_message().data(), static_cast<int>(this->err_message().length()),
|
|
|
- ::google::protobuf::internal::WireFormatLite::SERIALIZE,
|
|
|
- "pathplanning.PathPlanningReply.err_message");
|
|
|
- target =
|
|
|
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
|
|
|
- 2, this->err_message(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // double m_bestDes = 3;
|
|
|
- if (this->m_bestdes() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(3, this->m_bestdes(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->group_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->deliveryman_id(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->deliveryman_num(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->order_num(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 8;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->request_type(), target);
|
|
|
- }
|
|
|
-
|
|
|
- // repeated .pathplanning.WaimaiOrderTask bestRoad = 9;
|
|
|
- for (unsigned int i = 0,
|
|
|
- n = static_cast<unsigned int>(this->bestroad_size()); i < n; i++) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::
|
|
|
- InternalWriteMessageToArray(
|
|
|
- 9, this->bestroad(static_cast<int>(i)), deterministic, target);
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->group_code(), 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:pathplanning.PathPlanningReply)
|
|
|
- return target;
|
|
|
-}
|
|
|
-
|
|
|
-size_t PathPlanningReply::ByteSizeLong() const {
|
|
|
-// @@protoc_insertion_point(message_byte_size_start:pathplanning.PathPlanningReply)
|
|
|
- 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 .pathplanning.WaimaiOrderTask bestRoad = 9;
|
|
|
- {
|
|
|
- unsigned int count = static_cast<unsigned int>(this->bestroad_size());
|
|
|
- total_size += 1UL * count;
|
|
|
- for (unsigned int i = 0; i < count; i++) {
|
|
|
- total_size +=
|
|
|
- ::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- this->bestroad(static_cast<int>(i)));
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- // string status = 1;
|
|
|
- if (this->status().size() > 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->status());
|
|
|
- }
|
|
|
-
|
|
|
- // string err_message = 2;
|
|
|
- if (this->err_message().size() > 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
|
- this->err_message());
|
|
|
- }
|
|
|
-
|
|
|
- // double m_bestDes = 3;
|
|
|
- if (this->m_bestdes() != 0) {
|
|
|
- total_size += 1 + 8;
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_id = 4;
|
|
|
- if (this->group_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->group_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_id = 5;
|
|
|
- if (this->deliveryman_id() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->deliveryman_id());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 deliveryman_num = 6;
|
|
|
- if (this->deliveryman_num() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->deliveryman_num());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 order_num = 7;
|
|
|
- if (this->order_num() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->order_num());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 request_type = 8;
|
|
|
- if (this->request_type() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->request_type());
|
|
|
- }
|
|
|
-
|
|
|
- // int32 group_code = 10;
|
|
|
- if (this->group_code() != 0) {
|
|
|
- total_size += 1 +
|
|
|
- ::google::protobuf::internal::WireFormatLite::Int32Size(
|
|
|
- this->group_code());
|
|
|
- }
|
|
|
-
|
|
|
- int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- SetCachedSize(cached_size);
|
|
|
- return total_size;
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::MergeFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_merge_from_start:pathplanning.PathPlanningReply)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- const PathPlanningReply* source =
|
|
|
- ::google::protobuf::internal::DynamicCastToGenerated<const PathPlanningReply>(
|
|
|
- &from);
|
|
|
- if (source == NULL) {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:pathplanning.PathPlanningReply)
|
|
|
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
|
|
- } else {
|
|
|
- // @@protoc_insertion_point(generalized_merge_from_cast_success:pathplanning.PathPlanningReply)
|
|
|
- MergeFrom(*source);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::MergeFrom(const PathPlanningReply& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_merge_from_start:pathplanning.PathPlanningReply)
|
|
|
- GOOGLE_DCHECK_NE(&from, this);
|
|
|
- _internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
- ::google::protobuf::uint32 cached_has_bits = 0;
|
|
|
- (void) cached_has_bits;
|
|
|
-
|
|
|
- bestroad_.MergeFrom(from.bestroad_);
|
|
|
- if (from.status().size() > 0) {
|
|
|
-
|
|
|
- status_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.status_);
|
|
|
- }
|
|
|
- if (from.err_message().size() > 0) {
|
|
|
-
|
|
|
- err_message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.err_message_);
|
|
|
- }
|
|
|
- if (from.m_bestdes() != 0) {
|
|
|
- set_m_bestdes(from.m_bestdes());
|
|
|
- }
|
|
|
- if (from.group_id() != 0) {
|
|
|
- set_group_id(from.group_id());
|
|
|
- }
|
|
|
- if (from.deliveryman_id() != 0) {
|
|
|
- set_deliveryman_id(from.deliveryman_id());
|
|
|
- }
|
|
|
- if (from.deliveryman_num() != 0) {
|
|
|
- set_deliveryman_num(from.deliveryman_num());
|
|
|
- }
|
|
|
- if (from.order_num() != 0) {
|
|
|
- set_order_num(from.order_num());
|
|
|
- }
|
|
|
- if (from.request_type() != 0) {
|
|
|
- set_request_type(from.request_type());
|
|
|
- }
|
|
|
- if (from.group_code() != 0) {
|
|
|
- set_group_code(from.group_code());
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::CopyFrom(const ::google::protobuf::Message& from) {
|
|
|
-// @@protoc_insertion_point(generalized_copy_from_start:pathplanning.PathPlanningReply)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::CopyFrom(const PathPlanningReply& from) {
|
|
|
-// @@protoc_insertion_point(class_specific_copy_from_start:pathplanning.PathPlanningReply)
|
|
|
- if (&from == this) return;
|
|
|
- Clear();
|
|
|
- MergeFrom(from);
|
|
|
-}
|
|
|
-
|
|
|
-bool PathPlanningReply::IsInitialized() const {
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-void PathPlanningReply::Swap(PathPlanningReply* other) {
|
|
|
- if (other == this) return;
|
|
|
- InternalSwap(other);
|
|
|
-}
|
|
|
-void PathPlanningReply::InternalSwap(PathPlanningReply* other) {
|
|
|
- using std::swap;
|
|
|
- CastToBase(&bestroad_)->InternalSwap(CastToBase(&other->bestroad_));
|
|
|
- status_.Swap(&other->status_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- GetArenaNoVirtual());
|
|
|
- err_message_.Swap(&other->err_message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
- GetArenaNoVirtual());
|
|
|
- swap(m_bestdes_, other->m_bestdes_);
|
|
|
- swap(group_id_, other->group_id_);
|
|
|
- swap(deliveryman_id_, other->deliveryman_id_);
|
|
|
- swap(deliveryman_num_, other->deliveryman_num_);
|
|
|
- swap(order_num_, other->order_num_);
|
|
|
- swap(request_type_, other->request_type_);
|
|
|
- swap(group_code_, other->group_code_);
|
|
|
- _internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
-}
|
|
|
-
|
|
|
-::google::protobuf::Metadata PathPlanningReply::GetMetadata() const {
|
|
|
- protobuf_PathPlanning_2eproto::protobuf_AssignDescriptorsOnce();
|
|
|
- return ::protobuf_PathPlanning_2eproto::file_level_metadata[kIndexInFileMessages];
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-// @@protoc_insertion_point(namespace_scope)
|
|
|
-} // namespace pathplanning
|
|
|
-namespace google {
|
|
|
-namespace protobuf {
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::pathplanning::WaimaiOrder* Arena::CreateMaybeMessage< ::pathplanning::WaimaiOrder >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::pathplanning::WaimaiOrder >(arena);
|
|
|
-}
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::pathplanning::PathPlanningRequest* Arena::CreateMaybeMessage< ::pathplanning::PathPlanningRequest >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::pathplanning::PathPlanningRequest >(arena);
|
|
|
-}
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::pathplanning::WaimaiOrderTask* Arena::CreateMaybeMessage< ::pathplanning::WaimaiOrderTask >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::pathplanning::WaimaiOrderTask >(arena);
|
|
|
-}
|
|
|
-template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::pathplanning::PathPlanningReply* Arena::CreateMaybeMessage< ::pathplanning::PathPlanningReply >(Arena* arena) {
|
|
|
- return Arena::CreateInternal< ::pathplanning::PathPlanningReply >(arena);
|
|
|
-}
|
|
|
-} // namespace protobuf
|
|
|
-} // namespace google
|
|
|
-
|
|
|
-// @@protoc_insertion_point(global_scope)
|