|
@@ -7,7 +7,6 @@
|
|
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
#include <google/protobuf/stubs/port.h>
|
|
|
-#include <google/protobuf/stubs/once.h>
|
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
|
|
#include <google/protobuf/descriptor.h>
|
|
@@ -19,6 +18,12 @@
|
|
|
#include "third_party/protobuf/version.h"
|
|
|
#endif
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
+
|
|
|
+namespace protobuf_message_5fbase_2eproto {
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Base_info;
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Error_manager;
|
|
|
+extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_5fbase_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Locate_information;
|
|
|
+} // namespace protobuf_message_5fbase_2eproto
|
|
|
namespace message {
|
|
|
class Device_positionDefaultTypeInternal {
|
|
|
public:
|
|
@@ -47,14 +52,9 @@ class Dispatch_response_msgDefaultTypeInternal {
|
|
|
} _Dispatch_response_msg_default_instance_;
|
|
|
} // namespace message
|
|
|
namespace protobuf_dispatch_5fmessage_2eproto {
|
|
|
-void InitDefaultsDevice_positionImpl() {
|
|
|
+static void InitDefaultsDevice_position() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
-#else
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
-#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
{
|
|
|
void* ptr = &::message::_Device_position_default_instance_;
|
|
|
new (ptr) ::message::Device_position();
|
|
@@ -63,20 +63,12 @@ void InitDefaultsDevice_positionImpl() {
|
|
|
::message::Device_position::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsDevice_position() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDevice_positionImpl);
|
|
|
-}
|
|
|
+::google::protobuf::internal::SCCInfo<0> scc_info_Device_position =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDevice_position}, {}};
|
|
|
|
|
|
-void InitDefaultsDispatch_manager_status_msgImpl() {
|
|
|
+static void InitDefaultsDispatch_manager_status_msg() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
-#else
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
-#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
{
|
|
|
void* ptr = &::message::_Dispatch_manager_status_msg_default_instance_;
|
|
|
new (ptr) ::message::Dispatch_manager_status_msg();
|
|
@@ -85,20 +77,13 @@ void InitDefaultsDispatch_manager_status_msgImpl() {
|
|
|
::message::Dispatch_manager_status_msg::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsDispatch_manager_status_msg() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_manager_status_msgImpl);
|
|
|
-}
|
|
|
+::google::protobuf::internal::SCCInfo<1> scc_info_Dispatch_manager_status_msg =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDispatch_manager_status_msg}, {
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,}};
|
|
|
|
|
|
-void InitDefaultsDispatch_terminal_status_msgImpl() {
|
|
|
+static void InitDefaultsDispatch_terminal_status_msg() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
-#else
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
-#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
{
|
|
|
void* ptr = &::message::_Dispatch_terminal_status_msg_default_instance_;
|
|
|
new (ptr) ::message::Dispatch_terminal_status_msg();
|
|
@@ -107,21 +92,13 @@ void InitDefaultsDispatch_terminal_status_msgImpl() {
|
|
|
::message::Dispatch_terminal_status_msg::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsDispatch_terminal_status_msg() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_terminal_status_msgImpl);
|
|
|
-}
|
|
|
+::google::protobuf::internal::SCCInfo<1> scc_info_Dispatch_terminal_status_msg =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDispatch_terminal_status_msg}, {
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,}};
|
|
|
|
|
|
-void InitDefaultsDispatch_request_msgImpl() {
|
|
|
+static void InitDefaultsDispatch_request_msg() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
-#else
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
-#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsLocate_information();
|
|
|
{
|
|
|
void* ptr = &::message::_Dispatch_request_msg_default_instance_;
|
|
|
new (ptr) ::message::Dispatch_request_msg();
|
|
@@ -130,21 +107,14 @@ void InitDefaultsDispatch_request_msgImpl() {
|
|
|
::message::Dispatch_request_msg::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsDispatch_request_msg() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_request_msgImpl);
|
|
|
-}
|
|
|
+::google::protobuf::internal::SCCInfo<2> scc_info_Dispatch_request_msg =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDispatch_request_msg}, {
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Locate_information.base,}};
|
|
|
|
|
|
-void InitDefaultsDispatch_response_msgImpl() {
|
|
|
+static void InitDefaultsDispatch_response_msg() {
|
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
|
|
-#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
|
|
|
-#else
|
|
|
- ::google::protobuf::internal::InitProtobufDefaults();
|
|
|
-#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsBase_info();
|
|
|
- protobuf_message_5fbase_2eproto::InitDefaultsError_manager();
|
|
|
{
|
|
|
void* ptr = &::message::_Dispatch_response_msg_default_instance_;
|
|
|
new (ptr) ::message::Dispatch_response_msg();
|
|
@@ -153,9 +123,17 @@ void InitDefaultsDispatch_response_msgImpl() {
|
|
|
::message::Dispatch_response_msg::InitAsDefaultInstance();
|
|
|
}
|
|
|
|
|
|
-void InitDefaultsDispatch_response_msg() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDispatch_response_msgImpl);
|
|
|
+::google::protobuf::internal::SCCInfo<2> scc_info_Dispatch_response_msg =
|
|
|
+ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDispatch_response_msg}, {
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Base_info.base,
|
|
|
+ &protobuf_message_5fbase_2eproto::scc_info_Error_manager.base,}};
|
|
|
+
|
|
|
+void InitDefaults() {
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_Device_position.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_Dispatch_manager_status_msg.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_Dispatch_terminal_status_msg.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_Dispatch_request_msg.base);
|
|
|
+ ::google::protobuf::internal::InitSCC(&scc_info_Dispatch_response_msg.base);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata file_level_metadata[5];
|
|
@@ -252,15 +230,14 @@ static ::google::protobuf::Message const * const file_default_instances[] = {
|
|
|
|
|
|
void protobuf_AssignDescriptors() {
|
|
|
AddDescriptors();
|
|
|
- ::google::protobuf::MessageFactory* factory = NULL;
|
|
|
AssignDescriptors(
|
|
|
- "dispatch_message.proto", schemas, file_default_instances, TableStruct::offsets, factory,
|
|
|
+ "dispatch_message.proto", schemas, file_default_instances, TableStruct::offsets,
|
|
|
file_level_metadata, file_level_enum_descriptors, NULL);
|
|
|
}
|
|
|
|
|
|
void protobuf_AssignDescriptorsOnce() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
|
|
|
+ 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;
|
|
@@ -332,8 +309,8 @@ void AddDescriptorsImpl() {
|
|
|
}
|
|
|
|
|
|
void AddDescriptors() {
|
|
|
- static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
|
|
|
- ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
|
|
|
+ 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 {
|
|
@@ -487,17 +464,15 @@ const int Device_position::kZFieldNumber;
|
|
|
|
|
|
Device_position::Device_position()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDevice_position();
|
|
|
- }
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_dispatch_5fmessage_2eproto::scc_info_Device_position.base);
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:message.Device_position)
|
|
|
}
|
|
|
Device_position::Device_position(const Device_position& from)
|
|
|
: ::google::protobuf::Message(),
|
|
|
_internal_metadata_(NULL),
|
|
|
- _has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0) {
|
|
|
+ _has_bits_(from._has_bits_) {
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
::memcpy(&x_, &from.x_,
|
|
|
static_cast<size_t>(reinterpret_cast<char*>(&z_) -
|
|
@@ -506,7 +481,6 @@ Device_position::Device_position(const Device_position& from)
|
|
|
}
|
|
|
|
|
|
void Device_position::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
::memset(&x_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&z_) -
|
|
|
reinterpret_cast<char*>(&x_)) + sizeof(z_));
|
|
@@ -521,9 +495,7 @@ void Device_position::SharedDtor() {
|
|
|
}
|
|
|
|
|
|
void Device_position::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ _cached_size_.Set(size);
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* Device_position::descriptor() {
|
|
|
::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
@@ -531,17 +503,10 @@ const ::google::protobuf::Descriptor* Device_position::descriptor() {
|
|
|
}
|
|
|
|
|
|
const Device_position& Device_position::default_instance() {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDevice_position();
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_dispatch_5fmessage_2eproto::scc_info_Device_position.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
-Device_position* Device_position::New(::google::protobuf::Arena* arena) const {
|
|
|
- Device_position* n = new Device_position;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
|
|
|
void Device_position::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:message.Device_position)
|
|
@@ -565,7 +530,7 @@ bool Device_position::MergePartialFromCodedStream(
|
|
|
::google::protobuf::uint32 tag;
|
|
|
// @@protoc_insertion_point(parse_start:message.Device_position)
|
|
|
for (;;) {
|
|
|
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::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)) {
|
|
@@ -735,9 +700,7 @@ size_t Device_position::ByteSizeLong() const {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
@@ -808,7 +771,6 @@ void Device_position::InternalSwap(Device_position* other) {
|
|
|
swap(z_, other->z_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata Device_position::GetMetadata() const {
|
|
@@ -839,9 +801,8 @@ const int Dispatch_manager_status_msg::kPassagewayStatusFieldNumber;
|
|
|
|
|
|
Dispatch_manager_status_msg::Dispatch_manager_status_msg()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_status_msg();
|
|
|
- }
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_manager_status_msg.base);
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:message.Dispatch_manager_status_msg)
|
|
|
}
|
|
@@ -849,7 +810,6 @@ Dispatch_manager_status_msg::Dispatch_manager_status_msg(const Dispatch_manager_
|
|
|
: ::google::protobuf::Message(),
|
|
|
_internal_metadata_(NULL),
|
|
|
_has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0),
|
|
|
catcher_status_(from.catcher_status_),
|
|
|
carrier_status_(from.carrier_status_),
|
|
|
elevator_status_(from.elevator_status_),
|
|
@@ -867,7 +827,6 @@ Dispatch_manager_status_msg::Dispatch_manager_status_msg(const Dispatch_manager_
|
|
|
}
|
|
|
|
|
|
void Dispatch_manager_status_msg::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&dispatch_manager_status_) -
|
|
|
reinterpret_cast<char*>(&base_info_)) + sizeof(dispatch_manager_status_));
|
|
@@ -883,9 +842,7 @@ void Dispatch_manager_status_msg::SharedDtor() {
|
|
|
}
|
|
|
|
|
|
void Dispatch_manager_status_msg::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ _cached_size_.Set(size);
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* Dispatch_manager_status_msg::descriptor() {
|
|
|
::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
@@ -893,17 +850,10 @@ const ::google::protobuf::Descriptor* Dispatch_manager_status_msg::descriptor()
|
|
|
}
|
|
|
|
|
|
const Dispatch_manager_status_msg& Dispatch_manager_status_msg::default_instance() {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_manager_status_msg();
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_manager_status_msg.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
-Dispatch_manager_status_msg* Dispatch_manager_status_msg::New(::google::protobuf::Arena* arena) const {
|
|
|
- Dispatch_manager_status_msg* n = new Dispatch_manager_status_msg;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
|
|
|
void Dispatch_manager_status_msg::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:message.Dispatch_manager_status_msg)
|
|
@@ -935,7 +885,7 @@ bool Dispatch_manager_status_msg::MergePartialFromCodedStream(
|
|
|
::google::protobuf::uint32 tag;
|
|
|
// @@protoc_insertion_point(parse_start:message.Dispatch_manager_status_msg)
|
|
|
for (;;) {
|
|
|
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::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)) {
|
|
@@ -1131,7 +1081,7 @@ void Dispatch_manager_status_msg::SerializeWithCachedSizes(
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 1, *this->base_info_, output);
|
|
|
+ 1, this->_internal_base_info(), output);
|
|
|
}
|
|
|
|
|
|
// required int32 dispatch_id = 2;
|
|
@@ -1188,7 +1138,7 @@ void Dispatch_manager_status_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 1, *this->base_info_, deterministic, target);
|
|
|
+ 1, this->_internal_base_info(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required int32 dispatch_id = 2;
|
|
@@ -1234,7 +1184,7 @@ size_t Dispatch_manager_status_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
}
|
|
|
|
|
|
if (has_dispatch_id()) {
|
|
@@ -1265,7 +1215,7 @@ size_t Dispatch_manager_status_msg::ByteSizeLong() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
|
|
|
// required int32 dispatch_id = 2;
|
|
|
total_size += 1 +
|
|
@@ -1320,9 +1270,7 @@ size_t Dispatch_manager_status_msg::ByteSizeLong() const {
|
|
|
}
|
|
|
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
@@ -1404,7 +1352,6 @@ void Dispatch_manager_status_msg::InternalSwap(Dispatch_manager_status_msg* othe
|
|
|
swap(dispatch_manager_status_, other->dispatch_manager_status_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata Dispatch_manager_status_msg::GetMetadata() const {
|
|
@@ -1432,17 +1379,15 @@ const int Dispatch_terminal_status_msg::kPassagewayDirectionFieldNumber;
|
|
|
|
|
|
Dispatch_terminal_status_msg::Dispatch_terminal_status_msg()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_terminal_status_msg();
|
|
|
- }
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_terminal_status_msg.base);
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:message.Dispatch_terminal_status_msg)
|
|
|
}
|
|
|
Dispatch_terminal_status_msg::Dispatch_terminal_status_msg(const Dispatch_terminal_status_msg& from)
|
|
|
: ::google::protobuf::Message(),
|
|
|
_internal_metadata_(NULL),
|
|
|
- _has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0) {
|
|
|
+ _has_bits_(from._has_bits_) {
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
if (from.has_base_info()) {
|
|
|
base_info_ = new ::message::Base_info(*from.base_info_);
|
|
@@ -1456,7 +1401,6 @@ Dispatch_terminal_status_msg::Dispatch_terminal_status_msg(const Dispatch_termin
|
|
|
}
|
|
|
|
|
|
void Dispatch_terminal_status_msg::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&passageway_direction_) -
|
|
|
reinterpret_cast<char*>(&base_info_)) + sizeof(passageway_direction_));
|
|
@@ -1472,9 +1416,7 @@ void Dispatch_terminal_status_msg::SharedDtor() {
|
|
|
}
|
|
|
|
|
|
void Dispatch_terminal_status_msg::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ _cached_size_.Set(size);
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* Dispatch_terminal_status_msg::descriptor() {
|
|
|
::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
@@ -1482,17 +1424,10 @@ const ::google::protobuf::Descriptor* Dispatch_terminal_status_msg::descriptor()
|
|
|
}
|
|
|
|
|
|
const Dispatch_terminal_status_msg& Dispatch_terminal_status_msg::default_instance() {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_terminal_status_msg();
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_terminal_status_msg.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
-Dispatch_terminal_status_msg* Dispatch_terminal_status_msg::New(::google::protobuf::Arena* arena) const {
|
|
|
- Dispatch_terminal_status_msg* n = new Dispatch_terminal_status_msg;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
|
|
|
void Dispatch_terminal_status_msg::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:message.Dispatch_terminal_status_msg)
|
|
@@ -1520,7 +1455,7 @@ bool Dispatch_terminal_status_msg::MergePartialFromCodedStream(
|
|
|
::google::protobuf::uint32 tag;
|
|
|
// @@protoc_insertion_point(parse_start:message.Dispatch_terminal_status_msg)
|
|
|
for (;;) {
|
|
|
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::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)) {
|
|
@@ -1620,7 +1555,7 @@ void Dispatch_terminal_status_msg::SerializeWithCachedSizes(
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 1, *this->base_info_, output);
|
|
|
+ 1, this->_internal_base_info(), output);
|
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 2;
|
|
@@ -1659,7 +1594,7 @@ void Dispatch_terminal_status_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 1, *this->base_info_, deterministic, target);
|
|
|
+ 1, this->_internal_base_info(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required int32 terminal_id = 2;
|
|
@@ -1695,7 +1630,7 @@ size_t Dispatch_terminal_status_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
}
|
|
|
|
|
|
if (has_terminal_id()) {
|
|
@@ -1732,7 +1667,7 @@ size_t Dispatch_terminal_status_msg::ByteSizeLong() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
|
|
|
// required int32 terminal_id = 2;
|
|
|
total_size += 1 +
|
|
@@ -1751,9 +1686,7 @@ size_t Dispatch_terminal_status_msg::ByteSizeLong() const {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
@@ -1831,7 +1764,6 @@ void Dispatch_terminal_status_msg::InternalSwap(Dispatch_terminal_status_msg* ot
|
|
|
swap(passageway_direction_, other->passageway_direction_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata Dispatch_terminal_status_msg::GetMetadata() const {
|
|
@@ -1867,17 +1799,15 @@ const int Dispatch_request_msg::kLocateInformationFieldNumber;
|
|
|
|
|
|
Dispatch_request_msg::Dispatch_request_msg()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msg();
|
|
|
- }
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_request_msg.base);
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:message.Dispatch_request_msg)
|
|
|
}
|
|
|
Dispatch_request_msg::Dispatch_request_msg(const Dispatch_request_msg& from)
|
|
|
: ::google::protobuf::Message(),
|
|
|
_internal_metadata_(NULL),
|
|
|
- _has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0) {
|
|
|
+ _has_bits_(from._has_bits_) {
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
if (from.has_command_key()) {
|
|
@@ -1900,7 +1830,6 @@ Dispatch_request_msg::Dispatch_request_msg(const Dispatch_request_msg& from)
|
|
|
}
|
|
|
|
|
|
void Dispatch_request_msg::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&parkspace_id_) -
|
|
@@ -1919,9 +1848,7 @@ void Dispatch_request_msg::SharedDtor() {
|
|
|
}
|
|
|
|
|
|
void Dispatch_request_msg::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ _cached_size_.Set(size);
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* Dispatch_request_msg::descriptor() {
|
|
|
::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
@@ -1929,17 +1856,10 @@ const ::google::protobuf::Descriptor* Dispatch_request_msg::descriptor() {
|
|
|
}
|
|
|
|
|
|
const Dispatch_request_msg& Dispatch_request_msg::default_instance() {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_request_msg();
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_request_msg.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
-Dispatch_request_msg* Dispatch_request_msg::New(::google::protobuf::Arena* arena) const {
|
|
|
- Dispatch_request_msg* n = new Dispatch_request_msg;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
|
|
|
void Dispatch_request_msg::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:message.Dispatch_request_msg)
|
|
@@ -1950,8 +1870,7 @@ void Dispatch_request_msg::Clear() {
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
if (cached_has_bits & 7u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
- GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
- (*command_key_.UnsafeRawStringPointer())->clear();
|
|
|
+ command_key_.ClearNonDefaultToEmptyNoArena();
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
GOOGLE_DCHECK(base_info_ != NULL);
|
|
@@ -1977,7 +1896,7 @@ bool Dispatch_request_msg::MergePartialFromCodedStream(
|
|
|
::google::protobuf::uint32 tag;
|
|
|
// @@protoc_insertion_point(parse_start:message.Dispatch_request_msg)
|
|
|
for (;;) {
|
|
|
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::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)) {
|
|
@@ -2099,7 +2018,7 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 1, *this->base_info_, output);
|
|
|
+ 1, this->_internal_base_info(), output);
|
|
|
}
|
|
|
|
|
|
// required string command_key = 2;
|
|
@@ -2131,7 +2050,7 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
|
// optional .message.Locate_information locate_information = 6;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 6, *this->locate_information_, output);
|
|
|
+ 6, this->_internal_locate_information(), output);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -2153,7 +2072,7 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 1, *this->base_info_, deterministic, target);
|
|
|
+ 1, this->_internal_base_info(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required string command_key = 2;
|
|
@@ -2187,7 +2106,7 @@ void Dispatch_request_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 6, *this->locate_information_, deterministic, target);
|
|
|
+ 6, this->_internal_locate_information(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -2213,7 +2132,7 @@ size_t Dispatch_request_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
}
|
|
|
|
|
|
if (has_dispatch_motion_direction()) {
|
|
@@ -2256,7 +2175,7 @@ size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
|
|
|
// required .message.Dispatch_motion_direction dispatch_motion_direction = 3;
|
|
|
total_size += 1 +
|
|
@@ -2279,13 +2198,11 @@ size_t Dispatch_request_msg::ByteSizeLong() const {
|
|
|
if (has_locate_information()) {
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->locate_information_);
|
|
|
+ *locate_information_);
|
|
|
}
|
|
|
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
@@ -2364,7 +2281,8 @@ void Dispatch_request_msg::Swap(Dispatch_request_msg* other) {
|
|
|
}
|
|
|
void Dispatch_request_msg::InternalSwap(Dispatch_request_msg* other) {
|
|
|
using std::swap;
|
|
|
- command_key_.Swap(&other->command_key_);
|
|
|
+ command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
swap(base_info_, other->base_info_);
|
|
|
swap(locate_information_, other->locate_information_);
|
|
|
swap(dispatch_motion_direction_, other->dispatch_motion_direction_);
|
|
@@ -2372,7 +2290,6 @@ void Dispatch_request_msg::InternalSwap(Dispatch_request_msg* other) {
|
|
|
swap(parkspace_id_, other->parkspace_id_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata Dispatch_request_msg::GetMetadata() const {
|
|
@@ -2405,17 +2322,15 @@ const int Dispatch_response_msg::kErrorManagerFieldNumber;
|
|
|
|
|
|
Dispatch_response_msg::Dispatch_response_msg()
|
|
|
: ::google::protobuf::Message(), _internal_metadata_(NULL) {
|
|
|
- if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msg();
|
|
|
- }
|
|
|
+ ::google::protobuf::internal::InitSCC(
|
|
|
+ &protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_response_msg.base);
|
|
|
SharedCtor();
|
|
|
// @@protoc_insertion_point(constructor:message.Dispatch_response_msg)
|
|
|
}
|
|
|
Dispatch_response_msg::Dispatch_response_msg(const Dispatch_response_msg& from)
|
|
|
: ::google::protobuf::Message(),
|
|
|
_internal_metadata_(NULL),
|
|
|
- _has_bits_(from._has_bits_),
|
|
|
- _cached_size_(0) {
|
|
|
+ _has_bits_(from._has_bits_) {
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
if (from.has_command_key()) {
|
|
@@ -2435,7 +2350,6 @@ Dispatch_response_msg::Dispatch_response_msg(const Dispatch_response_msg& from)
|
|
|
}
|
|
|
|
|
|
void Dispatch_response_msg::SharedCtor() {
|
|
|
- _cached_size_ = 0;
|
|
|
command_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
|
|
::memset(&base_info_, 0, static_cast<size_t>(
|
|
|
reinterpret_cast<char*>(&error_manager_) -
|
|
@@ -2454,9 +2368,7 @@ void Dispatch_response_msg::SharedDtor() {
|
|
|
}
|
|
|
|
|
|
void Dispatch_response_msg::SetCachedSize(int size) const {
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ _cached_size_.Set(size);
|
|
|
}
|
|
|
const ::google::protobuf::Descriptor* Dispatch_response_msg::descriptor() {
|
|
|
::protobuf_dispatch_5fmessage_2eproto::protobuf_AssignDescriptorsOnce();
|
|
@@ -2464,17 +2376,10 @@ const ::google::protobuf::Descriptor* Dispatch_response_msg::descriptor() {
|
|
|
}
|
|
|
|
|
|
const Dispatch_response_msg& Dispatch_response_msg::default_instance() {
|
|
|
- ::protobuf_dispatch_5fmessage_2eproto::InitDefaultsDispatch_response_msg();
|
|
|
+ ::google::protobuf::internal::InitSCC(&protobuf_dispatch_5fmessage_2eproto::scc_info_Dispatch_response_msg.base);
|
|
|
return *internal_default_instance();
|
|
|
}
|
|
|
|
|
|
-Dispatch_response_msg* Dispatch_response_msg::New(::google::protobuf::Arena* arena) const {
|
|
|
- Dispatch_response_msg* n = new Dispatch_response_msg;
|
|
|
- if (arena != NULL) {
|
|
|
- arena->Own(n);
|
|
|
- }
|
|
|
- return n;
|
|
|
-}
|
|
|
|
|
|
void Dispatch_response_msg::Clear() {
|
|
|
// @@protoc_insertion_point(message_clear_start:message.Dispatch_response_msg)
|
|
@@ -2485,8 +2390,7 @@ void Dispatch_response_msg::Clear() {
|
|
|
cached_has_bits = _has_bits_[0];
|
|
|
if (cached_has_bits & 7u) {
|
|
|
if (cached_has_bits & 0x00000001u) {
|
|
|
- GOOGLE_DCHECK(!command_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
|
|
|
- (*command_key_.UnsafeRawStringPointer())->clear();
|
|
|
+ command_key_.ClearNonDefaultToEmptyNoArena();
|
|
|
}
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
GOOGLE_DCHECK(base_info_ != NULL);
|
|
@@ -2507,7 +2411,7 @@ bool Dispatch_response_msg::MergePartialFromCodedStream(
|
|
|
::google::protobuf::uint32 tag;
|
|
|
// @@protoc_insertion_point(parse_start:message.Dispatch_response_msg)
|
|
|
for (;;) {
|
|
|
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
|
|
+ ::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)) {
|
|
@@ -2581,7 +2485,7 @@ void Dispatch_response_msg::SerializeWithCachedSizes(
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 1, *this->base_info_, output);
|
|
|
+ 1, this->_internal_base_info(), output);
|
|
|
}
|
|
|
|
|
|
// required string command_key = 2;
|
|
@@ -2597,7 +2501,7 @@ void Dispatch_response_msg::SerializeWithCachedSizes(
|
|
|
// required .message.Error_manager error_manager = 3;
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
|
|
|
- 3, *this->error_manager_, output);
|
|
|
+ 3, this->_internal_error_manager(), output);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -2619,7 +2523,7 @@ void Dispatch_response_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000002u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 1, *this->base_info_, deterministic, target);
|
|
|
+ 1, this->_internal_base_info(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
// required string command_key = 2;
|
|
@@ -2637,7 +2541,7 @@ void Dispatch_response_msg::SerializeWithCachedSizes(
|
|
|
if (cached_has_bits & 0x00000004u) {
|
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
|
InternalWriteMessageToArray(
|
|
|
- 3, *this->error_manager_, deterministic, target);
|
|
|
+ 3, this->_internal_error_manager(), deterministic, target);
|
|
|
}
|
|
|
|
|
|
if (_internal_metadata_.have_unknown_fields()) {
|
|
@@ -2663,14 +2567,14 @@ size_t Dispatch_response_msg::RequiredFieldsByteSizeFallback() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
}
|
|
|
|
|
|
if (has_error_manager()) {
|
|
|
// required .message.Error_manager error_manager = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->error_manager_);
|
|
|
+ *error_manager_);
|
|
|
}
|
|
|
|
|
|
return total_size;
|
|
@@ -2693,20 +2597,18 @@ size_t Dispatch_response_msg::ByteSizeLong() const {
|
|
|
// required .message.Base_info base_info = 1;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->base_info_);
|
|
|
+ *base_info_);
|
|
|
|
|
|
// required .message.Error_manager error_manager = 3;
|
|
|
total_size += 1 +
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(
|
|
|
- *this->error_manager_);
|
|
|
+ *error_manager_);
|
|
|
|
|
|
} else {
|
|
|
total_size += RequiredFieldsByteSizeFallback();
|
|
|
}
|
|
|
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
|
|
- _cached_size_ = cached_size;
|
|
|
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
|
|
+ SetCachedSize(cached_size);
|
|
|
return total_size;
|
|
|
}
|
|
|
|
|
@@ -2778,12 +2680,12 @@ void Dispatch_response_msg::Swap(Dispatch_response_msg* other) {
|
|
|
}
|
|
|
void Dispatch_response_msg::InternalSwap(Dispatch_response_msg* other) {
|
|
|
using std::swap;
|
|
|
- command_key_.Swap(&other->command_key_);
|
|
|
+ command_key_.Swap(&other->command_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
|
|
+ GetArenaNoVirtual());
|
|
|
swap(base_info_, other->base_info_);
|
|
|
swap(error_manager_, other->error_manager_);
|
|
|
swap(_has_bits_[0], other->_has_bits_[0]);
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_);
|
|
|
- swap(_cached_size_, other->_cached_size_);
|
|
|
}
|
|
|
|
|
|
::google::protobuf::Metadata Dispatch_response_msg::GetMetadata() const {
|
|
@@ -2794,5 +2696,24 @@ void Dispatch_response_msg::InternalSwap(Dispatch_response_msg* other) {
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
} // namespace message
|
|
|
+namespace google {
|
|
|
+namespace protobuf {
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Device_position* Arena::CreateMaybeMessage< ::message::Device_position >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::Device_position >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Dispatch_manager_status_msg* Arena::CreateMaybeMessage< ::message::Dispatch_manager_status_msg >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::Dispatch_manager_status_msg >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Dispatch_terminal_status_msg* Arena::CreateMaybeMessage< ::message::Dispatch_terminal_status_msg >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::Dispatch_terminal_status_msg >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Dispatch_request_msg* Arena::CreateMaybeMessage< ::message::Dispatch_request_msg >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::Dispatch_request_msg >(arena);
|
|
|
+}
|
|
|
+template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::message::Dispatch_response_msg* Arena::CreateMaybeMessage< ::message::Dispatch_response_msg >(Arena* arena) {
|
|
|
+ return Arena::CreateInternal< ::message::Dispatch_response_msg >(arena);
|
|
|
+}
|
|
|
+} // namespace protobuf
|
|
|
+} // namespace google
|
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|