// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: device/v3/device-c.proto // Protobuf C++ Version: 5.27.1 #include "device/v3/device-c.pb.h" #include #include #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/generated_message_tctable_impl.h" #include "google/protobuf/extension_set.h" #include "google/protobuf/wire_format_lite.h" #include "google/protobuf/descriptor.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/reflection_ops.h" #include "google/protobuf/wire_format.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" PROTOBUF_PRAGMA_INIT_SEG namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace Device { namespace V3 { inline constexpr OpenRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : deviceuri_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), devicegroup_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR OpenRequest::OpenRequest(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct OpenRequestDefaultTypeInternal { PROTOBUF_CONSTEXPR OpenRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~OpenRequestDefaultTypeInternal() {} union { OpenRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpenRequestDefaultTypeInternal _OpenRequest_default_instance_; inline constexpr OpenReply::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : message_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), retcode_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), retcontext_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR OpenReply::OpenReply(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct OpenReplyDefaultTypeInternal { PROTOBUF_CONSTEXPR OpenReplyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~OpenReplyDefaultTypeInternal() {} union { OpenReply _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpenReplyDefaultTypeInternal _OpenReply_default_instance_; inline constexpr DoResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : deviceuri_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), retcode_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqname_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), respresult_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqtransaction_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), retcontext_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR DoResponse::DoResponse(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct DoResponseDefaultTypeInternal { PROTOBUF_CONSTEXPR DoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~DoResponseDefaultTypeInternal() {} union { DoResponse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoResponseDefaultTypeInternal _DoResponse_default_instance_; inline constexpr DoRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : deviceuri_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqname_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqparam_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqtransaction_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), reqclientid_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR DoRequest::DoRequest(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct DoRequestDefaultTypeInternal { PROTOBUF_CONSTEXPR DoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~DoRequestDefaultTypeInternal() {} union { DoRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoRequestDefaultTypeInternal _DoRequest_default_instance_; } // namespace V3 } // namespace Device static constexpr const ::_pb::EnumDescriptor** file_level_enum_descriptors_device_2fv3_2fdevice_2dc_2eproto = nullptr; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_device_2fv3_2fdevice_2dc_2eproto = nullptr; const ::uint32_t TableStruct_device_2fv3_2fdevice_2dc_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _impl_.deviceuri_), PROTOBUF_FIELD_OFFSET(::Device::V3::OpenRequest, _impl_.devicegroup_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.message_), PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.retcode_), PROTOBUF_FIELD_OFFSET(::Device::V3::OpenReply, _impl_.retcontext_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.deviceuri_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqname_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqparam_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqtransaction_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoRequest, _impl_.reqclientid_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.deviceuri_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.retcode_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.reqname_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.respresult_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.reqtransaction_), PROTOBUF_FIELD_OFFSET(::Device::V3::DoResponse, _impl_.retcontext_), }; static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { {0, -1, -1, sizeof(::Device::V3::OpenRequest)}, {10, -1, -1, sizeof(::Device::V3::OpenReply)}, {21, -1, -1, sizeof(::Device::V3::DoRequest)}, {34, -1, -1, sizeof(::Device::V3::DoResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { &::Device::V3::_OpenRequest_default_instance_._instance, &::Device::V3::_OpenReply_default_instance_._instance, &::Device::V3::_DoRequest_default_instance_._instance, &::Device::V3::_DoResponse_default_instance_._instance, }; const char descriptor_table_protodef_device_2fv3_2fdevice_2dc_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { "\n\030device/v3/device-c.proto\022\tDevice.V3\"5\n" "\013OpenRequest\022\021\n\tdeviceUri\030\001 \001(\t\022\023\n\013devic" "eGroup\030\002 \001(\t\"A\n\tOpenReply\022\017\n\007message\030\001 \001" "(\t\022\017\n\007retCode\030\002 \001(\t\022\022\n\nretContext\030\003 \001(\t\"" "n\n\tDoRequest\022\021\n\tdeviceUri\030\001 \001(\t\022\017\n\007reqNa" "me\030\002 \001(\t\022\020\n\010reqParam\030\003 \001(\t\022\026\n\016reqTransac" "tion\030\004 \001(\t\022\023\n\013reqClientID\030\005 \001(\t\"\201\001\n\nDoRe" "sponse\022\021\n\tdeviceUri\030\001 \001(\t\022\017\n\007retCode\030\002 \001" "(\t\022\017\n\007reqName\030\003 \001(\t\022\022\n\nrespResult\030\004 \001(\t\022" "\026\n\016reqTransaction\030\005 \001(\t\022\022\n\nretContext\030\006 " "\001(\t2\375\003\n\006Device\0226\n\004Open\022\026.Device.V3.OpenR" "equest\032\024.Device.V3.OpenReply\"\000\0227\n\005Close\022" "\026.Device.V3.OpenRequest\032\024.Device.V3.Open" "Reply\"\000\0224\n\003Get\022\024.Device.V3.DoRequest\032\025.D" "evice.V3.DoResponse\"\000\0224\n\003Set\022\024.Device.V3" ".DoRequest\032\025.Device.V3.DoResponse\"\000\0227\n\006U" "pdate\022\024.Device.V3.DoRequest\032\025.Device.V3." "DoResponse\"\000\0224\n\003Add\022\024.Device.V3.DoReques" "t\032\025.Device.V3.DoResponse\"\000\0224\n\003Del\022\024.Devi" "ce.V3.DoRequest\032\025.Device.V3.DoResponse\"\000" "\0227\n\006Action\022\024.Device.V3.DoRequest\032\025.Devic" "e.V3.DoResponse\"\000\0228\n\007Message\022\024.Device.V3" ".DoRequest\032\025.Device.V3.DoResponse\"\000b\006pro" "to3" }; static ::absl::once_flag descriptor_table_device_2fv3_2fdevice_2dc_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_device_2fv3_2fdevice_2dc_2eproto = { false, false, 923, descriptor_table_protodef_device_2fv3_2fdevice_2dc_2eproto, "device/v3/device-c.proto", &descriptor_table_device_2fv3_2fdevice_2dc_2eproto_once, nullptr, 0, 4, schemas, file_default_instances, TableStruct_device_2fv3_2fdevice_2dc_2eproto::offsets, file_level_enum_descriptors_device_2fv3_2fdevice_2dc_2eproto, file_level_service_descriptors_device_2fv3_2fdevice_2dc_2eproto, }; namespace Device { namespace V3 { // =================================================================== class OpenRequest::_Internal { public: }; OpenRequest::OpenRequest(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:Device.V3.OpenRequest) } inline PROTOBUF_NDEBUG_INLINE OpenRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::Device::V3::OpenRequest& from_msg) : deviceuri_(arena, from.deviceuri_), devicegroup_(arena, from.devicegroup_), _cached_size_{0} {} OpenRequest::OpenRequest( ::google::protobuf::Arena* arena, const OpenRequest& from) : ::google::protobuf::Message(arena) { OpenRequest* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); // @@protoc_insertion_point(copy_constructor:Device.V3.OpenRequest) } inline PROTOBUF_NDEBUG_INLINE OpenRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : deviceuri_(arena), devicegroup_(arena), _cached_size_{0} {} inline void OpenRequest::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } OpenRequest::~OpenRequest() { // @@protoc_insertion_point(destructor:Device.V3.OpenRequest) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void OpenRequest::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.deviceuri_.Destroy(); _impl_.devicegroup_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* OpenRequest::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_._cached_size_), false, }, &OpenRequest::MergeImpl, &OpenRequest::kDescriptorMethods, &descriptor_table_device_2fv3_2fdevice_2dc_2eproto, nullptr, // tracker }; ::google::protobuf::internal::PrefetchToLocalCache(&_data_); ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table); return _data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 50, 2> OpenRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_OpenRequest_default_instance_._instance, nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::Device::V3::OpenRequest>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // string deviceGroup = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.devicegroup_)}}, // string deviceUri = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.deviceuri_)}}, }}, {{ 65535, 65535 }}, {{ // string deviceUri = 1; {PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.deviceuri_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string deviceGroup = 2; {PROTOBUF_FIELD_OFFSET(OpenRequest, _impl_.devicegroup_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\25\11\13\0\0\0\0\0" "Device.V3.OpenRequest" "deviceUri" "deviceGroup" }}, }; PROTOBUF_NOINLINE void OpenRequest::Clear() { // @@protoc_insertion_point(message_clear_start:Device.V3.OpenRequest) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.deviceuri_.ClearToEmpty(); _impl_.devicegroup_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } ::uint8_t* OpenRequest::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:Device.V3.OpenRequest) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { const std::string& _s = this->_internal_deviceuri(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenRequest.deviceUri"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string deviceGroup = 2; if (!this->_internal_devicegroup().empty()) { const std::string& _s = this->_internal_devicegroup(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenRequest.deviceGroup"); target = stream->WriteStringMaybeAliased(2, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:Device.V3.OpenRequest) return target; } ::size_t OpenRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Device.V3.OpenRequest) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast(this)); // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_deviceuri()); } // string deviceGroup = 2; if (!this->_internal_devicegroup().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_devicegroup()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void OpenRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.OpenRequest) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_deviceuri().empty()) { _this->_internal_set_deviceuri(from._internal_deviceuri()); } if (!from._internal_devicegroup().empty()) { _this->_internal_set_devicegroup(from._internal_devicegroup()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void OpenRequest::CopyFrom(const OpenRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.OpenRequest) if (&from == this) return; Clear(); MergeFrom(from); } void OpenRequest::InternalSwap(OpenRequest* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicegroup_, &other->_impl_.devicegroup_, arena); } ::google::protobuf::Metadata OpenRequest::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class OpenReply::_Internal { public: }; OpenReply::OpenReply(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:Device.V3.OpenReply) } inline PROTOBUF_NDEBUG_INLINE OpenReply::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::Device::V3::OpenReply& from_msg) : message_(arena, from.message_), retcode_(arena, from.retcode_), retcontext_(arena, from.retcontext_), _cached_size_{0} {} OpenReply::OpenReply( ::google::protobuf::Arena* arena, const OpenReply& from) : ::google::protobuf::Message(arena) { OpenReply* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); // @@protoc_insertion_point(copy_constructor:Device.V3.OpenReply) } inline PROTOBUF_NDEBUG_INLINE OpenReply::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : message_(arena), retcode_(arena), retcontext_(arena), _cached_size_{0} {} inline void OpenReply::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } OpenReply::~OpenReply() { // @@protoc_insertion_point(destructor:Device.V3.OpenReply) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void OpenReply::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.message_.Destroy(); _impl_.retcode_.Destroy(); _impl_.retcontext_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* OpenReply::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized PROTOBUF_FIELD_OFFSET(OpenReply, _impl_._cached_size_), false, }, &OpenReply::MergeImpl, &OpenReply::kDescriptorMethods, &descriptor_table_device_2fv3_2fdevice_2dc_2eproto, nullptr, // tracker }; ::google::protobuf::internal::PrefetchToLocalCache(&_data_); ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table); return _data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 52, 2> OpenReply::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967288, // skipmap offsetof(decltype(_table_), field_entries), 3, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_OpenReply_default_instance_._instance, nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::Device::V3::OpenReply>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, // string message = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.message_)}}, // string retCode = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcode_)}}, // string retContext = 3; {::_pbi::TcParser::FastUS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcontext_)}}, }}, {{ 65535, 65535 }}, {{ // string message = 1; {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.message_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string retCode = 2; {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcode_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string retContext = 3; {PROTOBUF_FIELD_OFFSET(OpenReply, _impl_.retcontext_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\23\7\7\12\0\0\0\0" "Device.V3.OpenReply" "message" "retCode" "retContext" }}, }; PROTOBUF_NOINLINE void OpenReply::Clear() { // @@protoc_insertion_point(message_clear_start:Device.V3.OpenReply) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.message_.ClearToEmpty(); _impl_.retcode_.ClearToEmpty(); _impl_.retcontext_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } ::uint8_t* OpenReply::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:Device.V3.OpenReply) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string message = 1; if (!this->_internal_message().empty()) { const std::string& _s = this->_internal_message(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.message"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string retCode = 2; if (!this->_internal_retcode().empty()) { const std::string& _s = this->_internal_retcode(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.retCode"); target = stream->WriteStringMaybeAliased(2, _s, target); } // string retContext = 3; if (!this->_internal_retcontext().empty()) { const std::string& _s = this->_internal_retcontext(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.OpenReply.retContext"); target = stream->WriteStringMaybeAliased(3, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:Device.V3.OpenReply) return target; } ::size_t OpenReply::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Device.V3.OpenReply) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast(this)); // string message = 1; if (!this->_internal_message().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_message()); } // string retCode = 2; if (!this->_internal_retcode().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_retcode()); } // string retContext = 3; if (!this->_internal_retcontext().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_retcontext()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void OpenReply::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.OpenReply) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_message().empty()) { _this->_internal_set_message(from._internal_message()); } if (!from._internal_retcode().empty()) { _this->_internal_set_retcode(from._internal_retcode()); } if (!from._internal_retcontext().empty()) { _this->_internal_set_retcontext(from._internal_retcontext()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void OpenReply::CopyFrom(const OpenReply& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.OpenReply) if (&from == this) return; Clear(); MergeFrom(from); } void OpenReply::InternalSwap(OpenReply* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcode_, &other->_impl_.retcode_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcontext_, &other->_impl_.retcontext_, arena); } ::google::protobuf::Metadata OpenReply::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DoRequest::_Internal { public: }; DoRequest::DoRequest(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:Device.V3.DoRequest) } inline PROTOBUF_NDEBUG_INLINE DoRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::Device::V3::DoRequest& from_msg) : deviceuri_(arena, from.deviceuri_), reqname_(arena, from.reqname_), reqparam_(arena, from.reqparam_), reqtransaction_(arena, from.reqtransaction_), reqclientid_(arena, from.reqclientid_), _cached_size_{0} {} DoRequest::DoRequest( ::google::protobuf::Arena* arena, const DoRequest& from) : ::google::protobuf::Message(arena) { DoRequest* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); // @@protoc_insertion_point(copy_constructor:Device.V3.DoRequest) } inline PROTOBUF_NDEBUG_INLINE DoRequest::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : deviceuri_(arena), reqname_(arena), reqparam_(arena), reqtransaction_(arena), reqclientid_(arena), _cached_size_{0} {} inline void DoRequest::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } DoRequest::~DoRequest() { // @@protoc_insertion_point(destructor:Device.V3.DoRequest) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void DoRequest::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.deviceuri_.Destroy(); _impl_.reqname_.Destroy(); _impl_.reqparam_.Destroy(); _impl_.reqtransaction_.Destroy(); _impl_.reqclientid_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* DoRequest::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized PROTOBUF_FIELD_OFFSET(DoRequest, _impl_._cached_size_), false, }, &DoRequest::MergeImpl, &DoRequest::kDescriptorMethods, &descriptor_table_device_2fv3_2fdevice_2dc_2eproto, nullptr, // tracker }; ::google::protobuf::internal::PrefetchToLocalCache(&_data_); ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table); return _data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 0, 77, 2> DoRequest::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_DoRequest_default_instance_._instance, nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::Device::V3::DoRequest>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, // string deviceUri = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.deviceuri_)}}, // string reqName = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqname_)}}, // string reqParam = 3; {::_pbi::TcParser::FastUS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqparam_)}}, // string reqTransaction = 4; {::_pbi::TcParser::FastUS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqtransaction_)}}, // string reqClientID = 5; {::_pbi::TcParser::FastUS1, {42, 63, 0, PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqclientid_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // string deviceUri = 1; {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.deviceuri_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqName = 2; {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqname_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqParam = 3; {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqparam_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqTransaction = 4; {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqtransaction_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqClientID = 5; {PROTOBUF_FIELD_OFFSET(DoRequest, _impl_.reqclientid_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\23\11\7\10\16\13\0\0" "Device.V3.DoRequest" "deviceUri" "reqName" "reqParam" "reqTransaction" "reqClientID" }}, }; PROTOBUF_NOINLINE void DoRequest::Clear() { // @@protoc_insertion_point(message_clear_start:Device.V3.DoRequest) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.deviceuri_.ClearToEmpty(); _impl_.reqname_.ClearToEmpty(); _impl_.reqparam_.ClearToEmpty(); _impl_.reqtransaction_.ClearToEmpty(); _impl_.reqclientid_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } ::uint8_t* DoRequest::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:Device.V3.DoRequest) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { const std::string& _s = this->_internal_deviceuri(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.deviceUri"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string reqName = 2; if (!this->_internal_reqname().empty()) { const std::string& _s = this->_internal_reqname(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqName"); target = stream->WriteStringMaybeAliased(2, _s, target); } // string reqParam = 3; if (!this->_internal_reqparam().empty()) { const std::string& _s = this->_internal_reqparam(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqParam"); target = stream->WriteStringMaybeAliased(3, _s, target); } // string reqTransaction = 4; if (!this->_internal_reqtransaction().empty()) { const std::string& _s = this->_internal_reqtransaction(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqTransaction"); target = stream->WriteStringMaybeAliased(4, _s, target); } // string reqClientID = 5; if (!this->_internal_reqclientid().empty()) { const std::string& _s = this->_internal_reqclientid(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoRequest.reqClientID"); target = stream->WriteStringMaybeAliased(5, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:Device.V3.DoRequest) return target; } ::size_t DoRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Device.V3.DoRequest) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast(this)); // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_deviceuri()); } // string reqName = 2; if (!this->_internal_reqname().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqname()); } // string reqParam = 3; if (!this->_internal_reqparam().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqparam()); } // string reqTransaction = 4; if (!this->_internal_reqtransaction().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqtransaction()); } // string reqClientID = 5; if (!this->_internal_reqclientid().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqclientid()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void DoRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.DoRequest) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_deviceuri().empty()) { _this->_internal_set_deviceuri(from._internal_deviceuri()); } if (!from._internal_reqname().empty()) { _this->_internal_set_reqname(from._internal_reqname()); } if (!from._internal_reqparam().empty()) { _this->_internal_set_reqparam(from._internal_reqparam()); } if (!from._internal_reqtransaction().empty()) { _this->_internal_set_reqtransaction(from._internal_reqtransaction()); } if (!from._internal_reqclientid().empty()) { _this->_internal_set_reqclientid(from._internal_reqclientid()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void DoRequest::CopyFrom(const DoRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.DoRequest) if (&from == this) return; Clear(); MergeFrom(from); } void DoRequest::InternalSwap(DoRequest* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqname_, &other->_impl_.reqname_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqparam_, &other->_impl_.reqparam_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqtransaction_, &other->_impl_.reqtransaction_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqclientid_, &other->_impl_.reqclientid_, arena); } ::google::protobuf::Metadata DoRequest::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DoResponse::_Internal { public: }; DoResponse::DoResponse(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:Device.V3.DoResponse) } inline PROTOBUF_NDEBUG_INLINE DoResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::Device::V3::DoResponse& from_msg) : deviceuri_(arena, from.deviceuri_), retcode_(arena, from.retcode_), reqname_(arena, from.reqname_), respresult_(arena, from.respresult_), reqtransaction_(arena, from.reqtransaction_), retcontext_(arena, from.retcontext_), _cached_size_{0} {} DoResponse::DoResponse( ::google::protobuf::Arena* arena, const DoResponse& from) : ::google::protobuf::Message(arena) { DoResponse* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); // @@protoc_insertion_point(copy_constructor:Device.V3.DoResponse) } inline PROTOBUF_NDEBUG_INLINE DoResponse::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : deviceuri_(arena), retcode_(arena), reqname_(arena), respresult_(arena), reqtransaction_(arena), retcontext_(arena), _cached_size_{0} {} inline void DoResponse::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } DoResponse::~DoResponse() { // @@protoc_insertion_point(destructor:Device.V3.DoResponse) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void DoResponse::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.deviceuri_.Destroy(); _impl_.retcode_.Destroy(); _impl_.reqname_.Destroy(); _impl_.respresult_.Destroy(); _impl_.reqtransaction_.Destroy(); _impl_.retcontext_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* DoResponse::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { &_table_.header, nullptr, // OnDemandRegisterArenaDtor nullptr, // IsInitialized PROTOBUF_FIELD_OFFSET(DoResponse, _impl_._cached_size_), false, }, &DoResponse::MergeImpl, &DoResponse::kDescriptorMethods, &descriptor_table_device_2fv3_2fdevice_2dc_2eproto, nullptr, // tracker }; ::google::protobuf::internal::PrefetchToLocalCache(&_data_); ::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table); return _data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 0, 86, 2> DoResponse::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_DoResponse_default_instance_._instance, nullptr, // post_loop_handler ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::Device::V3::DoResponse>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, // string deviceUri = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.deviceuri_)}}, // string retCode = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcode_)}}, // string reqName = 3; {::_pbi::TcParser::FastUS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqname_)}}, // string respResult = 4; {::_pbi::TcParser::FastUS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.respresult_)}}, // string reqTransaction = 5; {::_pbi::TcParser::FastUS1, {42, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqtransaction_)}}, // string retContext = 6; {::_pbi::TcParser::FastUS1, {50, 63, 0, PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcontext_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // string deviceUri = 1; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.deviceuri_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string retCode = 2; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcode_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqName = 3; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqname_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string respResult = 4; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.respresult_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string reqTransaction = 5; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.reqtransaction_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string retContext = 6; {PROTOBUF_FIELD_OFFSET(DoResponse, _impl_.retcontext_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\24\11\7\7\12\16\12\0" "Device.V3.DoResponse" "deviceUri" "retCode" "reqName" "respResult" "reqTransaction" "retContext" }}, }; PROTOBUF_NOINLINE void DoResponse::Clear() { // @@protoc_insertion_point(message_clear_start:Device.V3.DoResponse) ::google::protobuf::internal::TSanWrite(&_impl_); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.deviceuri_.ClearToEmpty(); _impl_.retcode_.ClearToEmpty(); _impl_.reqname_.ClearToEmpty(); _impl_.respresult_.ClearToEmpty(); _impl_.reqtransaction_.ClearToEmpty(); _impl_.retcontext_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } ::uint8_t* DoResponse::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:Device.V3.DoResponse) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { const std::string& _s = this->_internal_deviceuri(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.deviceUri"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string retCode = 2; if (!this->_internal_retcode().empty()) { const std::string& _s = this->_internal_retcode(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.retCode"); target = stream->WriteStringMaybeAliased(2, _s, target); } // string reqName = 3; if (!this->_internal_reqname().empty()) { const std::string& _s = this->_internal_reqname(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.reqName"); target = stream->WriteStringMaybeAliased(3, _s, target); } // string respResult = 4; if (!this->_internal_respresult().empty()) { const std::string& _s = this->_internal_respresult(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.respResult"); target = stream->WriteStringMaybeAliased(4, _s, target); } // string reqTransaction = 5; if (!this->_internal_reqtransaction().empty()) { const std::string& _s = this->_internal_reqtransaction(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.reqTransaction"); target = stream->WriteStringMaybeAliased(5, _s, target); } // string retContext = 6; if (!this->_internal_retcontext().empty()) { const std::string& _s = this->_internal_retcontext(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Device.V3.DoResponse.retContext"); target = stream->WriteStringMaybeAliased(6, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:Device.V3.DoResponse) return target; } ::size_t DoResponse::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Device.V3.DoResponse) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast(this)); // string deviceUri = 1; if (!this->_internal_deviceuri().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_deviceuri()); } // string retCode = 2; if (!this->_internal_retcode().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_retcode()); } // string reqName = 3; if (!this->_internal_reqname().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqname()); } // string respResult = 4; if (!this->_internal_respresult().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_respresult()); } // string reqTransaction = 5; if (!this->_internal_reqtransaction().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_reqtransaction()); } // string retContext = 6; if (!this->_internal_retcontext().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_retcontext()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void DoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:Device.V3.DoResponse) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_deviceuri().empty()) { _this->_internal_set_deviceuri(from._internal_deviceuri()); } if (!from._internal_retcode().empty()) { _this->_internal_set_retcode(from._internal_retcode()); } if (!from._internal_reqname().empty()) { _this->_internal_set_reqname(from._internal_reqname()); } if (!from._internal_respresult().empty()) { _this->_internal_set_respresult(from._internal_respresult()); } if (!from._internal_reqtransaction().empty()) { _this->_internal_set_reqtransaction(from._internal_reqtransaction()); } if (!from._internal_retcontext().empty()) { _this->_internal_set_retcontext(from._internal_retcontext()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void DoResponse::CopyFrom(const DoResponse& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Device.V3.DoResponse) if (&from == this) return; Clear(); MergeFrom(from); } void DoResponse::InternalSwap(DoResponse* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceuri_, &other->_impl_.deviceuri_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcode_, &other->_impl_.retcode_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqname_, &other->_impl_.reqname_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.respresult_, &other->_impl_.respresult_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reqtransaction_, &other->_impl_.reqtransaction_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.retcontext_, &other->_impl_.retcontext_, arena); } ::google::protobuf::Metadata DoResponse::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) } // namespace V3 } // namespace Device namespace google { namespace protobuf { } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = (::_pbi::AddDescriptors(&descriptor_table_device_2fv3_2fdevice_2dc_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc"