mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
Migrate from Flatbuffers to Protobuf to make some lawyers happy. Fixes https://github.com/RPCS3/rpcs3/issues/17894
35691 lines
1.4 MiB
35691 lines
1.4 MiB
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// NO CHECKED-IN PROTOBUF GENCODE
|
|
// source: np2_structs.proto
|
|
// Protobuf C++ Version: 6.33.4
|
|
|
|
#include "np2_structs.pb.h"
|
|
|
|
#include <algorithm>
|
|
#include <type_traits>
|
|
#include "google/protobuf/io/coded_stream.h"
|
|
#include "google/protobuf/generated_message_tctable_impl.h"
|
|
#include "google/protobuf/extension_set.h"
|
|
#include "google/protobuf/generated_message_util.h"
|
|
#include "google/protobuf/wire_format_lite.h"
|
|
#include "google/protobuf/io/zero_copy_stream_impl_lite.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 np2_structs {
|
|
|
|
inline constexpr uint8::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
value_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR uint8::uint8(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(uint8_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct uint8DefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR uint8DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~uint8DefaultTypeInternal() {}
|
|
union {
|
|
uint8 _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint8DefaultTypeInternal _uint8_default_instance_;
|
|
|
|
inline constexpr uint16::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
value_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR uint16::uint16(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(uint16_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct uint16DefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR uint16DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~uint16DefaultTypeInternal() {}
|
|
union {
|
|
uint16 _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint16DefaultTypeInternal _uint16_default_instance_;
|
|
|
|
inline constexpr UserInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
onlinename_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
avatarurl_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR UserInfo::UserInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(UserInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct UserInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR UserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~UserInfoDefaultTypeInternal() {}
|
|
union {
|
|
UserInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserInfoDefaultTypeInternal _UserInfo_default_instance_;
|
|
|
|
inline constexpr TusVariable::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ownerid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
lastchangedauthorid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
lastchangeddate_{::uint64_t{0u}},
|
|
variable_{::int64_t{0}},
|
|
oldvariable_{::int64_t{0}},
|
|
hasdata_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusVariable::TusVariable(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusVariable_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusVariableDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusVariableDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusVariableDefaultTypeInternal() {}
|
|
union {
|
|
TusVariable _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVariableDefaultTypeInternal _TusVariable_default_instance_;
|
|
|
|
inline constexpr TusUser::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
vuser_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusUser::TusUser(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusUser_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusUserDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusUserDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusUserDefaultTypeInternal() {}
|
|
union {
|
|
TusUser _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusUserDefaultTypeInternal _TusUser_default_instance_;
|
|
|
|
inline constexpr TusGetFriendsVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotid_{0},
|
|
includeself_{false},
|
|
sorttype_{0},
|
|
arraynum_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetFriendsVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetFriendsVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetFriendsVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetFriendsVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetFriendsVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsVariableRequestDefaultTypeInternal _TusGetFriendsVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusGetFriendsDataStatusRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotid_{0},
|
|
includeself_{false},
|
|
sorttype_{0},
|
|
arraynum_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetFriendsDataStatusRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetFriendsDataStatusRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetFriendsDataStatusRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetFriendsDataStatusRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsDataStatusRequestDefaultTypeInternal _TusGetFriendsDataStatusRequest_default_instance_;
|
|
|
|
inline constexpr TusDataStatus::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ownerid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
lastchangedauthorid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
info_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
lastchangeddate_{::uint64_t{0u}},
|
|
hasdata_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusDataStatus::TusDataStatus(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusDataStatus_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusDataStatusDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusDataStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusDataStatusDefaultTypeInternal() {}
|
|
union {
|
|
TusDataStatus _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusDefaultTypeInternal _TusDataStatus_default_instance_;
|
|
|
|
inline constexpr SetRoomSearchFlagGUI::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roomid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
stealth_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetRoomSearchFlagGUI_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetRoomSearchFlagGUIDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetRoomSearchFlagGUIDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetRoomSearchFlagGUIDefaultTypeInternal() {}
|
|
union {
|
|
SetRoomSearchFlagGUI _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomSearchFlagGUIDefaultTypeInternal _SetRoomSearchFlagGUI_default_instance_;
|
|
|
|
inline constexpr SetPresenceRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
title_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
status_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
comment_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetPresenceRequest::SetPresenceRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetPresenceRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetPresenceRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetPresenceRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetPresenceRequestDefaultTypeInternal() {}
|
|
union {
|
|
SetPresenceRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetPresenceRequestDefaultTypeInternal _SetPresenceRequest_default_instance_;
|
|
|
|
inline constexpr SendMessageRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npids_{},
|
|
message_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SendMessageRequest::SendMessageRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SendMessageRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SendMessageRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SendMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SendMessageRequestDefaultTypeInternal() {}
|
|
union {
|
|
SendMessageRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendMessageRequestDefaultTypeInternal _SendMessageRequest_default_instance_;
|
|
|
|
inline constexpr ScoreRankData::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
onlinename_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
pcid_{0},
|
|
rank_{0u},
|
|
score_{::int64_t{0}},
|
|
recorddate_{::uint64_t{0u}},
|
|
hasgamedata_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR ScoreRankData::ScoreRankData(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(ScoreRankData_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct ScoreRankDataDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR ScoreRankDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~ScoreRankDataDefaultTypeInternal() {}
|
|
union {
|
|
ScoreRankData _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreRankDataDefaultTypeInternal _ScoreRankData_default_instance_;
|
|
|
|
inline constexpr ScoreNpIdPcId::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
pcid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR ScoreNpIdPcId::ScoreNpIdPcId(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(ScoreNpIdPcId_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct ScoreNpIdPcIdDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR ScoreNpIdPcIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~ScoreNpIdPcIdDefaultTypeInternal() {}
|
|
union {
|
|
ScoreNpIdPcId _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreNpIdPcIdDefaultTypeInternal _ScoreNpIdPcId_default_instance_;
|
|
|
|
inline constexpr ScoreInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR ScoreInfo::ScoreInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(ScoreInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct ScoreInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR ScoreInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~ScoreInfoDefaultTypeInternal() {}
|
|
union {
|
|
ScoreInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreInfoDefaultTypeInternal _ScoreInfo_default_instance_;
|
|
|
|
inline constexpr RecordScoreRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
comment_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
boardid_{0u},
|
|
pcid_{0},
|
|
score_{::int64_t{0}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RecordScoreRequest::RecordScoreRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RecordScoreRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RecordScoreRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RecordScoreRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RecordScoreRequestDefaultTypeInternal() {}
|
|
union {
|
|
RecordScoreRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreRequestDefaultTypeInternal _RecordScoreRequest_default_instance_;
|
|
|
|
inline constexpr RecordScoreGameDataRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
boardid_{0u},
|
|
pcid_{0},
|
|
score_{::int64_t{0}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RecordScoreGameDataRequest::RecordScoreGameDataRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RecordScoreGameDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RecordScoreGameDataRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RecordScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RecordScoreGameDataRequestDefaultTypeInternal() {}
|
|
union {
|
|
RecordScoreGameDataRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreGameDataRequestDefaultTypeInternal _RecordScoreGameDataRequest_default_instance_;
|
|
|
|
inline constexpr PresenceOptionData::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
len_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR PresenceOptionData::PresenceOptionData(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(PresenceOptionData_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct PresenceOptionDataDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR PresenceOptionDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~PresenceOptionDataDefaultTypeInternal() {}
|
|
union {
|
|
PresenceOptionData _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PresenceOptionDataDefaultTypeInternal _PresenceOptionData_default_instance_;
|
|
|
|
inline constexpr MatchingSearchCondition::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
attr_type_{0u},
|
|
attr_id_{0u},
|
|
comp_op_{0u},
|
|
comp_value_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingSearchCondition::MatchingSearchCondition(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingSearchCondition_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingSearchConditionDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingSearchConditionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingSearchConditionDefaultTypeInternal() {}
|
|
union {
|
|
MatchingSearchCondition _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchConditionDefaultTypeInternal _MatchingSearchCondition_default_instance_;
|
|
|
|
inline constexpr MatchingGuiRoomId::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingGuiRoomId::MatchingGuiRoomId(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingGuiRoomId_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingGuiRoomIdDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingGuiRoomIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingGuiRoomIdDefaultTypeInternal() {}
|
|
union {
|
|
MatchingGuiRoomId _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingGuiRoomIdDefaultTypeInternal _MatchingGuiRoomId_default_instance_;
|
|
|
|
inline constexpr MatchingAttr::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
attr_type_{0u},
|
|
attr_id_{0u},
|
|
num_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingAttr::MatchingAttr(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingAttr_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingAttrDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingAttrDefaultTypeInternal() {}
|
|
union {
|
|
MatchingAttr _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingAttrDefaultTypeInternal _MatchingAttr_default_instance_;
|
|
|
|
inline constexpr GroupConfig::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
label_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
slotnum_{0u},
|
|
withpassword_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GroupConfig::GroupConfig(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GroupConfig_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GroupConfigDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GroupConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GroupConfigDefaultTypeInternal() {}
|
|
union {
|
|
GroupConfig _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupConfigDefaultTypeInternal _GroupConfig_default_instance_;
|
|
|
|
inline constexpr GetScoreRangeRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
boardid_{0u},
|
|
startrank_{0u},
|
|
numranks_{0u},
|
|
withcomment_{false},
|
|
withgameinfo_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetScoreRangeRequest::GetScoreRangeRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetScoreRangeRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetScoreRangeRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetScoreRangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetScoreRangeRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetScoreRangeRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreRangeRequestDefaultTypeInternal _GetScoreRangeRequest_default_instance_;
|
|
|
|
inline constexpr GetScoreGameDataRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
boardid_{0u},
|
|
pcid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetScoreGameDataRequest::GetScoreGameDataRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetScoreGameDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetScoreGameDataRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetScoreGameDataRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetScoreGameDataRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreGameDataRequestDefaultTypeInternal _GetScoreGameDataRequest_default_instance_;
|
|
|
|
inline constexpr GetScoreFriendsRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
boardid_{0u},
|
|
max_{0u},
|
|
include_self_{false},
|
|
withcomment_{false},
|
|
withgameinfo_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetScoreFriendsRequest::GetScoreFriendsRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetScoreFriendsRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetScoreFriendsRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetScoreFriendsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetScoreFriendsRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetScoreFriendsRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreFriendsRequestDefaultTypeInternal _GetScoreFriendsRequest_default_instance_;
|
|
|
|
inline constexpr BoardInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ranklimit_{0u},
|
|
updatemode_{0u},
|
|
sortmode_{0u},
|
|
uploadnumlimit_{0u},
|
|
uploadsizelimit_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BoardInfo::BoardInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(BoardInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct BoardInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BoardInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BoardInfoDefaultTypeInternal() {}
|
|
union {
|
|
BoardInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoardInfoDefaultTypeInternal _BoardInfo_default_instance_;
|
|
|
|
inline constexpr TusVarResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
vars_{} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusVarResponse::TusVarResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusVarResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusVarResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusVarResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusVarResponseDefaultTypeInternal() {}
|
|
union {
|
|
TusVarResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVarResponseDefaultTypeInternal _TusVarResponse_default_instance_;
|
|
|
|
inline constexpr TusTryAndSetVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
islastchangeddate_{},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
comparevalue_{},
|
|
_comparevalue_cached_byte_size_{0},
|
|
islastchangedauthorid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
user_{nullptr},
|
|
slotid_{0},
|
|
opetype_{0},
|
|
variable_{::int64_t{0}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusTryAndSetVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusTryAndSetVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusTryAndSetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusTryAndSetVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusTryAndSetVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusTryAndSetVariableRequestDefaultTypeInternal _TusTryAndSetVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusSetMultiSlotVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotidarray_{},
|
|
_slotidarray_cached_byte_size_{0},
|
|
variablearray_{},
|
|
_variablearray_cached_byte_size_{0},
|
|
user_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusSetMultiSlotVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusSetMultiSlotVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusSetMultiSlotVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusSetMultiSlotVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetMultiSlotVariableRequestDefaultTypeInternal _TusSetMultiSlotVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusSetDataRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
islastchangeddate_{},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
info_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
islastchangedauthorid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
user_{nullptr},
|
|
slotid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusSetDataRequest::TusSetDataRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusSetDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusSetDataRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusSetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusSetDataRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusSetDataRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetDataRequestDefaultTypeInternal _TusSetDataRequest_default_instance_;
|
|
|
|
inline constexpr TusGetMultiUserVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
users_{},
|
|
slotid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetMultiUserVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetMultiUserVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetMultiUserVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetMultiUserVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserVariableRequestDefaultTypeInternal _TusGetMultiUserVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusGetMultiUserDataStatusRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
users_{},
|
|
slotid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetMultiUserDataStatusRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetMultiUserDataStatusRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetMultiUserDataStatusRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetMultiUserDataStatusRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserDataStatusRequestDefaultTypeInternal _TusGetMultiUserDataStatusRequest_default_instance_;
|
|
|
|
inline constexpr TusGetMultiSlotVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotidarray_{},
|
|
_slotidarray_cached_byte_size_{0},
|
|
user_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetMultiSlotVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetMultiSlotVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetMultiSlotVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetMultiSlotVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotVariableRequestDefaultTypeInternal _TusGetMultiSlotVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusGetMultiSlotDataStatusRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotidarray_{},
|
|
_slotidarray_cached_byte_size_{0},
|
|
user_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetMultiSlotDataStatusRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetMultiSlotDataStatusRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetMultiSlotDataStatusRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetMultiSlotDataStatusRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotDataStatusRequestDefaultTypeInternal _TusGetMultiSlotDataStatusRequest_default_instance_;
|
|
|
|
inline constexpr TusGetDataRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
user_{nullptr},
|
|
slotid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusGetDataRequest::TusGetDataRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusGetDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusGetDataRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusGetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusGetDataRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusGetDataRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetDataRequestDefaultTypeInternal _TusGetDataRequest_default_instance_;
|
|
|
|
inline constexpr TusDeleteMultiSlotVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotidarray_{},
|
|
_slotidarray_cached_byte_size_{0},
|
|
user_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusDeleteMultiSlotVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusDeleteMultiSlotVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusDeleteMultiSlotVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusDeleteMultiSlotVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotVariableRequestDefaultTypeInternal _TusDeleteMultiSlotVariableRequest_default_instance_;
|
|
|
|
inline constexpr TusDeleteMultiSlotDataRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
slotidarray_{},
|
|
_slotidarray_cached_byte_size_{0},
|
|
user_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusDeleteMultiSlotDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusDeleteMultiSlotDataRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusDeleteMultiSlotDataRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusDeleteMultiSlotDataRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotDataRequestDefaultTypeInternal _TusDeleteMultiSlotDataRequest_default_instance_;
|
|
|
|
inline constexpr TusDataStatusResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
status_{} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusDataStatusResponse::TusDataStatusResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusDataStatusResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusDataStatusResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusDataStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusDataStatusResponseDefaultTypeInternal() {}
|
|
union {
|
|
TusDataStatusResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusResponseDefaultTypeInternal _TusDataStatusResponse_default_instance_;
|
|
|
|
inline constexpr TusData::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
status_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusData::TusData(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusData_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusDataDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusDataDefaultTypeInternal() {}
|
|
union {
|
|
TusData _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataDefaultTypeInternal _TusData_default_instance_;
|
|
|
|
inline constexpr TusAddAndGetVariableRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
islastchangeddate_{},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
islastchangedauthorid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
user_{nullptr},
|
|
invariable_{::int64_t{0}},
|
|
slotid_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(TusAddAndGetVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct TusAddAndGetVariableRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR TusAddAndGetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~TusAddAndGetVariableRequestDefaultTypeInternal() {}
|
|
union {
|
|
TusAddAndGetVariableRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusAddAndGetVariableRequestDefaultTypeInternal _TusAddAndGetVariableRequest_default_instance_;
|
|
|
|
inline constexpr SignalingAddr::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
ip_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
port_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SignalingAddr::SignalingAddr(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SignalingAddr_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SignalingAddrDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SignalingAddrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SignalingAddrDefaultTypeInternal() {}
|
|
union {
|
|
SignalingAddr _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SignalingAddrDefaultTypeInternal _SignalingAddr_default_instance_;
|
|
|
|
inline constexpr SendRoomMessageRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
dst_{},
|
|
msg_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
casttype_{nullptr},
|
|
option_{nullptr},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SendRoomMessageRequest::SendRoomMessageRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SendRoomMessageRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SendRoomMessageRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SendRoomMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SendRoomMessageRequestDefaultTypeInternal() {}
|
|
union {
|
|
SendRoomMessageRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendRoomMessageRequestDefaultTypeInternal _SendRoomMessageRequest_default_instance_;
|
|
|
|
inline constexpr SearchJoinRoomGUIRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
conds_{},
|
|
attrs_{} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SearchJoinRoomGUIRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SearchJoinRoomGUIRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SearchJoinRoomGUIRequestDefaultTypeInternal() {}
|
|
union {
|
|
SearchJoinRoomGUIRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchJoinRoomGUIRequestDefaultTypeInternal _SearchJoinRoomGUIRequest_default_instance_;
|
|
|
|
inline constexpr RoomUpdateInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
eventcause_{nullptr},
|
|
optdata_{nullptr},
|
|
errorcode_{0} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomUpdateInfo::RoomUpdateInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomUpdateInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomUpdateInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomUpdateInfoDefaultTypeInternal() {}
|
|
union {
|
|
RoomUpdateInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomUpdateInfoDefaultTypeInternal _RoomUpdateInfo_default_instance_;
|
|
|
|
inline constexpr RoomMessageInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
dst_{},
|
|
msg_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
casttype_{nullptr},
|
|
srcmember_{nullptr},
|
|
filtered_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomMessageInfo::RoomMessageInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomMessageInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomMessageInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomMessageInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomMessageInfoDefaultTypeInternal() {}
|
|
union {
|
|
RoomMessageInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMessageInfoDefaultTypeInternal _RoomMessageInfo_default_instance_;
|
|
|
|
inline constexpr RoomGroupPasswordConfig::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
groupid_{nullptr},
|
|
withpassword_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomGroupPasswordConfig::RoomGroupPasswordConfig(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomGroupPasswordConfig_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomGroupPasswordConfigDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomGroupPasswordConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomGroupPasswordConfigDefaultTypeInternal() {}
|
|
union {
|
|
RoomGroupPasswordConfig _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupPasswordConfigDefaultTypeInternal _RoomGroupPasswordConfig_default_instance_;
|
|
|
|
inline constexpr RoomGroup::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
label_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
groupid_{nullptr},
|
|
withpassword_{false},
|
|
slotnum_{0u},
|
|
curgroupmembernum_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomGroup::RoomGroup(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomGroup_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomGroupDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomGroupDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomGroupDefaultTypeInternal() {}
|
|
union {
|
|
RoomGroup _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupDefaultTypeInternal _RoomGroup_default_instance_;
|
|
|
|
inline constexpr QuickMatchGUIRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
conds_{},
|
|
available_num_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR QuickMatchGUIRequest::QuickMatchGUIRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(QuickMatchGUIRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct QuickMatchGUIRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR QuickMatchGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~QuickMatchGUIRequestDefaultTypeInternal() {}
|
|
union {
|
|
QuickMatchGUIRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuickMatchGUIRequestDefaultTypeInternal _QuickMatchGUIRequest_default_instance_;
|
|
|
|
inline constexpr OptParam::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
type_{nullptr},
|
|
flag_{nullptr},
|
|
hubmemberid_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR OptParam::OptParam(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(OptParam_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct OptParamDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR OptParamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~OptParamDefaultTypeInternal() {}
|
|
union {
|
|
OptParam _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptParamDefaultTypeInternal _OptParam_default_instance_;
|
|
|
|
inline constexpr MessageDetails::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
communicationid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
subject_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
body_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
maintype_{nullptr},
|
|
subtype_{nullptr},
|
|
msgid_{::uint64_t{0u}},
|
|
msgfeatures_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MessageDetails::MessageDetails(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MessageDetails_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MessageDetailsDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MessageDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MessageDetailsDefaultTypeInternal() {}
|
|
union {
|
|
MessageDetails _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDetailsDefaultTypeInternal _MessageDetails_default_instance_;
|
|
|
|
inline constexpr MatchingRoom::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
attr_{},
|
|
id_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingRoom::MatchingRoom(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingRoom_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingRoomDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingRoomDefaultTypeInternal() {}
|
|
union {
|
|
MatchingRoom _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomDefaultTypeInternal _MatchingRoom_default_instance_;
|
|
|
|
inline constexpr LeaveRoomRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
optdata_{nullptr},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR LeaveRoomRequest::LeaveRoomRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(LeaveRoomRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct LeaveRoomRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR LeaveRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~LeaveRoomRequestDefaultTypeInternal() {}
|
|
union {
|
|
LeaveRoomRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveRoomRequestDefaultTypeInternal _LeaveRoomRequest_default_instance_;
|
|
|
|
inline constexpr IntAttr::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
id_{nullptr},
|
|
num_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR IntAttr::IntAttr(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(IntAttr_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct IntAttrDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR IntAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~IntAttrDefaultTypeInternal() {}
|
|
union {
|
|
IntAttr _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntAttrDefaultTypeInternal _IntAttr_default_instance_;
|
|
|
|
inline constexpr GetScoreResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
rankarray_{},
|
|
commentarray_{},
|
|
infoarray_{},
|
|
lastsortdate_{::uint64_t{0u}},
|
|
totalrecord_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetScoreResponse::GetScoreResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetScoreResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetScoreResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetScoreResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetScoreResponseDefaultTypeInternal() {}
|
|
union {
|
|
GetScoreResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreResponseDefaultTypeInternal _GetScoreResponse_default_instance_;
|
|
|
|
inline constexpr GetScoreNpIdRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npids_{},
|
|
boardid_{0u},
|
|
withcomment_{false},
|
|
withgameinfo_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetScoreNpIdRequest::GetScoreNpIdRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetScoreNpIdRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetScoreNpIdRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetScoreNpIdRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetScoreNpIdRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetScoreNpIdRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreNpIdRequestDefaultTypeInternal _GetScoreNpIdRequest_default_instance_;
|
|
|
|
inline constexpr GetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
attrid_{},
|
|
memberid_{nullptr},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetRoomMemberDataInternalRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetRoomMemberDataInternalRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetRoomMemberDataInternalRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetRoomMemberDataInternalRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomMemberDataInternalRequestDefaultTypeInternal _GetRoomMemberDataInternalRequest_default_instance_;
|
|
|
|
inline constexpr GetRoomListGUIRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
conds_{},
|
|
attrs_{},
|
|
range_start_{0u},
|
|
range_max_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetRoomListGUIRequest::GetRoomListGUIRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetRoomListGUIRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetRoomListGUIRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetRoomListGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetRoomListGUIRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetRoomListGUIRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomListGUIRequestDefaultTypeInternal _GetRoomListGUIRequest_default_instance_;
|
|
|
|
inline constexpr GetRoomDataInternalRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
attrid_{},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetRoomDataInternalRequest::GetRoomDataInternalRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetRoomDataInternalRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetRoomDataInternalRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetRoomDataInternalRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetRoomDataInternalRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataInternalRequestDefaultTypeInternal _GetRoomDataInternalRequest_default_instance_;
|
|
|
|
inline constexpr GetRoomDataExternalListRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roomids_{},
|
|
_roomids_cached_byte_size_{0},
|
|
attrids_{} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetRoomDataExternalListRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetRoomDataExternalListRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetRoomDataExternalListRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetRoomDataExternalListRequestDefaultTypeInternal() {}
|
|
union {
|
|
GetRoomDataExternalListRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListRequestDefaultTypeInternal _GetRoomDataExternalListRequest_default_instance_;
|
|
|
|
inline constexpr GetPingInfoResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
serverid_{nullptr},
|
|
roomid_{::uint64_t{0u}},
|
|
worldid_{0u},
|
|
rtt_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetPingInfoResponse::GetPingInfoResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetPingInfoResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetPingInfoResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetPingInfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetPingInfoResponseDefaultTypeInternal() {}
|
|
union {
|
|
GetPingInfoResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPingInfoResponseDefaultTypeInternal _GetPingInfoResponse_default_instance_;
|
|
|
|
inline constexpr GUIUserInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
info_{nullptr},
|
|
owner_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GUIUserInfo::GUIUserInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GUIUserInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GUIUserInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GUIUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GUIUserInfoDefaultTypeInternal() {}
|
|
union {
|
|
GUIUserInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GUIUserInfoDefaultTypeInternal _GUIUserInfo_default_instance_;
|
|
|
|
inline constexpr CreateRoomGUIRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
game_attrs_{},
|
|
total_slots_{0u},
|
|
private_slots_{0u},
|
|
privilege_grant_{false},
|
|
stealth_{false} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR CreateRoomGUIRequest::CreateRoomGUIRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(CreateRoomGUIRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct CreateRoomGUIRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR CreateRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~CreateRoomGUIRequestDefaultTypeInternal() {}
|
|
union {
|
|
CreateRoomGUIRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRoomGUIRequestDefaultTypeInternal _CreateRoomGUIRequest_default_instance_;
|
|
|
|
inline constexpr BinAttr::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
id_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BinAttr::BinAttr(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(BinAttr_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct BinAttrDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BinAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BinAttrDefaultTypeInternal() {}
|
|
union {
|
|
BinAttr _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrDefaultTypeInternal _BinAttr_default_instance_;
|
|
|
|
inline constexpr SetUserInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
userbinattr_{},
|
|
serverid_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetUserInfo::SetUserInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetUserInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetUserInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetUserInfoDefaultTypeInternal() {}
|
|
union {
|
|
SetUserInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetUserInfoDefaultTypeInternal _SetUserInfo_default_instance_;
|
|
|
|
inline constexpr SetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{},
|
|
memberid_{nullptr},
|
|
teamid_{nullptr},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetRoomMemberDataInternalRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetRoomMemberDataInternalRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetRoomMemberDataInternalRequestDefaultTypeInternal() {}
|
|
union {
|
|
SetRoomMemberDataInternalRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomMemberDataInternalRequestDefaultTypeInternal _SetRoomMemberDataInternalRequest_default_instance_;
|
|
|
|
inline constexpr SetRoomDataInternalRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roombinattrinternal_{},
|
|
passwordconfig_{},
|
|
passwordslotmask_{},
|
|
_passwordslotmask_cached_byte_size_{0},
|
|
ownerprivilegerank_{},
|
|
roomid_{::uint64_t{0u}},
|
|
flagfilter_{0u},
|
|
flagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetRoomDataInternalRequest::SetRoomDataInternalRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetRoomDataInternalRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetRoomDataInternalRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetRoomDataInternalRequestDefaultTypeInternal() {}
|
|
union {
|
|
SetRoomDataInternalRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataInternalRequestDefaultTypeInternal _SetRoomDataInternalRequest_default_instance_;
|
|
|
|
inline constexpr SetRoomDataExternalRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roomsearchableintattrexternal_{},
|
|
roomsearchablebinattrexternal_{},
|
|
roombinattrexternal_{},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SetRoomDataExternalRequest::SetRoomDataExternalRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SetRoomDataExternalRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SetRoomDataExternalRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SetRoomDataExternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SetRoomDataExternalRequestDefaultTypeInternal() {}
|
|
union {
|
|
SetRoomDataExternalRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataExternalRequestDefaultTypeInternal _SetRoomDataExternalRequest_default_instance_;
|
|
|
|
inline constexpr RoomMemberBinAttrInternal::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
data_{nullptr},
|
|
updatedate_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomMemberBinAttrInternal_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomMemberBinAttrInternalDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomMemberBinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomMemberBinAttrInternalDefaultTypeInternal() {}
|
|
union {
|
|
RoomMemberBinAttrInternal _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberBinAttrInternalDefaultTypeInternal _RoomMemberBinAttrInternal_default_instance_;
|
|
|
|
inline constexpr RoomDataExternal::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roomgroup_{},
|
|
roomsearchableintattrexternal_{},
|
|
roomsearchablebinattrexternal_{},
|
|
roombinattrexternal_{},
|
|
serverid_{nullptr},
|
|
publicslotnum_{nullptr},
|
|
privateslotnum_{nullptr},
|
|
openpublicslotnum_{nullptr},
|
|
maxslot_{nullptr},
|
|
openprivateslotnum_{nullptr},
|
|
curmembernum_{nullptr},
|
|
owner_{nullptr},
|
|
lobbyid_{::uint64_t{0u}},
|
|
roomid_{::uint64_t{0u}},
|
|
worldid_{0u},
|
|
flagattr_{0u},
|
|
passwordslotmask_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomDataExternal::RoomDataExternal(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomDataExternal_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomDataExternalDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomDataExternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomDataExternalDefaultTypeInternal() {}
|
|
union {
|
|
RoomDataExternal _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataExternalDefaultTypeInternal _RoomDataExternal_default_instance_;
|
|
|
|
inline constexpr MatchingSignalingInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
npid_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
addr_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingSignalingInfo::MatchingSignalingInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingSignalingInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingSignalingInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingSignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingSignalingInfoDefaultTypeInternal() {}
|
|
union {
|
|
MatchingSignalingInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSignalingInfoDefaultTypeInternal _MatchingSignalingInfo_default_instance_;
|
|
|
|
inline constexpr MatchingRoomStatus::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
members_{},
|
|
id_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
kick_actor_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
opt_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()) {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingRoomStatus::MatchingRoomStatus(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingRoomStatus_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingRoomStatusDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingRoomStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingRoomStatusDefaultTypeInternal() {}
|
|
union {
|
|
MatchingRoomStatus _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomStatusDefaultTypeInternal _MatchingRoomStatus_default_instance_;
|
|
|
|
inline constexpr MatchingRoomList::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
rooms_{},
|
|
start_{0u},
|
|
total_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingRoomList::MatchingRoomList(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingRoomList_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingRoomListDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingRoomListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingRoomListDefaultTypeInternal() {}
|
|
union {
|
|
MatchingRoomList _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomListDefaultTypeInternal _MatchingRoomList_default_instance_;
|
|
|
|
inline constexpr Matching2SignalingInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
member_id_{nullptr},
|
|
addr_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR Matching2SignalingInfo::Matching2SignalingInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(Matching2SignalingInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct Matching2SignalingInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR Matching2SignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~Matching2SignalingInfoDefaultTypeInternal() {}
|
|
union {
|
|
Matching2SignalingInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Matching2SignalingInfoDefaultTypeInternal _Matching2SignalingInfo_default_instance_;
|
|
|
|
inline constexpr JoinRoomRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{},
|
|
roompassword_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
joinroomgrouplabel_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
optdata_{nullptr},
|
|
teamid_{nullptr},
|
|
roomid_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR JoinRoomRequest::JoinRoomRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(JoinRoomRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct JoinRoomRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR JoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~JoinRoomRequestDefaultTypeInternal() {}
|
|
union {
|
|
JoinRoomRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomRequestDefaultTypeInternal _JoinRoomRequest_default_instance_;
|
|
|
|
inline constexpr IntSearchFilter::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
searchoperator_{nullptr},
|
|
attr_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR IntSearchFilter::IntSearchFilter(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(IntSearchFilter_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct IntSearchFilterDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR IntSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~IntSearchFilterDefaultTypeInternal() {}
|
|
union {
|
|
IntSearchFilter _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntSearchFilterDefaultTypeInternal _IntSearchFilter_default_instance_;
|
|
|
|
inline constexpr CreateJoinRoomRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roombinattrinternal_{},
|
|
roomsearchableintattrexternal_{},
|
|
roomsearchablebinattrexternal_{},
|
|
roombinattrexternal_{},
|
|
groupconfig_{},
|
|
alloweduser_{},
|
|
blockeduser_{},
|
|
roommemberbinattrinternal_{},
|
|
roompassword_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
joinroomgrouplabel_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
teamid_{nullptr},
|
|
sigoptparam_{nullptr},
|
|
lobbyid_{::uint64_t{0u}},
|
|
worldid_{0u},
|
|
maxslot_{0u},
|
|
passwordslotmask_{::uint64_t{0u}},
|
|
flagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR CreateJoinRoomRequest::CreateJoinRoomRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(CreateJoinRoomRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct CreateJoinRoomRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR CreateJoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~CreateJoinRoomRequestDefaultTypeInternal() {}
|
|
union {
|
|
CreateJoinRoomRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateJoinRoomRequestDefaultTypeInternal _CreateJoinRoomRequest_default_instance_;
|
|
|
|
inline constexpr BinSearchFilter::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
searchoperator_{nullptr},
|
|
attr_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BinSearchFilter::BinSearchFilter(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(BinSearchFilter_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct BinSearchFilterDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BinSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BinSearchFilterDefaultTypeInternal() {}
|
|
union {
|
|
BinSearchFilter _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinSearchFilterDefaultTypeInternal _BinSearchFilter_default_instance_;
|
|
|
|
inline constexpr BinAttrInternal::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
updatememberid_{nullptr},
|
|
data_{nullptr},
|
|
updatedate_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BinAttrInternal::BinAttrInternal(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(BinAttrInternal_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct BinAttrInternalDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BinAttrInternalDefaultTypeInternal() {}
|
|
union {
|
|
BinAttrInternal _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrInternalDefaultTypeInternal _BinAttrInternal_default_instance_;
|
|
|
|
inline constexpr SearchRoomResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
rooms_{},
|
|
startindex_{0u},
|
|
total_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SearchRoomResponse::SearchRoomResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SearchRoomResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SearchRoomResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SearchRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SearchRoomResponseDefaultTypeInternal() {}
|
|
union {
|
|
SearchRoomResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomResponseDefaultTypeInternal _SearchRoomResponse_default_instance_;
|
|
|
|
inline constexpr SearchRoomRequest::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
intfilter_{},
|
|
binfilter_{},
|
|
attrid_{},
|
|
option_{0},
|
|
worldid_{0u},
|
|
lobbyid_{::uint64_t{0u}},
|
|
rangefilter_startindex_{0u},
|
|
rangefilter_max_{0u},
|
|
flagfilter_{0u},
|
|
flagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR SearchRoomRequest::SearchRoomRequest(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(SearchRoomRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct SearchRoomRequestDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR SearchRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~SearchRoomRequestDefaultTypeInternal() {}
|
|
union {
|
|
SearchRoomRequest _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomRequestDefaultTypeInternal _SearchRoomRequest_default_instance_;
|
|
|
|
inline constexpr RoomMemberDataInternal::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{},
|
|
userinfo_{nullptr},
|
|
teamid_{nullptr},
|
|
roomgroup_{nullptr},
|
|
nattype_{nullptr},
|
|
joindate_{::uint64_t{0u}},
|
|
memberid_{0u},
|
|
flagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomMemberDataInternal::RoomMemberDataInternal(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomMemberDataInternal_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomMemberDataInternalDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomMemberDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomMemberDataInternalDefaultTypeInternal() {}
|
|
union {
|
|
RoomMemberDataInternal _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalDefaultTypeInternal _RoomMemberDataInternal_default_instance_;
|
|
|
|
inline constexpr MatchingSearchJoinRoomInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
attr_{},
|
|
room_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(MatchingSearchJoinRoomInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct MatchingSearchJoinRoomInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~MatchingSearchJoinRoomInfoDefaultTypeInternal() {}
|
|
union {
|
|
MatchingSearchJoinRoomInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchJoinRoomInfoDefaultTypeInternal _MatchingSearchJoinRoomInfo_default_instance_;
|
|
|
|
inline constexpr GetRoomDataExternalListResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
rooms_{} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(GetRoomDataExternalListResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct GetRoomDataExternalListResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR GetRoomDataExternalListResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~GetRoomDataExternalListResponseDefaultTypeInternal() {}
|
|
union {
|
|
GetRoomDataExternalListResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListResponseDefaultTypeInternal _GetRoomDataExternalListResponse_default_instance_;
|
|
|
|
inline constexpr RoomMemberUpdateInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
roommemberdatainternal_{nullptr},
|
|
eventcause_{nullptr},
|
|
optdata_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomMemberUpdateInfo::RoomMemberUpdateInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomMemberUpdateInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomMemberUpdateInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomMemberUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomMemberUpdateInfoDefaultTypeInternal() {}
|
|
union {
|
|
RoomMemberUpdateInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberUpdateInfoDefaultTypeInternal _RoomMemberUpdateInfo_default_instance_;
|
|
|
|
inline constexpr RoomMemberDataInternalUpdateInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
newroommemberbinattrinternal_{},
|
|
newroommemberdatainternal_{nullptr},
|
|
prevteamid_{nullptr},
|
|
prevflagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomMemberDataInternalUpdateInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomMemberDataInternalUpdateInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomMemberDataInternalUpdateInfoDefaultTypeInternal() {}
|
|
union {
|
|
RoomMemberDataInternalUpdateInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalUpdateInfoDefaultTypeInternal _RoomMemberDataInternalUpdateInfo_default_instance_;
|
|
|
|
inline constexpr RoomDataInternal::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
memberlist_{},
|
|
roomgroup_{},
|
|
roombinattrinternal_{},
|
|
serverid_{nullptr},
|
|
ownerid_{nullptr},
|
|
lobbyid_{::uint64_t{0u}},
|
|
roomid_{::uint64_t{0u}},
|
|
worldid_{0u},
|
|
maxslot_{0u},
|
|
passwordslotmask_{::uint64_t{0u}},
|
|
flagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomDataInternal::RoomDataInternal(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomDataInternal_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomDataInternalDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomDataInternalDefaultTypeInternal() {}
|
|
union {
|
|
RoomDataInternal _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalDefaultTypeInternal _RoomDataInternal_default_instance_;
|
|
|
|
inline constexpr RoomDataInternalUpdateInfo::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
newroombinattrinternal_{},
|
|
newroomgroup_(
|
|
&::google::protobuf::internal::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized()),
|
|
newroomdatainternal_{nullptr},
|
|
prevroompasswordslotmask_{::uint64_t{0u}},
|
|
prevflagattr_{0u} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(RoomDataInternalUpdateInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct RoomDataInternalUpdateInfoDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~RoomDataInternalUpdateInfoDefaultTypeInternal() {}
|
|
union {
|
|
RoomDataInternalUpdateInfo _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalUpdateInfoDefaultTypeInternal _RoomDataInternalUpdateInfo_default_instance_;
|
|
|
|
inline constexpr NotificationUserJoinedRoom::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
update_info_{nullptr},
|
|
signaling_{nullptr},
|
|
room_id_{::uint64_t{0u}} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR NotificationUserJoinedRoom::NotificationUserJoinedRoom(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(NotificationUserJoinedRoom_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct NotificationUserJoinedRoomDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR NotificationUserJoinedRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~NotificationUserJoinedRoomDefaultTypeInternal() {}
|
|
union {
|
|
NotificationUserJoinedRoom _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotificationUserJoinedRoomDefaultTypeInternal _NotificationUserJoinedRoom_default_instance_;
|
|
|
|
inline constexpr JoinRoomResponse::Impl_::Impl_(
|
|
::_pbi::ConstantInitialized) noexcept
|
|
: _cached_size_{0},
|
|
signaling_data_{},
|
|
room_data_{nullptr} {}
|
|
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR JoinRoomResponse::JoinRoomResponse(::_pbi::ConstantInitialized)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(JoinRoomResponse_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(::_pbi::ConstantInitialized()) {
|
|
}
|
|
struct JoinRoomResponseDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR JoinRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~JoinRoomResponseDefaultTypeInternal() {}
|
|
union {
|
|
JoinRoomResponse _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomResponseDefaultTypeInternal _JoinRoomResponse_default_instance_;
|
|
} // namespace np2_structs
|
|
namespace np2_structs {
|
|
// ===================================================================
|
|
|
|
class uint8::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<uint8>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_);
|
|
};
|
|
|
|
uint8::uint8(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, uint8_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.uint8)
|
|
}
|
|
uint8::uint8(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint8& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, uint8_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE uint8::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void uint8::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.value_ = {};
|
|
}
|
|
uint8::~uint8() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.uint8)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void uint8::SharedDtor(MessageLite& self) {
|
|
uint8& this_ = static_cast<uint8&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL uint8::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) uint8(arena);
|
|
}
|
|
constexpr auto uint8::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint8),
|
|
alignof(uint8));
|
|
}
|
|
constexpr auto uint8::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<18>{
|
|
{
|
|
&_uint8_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&uint8::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<uint8>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&uint8::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<uint8>(), &uint8::ByteSizeLong,
|
|
&uint8::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(uint8, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.uint8",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<18> uint8_class_data_ =
|
|
uint8::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
uint8::GetClassData() const {
|
|
return uint8_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
|
|
uint8::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
uint8_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::uint8>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 value = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void uint8::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.uint8)
|
|
::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_.value_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const uint8& this_ = static_cast<const uint8&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const uint8& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint8)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 value = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_value(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint8)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t uint8::ByteSizeLong(const MessageLite& base) {
|
|
const uint8& this_ = static_cast<const uint8&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t uint8::ByteSizeLong() const {
|
|
const uint8& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.uint8)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void)cached_has_bits;
|
|
|
|
{
|
|
// uint32 value = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_value());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void uint8::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<uint8*>(&to_msg);
|
|
auto& from = static_cast<const uint8&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint8)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_value() != 0) {
|
|
_this->_impl_.value_ = from._impl_.value_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void uint8::CopyFrom(const uint8& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint8)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void uint8::InternalSwap(uint8* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class uint16::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<uint16>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_);
|
|
};
|
|
|
|
uint16::uint16(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, uint16_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.uint16)
|
|
}
|
|
uint16::uint16(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint16& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, uint16_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE uint16::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void uint16::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.value_ = {};
|
|
}
|
|
uint16::~uint16() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.uint16)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void uint16::SharedDtor(MessageLite& self) {
|
|
uint16& this_ = static_cast<uint16&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL uint16::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) uint16(arena);
|
|
}
|
|
constexpr auto uint16::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint16),
|
|
alignof(uint16));
|
|
}
|
|
constexpr auto uint16::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<19>{
|
|
{
|
|
&_uint16_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&uint16::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<uint16>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&uint16::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<uint16>(), &uint16::ByteSizeLong,
|
|
&uint16::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(uint16, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.uint16",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<19> uint16_class_data_ =
|
|
uint16::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
uint16::GetClassData() const {
|
|
return uint16_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
|
|
uint16::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
uint16_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::uint16>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 value = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void uint16::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.uint16)
|
|
::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_.value_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const uint16& this_ = static_cast<const uint16&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const uint16& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint16)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 value = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_value(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint16)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t uint16::ByteSizeLong(const MessageLite& base) {
|
|
const uint16& this_ = static_cast<const uint16&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t uint16::ByteSizeLong() const {
|
|
const uint16& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.uint16)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void)cached_has_bits;
|
|
|
|
{
|
|
// uint32 value = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_value());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void uint16::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<uint16*>(&to_msg);
|
|
auto& from = static_cast<const uint16&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint16)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_value() != 0) {
|
|
_this->_impl_.value_ = from._impl_.value_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void uint16::CopyFrom(const uint16& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint16)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void uint16::InternalSwap(uint16* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SignalingAddr::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SignalingAddr>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._has_bits_);
|
|
};
|
|
|
|
SignalingAddr::SignalingAddr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SignalingAddr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SignalingAddr& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ip_(arena, from.ip_) {}
|
|
|
|
SignalingAddr::SignalingAddr(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SignalingAddr& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SignalingAddr* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.port_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SignalingAddr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
ip_(arena) {}
|
|
|
|
inline void SignalingAddr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.port_ = {};
|
|
}
|
|
SignalingAddr::~SignalingAddr() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SignalingAddr)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SignalingAddr::SharedDtor(MessageLite& self) {
|
|
SignalingAddr& this_ = static_cast<SignalingAddr&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.ip_.Destroy();
|
|
delete this_._impl_.port_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SignalingAddr::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SignalingAddr(arena);
|
|
}
|
|
constexpr auto SignalingAddr::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SignalingAddr),
|
|
alignof(SignalingAddr));
|
|
}
|
|
constexpr auto SignalingAddr::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<26>{
|
|
{
|
|
&_SignalingAddr_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SignalingAddr::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SignalingAddr>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SignalingAddr::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SignalingAddr>(), &SignalingAddr::ByteSizeLong,
|
|
&SignalingAddr::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SignalingAddr",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<26> SignalingAddr_class_data_ =
|
|
SignalingAddr::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SignalingAddr::GetClassData() const {
|
|
return SignalingAddr_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
SignalingAddr::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SignalingAddr_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.uint16 port = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_)}},
|
|
// bytes ip = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes ip = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// .np2_structs.uint16 port = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SignalingAddr::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SignalingAddr)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.ip_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.port_ != nullptr);
|
|
_impl_.port_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SignalingAddr& this_ = static_cast<const SignalingAddr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SignalingAddr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SignalingAddr)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes ip = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ip().empty()) {
|
|
const ::std::string& _s = this_._internal_ip();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 port = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.port_, this_._impl_.port_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SignalingAddr)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SignalingAddr::ByteSizeLong(const MessageLite& base) {
|
|
const SignalingAddr& this_ = static_cast<const SignalingAddr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SignalingAddr::ByteSizeLong() const {
|
|
const SignalingAddr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SignalingAddr)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// bytes ip = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ip().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_ip());
|
|
}
|
|
}
|
|
// .np2_structs.uint16 port = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.port_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SignalingAddr::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SignalingAddr*>(&to_msg);
|
|
auto& from = static_cast<const SignalingAddr&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SignalingAddr)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_ip().empty()) {
|
|
_this->_internal_set_ip(from._internal_ip());
|
|
} else {
|
|
if (_this->_impl_.ip_.IsDefault()) {
|
|
_this->_internal_set_ip("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.port_ != nullptr);
|
|
if (_this->_impl_.port_ == nullptr) {
|
|
_this->_impl_.port_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_);
|
|
} else {
|
|
_this->_impl_.port_->MergeFrom(*from._impl_.port_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SignalingAddr::CopyFrom(const SignalingAddr& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SignalingAddr)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SignalingAddr::InternalSwap(SignalingAddr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, &other->_impl_.ip_, arena);
|
|
swap(_impl_.port_, other->_impl_.port_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingSignalingInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingSignalingInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingSignalingInfo::MatchingSignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSignalingInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingSignalingInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_) {}
|
|
|
|
MatchingSignalingInfo::MatchingSignalingInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingSignalingInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingSignalingInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingSignalingInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena) {}
|
|
|
|
inline void MatchingSignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.addr_ = {};
|
|
}
|
|
MatchingSignalingInfo::~MatchingSignalingInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingSignalingInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingSignalingInfo::SharedDtor(MessageLite& self) {
|
|
MatchingSignalingInfo& this_ = static_cast<MatchingSignalingInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
delete this_._impl_.addr_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingSignalingInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingSignalingInfo(arena);
|
|
}
|
|
constexpr auto MatchingSignalingInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingSignalingInfo),
|
|
alignof(MatchingSignalingInfo));
|
|
}
|
|
constexpr auto MatchingSignalingInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<34>{
|
|
{
|
|
&_MatchingSignalingInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingSignalingInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingSignalingInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingSignalingInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingSignalingInfo>(), &MatchingSignalingInfo::ByteSizeLong,
|
|
&MatchingSignalingInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingSignalingInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<34> MatchingSignalingInfo_class_data_ =
|
|
MatchingSignalingInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingSignalingInfo::GetClassData() const {
|
|
return MatchingSignalingInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 46, 2>
|
|
MatchingSignalingInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MatchingSignalingInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingSignalingInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_)}},
|
|
// string npid = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string npid = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()},
|
|
}},
|
|
{{
|
|
"\41\4\0\0\0\0\0\0"
|
|
"np2_structs.MatchingSignalingInfo"
|
|
"npid"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingSignalingInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSignalingInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.addr_ != nullptr);
|
|
_impl_.addr_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingSignalingInfo& this_ = static_cast<const MatchingSignalingInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingSignalingInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSignalingInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string npid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MatchingSignalingInfo.npid");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSignalingInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingSignalingInfo::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingSignalingInfo& this_ = static_cast<const MatchingSignalingInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingSignalingInfo::ByteSizeLong() const {
|
|
const MatchingSignalingInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSignalingInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// string npid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingSignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingSignalingInfo*>(&to_msg);
|
|
auto& from = static_cast<const MatchingSignalingInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSignalingInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.addr_ != nullptr);
|
|
if (_this->_impl_.addr_ == nullptr) {
|
|
_this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_);
|
|
} else {
|
|
_this->_impl_.addr_->MergeFrom(*from._impl_.addr_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingSignalingInfo::CopyFrom(const MatchingSignalingInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSignalingInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingSignalingInfo::InternalSwap(MatchingSignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
swap(_impl_.addr_, other->_impl_.addr_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class Matching2SignalingInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<Matching2SignalingInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
Matching2SignalingInfo::Matching2SignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.Matching2SignalingInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::Matching2SignalingInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
Matching2SignalingInfo::Matching2SignalingInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const Matching2SignalingInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
Matching2SignalingInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.member_id_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_)
|
|
: nullptr;
|
|
_impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.Matching2SignalingInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void Matching2SignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, member_id_),
|
|
0,
|
|
offsetof(Impl_, addr_) -
|
|
offsetof(Impl_, member_id_) +
|
|
sizeof(Impl_::addr_));
|
|
}
|
|
Matching2SignalingInfo::~Matching2SignalingInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.Matching2SignalingInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void Matching2SignalingInfo::SharedDtor(MessageLite& self) {
|
|
Matching2SignalingInfo& this_ = static_cast<Matching2SignalingInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.member_id_;
|
|
delete this_._impl_.addr_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL Matching2SignalingInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) Matching2SignalingInfo(arena);
|
|
}
|
|
constexpr auto Matching2SignalingInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Matching2SignalingInfo),
|
|
alignof(Matching2SignalingInfo));
|
|
}
|
|
constexpr auto Matching2SignalingInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<35>{
|
|
{
|
|
&_Matching2SignalingInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&Matching2SignalingInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<Matching2SignalingInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&Matching2SignalingInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<Matching2SignalingInfo>(), &Matching2SignalingInfo::ByteSizeLong,
|
|
&Matching2SignalingInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.Matching2SignalingInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<35> Matching2SignalingInfo_class_data_ =
|
|
Matching2SignalingInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
Matching2SignalingInfo::GetClassData() const {
|
|
return Matching2SignalingInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
Matching2SignalingInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
Matching2SignalingInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_)}},
|
|
// .np2_structs.uint16 member_id = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 member_id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void Matching2SignalingInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.Matching2SignalingInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.member_id_ != nullptr);
|
|
_impl_.member_id_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.addr_ != nullptr);
|
|
_impl_.addr_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const Matching2SignalingInfo& this_ = static_cast<const Matching2SignalingInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const Matching2SignalingInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.Matching2SignalingInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 member_id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.member_id_, this_._impl_.member_id_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.Matching2SignalingInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t Matching2SignalingInfo::ByteSizeLong(const MessageLite& base) {
|
|
const Matching2SignalingInfo& this_ = static_cast<const Matching2SignalingInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t Matching2SignalingInfo::ByteSizeLong() const {
|
|
const Matching2SignalingInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.Matching2SignalingInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.uint16 member_id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.member_id_);
|
|
}
|
|
// .np2_structs.SignalingAddr addr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void Matching2SignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<Matching2SignalingInfo*>(&to_msg);
|
|
auto& from = static_cast<const Matching2SignalingInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.Matching2SignalingInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.member_id_ != nullptr);
|
|
if (_this->_impl_.member_id_ == nullptr) {
|
|
_this->_impl_.member_id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_);
|
|
} else {
|
|
_this->_impl_.member_id_->MergeFrom(*from._impl_.member_id_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.addr_ != nullptr);
|
|
if (_this->_impl_.addr_ == nullptr) {
|
|
_this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_);
|
|
} else {
|
|
_this->_impl_.addr_->MergeFrom(*from._impl_.addr_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void Matching2SignalingInfo::CopyFrom(const Matching2SignalingInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.Matching2SignalingInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void Matching2SignalingInfo::InternalSwap(Matching2SignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_)
|
|
+ sizeof(Matching2SignalingInfo::_impl_.addr_)
|
|
- PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)>(
|
|
reinterpret_cast<char*>(&_impl_.member_id_),
|
|
reinterpret_cast<char*>(&other->_impl_.member_id_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class BinAttr::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<BinAttr>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._has_bits_);
|
|
};
|
|
|
|
BinAttr::BinAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.BinAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::BinAttr& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
data_(arena, from.data_) {}
|
|
|
|
BinAttr::BinAttr(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const BinAttr& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
BinAttr* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.BinAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
data_(arena) {}
|
|
|
|
inline void BinAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.id_ = {};
|
|
}
|
|
BinAttr::~BinAttr() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.BinAttr)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void BinAttr::SharedDtor(MessageLite& self) {
|
|
BinAttr& this_ = static_cast<BinAttr&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
delete this_._impl_.id_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL BinAttr::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) BinAttr(arena);
|
|
}
|
|
constexpr auto BinAttr::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BinAttr),
|
|
alignof(BinAttr));
|
|
}
|
|
constexpr auto BinAttr::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<20>{
|
|
{
|
|
&_BinAttr_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&BinAttr::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<BinAttr>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&BinAttr::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<BinAttr>(), &BinAttr::ByteSizeLong,
|
|
&BinAttr::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.BinAttr",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<20> BinAttr_class_data_ =
|
|
BinAttr::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
BinAttr::GetClassData() const {
|
|
return BinAttr_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
BinAttr::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
BinAttr_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::BinAttr>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 2;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_)}},
|
|
// .np2_structs.uint16 id = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bytes data = 2;
|
|
{PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void BinAttr::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttr)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.id_ != nullptr);
|
|
_impl_.id_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const BinAttr& this_ = static_cast<const BinAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const BinAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttr)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bytes data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttr)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t BinAttr::ByteSizeLong(const MessageLite& base) {
|
|
const BinAttr& this_ = static_cast<const BinAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t BinAttr::ByteSizeLong() const {
|
|
const BinAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttr)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// bytes data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// .np2_structs.uint16 id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void BinAttr::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<BinAttr*>(&to_msg);
|
|
auto& from = static_cast<const BinAttr&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttr)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.id_ != nullptr);
|
|
if (_this->_impl_.id_ == nullptr) {
|
|
_this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_);
|
|
} else {
|
|
_this->_impl_.id_->MergeFrom(*from._impl_.id_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void BinAttr::CopyFrom(const BinAttr& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttr)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void BinAttr::InternalSwap(BinAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
swap(_impl_.id_, other->_impl_.id_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class IntAttr::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<IntAttr>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._has_bits_);
|
|
};
|
|
|
|
IntAttr::IntAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.IntAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::IntAttr& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
IntAttr::IntAttr(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const IntAttr& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
IntAttr* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_)
|
|
: nullptr;
|
|
_impl_.num_ = from._impl_.num_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.IntAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void IntAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, id_),
|
|
0,
|
|
offsetof(Impl_, num_) -
|
|
offsetof(Impl_, id_) +
|
|
sizeof(Impl_::num_));
|
|
}
|
|
IntAttr::~IntAttr() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.IntAttr)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void IntAttr::SharedDtor(MessageLite& self) {
|
|
IntAttr& this_ = static_cast<IntAttr&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.id_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL IntAttr::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) IntAttr(arena);
|
|
}
|
|
constexpr auto IntAttr::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntAttr),
|
|
alignof(IntAttr));
|
|
}
|
|
constexpr auto IntAttr::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<20>{
|
|
{
|
|
&_IntAttr_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&IntAttr::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<IntAttr>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&IntAttr::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<IntAttr>(), &IntAttr::ByteSizeLong,
|
|
&IntAttr::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.IntAttr",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<20> IntAttr_class_data_ =
|
|
IntAttr::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
IntAttr::GetClassData() const {
|
|
return IntAttr_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
IntAttr::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
IntAttr_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::IntAttr>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 num = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_)}},
|
|
// .np2_structs.uint16 id = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 num = 2;
|
|
{PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void IntAttr::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.IntAttr)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.id_ != nullptr);
|
|
_impl_.id_->Clear();
|
|
}
|
|
_impl_.num_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const IntAttr& this_ = static_cast<const IntAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const IntAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.IntAttr)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 num = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_num() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_num(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.IntAttr)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t IntAttr::ByteSizeLong(const MessageLite& base) {
|
|
const IntAttr& this_ = static_cast<const IntAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t IntAttr::ByteSizeLong() const {
|
|
const IntAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.IntAttr)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.uint16 id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_);
|
|
}
|
|
// uint32 num = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_num() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_num());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void IntAttr::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<IntAttr*>(&to_msg);
|
|
auto& from = static_cast<const IntAttr&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.IntAttr)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.id_ != nullptr);
|
|
if (_this->_impl_.id_ == nullptr) {
|
|
_this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_);
|
|
} else {
|
|
_this->_impl_.id_->MergeFrom(*from._impl_.id_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_num() != 0) {
|
|
_this->_impl_.num_ = from._impl_.num_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void IntAttr::CopyFrom(const IntAttr& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.IntAttr)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void IntAttr::InternalSwap(IntAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_)
|
|
+ sizeof(IntAttr::_impl_.num_)
|
|
- PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)>(
|
|
reinterpret_cast<char*>(&_impl_.id_),
|
|
reinterpret_cast<char*>(&other->_impl_.id_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomMemberBinAttrInternal::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomMemberBinAttrInternal>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberBinAttrInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomMemberBinAttrInternal& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomMemberBinAttrInternal& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomMemberBinAttrInternal* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_)
|
|
: nullptr;
|
|
_impl_.updatedate_ = from._impl_.updatedate_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberBinAttrInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void RoomMemberBinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, data_),
|
|
0,
|
|
offsetof(Impl_, updatedate_) -
|
|
offsetof(Impl_, data_) +
|
|
sizeof(Impl_::updatedate_));
|
|
}
|
|
RoomMemberBinAttrInternal::~RoomMemberBinAttrInternal() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomMemberBinAttrInternal)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomMemberBinAttrInternal::SharedDtor(MessageLite& self) {
|
|
RoomMemberBinAttrInternal& this_ = static_cast<RoomMemberBinAttrInternal&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.data_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomMemberBinAttrInternal::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomMemberBinAttrInternal(arena);
|
|
}
|
|
constexpr auto RoomMemberBinAttrInternal::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberBinAttrInternal),
|
|
alignof(RoomMemberBinAttrInternal));
|
|
}
|
|
constexpr auto RoomMemberBinAttrInternal::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<38>{
|
|
{
|
|
&_RoomMemberBinAttrInternal_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomMemberBinAttrInternal::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomMemberBinAttrInternal>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomMemberBinAttrInternal::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomMemberBinAttrInternal>(), &RoomMemberBinAttrInternal::ByteSizeLong,
|
|
&RoomMemberBinAttrInternal::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomMemberBinAttrInternal",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_ =
|
|
RoomMemberBinAttrInternal::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomMemberBinAttrInternal::GetClassData() const {
|
|
return RoomMemberBinAttrInternal_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
RoomMemberBinAttrInternal::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomMemberBinAttrInternal_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomMemberBinAttrInternal>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.BinAttr data = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)}},
|
|
// uint64 updateDate = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 updateDate = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.BinAttr data = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomMemberBinAttrInternal::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberBinAttrInternal)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.data_ != nullptr);
|
|
_impl_.data_->Clear();
|
|
}
|
|
_impl_.updatedate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomMemberBinAttrInternal& this_ = static_cast<const RoomMemberBinAttrInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomMemberBinAttrInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberBinAttrInternal)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 updateDate = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_updatedate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_updatedate(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.BinAttr data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberBinAttrInternal)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomMemberBinAttrInternal::ByteSizeLong(const MessageLite& base) {
|
|
const RoomMemberBinAttrInternal& this_ = static_cast<const RoomMemberBinAttrInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomMemberBinAttrInternal::ByteSizeLong() const {
|
|
const RoomMemberBinAttrInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberBinAttrInternal)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.BinAttr data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_);
|
|
}
|
|
// uint64 updateDate = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_updatedate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_updatedate());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomMemberBinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomMemberBinAttrInternal*>(&to_msg);
|
|
auto& from = static_cast<const RoomMemberBinAttrInternal&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberBinAttrInternal)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.data_ != nullptr);
|
|
if (_this->_impl_.data_ == nullptr) {
|
|
_this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_);
|
|
} else {
|
|
_this->_impl_.data_->MergeFrom(*from._impl_.data_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_updatedate() != 0) {
|
|
_this->_impl_.updatedate_ = from._impl_.updatedate_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomMemberBinAttrInternal::CopyFrom(const RoomMemberBinAttrInternal& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberBinAttrInternal)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomMemberBinAttrInternal::InternalSwap(RoomMemberBinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_)
|
|
+ sizeof(RoomMemberBinAttrInternal::_impl_.updatedate_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)>(
|
|
reinterpret_cast<char*>(&_impl_.data_),
|
|
reinterpret_cast<char*>(&other->_impl_.data_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class BinAttrInternal::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<BinAttrInternal>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._has_bits_);
|
|
};
|
|
|
|
BinAttrInternal::BinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.BinAttrInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::BinAttrInternal& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
BinAttrInternal::BinAttrInternal(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const BinAttrInternal& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
BinAttrInternal* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.updatememberid_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_)
|
|
: nullptr;
|
|
_impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_)
|
|
: nullptr;
|
|
_impl_.updatedate_ = from._impl_.updatedate_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.BinAttrInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void BinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, updatememberid_),
|
|
0,
|
|
offsetof(Impl_, updatedate_) -
|
|
offsetof(Impl_, updatememberid_) +
|
|
sizeof(Impl_::updatedate_));
|
|
}
|
|
BinAttrInternal::~BinAttrInternal() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.BinAttrInternal)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void BinAttrInternal::SharedDtor(MessageLite& self) {
|
|
BinAttrInternal& this_ = static_cast<BinAttrInternal&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.updatememberid_;
|
|
delete this_._impl_.data_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL BinAttrInternal::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) BinAttrInternal(arena);
|
|
}
|
|
constexpr auto BinAttrInternal::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinAttrInternal),
|
|
alignof(BinAttrInternal));
|
|
}
|
|
constexpr auto BinAttrInternal::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<28>{
|
|
{
|
|
&_BinAttrInternal_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&BinAttrInternal::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<BinAttrInternal>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&BinAttrInternal::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<BinAttrInternal>(), &BinAttrInternal::ByteSizeLong,
|
|
&BinAttrInternal::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.BinAttrInternal",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<28> BinAttrInternal_class_data_ =
|
|
BinAttrInternal::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
BinAttrInternal::GetClassData() const {
|
|
return BinAttrInternal_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
|
|
BinAttrInternal::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
BinAttrInternal_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::BinAttrInternal>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 updateDate = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_)}},
|
|
// .np2_structs.uint16 updateMemberId = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)}},
|
|
// .np2_structs.BinAttr data = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 updateDate = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint16 updateMemberId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.BinAttr data = 3;
|
|
{PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void BinAttrInternal::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttrInternal)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.updatememberid_ != nullptr);
|
|
_impl_.updatememberid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.data_ != nullptr);
|
|
_impl_.data_->Clear();
|
|
}
|
|
}
|
|
_impl_.updatedate_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const BinAttrInternal& this_ = static_cast<const BinAttrInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const BinAttrInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttrInternal)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 updateDate = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_updatedate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_updatedate(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 updateMemberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.updatememberid_, this_._impl_.updatememberid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.BinAttr data = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttrInternal)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t BinAttrInternal::ByteSizeLong(const MessageLite& base) {
|
|
const BinAttrInternal& this_ = static_cast<const BinAttrInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t BinAttrInternal::ByteSizeLong() const {
|
|
const BinAttrInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttrInternal)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// .np2_structs.uint16 updateMemberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updatememberid_);
|
|
}
|
|
// .np2_structs.BinAttr data = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_);
|
|
}
|
|
// uint64 updateDate = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_updatedate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_updatedate());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void BinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<BinAttrInternal*>(&to_msg);
|
|
auto& from = static_cast<const BinAttrInternal&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttrInternal)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.updatememberid_ != nullptr);
|
|
if (_this->_impl_.updatememberid_ == nullptr) {
|
|
_this->_impl_.updatememberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_);
|
|
} else {
|
|
_this->_impl_.updatememberid_->MergeFrom(*from._impl_.updatememberid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.data_ != nullptr);
|
|
if (_this->_impl_.data_ == nullptr) {
|
|
_this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_);
|
|
} else {
|
|
_this->_impl_.data_->MergeFrom(*from._impl_.data_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_updatedate() != 0) {
|
|
_this->_impl_.updatedate_ = from._impl_.updatedate_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void BinAttrInternal::CopyFrom(const BinAttrInternal& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttrInternal)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void BinAttrInternal::InternalSwap(BinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_)
|
|
+ sizeof(BinAttrInternal::_impl_.updatedate_)
|
|
- PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)>(
|
|
reinterpret_cast<char*>(&_impl_.updatememberid_),
|
|
reinterpret_cast<char*>(&other->_impl_.updatememberid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class OptParam::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<OptParam>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(OptParam, _impl_._has_bits_);
|
|
};
|
|
|
|
OptParam::OptParam(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.OptParam)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::OptParam& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
OptParam::OptParam(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const OptParam& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
OptParam* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.type_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_)
|
|
: nullptr;
|
|
_impl_.flag_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.flag_)
|
|
: nullptr;
|
|
_impl_.hubmemberid_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hubmemberid_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.OptParam)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void OptParam::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, type_),
|
|
0,
|
|
offsetof(Impl_, hubmemberid_) -
|
|
offsetof(Impl_, type_) +
|
|
sizeof(Impl_::hubmemberid_));
|
|
}
|
|
OptParam::~OptParam() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.OptParam)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void OptParam::SharedDtor(MessageLite& self) {
|
|
OptParam& this_ = static_cast<OptParam&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.type_;
|
|
delete this_._impl_.flag_;
|
|
delete this_._impl_.hubmemberid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL OptParam::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) OptParam(arena);
|
|
}
|
|
constexpr auto OptParam::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OptParam),
|
|
alignof(OptParam));
|
|
}
|
|
constexpr auto OptParam::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<21>{
|
|
{
|
|
&_OptParam_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&OptParam::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<OptParam>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&OptParam::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<OptParam>(), &OptParam::ByteSizeLong,
|
|
&OptParam::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.OptParam",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<21> OptParam_class_data_ =
|
|
OptParam::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
OptParam::GetClassData() const {
|
|
return OptParam_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 3, 0, 2>
|
|
OptParam::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_._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
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
OptParam_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::OptParam>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.uint8 type = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_)}},
|
|
// .np2_structs.uint8 flag = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_.flag_)}},
|
|
// .np2_structs.uint16 hubMemberId = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 2, 2,
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 type = 1;
|
|
{PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 flag = 2;
|
|
{PROTOBUF_FIELD_OFFSET(OptParam, _impl_.flag_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 hubMemberId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void OptParam::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.OptParam)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.type_ != nullptr);
|
|
_impl_.type_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.flag_ != nullptr);
|
|
_impl_.flag_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.hubmemberid_ != nullptr);
|
|
_impl_.hubmemberid_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL OptParam::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const OptParam& this_ = static_cast<const OptParam&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL OptParam::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const OptParam& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.OptParam)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.type_, this_._impl_.type_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint8 flag = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.flag_, this_._impl_.flag_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 hubMemberId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.hubmemberid_, this_._impl_.hubmemberid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.OptParam)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t OptParam::ByteSizeLong(const MessageLite& base) {
|
|
const OptParam& this_ = static_cast<const OptParam&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t OptParam::ByteSizeLong() const {
|
|
const OptParam& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.OptParam)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// .np2_structs.uint8 type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_);
|
|
}
|
|
// .np2_structs.uint8 flag = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.flag_);
|
|
}
|
|
// .np2_structs.uint16 hubMemberId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.hubmemberid_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void OptParam::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<OptParam*>(&to_msg);
|
|
auto& from = static_cast<const OptParam&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.OptParam)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.type_ != nullptr);
|
|
if (_this->_impl_.type_ == nullptr) {
|
|
_this->_impl_.type_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_);
|
|
} else {
|
|
_this->_impl_.type_->MergeFrom(*from._impl_.type_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.flag_ != nullptr);
|
|
if (_this->_impl_.flag_ == nullptr) {
|
|
_this->_impl_.flag_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.flag_);
|
|
} else {
|
|
_this->_impl_.flag_->MergeFrom(*from._impl_.flag_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.hubmemberid_ != nullptr);
|
|
if (_this->_impl_.hubmemberid_ == nullptr) {
|
|
_this->_impl_.hubmemberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hubmemberid_);
|
|
} else {
|
|
_this->_impl_.hubmemberid_->MergeFrom(*from._impl_.hubmemberid_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void OptParam::CopyFrom(const OptParam& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.OptParam)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void OptParam::InternalSwap(OptParam* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_)
|
|
+ sizeof(OptParam::_impl_.hubmemberid_)
|
|
- PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_)>(
|
|
reinterpret_cast<char*>(&_impl_.type_),
|
|
reinterpret_cast<char*>(&other->_impl_.type_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GroupConfig::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GroupConfig>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._has_bits_);
|
|
};
|
|
|
|
GroupConfig::GroupConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GroupConfig_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GroupConfig)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GroupConfig::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GroupConfig& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
label_(arena, from.label_) {}
|
|
|
|
GroupConfig::GroupConfig(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GroupConfig& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GroupConfig_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GroupConfig* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, slotnum_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, slotnum_),
|
|
offsetof(Impl_, withpassword_) -
|
|
offsetof(Impl_, slotnum_) +
|
|
sizeof(Impl_::withpassword_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GroupConfig)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GroupConfig::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
label_(arena) {}
|
|
|
|
inline void GroupConfig::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, slotnum_),
|
|
0,
|
|
offsetof(Impl_, withpassword_) -
|
|
offsetof(Impl_, slotnum_) +
|
|
sizeof(Impl_::withpassword_));
|
|
}
|
|
GroupConfig::~GroupConfig() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GroupConfig)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GroupConfig::SharedDtor(MessageLite& self) {
|
|
GroupConfig& this_ = static_cast<GroupConfig&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.label_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GroupConfig::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GroupConfig(arena);
|
|
}
|
|
constexpr auto GroupConfig::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GroupConfig),
|
|
alignof(GroupConfig));
|
|
}
|
|
constexpr auto GroupConfig::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<24>{
|
|
{
|
|
&_GroupConfig_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GroupConfig::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GroupConfig>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GroupConfig::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GroupConfig>(), &GroupConfig::ByteSizeLong,
|
|
&GroupConfig::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GroupConfig",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<24> GroupConfig_class_data_ =
|
|
GroupConfig::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GroupConfig::GetClassData() const {
|
|
return GroupConfig_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
|
|
GroupConfig::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._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
|
|
GroupConfig_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GroupConfig>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 slotNum = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_)}},
|
|
// bytes label = 2;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.label_)}},
|
|
// bool withPassword = 3;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 slotNum = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bytes label = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.label_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// bool withPassword = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GroupConfig::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GroupConfig)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.label_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
|
|
::memset(&_impl_.slotnum_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.withpassword_) -
|
|
reinterpret_cast<char*>(&_impl_.slotnum_)) + sizeof(_impl_.withpassword_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GroupConfig::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GroupConfig& this_ = static_cast<const GroupConfig&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GroupConfig::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GroupConfig& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GroupConfig)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 slotNum = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotnum() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_slotnum(), target);
|
|
}
|
|
}
|
|
|
|
// bytes label = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_label().empty()) {
|
|
const ::std::string& _s = this_._internal_label();
|
|
target = stream->WriteBytesMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// bool withPassword = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
3, this_._internal_withpassword(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GroupConfig)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GroupConfig::ByteSizeLong(const MessageLite& base) {
|
|
const GroupConfig& this_ = static_cast<const GroupConfig&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GroupConfig::ByteSizeLong() const {
|
|
const GroupConfig& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GroupConfig)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// bytes label = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_label().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_label());
|
|
}
|
|
}
|
|
// uint32 slotNum = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotnum() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_slotnum());
|
|
}
|
|
}
|
|
// bool withPassword = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GroupConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GroupConfig*>(&to_msg);
|
|
auto& from = static_cast<const GroupConfig&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GroupConfig)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_label().empty()) {
|
|
_this->_internal_set_label(from._internal_label());
|
|
} else {
|
|
if (_this->_impl_.label_.IsDefault()) {
|
|
_this->_internal_set_label("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_slotnum() != 0) {
|
|
_this->_impl_.slotnum_ = from._impl_.slotnum_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_withpassword() != 0) {
|
|
_this->_impl_.withpassword_ = from._impl_.withpassword_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GroupConfig::CopyFrom(const GroupConfig& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GroupConfig)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GroupConfig::InternalSwap(GroupConfig* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.label_, &other->_impl_.label_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_)
|
|
+ sizeof(GroupConfig::_impl_.withpassword_)
|
|
- PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_)>(
|
|
reinterpret_cast<char*>(&_impl_.slotnum_),
|
|
reinterpret_cast<char*>(&other->_impl_.slotnum_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class UserInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<UserInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
UserInfo::UserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, UserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.UserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE UserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::UserInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_),
|
|
onlinename_(arena, from.onlinename_),
|
|
avatarurl_(arena, from.avatarurl_) {}
|
|
|
|
UserInfo::UserInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const UserInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, UserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
UserInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.UserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE UserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena),
|
|
onlinename_(arena),
|
|
avatarurl_(arena) {}
|
|
|
|
inline void UserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
UserInfo::~UserInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.UserInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void UserInfo::SharedDtor(MessageLite& self) {
|
|
UserInfo& this_ = static_cast<UserInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
this_._impl_.onlinename_.Destroy();
|
|
this_._impl_.avatarurl_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL UserInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) UserInfo(arena);
|
|
}
|
|
constexpr auto UserInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UserInfo),
|
|
alignof(UserInfo));
|
|
}
|
|
constexpr auto UserInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<21>{
|
|
{
|
|
&_UserInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&UserInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<UserInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&UserInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<UserInfo>(), &UserInfo::ByteSizeLong,
|
|
&UserInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.UserInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<21> UserInfo_class_data_ =
|
|
UserInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
UserInfo::GetClassData() const {
|
|
return UserInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 52, 2>
|
|
UserInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._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
|
|
UserInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::UserInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// string npId = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.npid_)}},
|
|
// string onlineName = 2;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.onlinename_)}},
|
|
// string avatarUrl = 3;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{26, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.avatarurl_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string npId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string onlineName = 2;
|
|
{PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.onlinename_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string avatarUrl = 3;
|
|
{PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.avatarurl_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\24\4\12\11\0\0\0\0"
|
|
"np2_structs.UserInfo"
|
|
"npId"
|
|
"onlineName"
|
|
"avatarUrl"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void UserInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.UserInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.onlinename_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.avatarurl_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL UserInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const UserInfo& this_ = static_cast<const UserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL UserInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const UserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.UserInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string npId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.npId");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// string onlineName = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_onlinename().empty()) {
|
|
const ::std::string& _s = this_._internal_onlinename();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.onlineName");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// string avatarUrl = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_avatarurl().empty()) {
|
|
const ::std::string& _s = this_._internal_avatarurl();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.avatarUrl");
|
|
target = stream->WriteStringMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.UserInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t UserInfo::ByteSizeLong(const MessageLite& base) {
|
|
const UserInfo& this_ = static_cast<const UserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t UserInfo::ByteSizeLong() const {
|
|
const UserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.UserInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// string npId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// string onlineName = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_onlinename().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_onlinename());
|
|
}
|
|
}
|
|
// string avatarUrl = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_avatarurl().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_avatarurl());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void UserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<UserInfo*>(&to_msg);
|
|
auto& from = static_cast<const UserInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.UserInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_onlinename().empty()) {
|
|
_this->_internal_set_onlinename(from._internal_onlinename());
|
|
} else {
|
|
if (_this->_impl_.onlinename_.IsDefault()) {
|
|
_this->_internal_set_onlinename("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_avatarurl().empty()) {
|
|
_this->_internal_set_avatarurl(from._internal_avatarurl());
|
|
} else {
|
|
if (_this->_impl_.avatarurl_.IsDefault()) {
|
|
_this->_internal_set_avatarurl("");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void UserInfo::CopyFrom(const UserInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.UserInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void UserInfo::InternalSwap(UserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.onlinename_, &other->_impl_.onlinename_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.avatarurl_, &other->_impl_.avatarurl_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomMemberDataInternal::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomMemberDataInternal>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomMemberDataInternal::RoomMemberDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberDataInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberDataInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberDataInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomMemberDataInternal& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_} {}
|
|
|
|
RoomMemberDataInternal::RoomMemberDataInternal(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomMemberDataInternal& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberDataInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomMemberDataInternal* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.userinfo_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_)
|
|
: nullptr;
|
|
_impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_)
|
|
: nullptr;
|
|
_impl_.roomgroup_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roomgroup_)
|
|
: nullptr;
|
|
_impl_.nattype_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nattype_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, joindate_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, joindate_),
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, joindate_) +
|
|
sizeof(Impl_::flagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberDataInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberDataInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena} {}
|
|
|
|
inline void RoomMemberDataInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, userinfo_),
|
|
0,
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, userinfo_) +
|
|
sizeof(Impl_::flagattr_));
|
|
}
|
|
RoomMemberDataInternal::~RoomMemberDataInternal() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomMemberDataInternal)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomMemberDataInternal::SharedDtor(MessageLite& self) {
|
|
RoomMemberDataInternal& this_ = static_cast<RoomMemberDataInternal&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.userinfo_;
|
|
delete this_._impl_.teamid_;
|
|
delete this_._impl_.roomgroup_;
|
|
delete this_._impl_.nattype_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomMemberDataInternal::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomMemberDataInternal(arena);
|
|
}
|
|
constexpr auto RoomMemberDataInternal::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_) +
|
|
decltype(RoomMemberDataInternal::_impl_.roommemberbinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(RoomMemberDataInternal), alignof(RoomMemberDataInternal), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomMemberDataInternal::PlacementNew_,
|
|
sizeof(RoomMemberDataInternal),
|
|
alignof(RoomMemberDataInternal));
|
|
}
|
|
}
|
|
constexpr auto RoomMemberDataInternal::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<35>{
|
|
{
|
|
&_RoomMemberDataInternal_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomMemberDataInternal::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomMemberDataInternal>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomMemberDataInternal::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomMemberDataInternal>(), &RoomMemberDataInternal::ByteSizeLong,
|
|
&RoomMemberDataInternal::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomMemberDataInternal",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataInternal_class_data_ =
|
|
RoomMemberDataInternal::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomMemberDataInternal::GetClassData() const {
|
|
return RoomMemberDataInternal_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 8, 5, 0, 2>
|
|
RoomMemberDataInternal::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
8, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967040, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
8, // num_field_entries
|
|
5, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomMemberDataInternal_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{66, 0, 4,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_)}},
|
|
// .np2_structs.UserInfo userInfo = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_)}},
|
|
// uint64 joinDate = 2;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{16, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.joindate_)}},
|
|
// uint32 memberId = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.memberid_)}},
|
|
// .np2_structs.uint8 teamId = 4;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{34, 2, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.teamid_)}},
|
|
// .np2_structs.RoomGroup roomGroup = 5;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{42, 3, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roomgroup_)}},
|
|
// .np2_structs.uint8 natType = 6;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{50, 4, 3,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.nattype_)}},
|
|
// uint32 flagAttr = 7;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{56, 7, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.UserInfo userInfo = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint64 joinDate = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.joindate_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 memberId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.memberid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// .np2_structs.uint8 teamId = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.teamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.RoomGroup roomGroup = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 natType = 6;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.nattype_), _Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 flagAttr = 7;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomMemberBinAttrInternal>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomMemberDataInternal::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberDataInternal)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roommemberbinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.userinfo_ != nullptr);
|
|
_impl_.userinfo_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.teamid_ != nullptr);
|
|
_impl_.teamid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.roomgroup_ != nullptr);
|
|
_impl_.roomgroup_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.nattype_ != nullptr);
|
|
_impl_.nattype_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
|
|
::memset(&_impl_.joindate_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.flagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.joindate_)) + sizeof(_impl_.flagattr_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternal::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomMemberDataInternal& this_ = static_cast<const RoomMemberDataInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternal::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomMemberDataInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberDataInternal)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.UserInfo userInfo = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.userinfo_, this_._impl_.userinfo_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint64 joinDate = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_joindate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
2, this_._internal_joindate(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 memberId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_memberid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_memberid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 teamId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.RoomGroup roomGroup = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, *this_._impl_.roomgroup_, this_._impl_.roomgroup_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint8 natType = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
6, *this_._impl_.nattype_, this_._impl_.nattype_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 flagAttr = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
7, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roommemberbinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
8, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberDataInternal)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomMemberDataInternal::ByteSizeLong(const MessageLite& base) {
|
|
const RoomMemberDataInternal& this_ = static_cast<const RoomMemberDataInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomMemberDataInternal::ByteSizeLong() const {
|
|
const RoomMemberDataInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberDataInternal)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roommemberbinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roommemberbinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.UserInfo userInfo = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.userinfo_);
|
|
}
|
|
// .np2_structs.uint8 teamId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_);
|
|
}
|
|
// .np2_structs.RoomGroup roomGroup = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.roomgroup_);
|
|
}
|
|
// .np2_structs.uint8 natType = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.nattype_);
|
|
}
|
|
// uint64 joinDate = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_joindate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_joindate());
|
|
}
|
|
}
|
|
// uint32 memberId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_memberid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_memberid());
|
|
}
|
|
}
|
|
// uint32 flagAttr = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomMemberDataInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomMemberDataInternal*>(&to_msg);
|
|
auto& from = static_cast<const RoomMemberDataInternal&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberDataInternal)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roommemberbinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.userinfo_ != nullptr);
|
|
if (_this->_impl_.userinfo_ == nullptr) {
|
|
_this->_impl_.userinfo_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_);
|
|
} else {
|
|
_this->_impl_.userinfo_->MergeFrom(*from._impl_.userinfo_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.teamid_ != nullptr);
|
|
if (_this->_impl_.teamid_ == nullptr) {
|
|
_this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_);
|
|
} else {
|
|
_this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.roomgroup_ != nullptr);
|
|
if (_this->_impl_.roomgroup_ == nullptr) {
|
|
_this->_impl_.roomgroup_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roomgroup_);
|
|
} else {
|
|
_this->_impl_.roomgroup_->MergeFrom(*from._impl_.roomgroup_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.nattype_ != nullptr);
|
|
if (_this->_impl_.nattype_ == nullptr) {
|
|
_this->_impl_.nattype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nattype_);
|
|
} else {
|
|
_this->_impl_.nattype_->MergeFrom(*from._impl_.nattype_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_joindate() != 0) {
|
|
_this->_impl_.joindate_ = from._impl_.joindate_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_memberid() != 0) {
|
|
_this->_impl_.memberid_ = from._impl_.memberid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomMemberDataInternal::CopyFrom(const RoomMemberDataInternal& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberDataInternal)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomMemberDataInternal::InternalSwap(RoomMemberDataInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_)
|
|
+ sizeof(RoomMemberDataInternal::_impl_.flagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_)>(
|
|
reinterpret_cast<char*>(&_impl_.userinfo_),
|
|
reinterpret_cast<char*>(&other->_impl_.userinfo_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomGroup::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomGroup>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomGroup::RoomGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomGroup_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomGroup)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomGroup::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomGroup& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
label_(arena, from.label_) {}
|
|
|
|
RoomGroup::RoomGroup(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomGroup& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomGroup_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomGroup* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.groupid_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, withpassword_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, withpassword_),
|
|
offsetof(Impl_, curgroupmembernum_) -
|
|
offsetof(Impl_, withpassword_) +
|
|
sizeof(Impl_::curgroupmembernum_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomGroup)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomGroup::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
label_(arena) {}
|
|
|
|
inline void RoomGroup::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, groupid_),
|
|
0,
|
|
offsetof(Impl_, curgroupmembernum_) -
|
|
offsetof(Impl_, groupid_) +
|
|
sizeof(Impl_::curgroupmembernum_));
|
|
}
|
|
RoomGroup::~RoomGroup() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomGroup)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomGroup::SharedDtor(MessageLite& self) {
|
|
RoomGroup& this_ = static_cast<RoomGroup&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.label_.Destroy();
|
|
delete this_._impl_.groupid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomGroup::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomGroup(arena);
|
|
}
|
|
constexpr auto RoomGroup::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RoomGroup),
|
|
alignof(RoomGroup));
|
|
}
|
|
constexpr auto RoomGroup::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<22>{
|
|
{
|
|
&_RoomGroup_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomGroup::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomGroup>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomGroup::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomGroup>(), &RoomGroup::ByteSizeLong,
|
|
&RoomGroup::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomGroup",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<22> RoomGroup_class_data_ =
|
|
RoomGroup::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomGroup::GetClassData() const {
|
|
return RoomGroup_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 1, 0, 2>
|
|
RoomGroup::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomGroup_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.uint8 groupId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_)}},
|
|
// bool withPassword = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.withpassword_)}},
|
|
// bytes label = 3;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{26, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.label_)}},
|
|
// uint32 slotNum = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.slotnum_)}},
|
|
// uint32 curGroupMemberNum = 5;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 groupId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bool withPassword = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.withpassword_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// bytes label = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.label_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// uint32 slotNum = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.slotnum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 curGroupMemberNum = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomGroup::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomGroup)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.label_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.groupid_ != nullptr);
|
|
_impl_.groupid_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
|
|
::memset(&_impl_.withpassword_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.curgroupmembernum_) -
|
|
reinterpret_cast<char*>(&_impl_.withpassword_)) + sizeof(_impl_.curgroupmembernum_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomGroup::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomGroup& this_ = static_cast<const RoomGroup&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomGroup::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomGroup& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomGroup)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 groupId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.groupid_, this_._impl_.groupid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bool withPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_withpassword(), target);
|
|
}
|
|
}
|
|
|
|
// bytes label = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_label().empty()) {
|
|
const ::std::string& _s = this_._internal_label();
|
|
target = stream->WriteBytesMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
// uint32 slotNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_slotnum() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_slotnum(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 curGroupMemberNum = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_curgroupmembernum() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this_._internal_curgroupmembernum(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomGroup)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomGroup::ByteSizeLong(const MessageLite& base) {
|
|
const RoomGroup& this_ = static_cast<const RoomGroup&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomGroup::ByteSizeLong() const {
|
|
const RoomGroup& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomGroup)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// bytes label = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_label().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_label());
|
|
}
|
|
}
|
|
// .np2_structs.uint8 groupId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.groupid_);
|
|
}
|
|
// bool withPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// uint32 slotNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_slotnum() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_slotnum());
|
|
}
|
|
}
|
|
// uint32 curGroupMemberNum = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_curgroupmembernum() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_curgroupmembernum());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomGroup::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomGroup*>(&to_msg);
|
|
auto& from = static_cast<const RoomGroup&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomGroup)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_label().empty()) {
|
|
_this->_internal_set_label(from._internal_label());
|
|
} else {
|
|
if (_this->_impl_.label_.IsDefault()) {
|
|
_this->_internal_set_label("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.groupid_ != nullptr);
|
|
if (_this->_impl_.groupid_ == nullptr) {
|
|
_this->_impl_.groupid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_);
|
|
} else {
|
|
_this->_impl_.groupid_->MergeFrom(*from._impl_.groupid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_withpassword() != 0) {
|
|
_this->_impl_.withpassword_ = from._impl_.withpassword_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_slotnum() != 0) {
|
|
_this->_impl_.slotnum_ = from._impl_.slotnum_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_curgroupmembernum() != 0) {
|
|
_this->_impl_.curgroupmembernum_ = from._impl_.curgroupmembernum_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomGroup::CopyFrom(const RoomGroup& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomGroup)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomGroup::InternalSwap(RoomGroup* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.label_, &other->_impl_.label_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_)
|
|
+ sizeof(RoomGroup::_impl_.curgroupmembernum_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_)>(
|
|
reinterpret_cast<char*>(&_impl_.groupid_),
|
|
reinterpret_cast<char*>(&other->_impl_.groupid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomDataInternal::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomDataInternal>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomDataInternal::RoomDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomDataInternal& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
memberlist_{visibility, arena, from.memberlist_},
|
|
roomgroup_{visibility, arena, from.roomgroup_},
|
|
roombinattrinternal_{visibility, arena, from.roombinattrinternal_} {}
|
|
|
|
RoomDataInternal::RoomDataInternal(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomDataInternal& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataInternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomDataInternal* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_)
|
|
: nullptr;
|
|
_impl_.ownerid_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ownerid_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, lobbyid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataInternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataInternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
memberlist_{visibility, arena},
|
|
roomgroup_{visibility, arena},
|
|
roombinattrinternal_{visibility, arena} {}
|
|
|
|
inline void RoomDataInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, serverid_),
|
|
0,
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, serverid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
}
|
|
RoomDataInternal::~RoomDataInternal() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomDataInternal)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomDataInternal::SharedDtor(MessageLite& self) {
|
|
RoomDataInternal& this_ = static_cast<RoomDataInternal&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.serverid_;
|
|
delete this_._impl_.ownerid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomDataInternal::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomDataInternal(arena);
|
|
}
|
|
constexpr auto RoomDataInternal::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_) +
|
|
decltype(RoomDataInternal::_impl_.memberlist_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_) +
|
|
decltype(RoomDataInternal::_impl_.roomgroup_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_) +
|
|
decltype(RoomDataInternal::_impl_.roombinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(RoomDataInternal), alignof(RoomDataInternal), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomDataInternal::PlacementNew_,
|
|
sizeof(RoomDataInternal),
|
|
alignof(RoomDataInternal));
|
|
}
|
|
}
|
|
constexpr auto RoomDataInternal::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_RoomDataInternal_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomDataInternal::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomDataInternal>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomDataInternal::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomDataInternal>(), &RoomDataInternal::ByteSizeLong,
|
|
&RoomDataInternal::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomDataInternal",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> RoomDataInternal_class_data_ =
|
|
RoomDataInternal::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomDataInternal::GetClassData() const {
|
|
return RoomDataInternal_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<4, 11, 5, 0, 2>
|
|
RoomDataInternal::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
11, 120, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294965248, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
11, // num_field_entries
|
|
5, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomDataInternal_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_)}},
|
|
// uint32 worldId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 7, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.worldid_)}},
|
|
// uint64 lobbyId = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.lobbyid_)}},
|
|
// uint64 roomId = 4;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{32, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomid_)}},
|
|
// uint64 passwordSlotMask = 5;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{40, 9, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.passwordslotmask_)}},
|
|
// uint32 maxSlot = 6;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{48, 8, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.maxslot_)}},
|
|
// repeated .np2_structs.RoomMemberDataInternal memberList = 7;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{58, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_)}},
|
|
// .np2_structs.uint16 ownerId = 8;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{66, 4, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.ownerid_)}},
|
|
// repeated .np2_structs.RoomGroup roomGroup = 9;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{74, 1, 3,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_)}},
|
|
// uint32 flagAttr = 10;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{80, 10, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_)}},
|
|
// repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{90, 2, 4,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 worldId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.worldid_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint64 lobbyId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.lobbyid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint64 roomId = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint64 passwordSlotMask = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 maxSlot = 6;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.maxslot_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.RoomMemberDataInternal memberList = 7;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 ownerId = 8;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.ownerid_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.RoomGroup roomGroup = 9;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 1, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 flagAttr = 10;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 2, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttrInternal>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomDataInternal::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataInternal)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.memberlist_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.roomgroup_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.roombinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.serverid_ != nullptr);
|
|
_impl_.serverid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.ownerid_ != nullptr);
|
|
_impl_.ownerid_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
|
|
::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.worldid_) -
|
|
reinterpret_cast<char*>(&_impl_.lobbyid_)) + sizeof(_impl_.worldid_));
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
|
|
::memset(&_impl_.maxslot_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.flagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.maxslot_)) + sizeof(_impl_.flagattr_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataInternal::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomDataInternal& this_ = static_cast<const RoomDataInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataInternal::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomDataInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataInternal)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_worldid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 lobbyId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_lobbyid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 roomId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
4, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 passwordSlotMask = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
5, this_._internal_passwordslotmask(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 maxSlot = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (this_._internal_maxslot() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this_._internal_maxslot(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.RoomMemberDataInternal memberList = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_memberlist_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_memberlist().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
7, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 ownerId = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
8, *this_._impl_.ownerid_, this_._impl_.ownerid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.RoomGroup roomGroup = 9;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomgroup_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomgroup().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
9, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// uint32 flagAttr = 10;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
10, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
11, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataInternal)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomDataInternal::ByteSizeLong(const MessageLite& base) {
|
|
const RoomDataInternal& this_ = static_cast<const RoomDataInternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomDataInternal::ByteSizeLong() const {
|
|
const RoomDataInternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataInternal)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// repeated .np2_structs.RoomMemberDataInternal memberList = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_memberlist_size();
|
|
for (const auto& msg : this_._internal_memberlist()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.RoomGroup roomGroup = 9;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_roomgroup_size();
|
|
for (const auto& msg : this_._internal_roomgroup()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1UL * this_._internal_roombinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_);
|
|
}
|
|
// .np2_structs.uint16 ownerId = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ownerid_);
|
|
}
|
|
// uint64 lobbyId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lobbyid());
|
|
}
|
|
}
|
|
// uint64 roomId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_worldid());
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
|
|
// uint32 maxSlot = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (this_._internal_maxslot() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_maxslot());
|
|
}
|
|
}
|
|
// uint64 passwordSlotMask = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_passwordslotmask());
|
|
}
|
|
}
|
|
// uint32 flagAttr = 10;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomDataInternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomDataInternal*>(&to_msg);
|
|
auto& from = static_cast<const RoomDataInternal&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataInternal)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_memberlist()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_memberlist());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_roomgroup()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomgroup());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.serverid_ != nullptr);
|
|
if (_this->_impl_.serverid_ == nullptr) {
|
|
_this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_);
|
|
} else {
|
|
_this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.ownerid_ != nullptr);
|
|
if (_this->_impl_.ownerid_ == nullptr) {
|
|
_this->_impl_.ownerid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ownerid_);
|
|
} else {
|
|
_this->_impl_.ownerid_->MergeFrom(*from._impl_.ownerid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_lobbyid() != 0) {
|
|
_this->_impl_.lobbyid_ = from._impl_.lobbyid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (from._internal_worldid() != 0) {
|
|
_this->_impl_.worldid_ = from._impl_.worldid_;
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (from._internal_maxslot() != 0) {
|
|
_this->_impl_.maxslot_ = from._impl_.maxslot_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (from._internal_passwordslotmask() != 0) {
|
|
_this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomDataInternal::CopyFrom(const RoomDataInternal& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataInternal)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomDataInternal::InternalSwap(RoomDataInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.memberlist_.InternalSwap(&other->_impl_.memberlist_);
|
|
_impl_.roomgroup_.InternalSwap(&other->_impl_.roomgroup_);
|
|
_impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_)
|
|
+ sizeof(RoomDataInternal::_impl_.flagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_)>(
|
|
reinterpret_cast<char*>(&_impl_.serverid_),
|
|
reinterpret_cast<char*>(&other->_impl_.serverid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomDataExternal::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomDataExternal>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomDataExternal::RoomDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataExternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataExternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataExternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomDataExternal& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roomgroup_{visibility, arena, from.roomgroup_},
|
|
roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_},
|
|
roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_},
|
|
roombinattrexternal_{visibility, arena, from.roombinattrexternal_} {}
|
|
|
|
RoomDataExternal::RoomDataExternal(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomDataExternal& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataExternal_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomDataExternal* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_)
|
|
: nullptr;
|
|
_impl_.publicslotnum_ = (CheckHasBit(cached_has_bits, 0x00000020U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.publicslotnum_)
|
|
: nullptr;
|
|
_impl_.privateslotnum_ = (CheckHasBit(cached_has_bits, 0x00000040U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.privateslotnum_)
|
|
: nullptr;
|
|
_impl_.openpublicslotnum_ = (CheckHasBit(cached_has_bits, 0x00000080U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openpublicslotnum_)
|
|
: nullptr;
|
|
_impl_.maxslot_ = (CheckHasBit(cached_has_bits, 0x00000100U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maxslot_)
|
|
: nullptr;
|
|
_impl_.openprivateslotnum_ = (CheckHasBit(cached_has_bits, 0x00000200U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openprivateslotnum_)
|
|
: nullptr;
|
|
_impl_.curmembernum_ = (CheckHasBit(cached_has_bits, 0x00000400U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.curmembernum_)
|
|
: nullptr;
|
|
_impl_.owner_ = (CheckHasBit(cached_has_bits, 0x00000800U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.owner_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
offsetof(Impl_, passwordslotmask_) -
|
|
offsetof(Impl_, lobbyid_) +
|
|
sizeof(Impl_::passwordslotmask_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataExternal)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataExternal::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roomgroup_{visibility, arena},
|
|
roomsearchableintattrexternal_{visibility, arena},
|
|
roomsearchablebinattrexternal_{visibility, arena},
|
|
roombinattrexternal_{visibility, arena} {}
|
|
|
|
inline void RoomDataExternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, serverid_),
|
|
0,
|
|
offsetof(Impl_, passwordslotmask_) -
|
|
offsetof(Impl_, serverid_) +
|
|
sizeof(Impl_::passwordslotmask_));
|
|
}
|
|
RoomDataExternal::~RoomDataExternal() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomDataExternal)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomDataExternal::SharedDtor(MessageLite& self) {
|
|
RoomDataExternal& this_ = static_cast<RoomDataExternal&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.serverid_;
|
|
delete this_._impl_.publicslotnum_;
|
|
delete this_._impl_.privateslotnum_;
|
|
delete this_._impl_.openpublicslotnum_;
|
|
delete this_._impl_.maxslot_;
|
|
delete this_._impl_.openprivateslotnum_;
|
|
delete this_._impl_.curmembernum_;
|
|
delete this_._impl_.owner_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomDataExternal::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomDataExternal(arena);
|
|
}
|
|
constexpr auto RoomDataExternal::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_) +
|
|
decltype(RoomDataExternal::_impl_.roomgroup_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_) +
|
|
decltype(RoomDataExternal::_impl_.roomsearchableintattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_) +
|
|
decltype(RoomDataExternal::_impl_.roomsearchablebinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_) +
|
|
decltype(RoomDataExternal::_impl_.roombinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(RoomDataExternal), alignof(RoomDataExternal), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomDataExternal::PlacementNew_,
|
|
sizeof(RoomDataExternal),
|
|
alignof(RoomDataExternal));
|
|
}
|
|
}
|
|
constexpr auto RoomDataExternal::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_RoomDataExternal_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomDataExternal::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomDataExternal>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomDataExternal::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomDataExternal>(), &RoomDataExternal::ByteSizeLong,
|
|
&RoomDataExternal::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomDataExternal",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> RoomDataExternal_class_data_ =
|
|
RoomDataExternal::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomDataExternal::GetClassData() const {
|
|
return RoomDataExternal_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<5, 17, 12, 0, 2>
|
|
RoomDataExternal::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
17, 248, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294836224, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
17, // num_field_entries
|
|
12, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomDataExternal_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_)}},
|
|
// uint32 worldId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 14, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.worldid_)}},
|
|
// .np2_structs.uint16 publicSlotNum = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 5, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.publicslotnum_)}},
|
|
// .np2_structs.uint16 privateSlotNum = 4;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{34, 6, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.privateslotnum_)}},
|
|
// uint64 lobbyId = 5;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{40, 12, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.lobbyid_)}},
|
|
// uint64 roomId = 6;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{48, 13, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomid_)}},
|
|
// .np2_structs.uint16 openPublicSlotNum = 7;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{58, 7, 3,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openpublicslotnum_)}},
|
|
// .np2_structs.uint16 maxSlot = 8;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{66, 8, 4,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.maxslot_)}},
|
|
// .np2_structs.uint16 openPrivateSlotNum = 9;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{74, 9, 5,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openprivateslotnum_)}},
|
|
// .np2_structs.uint16 curMemberNum = 10;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{82, 10, 6,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.curmembernum_)}},
|
|
// uint64 passwordSlotMask = 11;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{88, 16, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_)}},
|
|
// .np2_structs.UserInfo owner = 12;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{98, 11, 7,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.owner_)}},
|
|
// repeated .np2_structs.RoomGroup roomGroup = 13;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{106, 0, 8,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_)}},
|
|
// uint32 flagAttr = 14;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{112, 15, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.flagattr_)}},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{122, 1, 9,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_)}},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16;
|
|
{::_pbi::TcParser::FastMtR2,
|
|
{386, 2, 10,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_)}},
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 17;
|
|
{::_pbi::TcParser::FastMtR2,
|
|
{394, 3, 11,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 worldId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.worldid_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// .np2_structs.uint16 publicSlotNum = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.publicslotnum_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 privateSlotNum = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.privateslotnum_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint64 lobbyId = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.lobbyid_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint64 roomId = 6;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomid_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint16 openPublicSlotNum = 7;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openpublicslotnum_), _Internal::kHasBitsOffset + 7, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 maxSlot = 8;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.maxslot_), _Internal::kHasBitsOffset + 8, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 openPrivateSlotNum = 9;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openprivateslotnum_), _Internal::kHasBitsOffset + 9, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 curMemberNum = 10;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.curmembernum_), _Internal::kHasBitsOffset + 10, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint64 passwordSlotMask = 11;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.UserInfo owner = 12;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.owner_), _Internal::kHasBitsOffset + 11, 7, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.RoomGroup roomGroup = 13;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 0, 8, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 flagAttr = 14;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 1, 9, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 2, 10, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 17;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 3, 11, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomDataExternal::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataExternal)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roomgroup_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.roomsearchableintattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.roomsearchablebinattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_impl_.roombinattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.serverid_ != nullptr);
|
|
_impl_.serverid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
ABSL_DCHECK(_impl_.publicslotnum_ != nullptr);
|
|
_impl_.publicslotnum_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
ABSL_DCHECK(_impl_.privateslotnum_ != nullptr);
|
|
_impl_.privateslotnum_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
ABSL_DCHECK(_impl_.openpublicslotnum_ != nullptr);
|
|
_impl_.openpublicslotnum_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
ABSL_DCHECK(_impl_.maxslot_ != nullptr);
|
|
_impl_.maxslot_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
ABSL_DCHECK(_impl_.openprivateslotnum_ != nullptr);
|
|
_impl_.openprivateslotnum_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
ABSL_DCHECK(_impl_.curmembernum_ != nullptr);
|
|
_impl_.curmembernum_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
ABSL_DCHECK(_impl_.owner_ != nullptr);
|
|
_impl_.owner_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000f000U)) {
|
|
::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.flagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.lobbyid_)) + sizeof(_impl_.flagattr_));
|
|
}
|
|
_impl_.passwordslotmask_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataExternal::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomDataExternal& this_ = static_cast<const RoomDataExternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataExternal::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomDataExternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataExternal)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_worldid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 publicSlotNum = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.publicslotnum_, this_._impl_.publicslotnum_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 privateSlotNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, *this_._impl_.privateslotnum_, this_._impl_.privateslotnum_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint64 lobbyId = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
5, this_._internal_lobbyid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 roomId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
6, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 openPublicSlotNum = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
7, *this_._impl_.openpublicslotnum_, this_._impl_.openpublicslotnum_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 maxSlot = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
8, *this_._impl_.maxslot_, this_._impl_.maxslot_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 openPrivateSlotNum = 9;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
9, *this_._impl_.openprivateslotnum_, this_._impl_.openprivateslotnum_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 curMemberNum = 10;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
10, *this_._impl_.curmembernum_, this_._impl_.curmembernum_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint64 passwordSlotMask = 11;
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
11, this_._internal_passwordslotmask(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.UserInfo owner = 12;
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
12, *this_._impl_.owner_, this_._impl_.owner_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.RoomGroup roomGroup = 13;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomgroup_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomgroup().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
13, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// uint32 flagAttr = 14;
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
14, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchableintattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
15, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchablebinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
16, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 17;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
17, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataExternal)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomDataExternal::ByteSizeLong(const MessageLite& base) {
|
|
const RoomDataExternal& this_ = static_cast<const RoomDataExternal&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomDataExternal::ByteSizeLong() const {
|
|
const RoomDataExternal& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataExternal)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// repeated .np2_structs.RoomGroup roomGroup = 13;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roomgroup_size();
|
|
for (const auto& msg : this_._internal_roomgroup()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_roomsearchableintattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchableintattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 2UL * this_._internal_roomsearchablebinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 17;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
total_size += 2UL * this_._internal_roombinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_);
|
|
}
|
|
// .np2_structs.uint16 publicSlotNum = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.publicslotnum_);
|
|
}
|
|
// .np2_structs.uint16 privateSlotNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.privateslotnum_);
|
|
}
|
|
// .np2_structs.uint16 openPublicSlotNum = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.openpublicslotnum_);
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
|
|
// .np2_structs.uint16 maxSlot = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maxslot_);
|
|
}
|
|
// .np2_structs.uint16 openPrivateSlotNum = 9;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.openprivateslotnum_);
|
|
}
|
|
// .np2_structs.uint16 curMemberNum = 10;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.curmembernum_);
|
|
}
|
|
// .np2_structs.UserInfo owner = 12;
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.owner_);
|
|
}
|
|
// uint64 lobbyId = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lobbyid());
|
|
}
|
|
}
|
|
// uint64 roomId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_worldid());
|
|
}
|
|
}
|
|
// uint32 flagAttr = 14;
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
{
|
|
// uint64 passwordSlotMask = 11;
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_passwordslotmask());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomDataExternal::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomDataExternal*>(&to_msg);
|
|
auto& from = static_cast<const RoomDataExternal&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataExternal)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roomgroup()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomgroup());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchableintattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchablebinattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrexternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.serverid_ != nullptr);
|
|
if (_this->_impl_.serverid_ == nullptr) {
|
|
_this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_);
|
|
} else {
|
|
_this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
ABSL_DCHECK(from._impl_.publicslotnum_ != nullptr);
|
|
if (_this->_impl_.publicslotnum_ == nullptr) {
|
|
_this->_impl_.publicslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.publicslotnum_);
|
|
} else {
|
|
_this->_impl_.publicslotnum_->MergeFrom(*from._impl_.publicslotnum_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
ABSL_DCHECK(from._impl_.privateslotnum_ != nullptr);
|
|
if (_this->_impl_.privateslotnum_ == nullptr) {
|
|
_this->_impl_.privateslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.privateslotnum_);
|
|
} else {
|
|
_this->_impl_.privateslotnum_->MergeFrom(*from._impl_.privateslotnum_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
ABSL_DCHECK(from._impl_.openpublicslotnum_ != nullptr);
|
|
if (_this->_impl_.openpublicslotnum_ == nullptr) {
|
|
_this->_impl_.openpublicslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openpublicslotnum_);
|
|
} else {
|
|
_this->_impl_.openpublicslotnum_->MergeFrom(*from._impl_.openpublicslotnum_);
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
ABSL_DCHECK(from._impl_.maxslot_ != nullptr);
|
|
if (_this->_impl_.maxslot_ == nullptr) {
|
|
_this->_impl_.maxslot_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maxslot_);
|
|
} else {
|
|
_this->_impl_.maxslot_->MergeFrom(*from._impl_.maxslot_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
ABSL_DCHECK(from._impl_.openprivateslotnum_ != nullptr);
|
|
if (_this->_impl_.openprivateslotnum_ == nullptr) {
|
|
_this->_impl_.openprivateslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openprivateslotnum_);
|
|
} else {
|
|
_this->_impl_.openprivateslotnum_->MergeFrom(*from._impl_.openprivateslotnum_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
ABSL_DCHECK(from._impl_.curmembernum_ != nullptr);
|
|
if (_this->_impl_.curmembernum_ == nullptr) {
|
|
_this->_impl_.curmembernum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.curmembernum_);
|
|
} else {
|
|
_this->_impl_.curmembernum_->MergeFrom(*from._impl_.curmembernum_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
ABSL_DCHECK(from._impl_.owner_ != nullptr);
|
|
if (_this->_impl_.owner_ == nullptr) {
|
|
_this->_impl_.owner_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.owner_);
|
|
} else {
|
|
_this->_impl_.owner_->MergeFrom(*from._impl_.owner_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (from._internal_lobbyid() != 0) {
|
|
_this->_impl_.lobbyid_ = from._impl_.lobbyid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (from._internal_worldid() != 0) {
|
|
_this->_impl_.worldid_ = from._impl_.worldid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (from._internal_passwordslotmask() != 0) {
|
|
_this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomDataExternal::CopyFrom(const RoomDataExternal& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataExternal)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomDataExternal::InternalSwap(RoomDataExternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roomgroup_.InternalSwap(&other->_impl_.roomgroup_);
|
|
_impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_);
|
|
_impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_);
|
|
_impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_)
|
|
+ sizeof(RoomDataExternal::_impl_.passwordslotmask_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_)>(
|
|
reinterpret_cast<char*>(&_impl_.serverid_),
|
|
reinterpret_cast<char*>(&other->_impl_.serverid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class IntSearchFilter::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<IntSearchFilter>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._has_bits_);
|
|
};
|
|
|
|
IntSearchFilter::IntSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, IntSearchFilter_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.IntSearchFilter)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE IntSearchFilter::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::IntSearchFilter& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
IntSearchFilter::IntSearchFilter(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const IntSearchFilter& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, IntSearchFilter_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
IntSearchFilter* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.searchoperator_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_)
|
|
: nullptr;
|
|
_impl_.attr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.IntSearchFilter)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE IntSearchFilter::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void IntSearchFilter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, searchoperator_),
|
|
0,
|
|
offsetof(Impl_, attr_) -
|
|
offsetof(Impl_, searchoperator_) +
|
|
sizeof(Impl_::attr_));
|
|
}
|
|
IntSearchFilter::~IntSearchFilter() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.IntSearchFilter)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void IntSearchFilter::SharedDtor(MessageLite& self) {
|
|
IntSearchFilter& this_ = static_cast<IntSearchFilter&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.searchoperator_;
|
|
delete this_._impl_.attr_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL IntSearchFilter::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) IntSearchFilter(arena);
|
|
}
|
|
constexpr auto IntSearchFilter::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntSearchFilter),
|
|
alignof(IntSearchFilter));
|
|
}
|
|
constexpr auto IntSearchFilter::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<28>{
|
|
{
|
|
&_IntSearchFilter_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&IntSearchFilter::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<IntSearchFilter>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&IntSearchFilter::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<IntSearchFilter>(), &IntSearchFilter::ByteSizeLong,
|
|
&IntSearchFilter::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.IntSearchFilter",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<28> IntSearchFilter_class_data_ =
|
|
IntSearchFilter::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
IntSearchFilter::GetClassData() const {
|
|
return IntSearchFilter_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
IntSearchFilter::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
IntSearchFilter_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::IntSearchFilter>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.IntAttr attr = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_)}},
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
{PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.IntAttr attr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void IntSearchFilter::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.IntSearchFilter)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.searchoperator_ != nullptr);
|
|
_impl_.searchoperator_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.attr_ != nullptr);
|
|
_impl_.attr_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL IntSearchFilter::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const IntSearchFilter& this_ = static_cast<const IntSearchFilter&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL IntSearchFilter::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const IntSearchFilter& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.IntSearchFilter)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.searchoperator_, this_._impl_.searchoperator_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.IntAttr attr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.attr_, this_._impl_.attr_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.IntSearchFilter)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t IntSearchFilter::ByteSizeLong(const MessageLite& base) {
|
|
const IntSearchFilter& this_ = static_cast<const IntSearchFilter&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t IntSearchFilter::ByteSizeLong() const {
|
|
const IntSearchFilter& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.IntSearchFilter)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.searchoperator_);
|
|
}
|
|
// .np2_structs.IntAttr attr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attr_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void IntSearchFilter::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<IntSearchFilter*>(&to_msg);
|
|
auto& from = static_cast<const IntSearchFilter&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.IntSearchFilter)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.searchoperator_ != nullptr);
|
|
if (_this->_impl_.searchoperator_ == nullptr) {
|
|
_this->_impl_.searchoperator_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_);
|
|
} else {
|
|
_this->_impl_.searchoperator_->MergeFrom(*from._impl_.searchoperator_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.attr_ != nullptr);
|
|
if (_this->_impl_.attr_ == nullptr) {
|
|
_this->_impl_.attr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_);
|
|
} else {
|
|
_this->_impl_.attr_->MergeFrom(*from._impl_.attr_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void IntSearchFilter::CopyFrom(const IntSearchFilter& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.IntSearchFilter)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void IntSearchFilter::InternalSwap(IntSearchFilter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_)
|
|
+ sizeof(IntSearchFilter::_impl_.attr_)
|
|
- PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_)>(
|
|
reinterpret_cast<char*>(&_impl_.searchoperator_),
|
|
reinterpret_cast<char*>(&other->_impl_.searchoperator_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class BinSearchFilter::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<BinSearchFilter>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._has_bits_);
|
|
};
|
|
|
|
BinSearchFilter::BinSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinSearchFilter_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.BinSearchFilter)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinSearchFilter::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::BinSearchFilter& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
BinSearchFilter::BinSearchFilter(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const BinSearchFilter& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BinSearchFilter_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
BinSearchFilter* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.searchoperator_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_)
|
|
: nullptr;
|
|
_impl_.attr_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.BinSearchFilter)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BinSearchFilter::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void BinSearchFilter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, searchoperator_),
|
|
0,
|
|
offsetof(Impl_, attr_) -
|
|
offsetof(Impl_, searchoperator_) +
|
|
sizeof(Impl_::attr_));
|
|
}
|
|
BinSearchFilter::~BinSearchFilter() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.BinSearchFilter)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void BinSearchFilter::SharedDtor(MessageLite& self) {
|
|
BinSearchFilter& this_ = static_cast<BinSearchFilter&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.searchoperator_;
|
|
delete this_._impl_.attr_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL BinSearchFilter::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) BinSearchFilter(arena);
|
|
}
|
|
constexpr auto BinSearchFilter::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinSearchFilter),
|
|
alignof(BinSearchFilter));
|
|
}
|
|
constexpr auto BinSearchFilter::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<28>{
|
|
{
|
|
&_BinSearchFilter_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&BinSearchFilter::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<BinSearchFilter>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&BinSearchFilter::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<BinSearchFilter>(), &BinSearchFilter::ByteSizeLong,
|
|
&BinSearchFilter::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.BinSearchFilter",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<28> BinSearchFilter_class_data_ =
|
|
BinSearchFilter::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
BinSearchFilter::GetClassData() const {
|
|
return BinSearchFilter_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
BinSearchFilter::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
BinSearchFilter_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::BinSearchFilter>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.BinAttr attr = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_)}},
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.BinAttr attr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void BinSearchFilter::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.BinSearchFilter)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.searchoperator_ != nullptr);
|
|
_impl_.searchoperator_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.attr_ != nullptr);
|
|
_impl_.attr_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL BinSearchFilter::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const BinSearchFilter& this_ = static_cast<const BinSearchFilter&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL BinSearchFilter::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const BinSearchFilter& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinSearchFilter)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.searchoperator_, this_._impl_.searchoperator_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.BinAttr attr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.attr_, this_._impl_.attr_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinSearchFilter)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t BinSearchFilter::ByteSizeLong(const MessageLite& base) {
|
|
const BinSearchFilter& this_ = static_cast<const BinSearchFilter&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t BinSearchFilter::ByteSizeLong() const {
|
|
const BinSearchFilter& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.BinSearchFilter)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.uint8 searchOperator = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.searchoperator_);
|
|
}
|
|
// .np2_structs.BinAttr attr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attr_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void BinSearchFilter::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<BinSearchFilter*>(&to_msg);
|
|
auto& from = static_cast<const BinSearchFilter&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinSearchFilter)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.searchoperator_ != nullptr);
|
|
if (_this->_impl_.searchoperator_ == nullptr) {
|
|
_this->_impl_.searchoperator_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_);
|
|
} else {
|
|
_this->_impl_.searchoperator_->MergeFrom(*from._impl_.searchoperator_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.attr_ != nullptr);
|
|
if (_this->_impl_.attr_ == nullptr) {
|
|
_this->_impl_.attr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_);
|
|
} else {
|
|
_this->_impl_.attr_->MergeFrom(*from._impl_.attr_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void BinSearchFilter::CopyFrom(const BinSearchFilter& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinSearchFilter)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void BinSearchFilter::InternalSwap(BinSearchFilter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_)
|
|
+ sizeof(BinSearchFilter::_impl_.attr_)
|
|
- PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_)>(
|
|
reinterpret_cast<char*>(&_impl_.searchoperator_),
|
|
reinterpret_cast<char*>(&other->_impl_.searchoperator_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class PresenceOptionData::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<PresenceOptionData>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._has_bits_);
|
|
};
|
|
|
|
PresenceOptionData::PresenceOptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, PresenceOptionData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.PresenceOptionData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE PresenceOptionData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::PresenceOptionData& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
data_(arena, from.data_) {}
|
|
|
|
PresenceOptionData::PresenceOptionData(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const PresenceOptionData& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, PresenceOptionData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PresenceOptionData* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.len_ = from._impl_.len_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.PresenceOptionData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE PresenceOptionData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
data_(arena) {}
|
|
|
|
inline void PresenceOptionData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.len_ = {};
|
|
}
|
|
PresenceOptionData::~PresenceOptionData() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.PresenceOptionData)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void PresenceOptionData::SharedDtor(MessageLite& self) {
|
|
PresenceOptionData& this_ = static_cast<PresenceOptionData&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL PresenceOptionData::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) PresenceOptionData(arena);
|
|
}
|
|
constexpr auto PresenceOptionData::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PresenceOptionData),
|
|
alignof(PresenceOptionData));
|
|
}
|
|
constexpr auto PresenceOptionData::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_PresenceOptionData_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&PresenceOptionData::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<PresenceOptionData>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&PresenceOptionData::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<PresenceOptionData>(), &PresenceOptionData::ByteSizeLong,
|
|
&PresenceOptionData::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.PresenceOptionData",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> PresenceOptionData_class_data_ =
|
|
PresenceOptionData::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
PresenceOptionData::GetClassData() const {
|
|
return PresenceOptionData_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
|
|
PresenceOptionData::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._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
|
|
PresenceOptionData_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 len = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.len_)}},
|
|
// bytes data = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.data_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes data = 1;
|
|
{PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// uint32 len = 2;
|
|
{PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.len_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void PresenceOptionData::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.PresenceOptionData)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_.len_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL PresenceOptionData::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const PresenceOptionData& this_ = static_cast<const PresenceOptionData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL PresenceOptionData::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const PresenceOptionData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.PresenceOptionData)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes data = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// uint32 len = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_len() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_len(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.PresenceOptionData)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t PresenceOptionData::ByteSizeLong(const MessageLite& base) {
|
|
const PresenceOptionData& this_ = static_cast<const PresenceOptionData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t PresenceOptionData::ByteSizeLong() const {
|
|
const PresenceOptionData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.PresenceOptionData)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// bytes data = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// uint32 len = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_len() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_len());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void PresenceOptionData::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<PresenceOptionData*>(&to_msg);
|
|
auto& from = static_cast<const PresenceOptionData&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.PresenceOptionData)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_len() != 0) {
|
|
_this->_impl_.len_ = from._impl_.len_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void PresenceOptionData::CopyFrom(const PresenceOptionData& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.PresenceOptionData)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void PresenceOptionData::InternalSwap(PresenceOptionData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
swap(_impl_.len_, other->_impl_.len_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomGroupPasswordConfig::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomGroupPasswordConfig>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomGroupPasswordConfig::RoomGroupPasswordConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomGroupPasswordConfig_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomGroupPasswordConfig)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomGroupPasswordConfig::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomGroupPasswordConfig& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
RoomGroupPasswordConfig::RoomGroupPasswordConfig(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomGroupPasswordConfig& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomGroupPasswordConfig_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomGroupPasswordConfig* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.groupid_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_)
|
|
: nullptr;
|
|
_impl_.withpassword_ = from._impl_.withpassword_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomGroupPasswordConfig)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomGroupPasswordConfig::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void RoomGroupPasswordConfig::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, groupid_),
|
|
0,
|
|
offsetof(Impl_, withpassword_) -
|
|
offsetof(Impl_, groupid_) +
|
|
sizeof(Impl_::withpassword_));
|
|
}
|
|
RoomGroupPasswordConfig::~RoomGroupPasswordConfig() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomGroupPasswordConfig)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomGroupPasswordConfig::SharedDtor(MessageLite& self) {
|
|
RoomGroupPasswordConfig& this_ = static_cast<RoomGroupPasswordConfig&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.groupid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomGroupPasswordConfig::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomGroupPasswordConfig(arena);
|
|
}
|
|
constexpr auto RoomGroupPasswordConfig::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomGroupPasswordConfig),
|
|
alignof(RoomGroupPasswordConfig));
|
|
}
|
|
constexpr auto RoomGroupPasswordConfig::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<36>{
|
|
{
|
|
&_RoomGroupPasswordConfig_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomGroupPasswordConfig::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomGroupPasswordConfig>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomGroupPasswordConfig::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomGroupPasswordConfig>(), &RoomGroupPasswordConfig::ByteSizeLong,
|
|
&RoomGroupPasswordConfig::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomGroupPasswordConfig",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<36> RoomGroupPasswordConfig_class_data_ =
|
|
RoomGroupPasswordConfig::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomGroupPasswordConfig::GetClassData() const {
|
|
return RoomGroupPasswordConfig_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
RoomGroupPasswordConfig::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomGroupPasswordConfig_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomGroupPasswordConfig>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bool withPassword = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_)}},
|
|
// .np2_structs.uint8 groupId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 groupId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bool withPassword = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomGroupPasswordConfig::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomGroupPasswordConfig)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.groupid_ != nullptr);
|
|
_impl_.groupid_->Clear();
|
|
}
|
|
_impl_.withpassword_ = false;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomGroupPasswordConfig::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomGroupPasswordConfig& this_ = static_cast<const RoomGroupPasswordConfig&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomGroupPasswordConfig::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomGroupPasswordConfig& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomGroupPasswordConfig)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 groupId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.groupid_, this_._impl_.groupid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bool withPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_withpassword(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomGroupPasswordConfig)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomGroupPasswordConfig::ByteSizeLong(const MessageLite& base) {
|
|
const RoomGroupPasswordConfig& this_ = static_cast<const RoomGroupPasswordConfig&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomGroupPasswordConfig::ByteSizeLong() const {
|
|
const RoomGroupPasswordConfig& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomGroupPasswordConfig)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.uint8 groupId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.groupid_);
|
|
}
|
|
// bool withPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_withpassword() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomGroupPasswordConfig::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomGroupPasswordConfig*>(&to_msg);
|
|
auto& from = static_cast<const RoomGroupPasswordConfig&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomGroupPasswordConfig)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.groupid_ != nullptr);
|
|
if (_this->_impl_.groupid_ == nullptr) {
|
|
_this->_impl_.groupid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_);
|
|
} else {
|
|
_this->_impl_.groupid_->MergeFrom(*from._impl_.groupid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_withpassword() != 0) {
|
|
_this->_impl_.withpassword_ = from._impl_.withpassword_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomGroupPasswordConfig::CopyFrom(const RoomGroupPasswordConfig& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomGroupPasswordConfig)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomGroupPasswordConfig::InternalSwap(RoomGroupPasswordConfig* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_)
|
|
+ sizeof(RoomGroupPasswordConfig::_impl_.withpassword_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_)>(
|
|
reinterpret_cast<char*>(&_impl_.groupid_),
|
|
reinterpret_cast<char*>(&other->_impl_.groupid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SearchRoomRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SearchRoomRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SearchRoomRequest::SearchRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SearchRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SearchRoomRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
intfilter_{visibility, arena, from.intfilter_},
|
|
binfilter_{visibility, arena, from.binfilter_},
|
|
attrid_{visibility, arena, from.attrid_} {}
|
|
|
|
SearchRoomRequest::SearchRoomRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SearchRoomRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SearchRoomRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, option_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, option_),
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, option_) +
|
|
sizeof(Impl_::flagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SearchRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
intfilter_{visibility, arena},
|
|
binfilter_{visibility, arena},
|
|
attrid_{visibility, arena} {}
|
|
|
|
inline void SearchRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, option_),
|
|
0,
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, option_) +
|
|
sizeof(Impl_::flagattr_));
|
|
}
|
|
SearchRoomRequest::~SearchRoomRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SearchRoomRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SearchRoomRequest::SharedDtor(MessageLite& self) {
|
|
SearchRoomRequest& this_ = static_cast<SearchRoomRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SearchRoomRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SearchRoomRequest(arena);
|
|
}
|
|
constexpr auto SearchRoomRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_) +
|
|
decltype(SearchRoomRequest::_impl_.intfilter_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_) +
|
|
decltype(SearchRoomRequest::_impl_.binfilter_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_) +
|
|
decltype(SearchRoomRequest::_impl_.attrid_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SearchRoomRequest), alignof(SearchRoomRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SearchRoomRequest::PlacementNew_,
|
|
sizeof(SearchRoomRequest),
|
|
alignof(SearchRoomRequest));
|
|
}
|
|
}
|
|
constexpr auto SearchRoomRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<30>{
|
|
{
|
|
&_SearchRoomRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SearchRoomRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SearchRoomRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SearchRoomRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SearchRoomRequest>(), &SearchRoomRequest::ByteSizeLong,
|
|
&SearchRoomRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SearchRoomRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<30> SearchRoomRequest_class_data_ =
|
|
SearchRoomRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SearchRoomRequest::GetClassData() const {
|
|
return SearchRoomRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<4, 10, 3, 0, 2>
|
|
SearchRoomRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
10, 120, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294966272, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
10, // num_field_entries
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SearchRoomRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SearchRoomRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// int32 option = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_)}},
|
|
// uint32 worldId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.worldid_)}},
|
|
// uint64 lobbyId = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.lobbyid_)}},
|
|
// uint32 rangeFilter_startIndex = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_startindex_)}},
|
|
// uint32 rangeFilter_max = 5;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{40, 7, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_max_)}},
|
|
// uint32 flagFilter = 6;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{48, 8, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagfilter_)}},
|
|
// uint32 flagAttr = 7;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{56, 9, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_)}},
|
|
// repeated .np2_structs.IntSearchFilter intFilter = 8;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{66, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_)}},
|
|
// repeated .np2_structs.BinSearchFilter binFilter = 9;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{74, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_)}},
|
|
// repeated .np2_structs.uint16 attrId = 10;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{82, 2, 2,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// int32 option = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// uint32 worldId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.worldid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint64 lobbyId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.lobbyid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 rangeFilter_startIndex = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_startindex_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 rangeFilter_max = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_max_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 flagFilter = 6;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagfilter_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 flagAttr = 7;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.IntSearchFilter intFilter = 8;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinSearchFilter binFilter = 9;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.uint16 attrId = 10;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::IntSearchFilter>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinSearchFilter>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SearchRoomRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SearchRoomRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.intfilter_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.binfilter_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.attrid_.Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000f8U)) {
|
|
::memset(&_impl_.option_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.rangefilter_max_) -
|
|
reinterpret_cast<char*>(&_impl_.option_)) + sizeof(_impl_.rangefilter_max_));
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
|
|
::memset(&_impl_.flagfilter_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.flagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.flagfilter_)) + sizeof(_impl_.flagattr_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SearchRoomRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SearchRoomRequest& this_ = static_cast<const SearchRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SearchRoomRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SearchRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchRoomRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// int32 option = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_option() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
|
|
stream, this_._internal_option(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_worldid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 lobbyId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_lobbyid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 rangeFilter_startIndex = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_rangefilter_startindex() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_rangefilter_startindex(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 rangeFilter_max = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_rangefilter_max() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this_._internal_rangefilter_max(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 flagFilter = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (this_._internal_flagfilter() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
6, this_._internal_flagfilter(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 flagAttr = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
7, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.IntSearchFilter intFilter = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_intfilter_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_intfilter().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
8, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinSearchFilter binFilter = 9;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_binfilter_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_binfilter().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
9, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 attrId = 10;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrid_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrid().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
10, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchRoomRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SearchRoomRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SearchRoomRequest& this_ = static_cast<const SearchRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SearchRoomRequest::ByteSizeLong() const {
|
|
const SearchRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchRoomRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// repeated .np2_structs.IntSearchFilter intFilter = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_intfilter_size();
|
|
for (const auto& msg : this_._internal_intfilter()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinSearchFilter binFilter = 9;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_binfilter_size();
|
|
for (const auto& msg : this_._internal_binfilter()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.uint16 attrId = 10;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1UL * this_._internal_attrid_size();
|
|
for (const auto& msg : this_._internal_attrid()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// int32 option = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_option() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_option());
|
|
}
|
|
}
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_worldid());
|
|
}
|
|
}
|
|
// uint64 lobbyId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lobbyid());
|
|
}
|
|
}
|
|
// uint32 rangeFilter_startIndex = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_rangefilter_startindex() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_rangefilter_startindex());
|
|
}
|
|
}
|
|
// uint32 rangeFilter_max = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_rangefilter_max() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_rangefilter_max());
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
|
|
// uint32 flagFilter = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (this_._internal_flagfilter() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagfilter());
|
|
}
|
|
}
|
|
// uint32 flagAttr = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SearchRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SearchRoomRequest*>(&to_msg);
|
|
auto& from = static_cast<const SearchRoomRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchRoomRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_intfilter()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_intfilter());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_binfilter()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_binfilter());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_attrid()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrid());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_option() != 0) {
|
|
_this->_impl_.option_ = from._impl_.option_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_worldid() != 0) {
|
|
_this->_impl_.worldid_ = from._impl_.worldid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_lobbyid() != 0) {
|
|
_this->_impl_.lobbyid_ = from._impl_.lobbyid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_rangefilter_startindex() != 0) {
|
|
_this->_impl_.rangefilter_startindex_ = from._impl_.rangefilter_startindex_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (from._internal_rangefilter_max() != 0) {
|
|
_this->_impl_.rangefilter_max_ = from._impl_.rangefilter_max_;
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (from._internal_flagfilter() != 0) {
|
|
_this->_impl_.flagfilter_ = from._impl_.flagfilter_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SearchRoomRequest::CopyFrom(const SearchRoomRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchRoomRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SearchRoomRequest::InternalSwap(SearchRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.intfilter_.InternalSwap(&other->_impl_.intfilter_);
|
|
_impl_.binfilter_.InternalSwap(&other->_impl_.binfilter_);
|
|
_impl_.attrid_.InternalSwap(&other->_impl_.attrid_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_)
|
|
+ sizeof(SearchRoomRequest::_impl_.flagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_)>(
|
|
reinterpret_cast<char*>(&_impl_.option_),
|
|
reinterpret_cast<char*>(&other->_impl_.option_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SearchRoomResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SearchRoomResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
SearchRoomResponse::SearchRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchRoomResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SearchRoomResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchRoomResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SearchRoomResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
rooms_{visibility, arena, from.rooms_} {}
|
|
|
|
SearchRoomResponse::SearchRoomResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SearchRoomResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchRoomResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SearchRoomResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, startindex_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, startindex_),
|
|
offsetof(Impl_, total_) -
|
|
offsetof(Impl_, startindex_) +
|
|
sizeof(Impl_::total_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SearchRoomResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchRoomResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
rooms_{visibility, arena} {}
|
|
|
|
inline void SearchRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, startindex_),
|
|
0,
|
|
offsetof(Impl_, total_) -
|
|
offsetof(Impl_, startindex_) +
|
|
sizeof(Impl_::total_));
|
|
}
|
|
SearchRoomResponse::~SearchRoomResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SearchRoomResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SearchRoomResponse::SharedDtor(MessageLite& self) {
|
|
SearchRoomResponse& this_ = static_cast<SearchRoomResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SearchRoomResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SearchRoomResponse(arena);
|
|
}
|
|
constexpr auto SearchRoomResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_) +
|
|
decltype(SearchRoomResponse::_impl_.rooms_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SearchRoomResponse), alignof(SearchRoomResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SearchRoomResponse::PlacementNew_,
|
|
sizeof(SearchRoomResponse),
|
|
alignof(SearchRoomResponse));
|
|
}
|
|
}
|
|
constexpr auto SearchRoomResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_SearchRoomResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SearchRoomResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SearchRoomResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SearchRoomResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SearchRoomResponse>(), &SearchRoomResponse::ByteSizeLong,
|
|
&SearchRoomResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SearchRoomResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> SearchRoomResponse_class_data_ =
|
|
SearchRoomResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SearchRoomResponse::GetClassData() const {
|
|
return SearchRoomResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
|
|
SearchRoomResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SearchRoomResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SearchRoomResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 startIndex = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_)}},
|
|
// uint32 total = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_)}},
|
|
// repeated .np2_structs.RoomDataExternal rooms = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 startIndex = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 total = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.RoomDataExternal rooms = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SearchRoomResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SearchRoomResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.rooms_.Clear();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
|
|
::memset(&_impl_.startindex_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.total_) -
|
|
reinterpret_cast<char*>(&_impl_.startindex_)) + sizeof(_impl_.total_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SearchRoomResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SearchRoomResponse& this_ = static_cast<const SearchRoomResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SearchRoomResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SearchRoomResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchRoomResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 startIndex = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_startindex() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_startindex(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 total = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_total() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_total(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.RoomDataExternal rooms = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_rooms_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_rooms().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchRoomResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SearchRoomResponse::ByteSizeLong(const MessageLite& base) {
|
|
const SearchRoomResponse& this_ = static_cast<const SearchRoomResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SearchRoomResponse::ByteSizeLong() const {
|
|
const SearchRoomResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchRoomResponse)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// repeated .np2_structs.RoomDataExternal rooms = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_rooms_size();
|
|
for (const auto& msg : this_._internal_rooms()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 startIndex = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_startindex() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_startindex());
|
|
}
|
|
}
|
|
// uint32 total = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_total() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_total());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SearchRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SearchRoomResponse*>(&to_msg);
|
|
auto& from = static_cast<const SearchRoomResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchRoomResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_rooms()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_rooms());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_startindex() != 0) {
|
|
_this->_impl_.startindex_ = from._impl_.startindex_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_total() != 0) {
|
|
_this->_impl_.total_ = from._impl_.total_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SearchRoomResponse::CopyFrom(const SearchRoomResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchRoomResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SearchRoomResponse::InternalSwap(SearchRoomResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.rooms_.InternalSwap(&other->_impl_.rooms_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_)
|
|
+ sizeof(SearchRoomResponse::_impl_.total_)
|
|
- PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_)>(
|
|
reinterpret_cast<char*>(&_impl_.startindex_),
|
|
reinterpret_cast<char*>(&other->_impl_.startindex_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class CreateJoinRoomRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<CreateJoinRoomRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
CreateJoinRoomRequest::CreateJoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, CreateJoinRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.CreateJoinRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE CreateJoinRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::CreateJoinRoomRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roombinattrinternal_{visibility, arena, from.roombinattrinternal_},
|
|
roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_},
|
|
roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_},
|
|
roombinattrexternal_{visibility, arena, from.roombinattrexternal_},
|
|
groupconfig_{visibility, arena, from.groupconfig_},
|
|
alloweduser_{visibility, arena, from.alloweduser_},
|
|
blockeduser_{visibility, arena, from.blockeduser_},
|
|
roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_},
|
|
roompassword_(arena, from.roompassword_),
|
|
joinroomgrouplabel_(arena, from.joinroomgrouplabel_) {}
|
|
|
|
CreateJoinRoomRequest::CreateJoinRoomRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const CreateJoinRoomRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, CreateJoinRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
CreateJoinRoomRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000400U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_)
|
|
: nullptr;
|
|
_impl_.sigoptparam_ = (CheckHasBit(cached_has_bits, 0x00000800U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sigoptparam_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lobbyid_),
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, lobbyid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.CreateJoinRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE CreateJoinRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roombinattrinternal_{visibility, arena},
|
|
roomsearchableintattrexternal_{visibility, arena},
|
|
roomsearchablebinattrexternal_{visibility, arena},
|
|
roombinattrexternal_{visibility, arena},
|
|
groupconfig_{visibility, arena},
|
|
alloweduser_{visibility, arena},
|
|
blockeduser_{visibility, arena},
|
|
roommemberbinattrinternal_{visibility, arena},
|
|
roompassword_(arena),
|
|
joinroomgrouplabel_(arena) {}
|
|
|
|
inline void CreateJoinRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, teamid_),
|
|
0,
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, teamid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
}
|
|
CreateJoinRoomRequest::~CreateJoinRoomRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.CreateJoinRoomRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void CreateJoinRoomRequest::SharedDtor(MessageLite& self) {
|
|
CreateJoinRoomRequest& this_ = static_cast<CreateJoinRoomRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.roompassword_.Destroy();
|
|
this_._impl_.joinroomgrouplabel_.Destroy();
|
|
delete this_._impl_.teamid_;
|
|
delete this_._impl_.sigoptparam_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL CreateJoinRoomRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) CreateJoinRoomRequest(arena);
|
|
}
|
|
constexpr auto CreateJoinRoomRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.roombinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.roomsearchableintattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.roomsearchablebinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.roombinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.groupconfig_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.alloweduser_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.blockeduser_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_) +
|
|
decltype(CreateJoinRoomRequest::_impl_.roommemberbinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(CreateJoinRoomRequest), alignof(CreateJoinRoomRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&CreateJoinRoomRequest::PlacementNew_,
|
|
sizeof(CreateJoinRoomRequest),
|
|
alignof(CreateJoinRoomRequest));
|
|
}
|
|
}
|
|
constexpr auto CreateJoinRoomRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<34>{
|
|
{
|
|
&_CreateJoinRoomRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&CreateJoinRoomRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<CreateJoinRoomRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&CreateJoinRoomRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<CreateJoinRoomRequest>(), &CreateJoinRoomRequest::ByteSizeLong,
|
|
&CreateJoinRoomRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.CreateJoinRoomRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<34> CreateJoinRoomRequest_class_data_ =
|
|
CreateJoinRoomRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
CreateJoinRoomRequest::GetClassData() const {
|
|
return CreateJoinRoomRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<5, 17, 8, 80, 2>
|
|
CreateJoinRoomRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
17, 248, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294836224, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
17, // num_field_entries
|
|
8, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
CreateJoinRoomRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::CreateJoinRoomRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 worldId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 13, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.worldid_)}},
|
|
// uint64 lobbyId = 2;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{16, 12, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.lobbyid_)}},
|
|
// uint32 maxSlot = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 14, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.maxslot_)}},
|
|
// uint32 flagAttr = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 16, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_)}},
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 5;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{42, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_)}},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{50, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_)}},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{58, 2, 2,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_)}},
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 8;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{66, 3, 3,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_)}},
|
|
// bytes roomPassword = 9;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{74, 8, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roompassword_)}},
|
|
// repeated .np2_structs.GroupConfig groupConfig = 10;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{82, 4, 4,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_)}},
|
|
// uint64 passwordSlotMask = 11;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{88, 15, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.passwordslotmask_)}},
|
|
// repeated string allowedUser = 12;
|
|
{::_pbi::TcParser::FastUR1,
|
|
{98, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_)}},
|
|
// repeated string blockedUser = 13;
|
|
{::_pbi::TcParser::FastUR1,
|
|
{106, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_)}},
|
|
// bytes joinRoomGroupLabel = 14;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{114, 9, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.joinroomgrouplabel_)}},
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{122, 7, 5,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_)}},
|
|
// .np2_structs.uint8 teamId = 16;
|
|
{::_pbi::TcParser::FastMtS2,
|
|
{386, 10, 6,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_)}},
|
|
// .np2_structs.OptParam sigOptParam = 17;
|
|
{::_pbi::TcParser::FastMtS2,
|
|
{394, 11, 7,
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.sigoptparam_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 worldId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.worldid_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint64 lobbyId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.lobbyid_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 maxSlot = 3;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.maxslot_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 flagAttr = 4;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 5;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 8;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bytes roomPassword = 9;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roompassword_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.GroupConfig groupConfig = 10;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint64 passwordSlotMask = 11;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// repeated string allowedUser = 12;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
|
|
// repeated string blockedUser = 13;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
|
|
// bytes joinRoomGroupLabel = 14;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.joinroomgrouplabel_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 7, 5, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 teamId = 16;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 10, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.OptParam sigOptParam = 17;
|
|
{PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.sigoptparam_), _Internal::kHasBitsOffset + 11, 7, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::GroupConfig>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::OptParam>()},
|
|
}},
|
|
{{
|
|
"\41\0\0\0\0\0\0\0\0\0\0\0\13\13\0\0\0\0\0\0\0\0\0\0"
|
|
"np2_structs.CreateJoinRoomRequest"
|
|
"allowedUser"
|
|
"blockedUser"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void CreateJoinRoomRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.CreateJoinRoomRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roombinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.roomsearchableintattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.roomsearchablebinattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_impl_.roombinattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
|
|
_impl_.groupconfig_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
|
|
_impl_.alloweduser_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
|
|
_impl_.blockeduser_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
|
|
_impl_.roommemberbinattrinternal_.Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
_impl_.roompassword_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
_impl_.joinroomgrouplabel_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
ABSL_DCHECK(_impl_.teamid_ != nullptr);
|
|
_impl_.teamid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
ABSL_DCHECK(_impl_.sigoptparam_ != nullptr);
|
|
_impl_.sigoptparam_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000f000U)) {
|
|
::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.passwordslotmask_) -
|
|
reinterpret_cast<char*>(&_impl_.lobbyid_)) + sizeof(_impl_.passwordslotmask_));
|
|
}
|
|
_impl_.flagattr_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL CreateJoinRoomRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const CreateJoinRoomRequest& this_ = static_cast<const CreateJoinRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL CreateJoinRoomRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const CreateJoinRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.CreateJoinRoomRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 worldId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_worldid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 lobbyId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
2, this_._internal_lobbyid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 maxSlot = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (this_._internal_maxslot() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_maxslot(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 flagAttr = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchableintattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
6, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchablebinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
7, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
8, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// bytes roomPassword = 9;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (!this_._internal_roompassword().empty()) {
|
|
const ::std::string& _s = this_._internal_roompassword();
|
|
target = stream->WriteBytesMaybeAliased(9, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.GroupConfig groupConfig = 10;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_groupconfig_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_groupconfig().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
10, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// uint64 passwordSlotMask = 11;
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
11, this_._internal_passwordslotmask(), target);
|
|
}
|
|
}
|
|
|
|
// repeated string allowedUser = 12;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
|
|
for (int i = 0, n = this_._internal_alloweduser_size(); i < n; ++i) {
|
|
const auto& s = this_._internal_alloweduser().Get(i);
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.CreateJoinRoomRequest.allowedUser");
|
|
target = stream->WriteString(12, s, target);
|
|
}
|
|
}
|
|
|
|
// repeated string blockedUser = 13;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
|
|
for (int i = 0, n = this_._internal_blockeduser_size(); i < n; ++i) {
|
|
const auto& s = this_._internal_blockeduser().Get(i);
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.CreateJoinRoomRequest.blockedUser");
|
|
target = stream->WriteString(13, s, target);
|
|
}
|
|
}
|
|
|
|
// bytes joinRoomGroupLabel = 14;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (!this_._internal_joinroomgrouplabel().empty()) {
|
|
const ::std::string& _s = this_._internal_joinroomgrouplabel();
|
|
target = stream->WriteBytesMaybeAliased(14, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roommemberbinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
15, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 teamId = 16;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
16, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.OptParam sigOptParam = 17;
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
17, *this_._impl_.sigoptparam_, this_._impl_.sigoptparam_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.CreateJoinRoomRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t CreateJoinRoomRequest::ByteSizeLong(const MessageLite& base) {
|
|
const CreateJoinRoomRequest& this_ = static_cast<const CreateJoinRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t CreateJoinRoomRequest::ByteSizeLong() const {
|
|
const CreateJoinRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.CreateJoinRoomRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roombinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_roomsearchableintattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchableintattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1UL * this_._internal_roomsearchablebinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 8;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1UL * this_._internal_roombinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.GroupConfig groupConfig = 10;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1UL * this_._internal_groupconfig_size();
|
|
for (const auto& msg : this_._internal_groupconfig()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated string allowedUser = 12;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
|
|
total_size +=
|
|
1 * ::google::protobuf::internal::FromIntSize(this_._internal_alloweduser().size());
|
|
for (int i = 0, n = this_._internal_alloweduser().size(); i < n; ++i) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_alloweduser().Get(i));
|
|
}
|
|
}
|
|
// repeated string blockedUser = 13;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
|
|
total_size +=
|
|
1 * ::google::protobuf::internal::FromIntSize(this_._internal_blockeduser().size());
|
|
for (int i = 0, n = this_._internal_blockeduser().size(); i < n; ++i) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_blockeduser().Get(i));
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
|
|
total_size += 1UL * this_._internal_roommemberbinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roommemberbinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
|
|
// bytes roomPassword = 9;
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (!this_._internal_roompassword().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_roompassword());
|
|
}
|
|
}
|
|
// bytes joinRoomGroupLabel = 14;
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (!this_._internal_joinroomgrouplabel().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_joinroomgrouplabel());
|
|
}
|
|
}
|
|
// .np2_structs.uint8 teamId = 16;
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
total_size += 2 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_);
|
|
}
|
|
// .np2_structs.OptParam sigOptParam = 17;
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
total_size += 2 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sigoptparam_);
|
|
}
|
|
// uint64 lobbyId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (this_._internal_lobbyid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lobbyid());
|
|
}
|
|
}
|
|
// uint32 worldId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_worldid());
|
|
}
|
|
}
|
|
// uint32 maxSlot = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (this_._internal_maxslot() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_maxslot());
|
|
}
|
|
}
|
|
// uint64 passwordSlotMask = 11;
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (this_._internal_passwordslotmask() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_passwordslotmask());
|
|
}
|
|
}
|
|
}
|
|
{
|
|
// uint32 flagAttr = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void CreateJoinRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<CreateJoinRoomRequest*>(&to_msg);
|
|
auto& from = static_cast<const CreateJoinRoomRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.CreateJoinRoomRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrinternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchableintattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchablebinattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) {
|
|
_this->_internal_mutable_groupconfig()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_groupconfig());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) {
|
|
_this->_internal_mutable_alloweduser()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_alloweduser());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
|
|
_this->_internal_mutable_blockeduser()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_blockeduser());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
|
|
_this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roommemberbinattrinternal());
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000100U)) {
|
|
if (!from._internal_roompassword().empty()) {
|
|
_this->_internal_set_roompassword(from._internal_roompassword());
|
|
} else {
|
|
if (_this->_impl_.roompassword_.IsDefault()) {
|
|
_this->_internal_set_roompassword("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000200U)) {
|
|
if (!from._internal_joinroomgrouplabel().empty()) {
|
|
_this->_internal_set_joinroomgrouplabel(from._internal_joinroomgrouplabel());
|
|
} else {
|
|
if (_this->_impl_.joinroomgrouplabel_.IsDefault()) {
|
|
_this->_internal_set_joinroomgrouplabel("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000400U)) {
|
|
ABSL_DCHECK(from._impl_.teamid_ != nullptr);
|
|
if (_this->_impl_.teamid_ == nullptr) {
|
|
_this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_);
|
|
} else {
|
|
_this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000800U)) {
|
|
ABSL_DCHECK(from._impl_.sigoptparam_ != nullptr);
|
|
if (_this->_impl_.sigoptparam_ == nullptr) {
|
|
_this->_impl_.sigoptparam_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sigoptparam_);
|
|
} else {
|
|
_this->_impl_.sigoptparam_->MergeFrom(*from._impl_.sigoptparam_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00001000U)) {
|
|
if (from._internal_lobbyid() != 0) {
|
|
_this->_impl_.lobbyid_ = from._impl_.lobbyid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00002000U)) {
|
|
if (from._internal_worldid() != 0) {
|
|
_this->_impl_.worldid_ = from._impl_.worldid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00004000U)) {
|
|
if (from._internal_maxslot() != 0) {
|
|
_this->_impl_.maxslot_ = from._impl_.maxslot_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00008000U)) {
|
|
if (from._internal_passwordslotmask() != 0) {
|
|
_this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_;
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00010000U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void CreateJoinRoomRequest::CopyFrom(const CreateJoinRoomRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.CreateJoinRoomRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void CreateJoinRoomRequest::InternalSwap(CreateJoinRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_);
|
|
_impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_);
|
|
_impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_);
|
|
_impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_);
|
|
_impl_.groupconfig_.InternalSwap(&other->_impl_.groupconfig_);
|
|
_impl_.alloweduser_.InternalSwap(&other->_impl_.alloweduser_);
|
|
_impl_.blockeduser_.InternalSwap(&other->_impl_.blockeduser_);
|
|
_impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roompassword_, &other->_impl_.roompassword_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.joinroomgrouplabel_, &other->_impl_.joinroomgrouplabel_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_)
|
|
+ sizeof(CreateJoinRoomRequest::_impl_.flagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_)>(
|
|
reinterpret_cast<char*>(&_impl_.teamid_),
|
|
reinterpret_cast<char*>(&other->_impl_.teamid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class JoinRoomRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<JoinRoomRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
JoinRoomRequest::JoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, JoinRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.JoinRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE JoinRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::JoinRoomRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_},
|
|
roompassword_(arena, from.roompassword_),
|
|
joinroomgrouplabel_(arena, from.joinroomgrouplabel_) {}
|
|
|
|
JoinRoomRequest::JoinRoomRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const JoinRoomRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, JoinRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
JoinRoomRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_)
|
|
: nullptr;
|
|
_impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_)
|
|
: nullptr;
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.JoinRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE JoinRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena},
|
|
roompassword_(arena),
|
|
joinroomgrouplabel_(arena) {}
|
|
|
|
inline void JoinRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, optdata_),
|
|
0,
|
|
offsetof(Impl_, roomid_) -
|
|
offsetof(Impl_, optdata_) +
|
|
sizeof(Impl_::roomid_));
|
|
}
|
|
JoinRoomRequest::~JoinRoomRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.JoinRoomRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void JoinRoomRequest::SharedDtor(MessageLite& self) {
|
|
JoinRoomRequest& this_ = static_cast<JoinRoomRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.roompassword_.Destroy();
|
|
this_._impl_.joinroomgrouplabel_.Destroy();
|
|
delete this_._impl_.optdata_;
|
|
delete this_._impl_.teamid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL JoinRoomRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) JoinRoomRequest(arena);
|
|
}
|
|
constexpr auto JoinRoomRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_) +
|
|
decltype(JoinRoomRequest::_impl_.roommemberbinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(JoinRoomRequest), alignof(JoinRoomRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&JoinRoomRequest::PlacementNew_,
|
|
sizeof(JoinRoomRequest),
|
|
alignof(JoinRoomRequest));
|
|
}
|
|
}
|
|
constexpr auto JoinRoomRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<28>{
|
|
{
|
|
&_JoinRoomRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&JoinRoomRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<JoinRoomRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&JoinRoomRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<JoinRoomRequest>(), &JoinRoomRequest::ByteSizeLong,
|
|
&JoinRoomRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.JoinRoomRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<28> JoinRoomRequest_class_data_ =
|
|
JoinRoomRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
JoinRoomRequest::GetClassData() const {
|
|
return JoinRoomRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 6, 3, 0, 2>
|
|
JoinRoomRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._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
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
JoinRoomRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::JoinRoomRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_)}},
|
|
// bytes roomPassword = 2;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roompassword_)}},
|
|
// bytes joinRoomGroupLabel = 3;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{26, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.joinroomgrouplabel_)}},
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_)}},
|
|
// .np2_structs.PresenceOptionData optData = 5;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{42, 3, 1,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_)}},
|
|
// .np2_structs.uint8 teamId = 6;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{50, 4, 2,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.teamid_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// bytes roomPassword = 2;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roompassword_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// bytes joinRoomGroupLabel = 3;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.joinroomgrouplabel_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.PresenceOptionData optData = 5;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 teamId = 6;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void JoinRoomRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.JoinRoomRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roommemberbinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.roompassword_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.joinroomgrouplabel_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.optdata_ != nullptr);
|
|
_impl_.optdata_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.teamid_ != nullptr);
|
|
_impl_.teamid_->Clear();
|
|
}
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL JoinRoomRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const JoinRoomRequest& this_ = static_cast<const JoinRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL JoinRoomRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const JoinRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.JoinRoomRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// bytes roomPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_roompassword().empty()) {
|
|
const ::std::string& _s = this_._internal_roompassword();
|
|
target = stream->WriteBytesMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes joinRoomGroupLabel = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_joinroomgrouplabel().empty()) {
|
|
const ::std::string& _s = this_._internal_joinroomgrouplabel();
|
|
target = stream->WriteBytesMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roommemberbinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.PresenceOptionData optData = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint8 teamId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
6, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.JoinRoomRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t JoinRoomRequest::ByteSizeLong(const MessageLite& base) {
|
|
const JoinRoomRequest& this_ = static_cast<const JoinRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t JoinRoomRequest::ByteSizeLong() const {
|
|
const JoinRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.JoinRoomRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roommemberbinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roommemberbinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes roomPassword = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_roompassword().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_roompassword());
|
|
}
|
|
}
|
|
// bytes joinRoomGroupLabel = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_joinroomgrouplabel().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_joinroomgrouplabel());
|
|
}
|
|
}
|
|
// .np2_structs.PresenceOptionData optData = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_);
|
|
}
|
|
// .np2_structs.uint8 teamId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_);
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void JoinRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<JoinRoomRequest*>(&to_msg);
|
|
auto& from = static_cast<const JoinRoomRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.JoinRoomRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roommemberbinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_roompassword().empty()) {
|
|
_this->_internal_set_roompassword(from._internal_roompassword());
|
|
} else {
|
|
if (_this->_impl_.roompassword_.IsDefault()) {
|
|
_this->_internal_set_roompassword("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_joinroomgrouplabel().empty()) {
|
|
_this->_internal_set_joinroomgrouplabel(from._internal_joinroomgrouplabel());
|
|
} else {
|
|
if (_this->_impl_.joinroomgrouplabel_.IsDefault()) {
|
|
_this->_internal_set_joinroomgrouplabel("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.optdata_ != nullptr);
|
|
if (_this->_impl_.optdata_ == nullptr) {
|
|
_this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_);
|
|
} else {
|
|
_this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.teamid_ != nullptr);
|
|
if (_this->_impl_.teamid_ == nullptr) {
|
|
_this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_);
|
|
} else {
|
|
_this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void JoinRoomRequest::CopyFrom(const JoinRoomRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.JoinRoomRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void JoinRoomRequest::InternalSwap(JoinRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roompassword_, &other->_impl_.roompassword_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.joinroomgrouplabel_, &other->_impl_.joinroomgrouplabel_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_)
|
|
+ sizeof(JoinRoomRequest::_impl_.roomid_)
|
|
- PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_)>(
|
|
reinterpret_cast<char*>(&_impl_.optdata_),
|
|
reinterpret_cast<char*>(&other->_impl_.optdata_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class JoinRoomResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<JoinRoomResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
JoinRoomResponse::JoinRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, JoinRoomResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.JoinRoomResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE JoinRoomResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::JoinRoomResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
signaling_data_{visibility, arena, from.signaling_data_} {}
|
|
|
|
JoinRoomResponse::JoinRoomResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const JoinRoomResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, JoinRoomResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
JoinRoomResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.room_data_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_data_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.JoinRoomResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE JoinRoomResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
signaling_data_{visibility, arena} {}
|
|
|
|
inline void JoinRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.room_data_ = {};
|
|
}
|
|
JoinRoomResponse::~JoinRoomResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.JoinRoomResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void JoinRoomResponse::SharedDtor(MessageLite& self) {
|
|
JoinRoomResponse& this_ = static_cast<JoinRoomResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.room_data_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL JoinRoomResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) JoinRoomResponse(arena);
|
|
}
|
|
constexpr auto JoinRoomResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_) +
|
|
decltype(JoinRoomResponse::_impl_.signaling_data_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(JoinRoomResponse), alignof(JoinRoomResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&JoinRoomResponse::PlacementNew_,
|
|
sizeof(JoinRoomResponse),
|
|
alignof(JoinRoomResponse));
|
|
}
|
|
}
|
|
constexpr auto JoinRoomResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_JoinRoomResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&JoinRoomResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<JoinRoomResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&JoinRoomResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<JoinRoomResponse>(), &JoinRoomResponse::ByteSizeLong,
|
|
&JoinRoomResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.JoinRoomResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> JoinRoomResponse_class_data_ =
|
|
JoinRoomResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
JoinRoomResponse::GetClassData() const {
|
|
return JoinRoomResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
JoinRoomResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
JoinRoomResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::JoinRoomResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.Matching2SignalingInfo signaling_data = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_)}},
|
|
// .np2_structs.RoomDataInternal room_data = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.RoomDataInternal room_data = 1;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.Matching2SignalingInfo signaling_data = 2;
|
|
{PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void JoinRoomResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.JoinRoomResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.signaling_data_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.room_data_ != nullptr);
|
|
_impl_.room_data_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL JoinRoomResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const JoinRoomResponse& this_ = static_cast<const JoinRoomResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL JoinRoomResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const JoinRoomResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.JoinRoomResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.RoomDataInternal room_data = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.room_data_, this_._impl_.room_data_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.Matching2SignalingInfo signaling_data = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_signaling_data_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_signaling_data().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.JoinRoomResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t JoinRoomResponse::ByteSizeLong(const MessageLite& base) {
|
|
const JoinRoomResponse& this_ = static_cast<const JoinRoomResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t JoinRoomResponse::ByteSizeLong() const {
|
|
const JoinRoomResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.JoinRoomResponse)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.Matching2SignalingInfo signaling_data = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_signaling_data_size();
|
|
for (const auto& msg : this_._internal_signaling_data()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.RoomDataInternal room_data = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.room_data_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void JoinRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<JoinRoomResponse*>(&to_msg);
|
|
auto& from = static_cast<const JoinRoomResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.JoinRoomResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_signaling_data()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_signaling_data());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.room_data_ != nullptr);
|
|
if (_this->_impl_.room_data_ == nullptr) {
|
|
_this->_impl_.room_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_data_);
|
|
} else {
|
|
_this->_impl_.room_data_->MergeFrom(*from._impl_.room_data_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void JoinRoomResponse::CopyFrom(const JoinRoomResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.JoinRoomResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void JoinRoomResponse::InternalSwap(JoinRoomResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.signaling_data_.InternalSwap(&other->_impl_.signaling_data_);
|
|
swap(_impl_.room_data_, other->_impl_.room_data_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class LeaveRoomRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<LeaveRoomRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
LeaveRoomRequest::LeaveRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, LeaveRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.LeaveRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE LeaveRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::LeaveRoomRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
LeaveRoomRequest::LeaveRoomRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const LeaveRoomRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, LeaveRoomRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
LeaveRoomRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_)
|
|
: nullptr;
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.LeaveRoomRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE LeaveRoomRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void LeaveRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, optdata_),
|
|
0,
|
|
offsetof(Impl_, roomid_) -
|
|
offsetof(Impl_, optdata_) +
|
|
sizeof(Impl_::roomid_));
|
|
}
|
|
LeaveRoomRequest::~LeaveRoomRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.LeaveRoomRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void LeaveRoomRequest::SharedDtor(MessageLite& self) {
|
|
LeaveRoomRequest& this_ = static_cast<LeaveRoomRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.optdata_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL LeaveRoomRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) LeaveRoomRequest(arena);
|
|
}
|
|
constexpr auto LeaveRoomRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LeaveRoomRequest),
|
|
alignof(LeaveRoomRequest));
|
|
}
|
|
constexpr auto LeaveRoomRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_LeaveRoomRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&LeaveRoomRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<LeaveRoomRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&LeaveRoomRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<LeaveRoomRequest>(), &LeaveRoomRequest::ByteSizeLong,
|
|
&LeaveRoomRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.LeaveRoomRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> LeaveRoomRequest_class_data_ =
|
|
LeaveRoomRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
LeaveRoomRequest::GetClassData() const {
|
|
return LeaveRoomRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
LeaveRoomRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
LeaveRoomRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::LeaveRoomRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// .np2_structs.PresenceOptionData optData = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_)}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.PresenceOptionData optData = 2;
|
|
{PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void LeaveRoomRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.LeaveRoomRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.optdata_ != nullptr);
|
|
_impl_.optdata_->Clear();
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL LeaveRoomRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const LeaveRoomRequest& this_ = static_cast<const LeaveRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL LeaveRoomRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const LeaveRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.LeaveRoomRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.PresenceOptionData optData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.LeaveRoomRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t LeaveRoomRequest::ByteSizeLong(const MessageLite& base) {
|
|
const LeaveRoomRequest& this_ = static_cast<const LeaveRoomRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t LeaveRoomRequest::ByteSizeLong() const {
|
|
const LeaveRoomRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.LeaveRoomRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.PresenceOptionData optData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_);
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void LeaveRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<LeaveRoomRequest*>(&to_msg);
|
|
auto& from = static_cast<const LeaveRoomRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.LeaveRoomRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.optdata_ != nullptr);
|
|
if (_this->_impl_.optdata_ == nullptr) {
|
|
_this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_);
|
|
} else {
|
|
_this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void LeaveRoomRequest::CopyFrom(const LeaveRoomRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.LeaveRoomRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void LeaveRoomRequest::InternalSwap(LeaveRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_)
|
|
+ sizeof(LeaveRoomRequest::_impl_.roomid_)
|
|
- PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_)>(
|
|
reinterpret_cast<char*>(&_impl_.optdata_),
|
|
reinterpret_cast<char*>(&other->_impl_.optdata_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetRoomDataExternalListRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetRoomDataExternalListRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataExternalListRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataExternalListRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetRoomDataExternalListRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roomids_{visibility, arena, from.roomids_},
|
|
_roomids_cached_byte_size_{0},
|
|
attrids_{visibility, arena, from.attrids_} {}
|
|
|
|
GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetRoomDataExternalListRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataExternalListRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetRoomDataExternalListRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataExternalListRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roomids_{visibility, arena},
|
|
_roomids_cached_byte_size_{0},
|
|
attrids_{visibility, arena} {}
|
|
|
|
inline void GetRoomDataExternalListRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
GetRoomDataExternalListRequest::~GetRoomDataExternalListRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetRoomDataExternalListRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetRoomDataExternalListRequest::SharedDtor(MessageLite& self) {
|
|
GetRoomDataExternalListRequest& this_ = static_cast<GetRoomDataExternalListRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetRoomDataExternalListRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetRoomDataExternalListRequest(arena);
|
|
}
|
|
constexpr auto GetRoomDataExternalListRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_) +
|
|
decltype(GetRoomDataExternalListRequest::_impl_.roomids_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_) +
|
|
decltype(GetRoomDataExternalListRequest::_impl_.attrids_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetRoomDataExternalListRequest), alignof(GetRoomDataExternalListRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetRoomDataExternalListRequest::PlacementNew_,
|
|
sizeof(GetRoomDataExternalListRequest),
|
|
alignof(GetRoomDataExternalListRequest));
|
|
}
|
|
}
|
|
constexpr auto GetRoomDataExternalListRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<43>{
|
|
{
|
|
&_GetRoomDataExternalListRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetRoomDataExternalListRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetRoomDataExternalListRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetRoomDataExternalListRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetRoomDataExternalListRequest>(), &GetRoomDataExternalListRequest::ByteSizeLong,
|
|
&GetRoomDataExternalListRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetRoomDataExternalListRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<43> GetRoomDataExternalListRequest_class_data_ =
|
|
GetRoomDataExternalListRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetRoomDataExternalListRequest::GetClassData() const {
|
|
return GetRoomDataExternalListRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
GetRoomDataExternalListRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetRoomDataExternalListRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataExternalListRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.uint16 attrIds = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_)}},
|
|
// repeated uint64 roomIds = 1;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated uint64 roomIds = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)},
|
|
// repeated .np2_structs.uint16 attrIds = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetRoomDataExternalListRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataExternalListRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roomids_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.attrids_.Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetRoomDataExternalListRequest& this_ = static_cast<const GetRoomDataExternalListRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetRoomDataExternalListRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataExternalListRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated uint64 roomIds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._roomids_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteUInt64Packed(
|
|
1, this_._internal_roomids(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 attrIds = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrids_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrids().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataExternalListRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetRoomDataExternalListRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetRoomDataExternalListRequest& this_ = static_cast<const GetRoomDataExternalListRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetRoomDataExternalListRequest::ByteSizeLong() const {
|
|
const GetRoomDataExternalListRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataExternalListRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated uint64 roomIds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize(
|
|
this_._internal_roomids(), 1,
|
|
this_._impl_._roomids_cached_byte_size_);
|
|
}
|
|
// repeated .np2_structs.uint16 attrIds = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_attrids_size();
|
|
for (const auto& msg : this_._internal_attrids()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetRoomDataExternalListRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetRoomDataExternalListRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetRoomDataExternalListRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataExternalListRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roomids()->MergeFrom(from._internal_roomids());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_attrids()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrids());
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetRoomDataExternalListRequest::CopyFrom(const GetRoomDataExternalListRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataExternalListRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetRoomDataExternalListRequest::InternalSwap(GetRoomDataExternalListRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roomids_.InternalSwap(&other->_impl_.roomids_);
|
|
_impl_.attrids_.InternalSwap(&other->_impl_.attrids_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetRoomDataExternalListResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetRoomDataExternalListResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataExternalListResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataExternalListResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetRoomDataExternalListResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
rooms_{visibility, arena, from.rooms_} {}
|
|
|
|
GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetRoomDataExternalListResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataExternalListResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetRoomDataExternalListResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataExternalListResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
rooms_{visibility, arena} {}
|
|
|
|
inline void GetRoomDataExternalListResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
GetRoomDataExternalListResponse::~GetRoomDataExternalListResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetRoomDataExternalListResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetRoomDataExternalListResponse::SharedDtor(MessageLite& self) {
|
|
GetRoomDataExternalListResponse& this_ = static_cast<GetRoomDataExternalListResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetRoomDataExternalListResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetRoomDataExternalListResponse(arena);
|
|
}
|
|
constexpr auto GetRoomDataExternalListResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_) +
|
|
decltype(GetRoomDataExternalListResponse::_impl_.rooms_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetRoomDataExternalListResponse), alignof(GetRoomDataExternalListResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetRoomDataExternalListResponse::PlacementNew_,
|
|
sizeof(GetRoomDataExternalListResponse),
|
|
alignof(GetRoomDataExternalListResponse));
|
|
}
|
|
}
|
|
constexpr auto GetRoomDataExternalListResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<44>{
|
|
{
|
|
&_GetRoomDataExternalListResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetRoomDataExternalListResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetRoomDataExternalListResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetRoomDataExternalListResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetRoomDataExternalListResponse>(), &GetRoomDataExternalListResponse::ByteSizeLong,
|
|
&GetRoomDataExternalListResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetRoomDataExternalListResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<44> GetRoomDataExternalListResponse_class_data_ =
|
|
GetRoomDataExternalListResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetRoomDataExternalListResponse::GetClassData() const {
|
|
return GetRoomDataExternalListResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
|
|
GetRoomDataExternalListResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetRoomDataExternalListResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataExternalListResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.RoomDataExternal rooms = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.RoomDataExternal rooms = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetRoomDataExternalListResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataExternalListResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.rooms_.Clear();
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetRoomDataExternalListResponse& this_ = static_cast<const GetRoomDataExternalListResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetRoomDataExternalListResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataExternalListResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.RoomDataExternal rooms = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_rooms_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_rooms().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataExternalListResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetRoomDataExternalListResponse::ByteSizeLong(const MessageLite& base) {
|
|
const GetRoomDataExternalListResponse& this_ = static_cast<const GetRoomDataExternalListResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetRoomDataExternalListResponse::ByteSizeLong() const {
|
|
const GetRoomDataExternalListResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataExternalListResponse)
|
|
::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(&this_);
|
|
{
|
|
// repeated .np2_structs.RoomDataExternal rooms = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_rooms_size();
|
|
for (const auto& msg : this_._internal_rooms()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetRoomDataExternalListResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetRoomDataExternalListResponse*>(&to_msg);
|
|
auto& from = static_cast<const GetRoomDataExternalListResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataExternalListResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_rooms()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_rooms());
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetRoomDataExternalListResponse::CopyFrom(const GetRoomDataExternalListResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataExternalListResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetRoomDataExternalListResponse::InternalSwap(GetRoomDataExternalListResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.rooms_.InternalSwap(&other->_impl_.rooms_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetRoomDataExternalRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetRoomDataExternalRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SetRoomDataExternalRequest::SetRoomDataExternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomDataExternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomDataExternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomDataExternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetRoomDataExternalRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_},
|
|
roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_},
|
|
roombinattrexternal_{visibility, arena, from.roombinattrexternal_} {}
|
|
|
|
SetRoomDataExternalRequest::SetRoomDataExternalRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetRoomDataExternalRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomDataExternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetRoomDataExternalRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomDataExternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomDataExternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roomsearchableintattrexternal_{visibility, arena},
|
|
roomsearchablebinattrexternal_{visibility, arena},
|
|
roombinattrexternal_{visibility, arena} {}
|
|
|
|
inline void SetRoomDataExternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.roomid_ = {};
|
|
}
|
|
SetRoomDataExternalRequest::~SetRoomDataExternalRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetRoomDataExternalRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetRoomDataExternalRequest::SharedDtor(MessageLite& self) {
|
|
SetRoomDataExternalRequest& this_ = static_cast<SetRoomDataExternalRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetRoomDataExternalRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetRoomDataExternalRequest(arena);
|
|
}
|
|
constexpr auto SetRoomDataExternalRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_) +
|
|
decltype(SetRoomDataExternalRequest::_impl_.roomsearchableintattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_) +
|
|
decltype(SetRoomDataExternalRequest::_impl_.roomsearchablebinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_) +
|
|
decltype(SetRoomDataExternalRequest::_impl_.roombinattrexternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SetRoomDataExternalRequest), alignof(SetRoomDataExternalRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SetRoomDataExternalRequest::PlacementNew_,
|
|
sizeof(SetRoomDataExternalRequest),
|
|
alignof(SetRoomDataExternalRequest));
|
|
}
|
|
}
|
|
constexpr auto SetRoomDataExternalRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_SetRoomDataExternalRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetRoomDataExternalRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetRoomDataExternalRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetRoomDataExternalRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetRoomDataExternalRequest>(), &SetRoomDataExternalRequest::ByteSizeLong,
|
|
&SetRoomDataExternalRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetRoomDataExternalRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataExternalRequest_class_data_ =
|
|
SetRoomDataExternalRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetRoomDataExternalRequest::GetClassData() const {
|
|
return SetRoomDataExternalRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 3, 0, 2>
|
|
SetRoomDataExternalRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SetRoomDataExternalRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetRoomDataExternalRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 2, 2,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_)}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomid_)}},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_)}},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetRoomDataExternalRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomDataExternalRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roomsearchableintattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.roomsearchablebinattrexternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.roombinattrexternal_.Clear();
|
|
}
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomDataExternalRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetRoomDataExternalRequest& this_ = static_cast<const SetRoomDataExternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomDataExternalRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetRoomDataExternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomDataExternalRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchableintattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roomsearchablebinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrexternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrexternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomDataExternalRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetRoomDataExternalRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SetRoomDataExternalRequest& this_ = static_cast<const SetRoomDataExternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetRoomDataExternalRequest::ByteSizeLong() const {
|
|
const SetRoomDataExternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomDataExternalRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roomsearchableintattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchableintattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_roomsearchablebinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.BinAttr roomBinAttrExternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1UL * this_._internal_roombinattrexternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrexternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetRoomDataExternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetRoomDataExternalRequest*>(&to_msg);
|
|
auto& from = static_cast<const SetRoomDataExternalRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomDataExternalRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchableintattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roomsearchablebinattrexternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrexternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetRoomDataExternalRequest::CopyFrom(const SetRoomDataExternalRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomDataExternalRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetRoomDataExternalRequest::InternalSwap(SetRoomDataExternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_);
|
|
_impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_);
|
|
_impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_);
|
|
swap(_impl_.roomid_, other->_impl_.roomid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetRoomDataInternalRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetRoomDataInternalRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SetRoomDataInternalRequest::SetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetRoomDataInternalRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roombinattrinternal_{visibility, arena, from.roombinattrinternal_},
|
|
passwordconfig_{visibility, arena, from.passwordconfig_},
|
|
passwordslotmask_{visibility, arena, from.passwordslotmask_},
|
|
_passwordslotmask_cached_byte_size_{0},
|
|
ownerprivilegerank_{visibility, arena, from.ownerprivilegerank_} {}
|
|
|
|
SetRoomDataInternalRequest::SetRoomDataInternalRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetRoomDataInternalRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetRoomDataInternalRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, roomid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, roomid_),
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, roomid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roombinattrinternal_{visibility, arena},
|
|
passwordconfig_{visibility, arena},
|
|
passwordslotmask_{visibility, arena},
|
|
_passwordslotmask_cached_byte_size_{0},
|
|
ownerprivilegerank_{visibility, arena} {}
|
|
|
|
inline void SetRoomDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, roomid_),
|
|
0,
|
|
offsetof(Impl_, flagattr_) -
|
|
offsetof(Impl_, roomid_) +
|
|
sizeof(Impl_::flagattr_));
|
|
}
|
|
SetRoomDataInternalRequest::~SetRoomDataInternalRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetRoomDataInternalRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetRoomDataInternalRequest::SharedDtor(MessageLite& self) {
|
|
SetRoomDataInternalRequest& this_ = static_cast<SetRoomDataInternalRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetRoomDataInternalRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetRoomDataInternalRequest(arena);
|
|
}
|
|
constexpr auto SetRoomDataInternalRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_) +
|
|
decltype(SetRoomDataInternalRequest::_impl_.roombinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_) +
|
|
decltype(SetRoomDataInternalRequest::_impl_.passwordconfig_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_) +
|
|
decltype(SetRoomDataInternalRequest::_impl_.passwordslotmask_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_) +
|
|
decltype(SetRoomDataInternalRequest::_impl_.ownerprivilegerank_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SetRoomDataInternalRequest), alignof(SetRoomDataInternalRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SetRoomDataInternalRequest::PlacementNew_,
|
|
sizeof(SetRoomDataInternalRequest),
|
|
alignof(SetRoomDataInternalRequest));
|
|
}
|
|
}
|
|
constexpr auto SetRoomDataInternalRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_SetRoomDataInternalRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetRoomDataInternalRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetRoomDataInternalRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetRoomDataInternalRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetRoomDataInternalRequest>(), &SetRoomDataInternalRequest::ByteSizeLong,
|
|
&SetRoomDataInternalRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetRoomDataInternalRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataInternalRequest_class_data_ =
|
|
SetRoomDataInternalRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetRoomDataInternalRequest::GetClassData() const {
|
|
return SetRoomDataInternalRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 7, 3, 0, 2>
|
|
SetRoomDataInternalRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
7, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967168, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
7, // num_field_entries
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SetRoomDataInternalRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetRoomDataInternalRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_)}},
|
|
// uint32 flagFilter = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagfilter_)}},
|
|
// uint32 flagAttr = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_)}},
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_)}},
|
|
// repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{42, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_)}},
|
|
// repeated uint64 passwordSlotMask = 6;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{50, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_)}},
|
|
// repeated .np2_structs.uint16 ownerPrivilegeRank = 7;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{58, 3, 2,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 flagFilter = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagfilter_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 flagAttr = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated uint64 passwordSlotMask = 6;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)},
|
|
// repeated .np2_structs.uint16 ownerPrivilegeRank = 7;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomGroupPasswordConfig>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetRoomDataInternalRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomDataInternalRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roombinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.passwordconfig_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.passwordslotmask_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_impl_.ownerprivilegerank_.Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) {
|
|
::memset(&_impl_.roomid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.flagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.roomid_)) + sizeof(_impl_.flagattr_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomDataInternalRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetRoomDataInternalRequest& this_ = static_cast<const SetRoomDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomDataInternalRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetRoomDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomDataInternalRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 flagFilter = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_flagfilter() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_flagfilter(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 flagAttr = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_flagattr(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roombinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roombinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_passwordconfig_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_passwordconfig().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated uint64 passwordSlotMask = 6;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
{
|
|
int byte_size = this_._impl_._passwordslotmask_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteUInt64Packed(
|
|
6, this_._internal_passwordslotmask(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 ownerPrivilegeRank = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_ownerprivilegerank_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_ownerprivilegerank().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
7, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomDataInternalRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetRoomDataInternalRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SetRoomDataInternalRequest& this_ = static_cast<const SetRoomDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetRoomDataInternalRequest::ByteSizeLong() const {
|
|
const SetRoomDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomDataInternalRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
// repeated .np2_structs.BinAttr roomBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roombinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roombinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_passwordconfig_size();
|
|
for (const auto& msg : this_._internal_passwordconfig()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated uint64 passwordSlotMask = 6;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize(
|
|
this_._internal_passwordslotmask(), 1,
|
|
this_._impl_._passwordslotmask_cached_byte_size_);
|
|
}
|
|
// repeated .np2_structs.uint16 ownerPrivilegeRank = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1UL * this_._internal_ownerprivilegerank_size();
|
|
for (const auto& msg : this_._internal_ownerprivilegerank()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
// uint32 flagFilter = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_flagfilter() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagfilter());
|
|
}
|
|
}
|
|
// uint32 flagAttr = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_flagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_flagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetRoomDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetRoomDataInternalRequest*>(&to_msg);
|
|
auto& from = static_cast<const SetRoomDataInternalRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomDataInternalRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roombinattrinternal());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_passwordconfig()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_passwordconfig());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_passwordslotmask()->MergeFrom(from._internal_passwordslotmask());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
|
|
_this->_internal_mutable_ownerprivilegerank()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_ownerprivilegerank());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_flagfilter() != 0) {
|
|
_this->_impl_.flagfilter_ = from._impl_.flagfilter_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_flagattr() != 0) {
|
|
_this->_impl_.flagattr_ = from._impl_.flagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetRoomDataInternalRequest::CopyFrom(const SetRoomDataInternalRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomDataInternalRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetRoomDataInternalRequest::InternalSwap(SetRoomDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_);
|
|
_impl_.passwordconfig_.InternalSwap(&other->_impl_.passwordconfig_);
|
|
_impl_.passwordslotmask_.InternalSwap(&other->_impl_.passwordslotmask_);
|
|
_impl_.ownerprivilegerank_.InternalSwap(&other->_impl_.ownerprivilegerank_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_)
|
|
+ sizeof(SetRoomDataInternalRequest::_impl_.flagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_)>(
|
|
reinterpret_cast<char*>(&_impl_.roomid_),
|
|
reinterpret_cast<char*>(&other->_impl_.roomid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetRoomMemberDataInternalRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetRoomMemberDataInternalRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomMemberDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomMemberDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetRoomMemberDataInternalRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
attrid_{visibility, arena, from.attrid_} {}
|
|
|
|
GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetRoomMemberDataInternalRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomMemberDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetRoomMemberDataInternalRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.memberid_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_)
|
|
: nullptr;
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomMemberDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
attrid_{visibility, arena} {}
|
|
|
|
inline void GetRoomMemberDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, memberid_),
|
|
0,
|
|
offsetof(Impl_, roomid_) -
|
|
offsetof(Impl_, memberid_) +
|
|
sizeof(Impl_::roomid_));
|
|
}
|
|
GetRoomMemberDataInternalRequest::~GetRoomMemberDataInternalRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetRoomMemberDataInternalRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetRoomMemberDataInternalRequest::SharedDtor(MessageLite& self) {
|
|
GetRoomMemberDataInternalRequest& this_ = static_cast<GetRoomMemberDataInternalRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.memberid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetRoomMemberDataInternalRequest(arena);
|
|
}
|
|
constexpr auto GetRoomMemberDataInternalRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_) +
|
|
decltype(GetRoomMemberDataInternalRequest::_impl_.attrid_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetRoomMemberDataInternalRequest), alignof(GetRoomMemberDataInternalRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetRoomMemberDataInternalRequest::PlacementNew_,
|
|
sizeof(GetRoomMemberDataInternalRequest),
|
|
alignof(GetRoomMemberDataInternalRequest));
|
|
}
|
|
}
|
|
constexpr auto GetRoomMemberDataInternalRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<45>{
|
|
{
|
|
&_GetRoomMemberDataInternalRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetRoomMemberDataInternalRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetRoomMemberDataInternalRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetRoomMemberDataInternalRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetRoomMemberDataInternalRequest>(), &GetRoomMemberDataInternalRequest::ByteSizeLong,
|
|
&GetRoomMemberDataInternalRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetRoomMemberDataInternalRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<45> GetRoomMemberDataInternalRequest_class_data_ =
|
|
GetRoomMemberDataInternalRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetRoomMemberDataInternalRequest::GetClassData() const {
|
|
return GetRoomMemberDataInternalRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
|
|
GetRoomMemberDataInternalRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetRoomMemberDataInternalRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetRoomMemberDataInternalRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_)}},
|
|
// .np2_structs.uint16 memberId = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_)}},
|
|
// repeated .np2_structs.uint16 attrId = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint16 memberId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.uint16 attrId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetRoomMemberDataInternalRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomMemberDataInternalRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.attrid_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.memberid_ != nullptr);
|
|
_impl_.memberid_->Clear();
|
|
}
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetRoomMemberDataInternalRequest& this_ = static_cast<const GetRoomMemberDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetRoomMemberDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomMemberDataInternalRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 memberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.memberid_, this_._impl_.memberid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 attrId = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrid_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrid().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomMemberDataInternalRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetRoomMemberDataInternalRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetRoomMemberDataInternalRequest& this_ = static_cast<const GetRoomMemberDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetRoomMemberDataInternalRequest::ByteSizeLong() const {
|
|
const GetRoomMemberDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomMemberDataInternalRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// repeated .np2_structs.uint16 attrId = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_attrid_size();
|
|
for (const auto& msg : this_._internal_attrid()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.uint16 memberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.memberid_);
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetRoomMemberDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetRoomMemberDataInternalRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetRoomMemberDataInternalRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomMemberDataInternalRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_attrid()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrid());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.memberid_ != nullptr);
|
|
if (_this->_impl_.memberid_ == nullptr) {
|
|
_this->_impl_.memberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_);
|
|
} else {
|
|
_this->_impl_.memberid_->MergeFrom(*from._impl_.memberid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetRoomMemberDataInternalRequest::CopyFrom(const GetRoomMemberDataInternalRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomMemberDataInternalRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetRoomMemberDataInternalRequest::InternalSwap(GetRoomMemberDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.attrid_.InternalSwap(&other->_impl_.attrid_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_)
|
|
+ sizeof(GetRoomMemberDataInternalRequest::_impl_.roomid_)
|
|
- PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_)>(
|
|
reinterpret_cast<char*>(&_impl_.memberid_),
|
|
reinterpret_cast<char*>(&other->_impl_.memberid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetRoomMemberDataInternalRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetRoomMemberDataInternalRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomMemberDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomMemberDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetRoomMemberDataInternalRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_} {}
|
|
|
|
SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetRoomMemberDataInternalRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomMemberDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetRoomMemberDataInternalRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.memberid_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_)
|
|
: nullptr;
|
|
_impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_)
|
|
: nullptr;
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomMemberDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomMemberDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roommemberbinattrinternal_{visibility, arena} {}
|
|
|
|
inline void SetRoomMemberDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, memberid_),
|
|
0,
|
|
offsetof(Impl_, roomid_) -
|
|
offsetof(Impl_, memberid_) +
|
|
sizeof(Impl_::roomid_));
|
|
}
|
|
SetRoomMemberDataInternalRequest::~SetRoomMemberDataInternalRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetRoomMemberDataInternalRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetRoomMemberDataInternalRequest::SharedDtor(MessageLite& self) {
|
|
SetRoomMemberDataInternalRequest& this_ = static_cast<SetRoomMemberDataInternalRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.memberid_;
|
|
delete this_._impl_.teamid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetRoomMemberDataInternalRequest(arena);
|
|
}
|
|
constexpr auto SetRoomMemberDataInternalRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_) +
|
|
decltype(SetRoomMemberDataInternalRequest::_impl_.roommemberbinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SetRoomMemberDataInternalRequest), alignof(SetRoomMemberDataInternalRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SetRoomMemberDataInternalRequest::PlacementNew_,
|
|
sizeof(SetRoomMemberDataInternalRequest),
|
|
alignof(SetRoomMemberDataInternalRequest));
|
|
}
|
|
}
|
|
constexpr auto SetRoomMemberDataInternalRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<45>{
|
|
{
|
|
&_SetRoomMemberDataInternalRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetRoomMemberDataInternalRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetRoomMemberDataInternalRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetRoomMemberDataInternalRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetRoomMemberDataInternalRequest>(), &SetRoomMemberDataInternalRequest::ByteSizeLong,
|
|
&SetRoomMemberDataInternalRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetRoomMemberDataInternalRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<45> SetRoomMemberDataInternalRequest_class_data_ =
|
|
SetRoomMemberDataInternalRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetRoomMemberDataInternalRequest::GetClassData() const {
|
|
return SetRoomMemberDataInternalRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 3, 0, 2>
|
|
SetRoomMemberDataInternalRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SetRoomMemberDataInternalRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetRoomMemberDataInternalRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 0, 2,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_)}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_)}},
|
|
// .np2_structs.uint16 memberId = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_)}},
|
|
// .np2_structs.uint8 teamId = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 2, 1,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.teamid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint16 memberId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 teamId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetRoomMemberDataInternalRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomMemberDataInternalRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roommemberbinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.memberid_ != nullptr);
|
|
_impl_.memberid_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.teamid_ != nullptr);
|
|
_impl_.teamid_->Clear();
|
|
}
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetRoomMemberDataInternalRequest& this_ = static_cast<const SetRoomMemberDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetRoomMemberDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomMemberDataInternalRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 memberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.memberid_, this_._impl_.memberid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint8 teamId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_roommemberbinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomMemberDataInternalRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetRoomMemberDataInternalRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SetRoomMemberDataInternalRequest& this_ = static_cast<const SetRoomMemberDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetRoomMemberDataInternalRequest::ByteSizeLong() const {
|
|
const SetRoomMemberDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomMemberDataInternalRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_roommemberbinattrinternal_size();
|
|
for (const auto& msg : this_._internal_roommemberbinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.uint16 memberId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.memberid_);
|
|
}
|
|
// .np2_structs.uint8 teamId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_);
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetRoomMemberDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetRoomMemberDataInternalRequest*>(&to_msg);
|
|
auto& from = static_cast<const SetRoomMemberDataInternalRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomMemberDataInternalRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_roommemberbinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.memberid_ != nullptr);
|
|
if (_this->_impl_.memberid_ == nullptr) {
|
|
_this->_impl_.memberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_);
|
|
} else {
|
|
_this->_impl_.memberid_->MergeFrom(*from._impl_.memberid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.teamid_ != nullptr);
|
|
if (_this->_impl_.teamid_ == nullptr) {
|
|
_this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_);
|
|
} else {
|
|
_this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetRoomMemberDataInternalRequest::CopyFrom(const SetRoomMemberDataInternalRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomMemberDataInternalRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetRoomMemberDataInternalRequest::InternalSwap(SetRoomMemberDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_)
|
|
+ sizeof(SetRoomMemberDataInternalRequest::_impl_.roomid_)
|
|
- PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_)>(
|
|
reinterpret_cast<char*>(&_impl_.memberid_),
|
|
reinterpret_cast<char*>(&other->_impl_.memberid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetUserInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetUserInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
SetUserInfo::SetUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetUserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetUserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetUserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetUserInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
userbinattr_{visibility, arena, from.userbinattr_} {}
|
|
|
|
SetUserInfo::SetUserInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetUserInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetUserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetUserInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetUserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetUserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
userbinattr_{visibility, arena} {}
|
|
|
|
inline void SetUserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.serverid_ = {};
|
|
}
|
|
SetUserInfo::~SetUserInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetUserInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetUserInfo::SharedDtor(MessageLite& self) {
|
|
SetUserInfo& this_ = static_cast<SetUserInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.serverid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetUserInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetUserInfo(arena);
|
|
}
|
|
constexpr auto SetUserInfo::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_) +
|
|
decltype(SetUserInfo::_impl_.userbinattr_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SetUserInfo), alignof(SetUserInfo), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SetUserInfo::PlacementNew_,
|
|
sizeof(SetUserInfo),
|
|
alignof(SetUserInfo));
|
|
}
|
|
}
|
|
constexpr auto SetUserInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<24>{
|
|
{
|
|
&_SetUserInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetUserInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetUserInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetUserInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetUserInfo>(), &SetUserInfo::ByteSizeLong,
|
|
&SetUserInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetUserInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<24> SetUserInfo_class_data_ =
|
|
SetUserInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetUserInfo::GetClassData() const {
|
|
return SetUserInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
SetUserInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SetUserInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetUserInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.BinAttr userBinAttr = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_)}},
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.serverid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.serverid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.BinAttr userBinAttr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetUserInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetUserInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.userbinattr_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.serverid_ != nullptr);
|
|
_impl_.serverid_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetUserInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetUserInfo& this_ = static_cast<const SetUserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetUserInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetUserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetUserInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.BinAttr userBinAttr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_userbinattr_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_userbinattr().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetUserInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetUserInfo::ByteSizeLong(const MessageLite& base) {
|
|
const SetUserInfo& this_ = static_cast<const SetUserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetUserInfo::ByteSizeLong() const {
|
|
const SetUserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetUserInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.BinAttr userBinAttr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_userbinattr_size();
|
|
for (const auto& msg : this_._internal_userbinattr()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetUserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetUserInfo*>(&to_msg);
|
|
auto& from = static_cast<const SetUserInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetUserInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_userbinattr()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_userbinattr());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.serverid_ != nullptr);
|
|
if (_this->_impl_.serverid_ == nullptr) {
|
|
_this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_);
|
|
} else {
|
|
_this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetUserInfo::CopyFrom(const SetUserInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetUserInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetUserInfo::InternalSwap(SetUserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.userbinattr_.InternalSwap(&other->_impl_.userbinattr_);
|
|
swap(_impl_.serverid_, other->_impl_.serverid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetRoomDataInternalRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetRoomDataInternalRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetRoomDataInternalRequest::GetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetRoomDataInternalRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
attrid_{visibility, arena, from.attrid_} {}
|
|
|
|
GetRoomDataInternalRequest::GetRoomDataInternalRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetRoomDataInternalRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomDataInternalRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetRoomDataInternalRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataInternalRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomDataInternalRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
attrid_{visibility, arena} {}
|
|
|
|
inline void GetRoomDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.roomid_ = {};
|
|
}
|
|
GetRoomDataInternalRequest::~GetRoomDataInternalRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetRoomDataInternalRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetRoomDataInternalRequest::SharedDtor(MessageLite& self) {
|
|
GetRoomDataInternalRequest& this_ = static_cast<GetRoomDataInternalRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetRoomDataInternalRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetRoomDataInternalRequest(arena);
|
|
}
|
|
constexpr auto GetRoomDataInternalRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_) +
|
|
decltype(GetRoomDataInternalRequest::_impl_.attrid_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetRoomDataInternalRequest), alignof(GetRoomDataInternalRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetRoomDataInternalRequest::PlacementNew_,
|
|
sizeof(GetRoomDataInternalRequest),
|
|
alignof(GetRoomDataInternalRequest));
|
|
}
|
|
}
|
|
constexpr auto GetRoomDataInternalRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_GetRoomDataInternalRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetRoomDataInternalRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetRoomDataInternalRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetRoomDataInternalRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetRoomDataInternalRequest>(), &GetRoomDataInternalRequest::ByteSizeLong,
|
|
&GetRoomDataInternalRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetRoomDataInternalRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> GetRoomDataInternalRequest_class_data_ =
|
|
GetRoomDataInternalRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetRoomDataInternalRequest::GetClassData() const {
|
|
return GetRoomDataInternalRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
GetRoomDataInternalRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetRoomDataInternalRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataInternalRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.uint16 attrId = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_)}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.roomid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// repeated .np2_structs.uint16 attrId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetRoomDataInternalRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataInternalRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.attrid_.Clear();
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataInternalRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetRoomDataInternalRequest& this_ = static_cast<const GetRoomDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomDataInternalRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetRoomDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataInternalRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 attrId = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrid_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrid().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataInternalRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetRoomDataInternalRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetRoomDataInternalRequest& this_ = static_cast<const GetRoomDataInternalRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetRoomDataInternalRequest::ByteSizeLong() const {
|
|
const GetRoomDataInternalRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataInternalRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.uint16 attrId = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_attrid_size();
|
|
for (const auto& msg : this_._internal_attrid()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetRoomDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetRoomDataInternalRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetRoomDataInternalRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataInternalRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_attrid()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrid());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetRoomDataInternalRequest::CopyFrom(const GetRoomDataInternalRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataInternalRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetRoomDataInternalRequest::InternalSwap(GetRoomDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.attrid_.InternalSwap(&other->_impl_.attrid_);
|
|
swap(_impl_.roomid_, other->_impl_.roomid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomMemberUpdateInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomMemberUpdateInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomMemberUpdateInfo::RoomMemberUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomMemberUpdateInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
RoomMemberUpdateInfo::RoomMemberUpdateInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomMemberUpdateInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomMemberUpdateInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.roommemberdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roommemberdatainternal_)
|
|
: nullptr;
|
|
_impl_.eventcause_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_)
|
|
: nullptr;
|
|
_impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void RoomMemberUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, roommemberdatainternal_),
|
|
0,
|
|
offsetof(Impl_, optdata_) -
|
|
offsetof(Impl_, roommemberdatainternal_) +
|
|
sizeof(Impl_::optdata_));
|
|
}
|
|
RoomMemberUpdateInfo::~RoomMemberUpdateInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomMemberUpdateInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomMemberUpdateInfo::SharedDtor(MessageLite& self) {
|
|
RoomMemberUpdateInfo& this_ = static_cast<RoomMemberUpdateInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.roommemberdatainternal_;
|
|
delete this_._impl_.eventcause_;
|
|
delete this_._impl_.optdata_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomMemberUpdateInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomMemberUpdateInfo(arena);
|
|
}
|
|
constexpr auto RoomMemberUpdateInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberUpdateInfo),
|
|
alignof(RoomMemberUpdateInfo));
|
|
}
|
|
constexpr auto RoomMemberUpdateInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<33>{
|
|
{
|
|
&_RoomMemberUpdateInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomMemberUpdateInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomMemberUpdateInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomMemberUpdateInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomMemberUpdateInfo>(), &RoomMemberUpdateInfo::ByteSizeLong,
|
|
&RoomMemberUpdateInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomMemberUpdateInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<33> RoomMemberUpdateInfo_class_data_ =
|
|
RoomMemberUpdateInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomMemberUpdateInfo::GetClassData() const {
|
|
return RoomMemberUpdateInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 3, 0, 2>
|
|
RoomMemberUpdateInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._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
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomMemberUpdateInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomMemberUpdateInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_)}},
|
|
// .np2_structs.uint8 eventCause = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.eventcause_)}},
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 2, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint8 eventCause = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.eventcause_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomMemberUpdateInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberUpdateInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.roommemberdatainternal_ != nullptr);
|
|
_impl_.roommemberdatainternal_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.eventcause_ != nullptr);
|
|
_impl_.eventcause_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.optdata_ != nullptr);
|
|
_impl_.optdata_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberUpdateInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomMemberUpdateInfo& this_ = static_cast<const RoomMemberUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberUpdateInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomMemberUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberUpdateInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.roommemberdatainternal_, this_._impl_.roommemberdatainternal_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint8 eventCause = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.eventcause_, this_._impl_.eventcause_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberUpdateInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomMemberUpdateInfo::ByteSizeLong(const MessageLite& base) {
|
|
const RoomMemberUpdateInfo& this_ = static_cast<const RoomMemberUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomMemberUpdateInfo::ByteSizeLong() const {
|
|
const RoomMemberUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberUpdateInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.roommemberdatainternal_);
|
|
}
|
|
// .np2_structs.uint8 eventCause = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.eventcause_);
|
|
}
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomMemberUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomMemberUpdateInfo*>(&to_msg);
|
|
auto& from = static_cast<const RoomMemberUpdateInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberUpdateInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.roommemberdatainternal_ != nullptr);
|
|
if (_this->_impl_.roommemberdatainternal_ == nullptr) {
|
|
_this->_impl_.roommemberdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roommemberdatainternal_);
|
|
} else {
|
|
_this->_impl_.roommemberdatainternal_->MergeFrom(*from._impl_.roommemberdatainternal_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.eventcause_ != nullptr);
|
|
if (_this->_impl_.eventcause_ == nullptr) {
|
|
_this->_impl_.eventcause_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_);
|
|
} else {
|
|
_this->_impl_.eventcause_->MergeFrom(*from._impl_.eventcause_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.optdata_ != nullptr);
|
|
if (_this->_impl_.optdata_ == nullptr) {
|
|
_this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_);
|
|
} else {
|
|
_this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomMemberUpdateInfo::CopyFrom(const RoomMemberUpdateInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberUpdateInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomMemberUpdateInfo::InternalSwap(RoomMemberUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_)
|
|
+ sizeof(RoomMemberUpdateInfo::_impl_.optdata_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_)>(
|
|
reinterpret_cast<char*>(&_impl_.roommemberdatainternal_),
|
|
reinterpret_cast<char*>(&other->_impl_.roommemberdatainternal_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class NotificationUserJoinedRoom::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<NotificationUserJoinedRoom>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._has_bits_);
|
|
};
|
|
|
|
NotificationUserJoinedRoom::NotificationUserJoinedRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, NotificationUserJoinedRoom_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.NotificationUserJoinedRoom)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE NotificationUserJoinedRoom::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::NotificationUserJoinedRoom& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
NotificationUserJoinedRoom::NotificationUserJoinedRoom(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const NotificationUserJoinedRoom& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, NotificationUserJoinedRoom_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
NotificationUserJoinedRoom* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.update_info_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_info_)
|
|
: nullptr;
|
|
_impl_.signaling_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.signaling_)
|
|
: nullptr;
|
|
_impl_.room_id_ = from._impl_.room_id_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.NotificationUserJoinedRoom)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE NotificationUserJoinedRoom::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void NotificationUserJoinedRoom::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, update_info_),
|
|
0,
|
|
offsetof(Impl_, room_id_) -
|
|
offsetof(Impl_, update_info_) +
|
|
sizeof(Impl_::room_id_));
|
|
}
|
|
NotificationUserJoinedRoom::~NotificationUserJoinedRoom() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.NotificationUserJoinedRoom)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void NotificationUserJoinedRoom::SharedDtor(MessageLite& self) {
|
|
NotificationUserJoinedRoom& this_ = static_cast<NotificationUserJoinedRoom&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.update_info_;
|
|
delete this_._impl_.signaling_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL NotificationUserJoinedRoom::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) NotificationUserJoinedRoom(arena);
|
|
}
|
|
constexpr auto NotificationUserJoinedRoom::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NotificationUserJoinedRoom),
|
|
alignof(NotificationUserJoinedRoom));
|
|
}
|
|
constexpr auto NotificationUserJoinedRoom::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_NotificationUserJoinedRoom_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&NotificationUserJoinedRoom::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<NotificationUserJoinedRoom>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&NotificationUserJoinedRoom::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<NotificationUserJoinedRoom>(), &NotificationUserJoinedRoom::ByteSizeLong,
|
|
&NotificationUserJoinedRoom::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.NotificationUserJoinedRoom",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> NotificationUserJoinedRoom_class_data_ =
|
|
NotificationUserJoinedRoom::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
NotificationUserJoinedRoom::GetClassData() const {
|
|
return NotificationUserJoinedRoom_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
|
|
NotificationUserJoinedRoom::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
NotificationUserJoinedRoom_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::NotificationUserJoinedRoom>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 room_id = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_)}},
|
|
// .np2_structs.RoomMemberUpdateInfo update_info = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_)}},
|
|
// .np2_structs.SignalingAddr signaling = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.signaling_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 room_id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.RoomMemberUpdateInfo update_info = 2;
|
|
{PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.SignalingAddr signaling = 3;
|
|
{PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.signaling_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomMemberUpdateInfo>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void NotificationUserJoinedRoom::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.NotificationUserJoinedRoom)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.update_info_ != nullptr);
|
|
_impl_.update_info_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.signaling_ != nullptr);
|
|
_impl_.signaling_->Clear();
|
|
}
|
|
}
|
|
_impl_.room_id_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL NotificationUserJoinedRoom::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const NotificationUserJoinedRoom& this_ = static_cast<const NotificationUserJoinedRoom&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL NotificationUserJoinedRoom::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const NotificationUserJoinedRoom& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.NotificationUserJoinedRoom)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 room_id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_room_id() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_room_id(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.RoomMemberUpdateInfo update_info = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.update_info_, this_._impl_.update_info_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.SignalingAddr signaling = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.signaling_, this_._impl_.signaling_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.NotificationUserJoinedRoom)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t NotificationUserJoinedRoom::ByteSizeLong(const MessageLite& base) {
|
|
const NotificationUserJoinedRoom& this_ = static_cast<const NotificationUserJoinedRoom&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t NotificationUserJoinedRoom::ByteSizeLong() const {
|
|
const NotificationUserJoinedRoom& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.NotificationUserJoinedRoom)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// .np2_structs.RoomMemberUpdateInfo update_info = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_info_);
|
|
}
|
|
// .np2_structs.SignalingAddr signaling = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.signaling_);
|
|
}
|
|
// uint64 room_id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_room_id() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_room_id());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void NotificationUserJoinedRoom::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<NotificationUserJoinedRoom*>(&to_msg);
|
|
auto& from = static_cast<const NotificationUserJoinedRoom&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.NotificationUserJoinedRoom)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.update_info_ != nullptr);
|
|
if (_this->_impl_.update_info_ == nullptr) {
|
|
_this->_impl_.update_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_info_);
|
|
} else {
|
|
_this->_impl_.update_info_->MergeFrom(*from._impl_.update_info_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.signaling_ != nullptr);
|
|
if (_this->_impl_.signaling_ == nullptr) {
|
|
_this->_impl_.signaling_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.signaling_);
|
|
} else {
|
|
_this->_impl_.signaling_->MergeFrom(*from._impl_.signaling_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_room_id() != 0) {
|
|
_this->_impl_.room_id_ = from._impl_.room_id_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void NotificationUserJoinedRoom::CopyFrom(const NotificationUserJoinedRoom& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.NotificationUserJoinedRoom)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void NotificationUserJoinedRoom::InternalSwap(NotificationUserJoinedRoom* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_)
|
|
+ sizeof(NotificationUserJoinedRoom::_impl_.room_id_)
|
|
- PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_)>(
|
|
reinterpret_cast<char*>(&_impl_.update_info_),
|
|
reinterpret_cast<char*>(&other->_impl_.update_info_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomUpdateInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomUpdateInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomUpdateInfo::RoomUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomUpdateInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
RoomUpdateInfo::RoomUpdateInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomUpdateInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomUpdateInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.eventcause_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_)
|
|
: nullptr;
|
|
_impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_)
|
|
: nullptr;
|
|
_impl_.errorcode_ = from._impl_.errorcode_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void RoomUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, eventcause_),
|
|
0,
|
|
offsetof(Impl_, errorcode_) -
|
|
offsetof(Impl_, eventcause_) +
|
|
sizeof(Impl_::errorcode_));
|
|
}
|
|
RoomUpdateInfo::~RoomUpdateInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomUpdateInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomUpdateInfo::SharedDtor(MessageLite& self) {
|
|
RoomUpdateInfo& this_ = static_cast<RoomUpdateInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.eventcause_;
|
|
delete this_._impl_.optdata_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomUpdateInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomUpdateInfo(arena);
|
|
}
|
|
constexpr auto RoomUpdateInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomUpdateInfo),
|
|
alignof(RoomUpdateInfo));
|
|
}
|
|
constexpr auto RoomUpdateInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<27>{
|
|
{
|
|
&_RoomUpdateInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomUpdateInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomUpdateInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomUpdateInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomUpdateInfo>(), &RoomUpdateInfo::ByteSizeLong,
|
|
&RoomUpdateInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomUpdateInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<27> RoomUpdateInfo_class_data_ =
|
|
RoomUpdateInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomUpdateInfo::GetClassData() const {
|
|
return RoomUpdateInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
|
|
RoomUpdateInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomUpdateInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomUpdateInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.uint8 eventCause = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_)}},
|
|
// int32 errorCode = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_)}},
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.optdata_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint8 eventCause = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 errorCode = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.optdata_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomUpdateInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomUpdateInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.eventcause_ != nullptr);
|
|
_impl_.eventcause_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.optdata_ != nullptr);
|
|
_impl_.optdata_->Clear();
|
|
}
|
|
}
|
|
_impl_.errorcode_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomUpdateInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomUpdateInfo& this_ = static_cast<const RoomUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomUpdateInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomUpdateInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint8 eventCause = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.eventcause_, this_._impl_.eventcause_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// int32 errorCode = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_errorcode() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_errorcode(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomUpdateInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomUpdateInfo::ByteSizeLong(const MessageLite& base) {
|
|
const RoomUpdateInfo& this_ = static_cast<const RoomUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomUpdateInfo::ByteSizeLong() const {
|
|
const RoomUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomUpdateInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// .np2_structs.uint8 eventCause = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.eventcause_);
|
|
}
|
|
// .np2_structs.PresenceOptionData optData = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_);
|
|
}
|
|
// int32 errorCode = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_errorcode() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_errorcode());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomUpdateInfo*>(&to_msg);
|
|
auto& from = static_cast<const RoomUpdateInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomUpdateInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.eventcause_ != nullptr);
|
|
if (_this->_impl_.eventcause_ == nullptr) {
|
|
_this->_impl_.eventcause_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_);
|
|
} else {
|
|
_this->_impl_.eventcause_->MergeFrom(*from._impl_.eventcause_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.optdata_ != nullptr);
|
|
if (_this->_impl_.optdata_ == nullptr) {
|
|
_this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_);
|
|
} else {
|
|
_this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_errorcode() != 0) {
|
|
_this->_impl_.errorcode_ = from._impl_.errorcode_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomUpdateInfo::CopyFrom(const RoomUpdateInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomUpdateInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomUpdateInfo::InternalSwap(RoomUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_)
|
|
+ sizeof(RoomUpdateInfo::_impl_.errorcode_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_)>(
|
|
reinterpret_cast<char*>(&_impl_.eventcause_),
|
|
reinterpret_cast<char*>(&other->_impl_.eventcause_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomDataInternalUpdateInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomDataInternalUpdateInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataInternalUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataInternalUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataInternalUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomDataInternalUpdateInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
newroombinattrinternal_{visibility, arena, from.newroombinattrinternal_},
|
|
newroomgroup_(arena, from.newroomgroup_) {}
|
|
|
|
RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomDataInternalUpdateInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomDataInternalUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomDataInternalUpdateInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.newroomdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroomdatainternal_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, prevroompasswordslotmask_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, prevroompasswordslotmask_),
|
|
offsetof(Impl_, prevflagattr_) -
|
|
offsetof(Impl_, prevroompasswordslotmask_) +
|
|
sizeof(Impl_::prevflagattr_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataInternalUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomDataInternalUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
newroombinattrinternal_{visibility, arena},
|
|
newroomgroup_(arena) {}
|
|
|
|
inline void RoomDataInternalUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, newroomdatainternal_),
|
|
0,
|
|
offsetof(Impl_, prevflagattr_) -
|
|
offsetof(Impl_, newroomdatainternal_) +
|
|
sizeof(Impl_::prevflagattr_));
|
|
}
|
|
RoomDataInternalUpdateInfo::~RoomDataInternalUpdateInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomDataInternalUpdateInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomDataInternalUpdateInfo::SharedDtor(MessageLite& self) {
|
|
RoomDataInternalUpdateInfo& this_ = static_cast<RoomDataInternalUpdateInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.newroomgroup_.Destroy();
|
|
delete this_._impl_.newroomdatainternal_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomDataInternalUpdateInfo(arena);
|
|
}
|
|
constexpr auto RoomDataInternalUpdateInfo::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_) +
|
|
decltype(RoomDataInternalUpdateInfo::_impl_.newroombinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(RoomDataInternalUpdateInfo), alignof(RoomDataInternalUpdateInfo), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomDataInternalUpdateInfo::PlacementNew_,
|
|
sizeof(RoomDataInternalUpdateInfo),
|
|
alignof(RoomDataInternalUpdateInfo));
|
|
}
|
|
}
|
|
constexpr auto RoomDataInternalUpdateInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_RoomDataInternalUpdateInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomDataInternalUpdateInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomDataInternalUpdateInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomDataInternalUpdateInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomDataInternalUpdateInfo>(), &RoomDataInternalUpdateInfo::ByteSizeLong,
|
|
&RoomDataInternalUpdateInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomDataInternalUpdateInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> RoomDataInternalUpdateInfo_class_data_ =
|
|
RoomDataInternalUpdateInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomDataInternalUpdateInfo::GetClassData() const {
|
|
return RoomDataInternalUpdateInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
|
|
RoomDataInternalUpdateInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomDataInternalUpdateInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternalUpdateInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.RoomDataInternal newRoomDataInternal = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_)}},
|
|
// uint32 prevFlagAttr = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_)}},
|
|
// uint64 prevRoomPasswordSlotMask = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevroompasswordslotmask_)}},
|
|
// bytes newRoomGroup = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomgroup_)}},
|
|
// repeated .np2_structs.uint16 newRoomBinAttrInternal = 5;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{42, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.RoomDataInternal newRoomDataInternal = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 prevFlagAttr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint64 prevRoomPasswordSlotMask = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevroompasswordslotmask_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// bytes newRoomGroup = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomgroup_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.uint16 newRoomBinAttrInternal = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomDataInternalUpdateInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataInternalUpdateInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.newroombinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.newroomgroup_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.newroomdatainternal_ != nullptr);
|
|
_impl_.newroomdatainternal_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
|
|
::memset(&_impl_.prevroompasswordslotmask_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.prevflagattr_) -
|
|
reinterpret_cast<char*>(&_impl_.prevroompasswordslotmask_)) + sizeof(_impl_.prevflagattr_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomDataInternalUpdateInfo& this_ = static_cast<const RoomDataInternalUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomDataInternalUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataInternalUpdateInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.RoomDataInternal newRoomDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.newroomdatainternal_, this_._impl_.newroomdatainternal_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 prevFlagAttr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_prevflagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_prevflagattr(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 prevRoomPasswordSlotMask = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_prevroompasswordslotmask() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_prevroompasswordslotmask(), target);
|
|
}
|
|
}
|
|
|
|
// bytes newRoomGroup = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_newroomgroup().empty()) {
|
|
const ::std::string& _s = this_._internal_newroomgroup();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 newRoomBinAttrInternal = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_newroombinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_newroombinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataInternalUpdateInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomDataInternalUpdateInfo::ByteSizeLong(const MessageLite& base) {
|
|
const RoomDataInternalUpdateInfo& this_ = static_cast<const RoomDataInternalUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomDataInternalUpdateInfo::ByteSizeLong() const {
|
|
const RoomDataInternalUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataInternalUpdateInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated .np2_structs.uint16 newRoomBinAttrInternal = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_newroombinattrinternal_size();
|
|
for (const auto& msg : this_._internal_newroombinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes newRoomGroup = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_newroomgroup().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_newroomgroup());
|
|
}
|
|
}
|
|
// .np2_structs.RoomDataInternal newRoomDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.newroomdatainternal_);
|
|
}
|
|
// uint64 prevRoomPasswordSlotMask = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_prevroompasswordslotmask() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_prevroompasswordslotmask());
|
|
}
|
|
}
|
|
// uint32 prevFlagAttr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_prevflagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_prevflagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomDataInternalUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomDataInternalUpdateInfo*>(&to_msg);
|
|
auto& from = static_cast<const RoomDataInternalUpdateInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataInternalUpdateInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_newroombinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_newroombinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_newroomgroup().empty()) {
|
|
_this->_internal_set_newroomgroup(from._internal_newroomgroup());
|
|
} else {
|
|
if (_this->_impl_.newroomgroup_.IsDefault()) {
|
|
_this->_internal_set_newroomgroup("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.newroomdatainternal_ != nullptr);
|
|
if (_this->_impl_.newroomdatainternal_ == nullptr) {
|
|
_this->_impl_.newroomdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroomdatainternal_);
|
|
} else {
|
|
_this->_impl_.newroomdatainternal_->MergeFrom(*from._impl_.newroomdatainternal_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_prevroompasswordslotmask() != 0) {
|
|
_this->_impl_.prevroompasswordslotmask_ = from._impl_.prevroompasswordslotmask_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_prevflagattr() != 0) {
|
|
_this->_impl_.prevflagattr_ = from._impl_.prevflagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomDataInternalUpdateInfo::CopyFrom(const RoomDataInternalUpdateInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataInternalUpdateInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomDataInternalUpdateInfo::InternalSwap(RoomDataInternalUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.newroombinattrinternal_.InternalSwap(&other->_impl_.newroombinattrinternal_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.newroomgroup_, &other->_impl_.newroomgroup_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_)
|
|
+ sizeof(RoomDataInternalUpdateInfo::_impl_.prevflagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_)>(
|
|
reinterpret_cast<char*>(&_impl_.newroomdatainternal_),
|
|
reinterpret_cast<char*>(&other->_impl_.newroomdatainternal_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomMemberDataInternalUpdateInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomMemberDataInternalUpdateInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberDataInternalUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberDataInternalUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomMemberDataInternalUpdateInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
newroommemberbinattrinternal_{visibility, arena, from.newroommemberbinattrinternal_} {}
|
|
|
|
RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomMemberDataInternalUpdateInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMemberDataInternalUpdateInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomMemberDataInternalUpdateInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.newroommemberdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroommemberdatainternal_)
|
|
: nullptr;
|
|
_impl_.prevteamid_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prevteamid_)
|
|
: nullptr;
|
|
_impl_.prevflagattr_ = from._impl_.prevflagattr_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMemberDataInternalUpdateInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
newroommemberbinattrinternal_{visibility, arena} {}
|
|
|
|
inline void RoomMemberDataInternalUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, newroommemberdatainternal_),
|
|
0,
|
|
offsetof(Impl_, prevflagattr_) -
|
|
offsetof(Impl_, newroommemberdatainternal_) +
|
|
sizeof(Impl_::prevflagattr_));
|
|
}
|
|
RoomMemberDataInternalUpdateInfo::~RoomMemberDataInternalUpdateInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomMemberDataInternalUpdateInfo::SharedDtor(MessageLite& self) {
|
|
RoomMemberDataInternalUpdateInfo& this_ = static_cast<RoomMemberDataInternalUpdateInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.newroommemberdatainternal_;
|
|
delete this_._impl_.prevteamid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomMemberDataInternalUpdateInfo(arena);
|
|
}
|
|
constexpr auto RoomMemberDataInternalUpdateInfo::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_) +
|
|
decltype(RoomMemberDataInternalUpdateInfo::_impl_.newroommemberbinattrinternal_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(RoomMemberDataInternalUpdateInfo), alignof(RoomMemberDataInternalUpdateInfo), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomMemberDataInternalUpdateInfo::PlacementNew_,
|
|
sizeof(RoomMemberDataInternalUpdateInfo),
|
|
alignof(RoomMemberDataInternalUpdateInfo));
|
|
}
|
|
}
|
|
constexpr auto RoomMemberDataInternalUpdateInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<45>{
|
|
{
|
|
&_RoomMemberDataInternalUpdateInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomMemberDataInternalUpdateInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomMemberDataInternalUpdateInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomMemberDataInternalUpdateInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomMemberDataInternalUpdateInfo>(), &RoomMemberDataInternalUpdateInfo::ByteSizeLong,
|
|
&RoomMemberDataInternalUpdateInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomMemberDataInternalUpdateInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<45> RoomMemberDataInternalUpdateInfo_class_data_ =
|
|
RoomMemberDataInternalUpdateInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomMemberDataInternalUpdateInfo::GetClassData() const {
|
|
return RoomMemberDataInternalUpdateInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 3, 0, 2>
|
|
RoomMemberDataInternalUpdateInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomMemberDataInternalUpdateInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternalUpdateInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 0, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_)}},
|
|
// .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_)}},
|
|
// uint32 prevFlagAttr = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_)}},
|
|
// .np2_structs.uint8 prevTeamId = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 2, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevteamid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 prevFlagAttr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// .np2_structs.uint8 prevTeamId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevteamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomMemberDataInternalUpdateInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.newroommemberbinattrinternal_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.newroommemberdatainternal_ != nullptr);
|
|
_impl_.newroommemberdatainternal_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.prevteamid_ != nullptr);
|
|
_impl_.prevteamid_->Clear();
|
|
}
|
|
}
|
|
_impl_.prevflagattr_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomMemberDataInternalUpdateInfo& this_ = static_cast<const RoomMemberDataInternalUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomMemberDataInternalUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.newroommemberdatainternal_, this_._impl_.newroommemberdatainternal_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 prevFlagAttr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_prevflagattr() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_prevflagattr(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 prevTeamId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.prevteamid_, this_._impl_.prevteamid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_newroommemberbinattrinternal_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_newroommemberbinattrinternal().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomMemberDataInternalUpdateInfo::ByteSizeLong(const MessageLite& base) {
|
|
const RoomMemberDataInternalUpdateInfo& this_ = static_cast<const RoomMemberDataInternalUpdateInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomMemberDataInternalUpdateInfo::ByteSizeLong() const {
|
|
const RoomMemberDataInternalUpdateInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_newroommemberbinattrinternal_size();
|
|
for (const auto& msg : this_._internal_newroommemberbinattrinternal()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.newroommemberdatainternal_);
|
|
}
|
|
// .np2_structs.uint8 prevTeamId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.prevteamid_);
|
|
}
|
|
// uint32 prevFlagAttr = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_prevflagattr() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_prevflagattr());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomMemberDataInternalUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomMemberDataInternalUpdateInfo*>(&to_msg);
|
|
auto& from = static_cast<const RoomMemberDataInternalUpdateInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_newroommemberbinattrinternal()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_newroommemberbinattrinternal());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.newroommemberdatainternal_ != nullptr);
|
|
if (_this->_impl_.newroommemberdatainternal_ == nullptr) {
|
|
_this->_impl_.newroommemberdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroommemberdatainternal_);
|
|
} else {
|
|
_this->_impl_.newroommemberdatainternal_->MergeFrom(*from._impl_.newroommemberdatainternal_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.prevteamid_ != nullptr);
|
|
if (_this->_impl_.prevteamid_ == nullptr) {
|
|
_this->_impl_.prevteamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prevteamid_);
|
|
} else {
|
|
_this->_impl_.prevteamid_->MergeFrom(*from._impl_.prevteamid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_prevflagattr() != 0) {
|
|
_this->_impl_.prevflagattr_ = from._impl_.prevflagattr_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomMemberDataInternalUpdateInfo::CopyFrom(const RoomMemberDataInternalUpdateInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberDataInternalUpdateInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomMemberDataInternalUpdateInfo::InternalSwap(RoomMemberDataInternalUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.newroommemberbinattrinternal_.InternalSwap(&other->_impl_.newroommemberbinattrinternal_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_)
|
|
+ sizeof(RoomMemberDataInternalUpdateInfo::_impl_.prevflagattr_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_)>(
|
|
reinterpret_cast<char*>(&_impl_.newroommemberdatainternal_),
|
|
reinterpret_cast<char*>(&other->_impl_.newroommemberdatainternal_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetPingInfoResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetPingInfoResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
GetPingInfoResponse::GetPingInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetPingInfoResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetPingInfoResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetPingInfoResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetPingInfoResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
GetPingInfoResponse::GetPingInfoResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetPingInfoResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetPingInfoResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetPingInfoResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, roomid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, roomid_),
|
|
offsetof(Impl_, rtt_) -
|
|
offsetof(Impl_, roomid_) +
|
|
sizeof(Impl_::rtt_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetPingInfoResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetPingInfoResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void GetPingInfoResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, serverid_),
|
|
0,
|
|
offsetof(Impl_, rtt_) -
|
|
offsetof(Impl_, serverid_) +
|
|
sizeof(Impl_::rtt_));
|
|
}
|
|
GetPingInfoResponse::~GetPingInfoResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetPingInfoResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetPingInfoResponse::SharedDtor(MessageLite& self) {
|
|
GetPingInfoResponse& this_ = static_cast<GetPingInfoResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.serverid_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetPingInfoResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetPingInfoResponse(arena);
|
|
}
|
|
constexpr auto GetPingInfoResponse::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetPingInfoResponse),
|
|
alignof(GetPingInfoResponse));
|
|
}
|
|
constexpr auto GetPingInfoResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<32>{
|
|
{
|
|
&_GetPingInfoResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetPingInfoResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetPingInfoResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetPingInfoResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetPingInfoResponse>(), &GetPingInfoResponse::ByteSizeLong,
|
|
&GetPingInfoResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetPingInfoResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<32> GetPingInfoResponse_class_data_ =
|
|
GetPingInfoResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetPingInfoResponse::GetClassData() const {
|
|
return GetPingInfoResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
|
|
GetPingInfoResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetPingInfoResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetPingInfoResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 rtt = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_)}},
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_)}},
|
|
// uint32 worldId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.worldid_)}},
|
|
// uint64 roomId = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.roomid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.uint16 serverId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 worldId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.worldid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint64 roomId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 rtt = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetPingInfoResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetPingInfoResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.serverid_ != nullptr);
|
|
_impl_.serverid_->Clear();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
|
|
::memset(&_impl_.roomid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.rtt_) -
|
|
reinterpret_cast<char*>(&_impl_.roomid_)) + sizeof(_impl_.rtt_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetPingInfoResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetPingInfoResponse& this_ = static_cast<const GetPingInfoResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetPingInfoResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetPingInfoResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetPingInfoResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_worldid(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 roomId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 rtt = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_rtt() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_rtt(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetPingInfoResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetPingInfoResponse::ByteSizeLong(const MessageLite& base) {
|
|
const GetPingInfoResponse& this_ = static_cast<const GetPingInfoResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetPingInfoResponse::ByteSizeLong() const {
|
|
const GetPingInfoResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetPingInfoResponse)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// .np2_structs.uint16 serverId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_);
|
|
}
|
|
// uint64 roomId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
// uint32 worldId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_worldid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_worldid());
|
|
}
|
|
}
|
|
// uint32 rtt = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_rtt() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_rtt());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetPingInfoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetPingInfoResponse*>(&to_msg);
|
|
auto& from = static_cast<const GetPingInfoResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetPingInfoResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.serverid_ != nullptr);
|
|
if (_this->_impl_.serverid_ == nullptr) {
|
|
_this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_);
|
|
} else {
|
|
_this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_worldid() != 0) {
|
|
_this->_impl_.worldid_ = from._impl_.worldid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_rtt() != 0) {
|
|
_this->_impl_.rtt_ = from._impl_.rtt_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetPingInfoResponse::CopyFrom(const GetPingInfoResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetPingInfoResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetPingInfoResponse::InternalSwap(GetPingInfoResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_)
|
|
+ sizeof(GetPingInfoResponse::_impl_.rtt_)
|
|
- PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_)>(
|
|
reinterpret_cast<char*>(&_impl_.serverid_),
|
|
reinterpret_cast<char*>(&other->_impl_.serverid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SendRoomMessageRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SendRoomMessageRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SendRoomMessageRequest::SendRoomMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SendRoomMessageRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SendRoomMessageRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SendRoomMessageRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SendRoomMessageRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
dst_{visibility, arena, from.dst_},
|
|
msg_(arena, from.msg_) {}
|
|
|
|
SendRoomMessageRequest::SendRoomMessageRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SendRoomMessageRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SendRoomMessageRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SendRoomMessageRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.casttype_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_)
|
|
: nullptr;
|
|
_impl_.option_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.option_)
|
|
: nullptr;
|
|
_impl_.roomid_ = from._impl_.roomid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SendRoomMessageRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SendRoomMessageRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
dst_{visibility, arena},
|
|
msg_(arena) {}
|
|
|
|
inline void SendRoomMessageRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, casttype_),
|
|
0,
|
|
offsetof(Impl_, roomid_) -
|
|
offsetof(Impl_, casttype_) +
|
|
sizeof(Impl_::roomid_));
|
|
}
|
|
SendRoomMessageRequest::~SendRoomMessageRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SendRoomMessageRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SendRoomMessageRequest::SharedDtor(MessageLite& self) {
|
|
SendRoomMessageRequest& this_ = static_cast<SendRoomMessageRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.msg_.Destroy();
|
|
delete this_._impl_.casttype_;
|
|
delete this_._impl_.option_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SendRoomMessageRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SendRoomMessageRequest(arena);
|
|
}
|
|
constexpr auto SendRoomMessageRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_) +
|
|
decltype(SendRoomMessageRequest::_impl_.dst_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(SendRoomMessageRequest), alignof(SendRoomMessageRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SendRoomMessageRequest::PlacementNew_,
|
|
sizeof(SendRoomMessageRequest),
|
|
alignof(SendRoomMessageRequest));
|
|
}
|
|
}
|
|
constexpr auto SendRoomMessageRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<35>{
|
|
{
|
|
&_SendRoomMessageRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SendRoomMessageRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SendRoomMessageRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SendRoomMessageRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SendRoomMessageRequest>(), &SendRoomMessageRequest::ByteSizeLong,
|
|
&SendRoomMessageRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SendRoomMessageRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<35> SendRoomMessageRequest_class_data_ =
|
|
SendRoomMessageRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SendRoomMessageRequest::GetClassData() const {
|
|
return SendRoomMessageRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 3, 0, 2>
|
|
SendRoomMessageRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._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
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SendRoomMessageRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SendRoomMessageRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint64 roomId = 1;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{8, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_)}},
|
|
// .np2_structs.uint8 castType = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_)}},
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_)}},
|
|
// bytes msg = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.msg_)}},
|
|
// .np2_structs.uint8 option = 5;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{42, 3, 2,
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.option_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 roomId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint8 castType = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bytes msg = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.msg_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// .np2_structs.uint8 option = 5;
|
|
{PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.option_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SendRoomMessageRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SendRoomMessageRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.dst_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.msg_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.casttype_ != nullptr);
|
|
_impl_.casttype_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.option_ != nullptr);
|
|
_impl_.option_->Clear();
|
|
}
|
|
}
|
|
_impl_.roomid_ = ::uint64_t{0u};
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SendRoomMessageRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SendRoomMessageRequest& this_ = static_cast<const SendRoomMessageRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SendRoomMessageRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SendRoomMessageRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SendRoomMessageRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this_._internal_roomid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 castType = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.casttype_, this_._impl_.casttype_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_dst_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_dst().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// bytes msg = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_msg().empty()) {
|
|
const ::std::string& _s = this_._internal_msg();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 option = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, *this_._impl_.option_, this_._impl_.option_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SendRoomMessageRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SendRoomMessageRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SendRoomMessageRequest& this_ = static_cast<const SendRoomMessageRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SendRoomMessageRequest::ByteSizeLong() const {
|
|
const SendRoomMessageRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SendRoomMessageRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_dst_size();
|
|
for (const auto& msg : this_._internal_dst()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes msg = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_msg().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_msg());
|
|
}
|
|
}
|
|
// .np2_structs.uint8 castType = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.casttype_);
|
|
}
|
|
// .np2_structs.uint8 option = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.option_);
|
|
}
|
|
// uint64 roomId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_roomid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SendRoomMessageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SendRoomMessageRequest*>(&to_msg);
|
|
auto& from = static_cast<const SendRoomMessageRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SendRoomMessageRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_dst()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_dst());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_msg().empty()) {
|
|
_this->_internal_set_msg(from._internal_msg());
|
|
} else {
|
|
if (_this->_impl_.msg_.IsDefault()) {
|
|
_this->_internal_set_msg("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.casttype_ != nullptr);
|
|
if (_this->_impl_.casttype_ == nullptr) {
|
|
_this->_impl_.casttype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_);
|
|
} else {
|
|
_this->_impl_.casttype_->MergeFrom(*from._impl_.casttype_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.option_ != nullptr);
|
|
if (_this->_impl_.option_ == nullptr) {
|
|
_this->_impl_.option_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.option_);
|
|
} else {
|
|
_this->_impl_.option_->MergeFrom(*from._impl_.option_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_roomid() != 0) {
|
|
_this->_impl_.roomid_ = from._impl_.roomid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SendRoomMessageRequest::CopyFrom(const SendRoomMessageRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SendRoomMessageRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SendRoomMessageRequest::InternalSwap(SendRoomMessageRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.dst_.InternalSwap(&other->_impl_.dst_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.msg_, &other->_impl_.msg_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_)
|
|
+ sizeof(SendRoomMessageRequest::_impl_.roomid_)
|
|
- PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_)>(
|
|
reinterpret_cast<char*>(&_impl_.casttype_),
|
|
reinterpret_cast<char*>(&other->_impl_.casttype_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RoomMessageInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RoomMessageInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
RoomMessageInfo::RoomMessageInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMessageInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RoomMessageInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMessageInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RoomMessageInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
dst_{visibility, arena, from.dst_},
|
|
msg_(arena, from.msg_) {}
|
|
|
|
RoomMessageInfo::RoomMessageInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RoomMessageInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RoomMessageInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RoomMessageInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.casttype_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_)
|
|
: nullptr;
|
|
_impl_.srcmember_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.srcmember_)
|
|
: nullptr;
|
|
_impl_.filtered_ = from._impl_.filtered_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RoomMessageInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RoomMessageInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
dst_{visibility, arena},
|
|
msg_(arena) {}
|
|
|
|
inline void RoomMessageInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, casttype_),
|
|
0,
|
|
offsetof(Impl_, filtered_) -
|
|
offsetof(Impl_, casttype_) +
|
|
sizeof(Impl_::filtered_));
|
|
}
|
|
RoomMessageInfo::~RoomMessageInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RoomMessageInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RoomMessageInfo::SharedDtor(MessageLite& self) {
|
|
RoomMessageInfo& this_ = static_cast<RoomMessageInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.msg_.Destroy();
|
|
delete this_._impl_.casttype_;
|
|
delete this_._impl_.srcmember_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RoomMessageInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RoomMessageInfo(arena);
|
|
}
|
|
constexpr auto RoomMessageInfo::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_) +
|
|
decltype(RoomMessageInfo::_impl_.dst_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(RoomMessageInfo), alignof(RoomMessageInfo), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&RoomMessageInfo::PlacementNew_,
|
|
sizeof(RoomMessageInfo),
|
|
alignof(RoomMessageInfo));
|
|
}
|
|
}
|
|
constexpr auto RoomMessageInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<28>{
|
|
{
|
|
&_RoomMessageInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RoomMessageInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RoomMessageInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RoomMessageInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RoomMessageInfo>(), &RoomMessageInfo::ByteSizeLong,
|
|
&RoomMessageInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RoomMessageInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<28> RoomMessageInfo_class_data_ =
|
|
RoomMessageInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RoomMessageInfo::GetClassData() const {
|
|
return RoomMessageInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 3, 0, 2>
|
|
RoomMessageInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._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
|
|
3, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
RoomMessageInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RoomMessageInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// bool filtered = 1;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{8, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_)}},
|
|
// .np2_structs.uint8 castType = 2;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{18, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_)}},
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_)}},
|
|
// .np2_structs.UserInfo srcMember = 4;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{34, 3, 2,
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.srcmember_)}},
|
|
// bytes msg = 5;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{42, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.msg_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bool filtered = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// .np2_structs.uint8 castType = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.UserInfo srcMember = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.srcmember_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bytes msg = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.msg_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint8>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RoomMessageInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMessageInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.dst_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.msg_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.casttype_ != nullptr);
|
|
_impl_.casttype_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.srcmember_ != nullptr);
|
|
_impl_.srcmember_->Clear();
|
|
}
|
|
}
|
|
_impl_.filtered_ = false;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RoomMessageInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RoomMessageInfo& this_ = static_cast<const RoomMessageInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RoomMessageInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RoomMessageInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMessageInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bool filtered = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_filtered() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
1, this_._internal_filtered(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint8 castType = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, *this_._impl_.casttype_, this_._impl_.casttype_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_dst_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_dst().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.UserInfo srcMember = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, *this_._impl_.srcmember_, this_._impl_.srcmember_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bytes msg = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_msg().empty()) {
|
|
const ::std::string& _s = this_._internal_msg();
|
|
target = stream->WriteBytesMaybeAliased(5, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMessageInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RoomMessageInfo::ByteSizeLong(const MessageLite& base) {
|
|
const RoomMessageInfo& this_ = static_cast<const RoomMessageInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RoomMessageInfo::ByteSizeLong() const {
|
|
const RoomMessageInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMessageInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated .np2_structs.uint16 dst = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_dst_size();
|
|
for (const auto& msg : this_._internal_dst()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes msg = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_msg().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_msg());
|
|
}
|
|
}
|
|
// .np2_structs.uint8 castType = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.casttype_);
|
|
}
|
|
// .np2_structs.UserInfo srcMember = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.srcmember_);
|
|
}
|
|
// bool filtered = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_filtered() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RoomMessageInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RoomMessageInfo*>(&to_msg);
|
|
auto& from = static_cast<const RoomMessageInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMessageInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_dst()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_dst());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_msg().empty()) {
|
|
_this->_internal_set_msg(from._internal_msg());
|
|
} else {
|
|
if (_this->_impl_.msg_.IsDefault()) {
|
|
_this->_internal_set_msg("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.casttype_ != nullptr);
|
|
if (_this->_impl_.casttype_ == nullptr) {
|
|
_this->_impl_.casttype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_);
|
|
} else {
|
|
_this->_impl_.casttype_->MergeFrom(*from._impl_.casttype_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.srcmember_ != nullptr);
|
|
if (_this->_impl_.srcmember_ == nullptr) {
|
|
_this->_impl_.srcmember_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.srcmember_);
|
|
} else {
|
|
_this->_impl_.srcmember_->MergeFrom(*from._impl_.srcmember_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_filtered() != 0) {
|
|
_this->_impl_.filtered_ = from._impl_.filtered_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RoomMessageInfo::CopyFrom(const RoomMessageInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMessageInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RoomMessageInfo::InternalSwap(RoomMessageInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.dst_.InternalSwap(&other->_impl_.dst_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.msg_, &other->_impl_.msg_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_)
|
|
+ sizeof(RoomMessageInfo::_impl_.filtered_)
|
|
- PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_)>(
|
|
reinterpret_cast<char*>(&_impl_.casttype_),
|
|
reinterpret_cast<char*>(&other->_impl_.casttype_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MessageDetails::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MessageDetails>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._has_bits_);
|
|
};
|
|
|
|
MessageDetails::MessageDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MessageDetails_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MessageDetails)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MessageDetails::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MessageDetails& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
communicationid_(arena, from.communicationid_),
|
|
subject_(arena, from.subject_),
|
|
body_(arena, from.body_),
|
|
data_(arena, from.data_) {}
|
|
|
|
MessageDetails::MessageDetails(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MessageDetails& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MessageDetails_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MessageDetails* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.maintype_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maintype_)
|
|
: nullptr;
|
|
_impl_.subtype_ = (CheckHasBit(cached_has_bits, 0x00000020U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.subtype_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, msgid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, msgid_),
|
|
offsetof(Impl_, msgfeatures_) -
|
|
offsetof(Impl_, msgid_) +
|
|
sizeof(Impl_::msgfeatures_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MessageDetails)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MessageDetails::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
communicationid_(arena),
|
|
subject_(arena),
|
|
body_(arena),
|
|
data_(arena) {}
|
|
|
|
inline void MessageDetails::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, maintype_),
|
|
0,
|
|
offsetof(Impl_, msgfeatures_) -
|
|
offsetof(Impl_, maintype_) +
|
|
sizeof(Impl_::msgfeatures_));
|
|
}
|
|
MessageDetails::~MessageDetails() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MessageDetails)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MessageDetails::SharedDtor(MessageLite& self) {
|
|
MessageDetails& this_ = static_cast<MessageDetails&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.communicationid_.Destroy();
|
|
this_._impl_.subject_.Destroy();
|
|
this_._impl_.body_.Destroy();
|
|
this_._impl_.data_.Destroy();
|
|
delete this_._impl_.maintype_;
|
|
delete this_._impl_.subtype_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MessageDetails::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MessageDetails(arena);
|
|
}
|
|
constexpr auto MessageDetails::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MessageDetails),
|
|
alignof(MessageDetails));
|
|
}
|
|
constexpr auto MessageDetails::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<27>{
|
|
{
|
|
&_MessageDetails_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MessageDetails::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MessageDetails>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MessageDetails::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MessageDetails>(), &MessageDetails::ByteSizeLong,
|
|
&MessageDetails::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MessageDetails",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<27> MessageDetails_class_data_ =
|
|
MessageDetails::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MessageDetails::GetClassData() const {
|
|
return MessageDetails_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 8, 2, 69, 2>
|
|
MessageDetails::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
8, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967040, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
8, // num_field_entries
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MessageDetails_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MessageDetails>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 8;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{66, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.data_)}},
|
|
// string communicationId = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.communicationid_)}},
|
|
// uint64 msgId = 2;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{16, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgid_)}},
|
|
// .np2_structs.uint16 mainType = 3;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{26, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_)}},
|
|
// .np2_structs.uint16 subType = 4;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{34, 5, 1,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subtype_)}},
|
|
// uint32 msgFeatures = 5;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{40, 7, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_)}},
|
|
// string subject = 6;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{50, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subject_)}},
|
|
// string body = 7;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{58, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.body_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string communicationId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.communicationid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// uint64 msgId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// .np2_structs.uint16 mainType = 3;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// .np2_structs.uint16 subType = 4;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subtype_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 msgFeatures = 5;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// string subject = 6;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subject_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string body = 7;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.body_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bytes data = 8;
|
|
{PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::uint16>()},
|
|
}},
|
|
{{
|
|
"\32\17\0\0\0\0\7\4\0\0\0\0\0\0\0\0"
|
|
"np2_structs.MessageDetails"
|
|
"communicationId"
|
|
"subject"
|
|
"body"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MessageDetails::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MessageDetails)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.communicationid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.subject_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.body_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.maintype_ != nullptr);
|
|
_impl_.maintype_->Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
ABSL_DCHECK(_impl_.subtype_ != nullptr);
|
|
_impl_.subtype_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000c0U)) {
|
|
::memset(&_impl_.msgid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.msgfeatures_) -
|
|
reinterpret_cast<char*>(&_impl_.msgid_)) + sizeof(_impl_.msgfeatures_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MessageDetails::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MessageDetails& this_ = static_cast<const MessageDetails&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MessageDetails::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MessageDetails& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MessageDetails)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string communicationId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_communicationid().empty()) {
|
|
const ::std::string& _s = this_._internal_communicationid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.communicationId");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// uint64 msgId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_msgid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
2, this_._internal_msgid(), target);
|
|
}
|
|
}
|
|
|
|
// .np2_structs.uint16 mainType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, *this_._impl_.maintype_, this_._impl_.maintype_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// .np2_structs.uint16 subType = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, *this_._impl_.subtype_, this_._impl_.subtype_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// uint32 msgFeatures = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_msgfeatures() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this_._internal_msgfeatures(), target);
|
|
}
|
|
}
|
|
|
|
// string subject = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_subject().empty()) {
|
|
const ::std::string& _s = this_._internal_subject();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.subject");
|
|
target = stream->WriteStringMaybeAliased(6, _s, target);
|
|
}
|
|
}
|
|
|
|
// string body = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_body().empty()) {
|
|
const ::std::string& _s = this_._internal_body();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.body");
|
|
target = stream->WriteStringMaybeAliased(7, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes data = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(8, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MessageDetails)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MessageDetails::ByteSizeLong(const MessageLite& base) {
|
|
const MessageDetails& this_ = static_cast<const MessageDetails&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MessageDetails::ByteSizeLong() const {
|
|
const MessageDetails& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MessageDetails)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
// string communicationId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_communicationid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_communicationid());
|
|
}
|
|
}
|
|
// string subject = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_subject().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_subject());
|
|
}
|
|
}
|
|
// string body = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_body().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_body());
|
|
}
|
|
}
|
|
// bytes data = 8;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// .np2_structs.uint16 mainType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maintype_);
|
|
}
|
|
// .np2_structs.uint16 subType = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.subtype_);
|
|
}
|
|
// uint64 msgId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_msgid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_msgid());
|
|
}
|
|
}
|
|
// uint32 msgFeatures = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (this_._internal_msgfeatures() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_msgfeatures());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MessageDetails::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MessageDetails*>(&to_msg);
|
|
auto& from = static_cast<const MessageDetails&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MessageDetails)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_communicationid().empty()) {
|
|
_this->_internal_set_communicationid(from._internal_communicationid());
|
|
} else {
|
|
if (_this->_impl_.communicationid_.IsDefault()) {
|
|
_this->_internal_set_communicationid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_subject().empty()) {
|
|
_this->_internal_set_subject(from._internal_subject());
|
|
} else {
|
|
if (_this->_impl_.subject_.IsDefault()) {
|
|
_this->_internal_set_subject("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_body().empty()) {
|
|
_this->_internal_set_body(from._internal_body());
|
|
} else {
|
|
if (_this->_impl_.body_.IsDefault()) {
|
|
_this->_internal_set_body("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.maintype_ != nullptr);
|
|
if (_this->_impl_.maintype_ == nullptr) {
|
|
_this->_impl_.maintype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maintype_);
|
|
} else {
|
|
_this->_impl_.maintype_->MergeFrom(*from._impl_.maintype_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
ABSL_DCHECK(from._impl_.subtype_ != nullptr);
|
|
if (_this->_impl_.subtype_ == nullptr) {
|
|
_this->_impl_.subtype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.subtype_);
|
|
} else {
|
|
_this->_impl_.subtype_->MergeFrom(*from._impl_.subtype_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_msgid() != 0) {
|
|
_this->_impl_.msgid_ = from._impl_.msgid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000080U)) {
|
|
if (from._internal_msgfeatures() != 0) {
|
|
_this->_impl_.msgfeatures_ = from._impl_.msgfeatures_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MessageDetails::CopyFrom(const MessageDetails& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MessageDetails)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MessageDetails::InternalSwap(MessageDetails* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.communicationid_, &other->_impl_.communicationid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, &other->_impl_.subject_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.body_, &other->_impl_.body_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_)
|
|
+ sizeof(MessageDetails::_impl_.msgfeatures_)
|
|
- PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_)>(
|
|
reinterpret_cast<char*>(&_impl_.maintype_),
|
|
reinterpret_cast<char*>(&other->_impl_.maintype_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SendMessageRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SendMessageRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SendMessageRequest::SendMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SendMessageRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SendMessageRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SendMessageRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SendMessageRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npids_{visibility, arena, from.npids_},
|
|
message_(arena, from.message_) {}
|
|
|
|
SendMessageRequest::SendMessageRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SendMessageRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SendMessageRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SendMessageRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SendMessageRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SendMessageRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npids_{visibility, arena},
|
|
message_(arena) {}
|
|
|
|
inline void SendMessageRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
SendMessageRequest::~SendMessageRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SendMessageRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SendMessageRequest::SharedDtor(MessageLite& self) {
|
|
SendMessageRequest& this_ = static_cast<SendMessageRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.message_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SendMessageRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SendMessageRequest(arena);
|
|
}
|
|
constexpr auto SendMessageRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_) +
|
|
decltype(SendMessageRequest::_impl_.npids_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(SendMessageRequest), alignof(SendMessageRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SendMessageRequest::PlacementNew_,
|
|
sizeof(SendMessageRequest),
|
|
alignof(SendMessageRequest));
|
|
}
|
|
}
|
|
constexpr auto SendMessageRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_SendMessageRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SendMessageRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SendMessageRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SendMessageRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SendMessageRequest>(), &SendMessageRequest::ByteSizeLong,
|
|
&SendMessageRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SendMessageRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> SendMessageRequest_class_data_ =
|
|
SendMessageRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SendMessageRequest::GetClassData() const {
|
|
return SendMessageRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 44, 2>
|
|
SendMessageRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._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
|
|
SendMessageRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SendMessageRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated string npids = 2;
|
|
{::_pbi::TcParser::FastUR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_)}},
|
|
// bytes message = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.message_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes message = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.message_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated string npids = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\36\0\5\0\0\0\0\0"
|
|
"np2_structs.SendMessageRequest"
|
|
"npids"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SendMessageRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SendMessageRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npids_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.message_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SendMessageRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SendMessageRequest& this_ = static_cast<const SendMessageRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SendMessageRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SendMessageRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SendMessageRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes message = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_message().empty()) {
|
|
const ::std::string& _s = this_._internal_message();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated string npids = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (int i = 0, n = this_._internal_npids_size(); i < n; ++i) {
|
|
const auto& s = this_._internal_npids().Get(i);
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SendMessageRequest.npids");
|
|
target = stream->WriteString(2, s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SendMessageRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SendMessageRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SendMessageRequest& this_ = static_cast<const SendMessageRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SendMessageRequest::ByteSizeLong() const {
|
|
const SendMessageRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SendMessageRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated string npids = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
1 * ::google::protobuf::internal::FromIntSize(this_._internal_npids().size());
|
|
for (int i = 0, n = this_._internal_npids().size(); i < n; ++i) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npids().Get(i));
|
|
}
|
|
}
|
|
// bytes message = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_message().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_message());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SendMessageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SendMessageRequest*>(&to_msg);
|
|
auto& from = static_cast<const SendMessageRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SendMessageRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_npids()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_npids());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_message().empty()) {
|
|
_this->_internal_set_message(from._internal_message());
|
|
} else {
|
|
if (_this->_impl_.message_.IsDefault()) {
|
|
_this->_internal_set_message("");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SendMessageRequest::CopyFrom(const SendMessageRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SendMessageRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SendMessageRequest::InternalSwap(SendMessageRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.npids_.InternalSwap(&other->_impl_.npids_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class BoardInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<BoardInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
BoardInfo::BoardInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BoardInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.BoardInfo)
|
|
}
|
|
BoardInfo::BoardInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BoardInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, BoardInfo_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE BoardInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void BoardInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, ranklimit_),
|
|
0,
|
|
offsetof(Impl_, uploadsizelimit_) -
|
|
offsetof(Impl_, ranklimit_) +
|
|
sizeof(Impl_::uploadsizelimit_));
|
|
}
|
|
BoardInfo::~BoardInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.BoardInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void BoardInfo::SharedDtor(MessageLite& self) {
|
|
BoardInfo& this_ = static_cast<BoardInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL BoardInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) BoardInfo(arena);
|
|
}
|
|
constexpr auto BoardInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoardInfo),
|
|
alignof(BoardInfo));
|
|
}
|
|
constexpr auto BoardInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<22>{
|
|
{
|
|
&_BoardInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&BoardInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<BoardInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&BoardInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<BoardInfo>(), &BoardInfo::ByteSizeLong,
|
|
&BoardInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.BoardInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<22> BoardInfo_class_data_ =
|
|
BoardInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
BoardInfo::GetClassData() const {
|
|
return BoardInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
|
|
BoardInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._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
|
|
BoardInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::BoardInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 rankLimit = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_)}},
|
|
// uint32 updateMode = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.updatemode_)}},
|
|
// uint32 sortMode = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.sortmode_)}},
|
|
// uint32 uploadNumLimit = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadnumlimit_)}},
|
|
// uint32 uploadSizeLimit = 5;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 rankLimit = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 updateMode = 2;
|
|
{PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.updatemode_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 sortMode = 3;
|
|
{PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.sortmode_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 uploadNumLimit = 4;
|
|
{PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadnumlimit_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 uploadSizeLimit = 5;
|
|
{PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void BoardInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.BoardInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
::memset(&_impl_.ranklimit_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.uploadsizelimit_) -
|
|
reinterpret_cast<char*>(&_impl_.ranklimit_)) + sizeof(_impl_.uploadsizelimit_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL BoardInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const BoardInfo& this_ = static_cast<const BoardInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL BoardInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const BoardInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.BoardInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 rankLimit = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_ranklimit() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_ranklimit(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 updateMode = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_updatemode() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_updatemode(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 sortMode = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sortmode() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_sortmode(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 uploadNumLimit = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_uploadnumlimit() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_uploadnumlimit(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 uploadSizeLimit = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_uploadsizelimit() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this_._internal_uploadsizelimit(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.BoardInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t BoardInfo::ByteSizeLong(const MessageLite& base) {
|
|
const BoardInfo& this_ = static_cast<const BoardInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t BoardInfo::ByteSizeLong() const {
|
|
const BoardInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.BoardInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// uint32 rankLimit = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_ranklimit() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_ranklimit());
|
|
}
|
|
}
|
|
// uint32 updateMode = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_updatemode() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_updatemode());
|
|
}
|
|
}
|
|
// uint32 sortMode = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sortmode() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_sortmode());
|
|
}
|
|
}
|
|
// uint32 uploadNumLimit = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_uploadnumlimit() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_uploadnumlimit());
|
|
}
|
|
}
|
|
// uint32 uploadSizeLimit = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_uploadsizelimit() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_uploadsizelimit());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void BoardInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<BoardInfo*>(&to_msg);
|
|
auto& from = static_cast<const BoardInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BoardInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_ranklimit() != 0) {
|
|
_this->_impl_.ranklimit_ = from._impl_.ranklimit_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_updatemode() != 0) {
|
|
_this->_impl_.updatemode_ = from._impl_.updatemode_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_sortmode() != 0) {
|
|
_this->_impl_.sortmode_ = from._impl_.sortmode_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_uploadnumlimit() != 0) {
|
|
_this->_impl_.uploadnumlimit_ = from._impl_.uploadnumlimit_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_uploadsizelimit() != 0) {
|
|
_this->_impl_.uploadsizelimit_ = from._impl_.uploadsizelimit_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void BoardInfo::CopyFrom(const BoardInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BoardInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void BoardInfo::InternalSwap(BoardInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_)
|
|
+ sizeof(BoardInfo::_impl_.uploadsizelimit_)
|
|
- PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_)>(
|
|
reinterpret_cast<char*>(&_impl_.ranklimit_),
|
|
reinterpret_cast<char*>(&other->_impl_.ranklimit_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RecordScoreRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RecordScoreRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
RecordScoreRequest::RecordScoreRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RecordScoreRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RecordScoreRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RecordScoreRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::RecordScoreRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
comment_(arena, from.comment_),
|
|
data_(arena, from.data_) {}
|
|
|
|
RecordScoreRequest::RecordScoreRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const RecordScoreRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RecordScoreRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
RecordScoreRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
offsetof(Impl_, score_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::score_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.RecordScoreRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RecordScoreRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
comment_(arena),
|
|
data_(arena) {}
|
|
|
|
inline void RecordScoreRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, score_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::score_));
|
|
}
|
|
RecordScoreRequest::~RecordScoreRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RecordScoreRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RecordScoreRequest::SharedDtor(MessageLite& self) {
|
|
RecordScoreRequest& this_ = static_cast<RecordScoreRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.comment_.Destroy();
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RecordScoreRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RecordScoreRequest(arena);
|
|
}
|
|
constexpr auto RecordScoreRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RecordScoreRequest),
|
|
alignof(RecordScoreRequest));
|
|
}
|
|
constexpr auto RecordScoreRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_RecordScoreRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RecordScoreRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RecordScoreRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RecordScoreRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RecordScoreRequest>(), &RecordScoreRequest::ByteSizeLong,
|
|
&RecordScoreRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RecordScoreRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> RecordScoreRequest_class_data_ =
|
|
RecordScoreRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RecordScoreRequest::GetClassData() const {
|
|
return RecordScoreRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 46, 2>
|
|
RecordScoreRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._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
|
|
RecordScoreRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RecordScoreRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_)}},
|
|
// int32 pcId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.pcid_)}},
|
|
// int64 score = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_)}},
|
|
// string comment = 4;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{34, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.comment_)}},
|
|
// bytes data = 5;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{42, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.data_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// int32 pcId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// int64 score = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
// string comment = 4;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.comment_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bytes data = 5;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\36\0\0\0\7\0\0\0"
|
|
"np2_structs.RecordScoreRequest"
|
|
"comment"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RecordScoreRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RecordScoreRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.comment_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.score_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.score_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RecordScoreRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RecordScoreRequest& this_ = static_cast<const RecordScoreRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RecordScoreRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RecordScoreRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RecordScoreRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_pcid(), target);
|
|
}
|
|
}
|
|
|
|
// int64 score = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_score() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
|
|
stream, this_._internal_score(), target);
|
|
}
|
|
}
|
|
|
|
// string comment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_comment().empty()) {
|
|
const ::std::string& _s = this_._internal_comment();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.RecordScoreRequest.comment");
|
|
target = stream->WriteStringMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes data = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(5, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RecordScoreRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RecordScoreRequest::ByteSizeLong(const MessageLite& base) {
|
|
const RecordScoreRequest& this_ = static_cast<const RecordScoreRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RecordScoreRequest::ByteSizeLong() const {
|
|
const RecordScoreRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RecordScoreRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// string comment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_comment().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_comment());
|
|
}
|
|
}
|
|
// bytes data = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_pcid());
|
|
}
|
|
}
|
|
// int64 score = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_score() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_score());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RecordScoreRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RecordScoreRequest*>(&to_msg);
|
|
auto& from = static_cast<const RecordScoreRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RecordScoreRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_comment().empty()) {
|
|
_this->_internal_set_comment(from._internal_comment());
|
|
} else {
|
|
if (_this->_impl_.comment_.IsDefault()) {
|
|
_this->_internal_set_comment("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_pcid() != 0) {
|
|
_this->_impl_.pcid_ = from._impl_.pcid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_score() != 0) {
|
|
_this->_impl_.score_ = from._impl_.score_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RecordScoreRequest::CopyFrom(const RecordScoreRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RecordScoreRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RecordScoreRequest::InternalSwap(RecordScoreRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.comment_, &other->_impl_.comment_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_)
|
|
+ sizeof(RecordScoreRequest::_impl_.score_)
|
|
- PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetScoreRangeRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetScoreRangeRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetScoreRangeRequest::GetScoreRangeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreRangeRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreRangeRequest)
|
|
}
|
|
GetScoreRangeRequest::GetScoreRangeRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreRangeRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreRangeRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreRangeRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void GetScoreRangeRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, withgameinfo_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::withgameinfo_));
|
|
}
|
|
GetScoreRangeRequest::~GetScoreRangeRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetScoreRangeRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetScoreRangeRequest::SharedDtor(MessageLite& self) {
|
|
GetScoreRangeRequest& this_ = static_cast<GetScoreRangeRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetScoreRangeRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetScoreRangeRequest(arena);
|
|
}
|
|
constexpr auto GetScoreRangeRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetScoreRangeRequest),
|
|
alignof(GetScoreRangeRequest));
|
|
}
|
|
constexpr auto GetScoreRangeRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<33>{
|
|
{
|
|
&_GetScoreRangeRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetScoreRangeRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetScoreRangeRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetScoreRangeRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetScoreRangeRequest>(), &GetScoreRangeRequest::ByteSizeLong,
|
|
&GetScoreRangeRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetScoreRangeRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<33> GetScoreRangeRequest_class_data_ =
|
|
GetScoreRangeRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetScoreRangeRequest::GetClassData() const {
|
|
return GetScoreRangeRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
|
|
GetScoreRangeRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._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
|
|
GetScoreRangeRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetScoreRangeRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_)}},
|
|
// uint32 startRank = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.startrank_)}},
|
|
// uint32 numRanks = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.numranks_)}},
|
|
// bool withComment = 4;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withcomment_)}},
|
|
// bool withGameInfo = 5;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 startRank = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.startrank_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 numRanks = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.numranks_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bool withComment = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// bool withGameInfo = 5;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetScoreRangeRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreRangeRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.withgameinfo_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreRangeRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetScoreRangeRequest& this_ = static_cast<const GetScoreRangeRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreRangeRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetScoreRangeRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreRangeRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 startRank = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_startrank() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_startrank(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 numRanks = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_numranks() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_numranks(), target);
|
|
}
|
|
}
|
|
|
|
// bool withComment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
4, this_._internal_withcomment(), target);
|
|
}
|
|
}
|
|
|
|
// bool withGameInfo = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
5, this_._internal_withgameinfo(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreRangeRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetScoreRangeRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetScoreRangeRequest& this_ = static_cast<const GetScoreRangeRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetScoreRangeRequest::ByteSizeLong() const {
|
|
const GetScoreRangeRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreRangeRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// uint32 startRank = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_startrank() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_startrank());
|
|
}
|
|
}
|
|
// uint32 numRanks = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_numranks() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_numranks());
|
|
}
|
|
}
|
|
// bool withComment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// bool withGameInfo = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetScoreRangeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetScoreRangeRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetScoreRangeRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreRangeRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_startrank() != 0) {
|
|
_this->_impl_.startrank_ = from._impl_.startrank_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_numranks() != 0) {
|
|
_this->_impl_.numranks_ = from._impl_.numranks_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_withcomment() != 0) {
|
|
_this->_impl_.withcomment_ = from._impl_.withcomment_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_withgameinfo() != 0) {
|
|
_this->_impl_.withgameinfo_ = from._impl_.withgameinfo_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetScoreRangeRequest::CopyFrom(const GetScoreRangeRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreRangeRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetScoreRangeRequest::InternalSwap(GetScoreRangeRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_)
|
|
+ sizeof(GetScoreRangeRequest::_impl_.withgameinfo_)
|
|
- PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class ScoreNpIdPcId::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<ScoreNpIdPcId>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._has_bits_);
|
|
};
|
|
|
|
ScoreNpIdPcId::ScoreNpIdPcId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreNpIdPcId_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.ScoreNpIdPcId)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreNpIdPcId::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::ScoreNpIdPcId& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_) {}
|
|
|
|
ScoreNpIdPcId::ScoreNpIdPcId(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const ScoreNpIdPcId& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreNpIdPcId_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
ScoreNpIdPcId* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.pcid_ = from._impl_.pcid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.ScoreNpIdPcId)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreNpIdPcId::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena) {}
|
|
|
|
inline void ScoreNpIdPcId::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.pcid_ = {};
|
|
}
|
|
ScoreNpIdPcId::~ScoreNpIdPcId() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.ScoreNpIdPcId)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void ScoreNpIdPcId::SharedDtor(MessageLite& self) {
|
|
ScoreNpIdPcId& this_ = static_cast<ScoreNpIdPcId&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL ScoreNpIdPcId::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) ScoreNpIdPcId(arena);
|
|
}
|
|
constexpr auto ScoreNpIdPcId::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreNpIdPcId),
|
|
alignof(ScoreNpIdPcId));
|
|
}
|
|
constexpr auto ScoreNpIdPcId::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<26>{
|
|
{
|
|
&_ScoreNpIdPcId_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&ScoreNpIdPcId::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<ScoreNpIdPcId>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&ScoreNpIdPcId::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<ScoreNpIdPcId>(), &ScoreNpIdPcId::ByteSizeLong,
|
|
&ScoreNpIdPcId::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.ScoreNpIdPcId",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<26> ScoreNpIdPcId_class_data_ =
|
|
ScoreNpIdPcId::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
ScoreNpIdPcId::GetClassData() const {
|
|
return ScoreNpIdPcId_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 38, 2>
|
|
ScoreNpIdPcId::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._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
|
|
ScoreNpIdPcId_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::ScoreNpIdPcId>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// int32 pcId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.pcid_)}},
|
|
// string npid = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.npid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string npid = 1;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// int32 pcId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.pcid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\31\4\0\0\0\0\0\0"
|
|
"np2_structs.ScoreNpIdPcId"
|
|
"npid"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void ScoreNpIdPcId::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreNpIdPcId)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_.pcid_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL ScoreNpIdPcId::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const ScoreNpIdPcId& this_ = static_cast<const ScoreNpIdPcId&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL ScoreNpIdPcId::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const ScoreNpIdPcId& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreNpIdPcId)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string npid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreNpIdPcId.npid");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_pcid(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreNpIdPcId)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t ScoreNpIdPcId::ByteSizeLong(const MessageLite& base) {
|
|
const ScoreNpIdPcId& this_ = static_cast<const ScoreNpIdPcId&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ScoreNpIdPcId::ByteSizeLong() const {
|
|
const ScoreNpIdPcId& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreNpIdPcId)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// string npid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_pcid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void ScoreNpIdPcId::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<ScoreNpIdPcId*>(&to_msg);
|
|
auto& from = static_cast<const ScoreNpIdPcId&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreNpIdPcId)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_pcid() != 0) {
|
|
_this->_impl_.pcid_ = from._impl_.pcid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void ScoreNpIdPcId::CopyFrom(const ScoreNpIdPcId& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreNpIdPcId)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void ScoreNpIdPcId::InternalSwap(ScoreNpIdPcId* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
swap(_impl_.pcid_, other->_impl_.pcid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetScoreNpIdRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetScoreNpIdRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetScoreNpIdRequest::GetScoreNpIdRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreNpIdRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreNpIdRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreNpIdRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetScoreNpIdRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npids_{visibility, arena, from.npids_} {}
|
|
|
|
GetScoreNpIdRequest::GetScoreNpIdRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetScoreNpIdRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreNpIdRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetScoreNpIdRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
offsetof(Impl_, withgameinfo_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::withgameinfo_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreNpIdRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreNpIdRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npids_{visibility, arena} {}
|
|
|
|
inline void GetScoreNpIdRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, withgameinfo_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::withgameinfo_));
|
|
}
|
|
GetScoreNpIdRequest::~GetScoreNpIdRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetScoreNpIdRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetScoreNpIdRequest::SharedDtor(MessageLite& self) {
|
|
GetScoreNpIdRequest& this_ = static_cast<GetScoreNpIdRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetScoreNpIdRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetScoreNpIdRequest(arena);
|
|
}
|
|
constexpr auto GetScoreNpIdRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_) +
|
|
decltype(GetScoreNpIdRequest::_impl_.npids_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetScoreNpIdRequest), alignof(GetScoreNpIdRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetScoreNpIdRequest::PlacementNew_,
|
|
sizeof(GetScoreNpIdRequest),
|
|
alignof(GetScoreNpIdRequest));
|
|
}
|
|
}
|
|
constexpr auto GetScoreNpIdRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<32>{
|
|
{
|
|
&_GetScoreNpIdRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetScoreNpIdRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetScoreNpIdRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetScoreNpIdRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetScoreNpIdRequest>(), &GetScoreNpIdRequest::ByteSizeLong,
|
|
&GetScoreNpIdRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetScoreNpIdRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<32> GetScoreNpIdRequest_class_data_ =
|
|
GetScoreNpIdRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetScoreNpIdRequest::GetClassData() const {
|
|
return GetScoreNpIdRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
|
|
GetScoreNpIdRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetScoreNpIdRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetScoreNpIdRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bool withGameInfo = 4;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_)}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_)}},
|
|
// repeated .np2_structs.ScoreNpIdPcId npids = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_)}},
|
|
// bool withComment = 3;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withcomment_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.ScoreNpIdPcId npids = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bool withComment = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// bool withGameInfo = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::ScoreNpIdPcId>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetScoreNpIdRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreNpIdRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npids_.Clear();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.withgameinfo_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreNpIdRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetScoreNpIdRequest& this_ = static_cast<const GetScoreNpIdRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreNpIdRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetScoreNpIdRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreNpIdRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.ScoreNpIdPcId npids = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_npids_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_npids().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// bool withComment = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
3, this_._internal_withcomment(), target);
|
|
}
|
|
}
|
|
|
|
// bool withGameInfo = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
4, this_._internal_withgameinfo(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreNpIdRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetScoreNpIdRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetScoreNpIdRequest& this_ = static_cast<const GetScoreNpIdRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetScoreNpIdRequest::ByteSizeLong() const {
|
|
const GetScoreNpIdRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreNpIdRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.ScoreNpIdPcId npids = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_npids_size();
|
|
for (const auto& msg : this_._internal_npids()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// bool withComment = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// bool withGameInfo = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetScoreNpIdRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetScoreNpIdRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetScoreNpIdRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreNpIdRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_npids()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_npids());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_withcomment() != 0) {
|
|
_this->_impl_.withcomment_ = from._impl_.withcomment_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_withgameinfo() != 0) {
|
|
_this->_impl_.withgameinfo_ = from._impl_.withgameinfo_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetScoreNpIdRequest::CopyFrom(const GetScoreNpIdRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreNpIdRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetScoreNpIdRequest::InternalSwap(GetScoreNpIdRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.npids_.InternalSwap(&other->_impl_.npids_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_)
|
|
+ sizeof(GetScoreNpIdRequest::_impl_.withgameinfo_)
|
|
- PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetScoreFriendsRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetScoreFriendsRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetScoreFriendsRequest::GetScoreFriendsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreFriendsRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreFriendsRequest)
|
|
}
|
|
GetScoreFriendsRequest::GetScoreFriendsRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreFriendsRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreFriendsRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreFriendsRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void GetScoreFriendsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, withgameinfo_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::withgameinfo_));
|
|
}
|
|
GetScoreFriendsRequest::~GetScoreFriendsRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetScoreFriendsRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetScoreFriendsRequest::SharedDtor(MessageLite& self) {
|
|
GetScoreFriendsRequest& this_ = static_cast<GetScoreFriendsRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetScoreFriendsRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetScoreFriendsRequest(arena);
|
|
}
|
|
constexpr auto GetScoreFriendsRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetScoreFriendsRequest),
|
|
alignof(GetScoreFriendsRequest));
|
|
}
|
|
constexpr auto GetScoreFriendsRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<35>{
|
|
{
|
|
&_GetScoreFriendsRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetScoreFriendsRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetScoreFriendsRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetScoreFriendsRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetScoreFriendsRequest>(), &GetScoreFriendsRequest::ByteSizeLong,
|
|
&GetScoreFriendsRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetScoreFriendsRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<35> GetScoreFriendsRequest_class_data_ =
|
|
GetScoreFriendsRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetScoreFriendsRequest::GetClassData() const {
|
|
return GetScoreFriendsRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
|
|
GetScoreFriendsRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._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
|
|
GetScoreFriendsRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetScoreFriendsRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_)}},
|
|
// bool include_self = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.include_self_)}},
|
|
// uint32 max = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.max_)}},
|
|
// bool withComment = 4;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withcomment_)}},
|
|
// bool withGameInfo = 5;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bool include_self = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.include_self_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// uint32 max = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.max_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bool withComment = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// bool withGameInfo = 5;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetScoreFriendsRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreFriendsRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.withgameinfo_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreFriendsRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetScoreFriendsRequest& this_ = static_cast<const GetScoreFriendsRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreFriendsRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetScoreFriendsRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreFriendsRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// bool include_self = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_include_self() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_include_self(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 max = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_max() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_max(), target);
|
|
}
|
|
}
|
|
|
|
// bool withComment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
4, this_._internal_withcomment(), target);
|
|
}
|
|
}
|
|
|
|
// bool withGameInfo = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
5, this_._internal_withgameinfo(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreFriendsRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetScoreFriendsRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetScoreFriendsRequest& this_ = static_cast<const GetScoreFriendsRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetScoreFriendsRequest::ByteSizeLong() const {
|
|
const GetScoreFriendsRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreFriendsRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// uint32 max = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_max() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_max());
|
|
}
|
|
}
|
|
// bool include_self = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_include_self() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// bool withComment = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_withcomment() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// bool withGameInfo = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_withgameinfo() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetScoreFriendsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetScoreFriendsRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetScoreFriendsRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreFriendsRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_max() != 0) {
|
|
_this->_impl_.max_ = from._impl_.max_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_include_self() != 0) {
|
|
_this->_impl_.include_self_ = from._impl_.include_self_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_withcomment() != 0) {
|
|
_this->_impl_.withcomment_ = from._impl_.withcomment_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_withgameinfo() != 0) {
|
|
_this->_impl_.withgameinfo_ = from._impl_.withgameinfo_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetScoreFriendsRequest::CopyFrom(const GetScoreFriendsRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreFriendsRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetScoreFriendsRequest::InternalSwap(GetScoreFriendsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_)
|
|
+ sizeof(GetScoreFriendsRequest::_impl_.withgameinfo_)
|
|
- PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class ScoreRankData::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<ScoreRankData>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._has_bits_);
|
|
};
|
|
|
|
ScoreRankData::ScoreRankData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreRankData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.ScoreRankData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreRankData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::ScoreRankData& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_),
|
|
onlinename_(arena, from.onlinename_) {}
|
|
|
|
ScoreRankData::ScoreRankData(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const ScoreRankData& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreRankData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
ScoreRankData* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, pcid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, pcid_),
|
|
offsetof(Impl_, hasgamedata_) -
|
|
offsetof(Impl_, pcid_) +
|
|
sizeof(Impl_::hasgamedata_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.ScoreRankData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreRankData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena),
|
|
onlinename_(arena) {}
|
|
|
|
inline void ScoreRankData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, pcid_),
|
|
0,
|
|
offsetof(Impl_, hasgamedata_) -
|
|
offsetof(Impl_, pcid_) +
|
|
sizeof(Impl_::hasgamedata_));
|
|
}
|
|
ScoreRankData::~ScoreRankData() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.ScoreRankData)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void ScoreRankData::SharedDtor(MessageLite& self) {
|
|
ScoreRankData& this_ = static_cast<ScoreRankData&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
this_._impl_.onlinename_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL ScoreRankData::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) ScoreRankData(arena);
|
|
}
|
|
constexpr auto ScoreRankData::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreRankData),
|
|
alignof(ScoreRankData));
|
|
}
|
|
constexpr auto ScoreRankData::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<26>{
|
|
{
|
|
&_ScoreRankData_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&ScoreRankData::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<ScoreRankData>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&ScoreRankData::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<ScoreRankData>(), &ScoreRankData::ByteSizeLong,
|
|
&ScoreRankData::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.ScoreRankData",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<26> ScoreRankData_class_data_ =
|
|
ScoreRankData::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
ScoreRankData::GetClassData() const {
|
|
return ScoreRankData_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 7, 0, 48, 2>
|
|
ScoreRankData::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
7, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967168, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
7, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
ScoreRankData_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::ScoreRankData>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// string npId = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.npid_)}},
|
|
// string onlineName = 2;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.onlinename_)}},
|
|
// int32 pcId = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_)}},
|
|
// uint32 rank = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.rank_)}},
|
|
// int64 score = 5;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.score_)}},
|
|
// bool hasGameData = 6;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{48, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_)}},
|
|
// uint64 recordDate = 7;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{56, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.recorddate_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string npId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string onlineName = 2;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.onlinename_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// int32 pcId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// uint32 rank = 4;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.rank_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// int64 score = 5;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.score_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
// bool hasGameData = 6;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// uint64 recordDate = 7;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.recorddate_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\31\4\12\0\0\0\0\0"
|
|
"np2_structs.ScoreRankData"
|
|
"npId"
|
|
"onlineName"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void ScoreRankData::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreRankData)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.onlinename_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007cU)) {
|
|
::memset(&_impl_.pcid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.hasgamedata_) -
|
|
reinterpret_cast<char*>(&_impl_.pcid_)) + sizeof(_impl_.hasgamedata_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL ScoreRankData::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const ScoreRankData& this_ = static_cast<const ScoreRankData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL ScoreRankData::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const ScoreRankData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreRankData)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string npId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreRankData.npId");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// string onlineName = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_onlinename().empty()) {
|
|
const ::std::string& _s = this_._internal_onlinename();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreRankData.onlineName");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// int32 pcId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
|
stream, this_._internal_pcid(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 rank = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_rank() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_rank(), target);
|
|
}
|
|
}
|
|
|
|
// int64 score = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_score() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
|
|
stream, this_._internal_score(), target);
|
|
}
|
|
}
|
|
|
|
// bool hasGameData = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_hasgamedata() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
6, this_._internal_hasgamedata(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 recordDate = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_recorddate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
7, this_._internal_recorddate(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreRankData)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t ScoreRankData::ByteSizeLong(const MessageLite& base) {
|
|
const ScoreRankData& this_ = static_cast<const ScoreRankData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ScoreRankData::ByteSizeLong() const {
|
|
const ScoreRankData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreRankData)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
// string npId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// string onlineName = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_onlinename().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_onlinename());
|
|
}
|
|
}
|
|
// int32 pcId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_pcid());
|
|
}
|
|
}
|
|
// uint32 rank = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_rank() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_rank());
|
|
}
|
|
}
|
|
// int64 score = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_score() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_score());
|
|
}
|
|
}
|
|
// uint64 recordDate = 7;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_recorddate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_recorddate());
|
|
}
|
|
}
|
|
// bool hasGameData = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_hasgamedata() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void ScoreRankData::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<ScoreRankData*>(&to_msg);
|
|
auto& from = static_cast<const ScoreRankData&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreRankData)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_onlinename().empty()) {
|
|
_this->_internal_set_onlinename(from._internal_onlinename());
|
|
} else {
|
|
if (_this->_impl_.onlinename_.IsDefault()) {
|
|
_this->_internal_set_onlinename("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_pcid() != 0) {
|
|
_this->_impl_.pcid_ = from._impl_.pcid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_rank() != 0) {
|
|
_this->_impl_.rank_ = from._impl_.rank_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_score() != 0) {
|
|
_this->_impl_.score_ = from._impl_.score_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_recorddate() != 0) {
|
|
_this->_impl_.recorddate_ = from._impl_.recorddate_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_hasgamedata() != 0) {
|
|
_this->_impl_.hasgamedata_ = from._impl_.hasgamedata_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void ScoreRankData::CopyFrom(const ScoreRankData& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreRankData)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void ScoreRankData::InternalSwap(ScoreRankData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.onlinename_, &other->_impl_.onlinename_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_)
|
|
+ sizeof(ScoreRankData::_impl_.hasgamedata_)
|
|
- PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_)>(
|
|
reinterpret_cast<char*>(&_impl_.pcid_),
|
|
reinterpret_cast<char*>(&other->_impl_.pcid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class ScoreInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<ScoreInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
ScoreInfo::ScoreInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.ScoreInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::ScoreInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
data_(arena, from.data_) {}
|
|
|
|
ScoreInfo::ScoreInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const ScoreInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, ScoreInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
ScoreInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.ScoreInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE ScoreInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
data_(arena) {}
|
|
|
|
inline void ScoreInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
ScoreInfo::~ScoreInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.ScoreInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void ScoreInfo::SharedDtor(MessageLite& self) {
|
|
ScoreInfo& this_ = static_cast<ScoreInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL ScoreInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) ScoreInfo(arena);
|
|
}
|
|
constexpr auto ScoreInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreInfo),
|
|
alignof(ScoreInfo));
|
|
}
|
|
constexpr auto ScoreInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<22>{
|
|
{
|
|
&_ScoreInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&ScoreInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<ScoreInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&ScoreInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<ScoreInfo>(), &ScoreInfo::ByteSizeLong,
|
|
&ScoreInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.ScoreInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<22> ScoreInfo_class_data_ =
|
|
ScoreInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
ScoreInfo::GetClassData() const {
|
|
return ScoreInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
|
|
ScoreInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
ScoreInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::ScoreInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_.data_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes data = 1;
|
|
{PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void ScoreInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL ScoreInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const ScoreInfo& this_ = static_cast<const ScoreInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL ScoreInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const ScoreInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes data = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t ScoreInfo::ByteSizeLong(const MessageLite& base) {
|
|
const ScoreInfo& this_ = static_cast<const ScoreInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t ScoreInfo::ByteSizeLong() const {
|
|
const ScoreInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreInfo)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void)cached_has_bits;
|
|
|
|
{
|
|
// bytes data = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void ScoreInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<ScoreInfo*>(&to_msg);
|
|
auto& from = static_cast<const ScoreInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void ScoreInfo::CopyFrom(const ScoreInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void ScoreInfo::InternalSwap(ScoreInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetScoreResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetScoreResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
GetScoreResponse::GetScoreResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetScoreResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
rankarray_{visibility, arena, from.rankarray_},
|
|
commentarray_{visibility, arena, from.commentarray_},
|
|
infoarray_{visibility, arena, from.infoarray_} {}
|
|
|
|
GetScoreResponse::GetScoreResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetScoreResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetScoreResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastsortdate_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lastsortdate_),
|
|
offsetof(Impl_, totalrecord_) -
|
|
offsetof(Impl_, lastsortdate_) +
|
|
sizeof(Impl_::totalrecord_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
rankarray_{visibility, arena},
|
|
commentarray_{visibility, arena},
|
|
infoarray_{visibility, arena} {}
|
|
|
|
inline void GetScoreResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastsortdate_),
|
|
0,
|
|
offsetof(Impl_, totalrecord_) -
|
|
offsetof(Impl_, lastsortdate_) +
|
|
sizeof(Impl_::totalrecord_));
|
|
}
|
|
GetScoreResponse::~GetScoreResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetScoreResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetScoreResponse::SharedDtor(MessageLite& self) {
|
|
GetScoreResponse& this_ = static_cast<GetScoreResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetScoreResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetScoreResponse(arena);
|
|
}
|
|
constexpr auto GetScoreResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_) +
|
|
decltype(GetScoreResponse::_impl_.rankarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_) +
|
|
decltype(GetScoreResponse::_impl_.commentarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_) +
|
|
decltype(GetScoreResponse::_impl_.infoarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetScoreResponse), alignof(GetScoreResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetScoreResponse::PlacementNew_,
|
|
sizeof(GetScoreResponse),
|
|
alignof(GetScoreResponse));
|
|
}
|
|
}
|
|
constexpr auto GetScoreResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_GetScoreResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetScoreResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetScoreResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetScoreResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetScoreResponse>(), &GetScoreResponse::ByteSizeLong,
|
|
&GetScoreResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetScoreResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> GetScoreResponse_class_data_ =
|
|
GetScoreResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetScoreResponse::GetClassData() const {
|
|
return GetScoreResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 2, 49, 2>
|
|
GetScoreResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetScoreResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetScoreResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// repeated .np2_structs.ScoreRankData rankArray = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_)}},
|
|
// repeated string commentArray = 2;
|
|
{::_pbi::TcParser::FastUR1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_)}},
|
|
// repeated .np2_structs.ScoreInfo infoArray = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 2, 1,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_)}},
|
|
// uint64 lastSortDate = 4;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_)}},
|
|
// uint32 totalRecord = 5;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{40, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.ScoreRankData rankArray = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated string commentArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
|
|
// repeated .np2_structs.ScoreInfo infoArray = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint64 lastSortDate = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// uint32 totalRecord = 5;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::ScoreRankData>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::ScoreInfo>()},
|
|
}},
|
|
{{
|
|
"\34\0\14\0\0\0\0\0"
|
|
"np2_structs.GetScoreResponse"
|
|
"commentArray"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetScoreResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.rankarray_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.commentarray_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_impl_.infoarray_.Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
|
|
::memset(&_impl_.lastsortdate_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.totalrecord_) -
|
|
reinterpret_cast<char*>(&_impl_.lastsortdate_)) + sizeof(_impl_.totalrecord_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetScoreResponse& this_ = static_cast<const GetScoreResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetScoreResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.ScoreRankData rankArray = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_rankarray_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_rankarray().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated string commentArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (int i = 0, n = this_._internal_commentarray_size(); i < n; ++i) {
|
|
const auto& s = this_._internal_commentarray().Get(i);
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.GetScoreResponse.commentArray");
|
|
target = stream->WriteString(2, s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.ScoreInfo infoArray = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_infoarray_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_infoarray().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// uint64 lastSortDate = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_lastsortdate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
4, this_._internal_lastsortdate(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 totalRecord = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_totalrecord() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
5, this_._internal_totalrecord(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetScoreResponse::ByteSizeLong(const MessageLite& base) {
|
|
const GetScoreResponse& this_ = static_cast<const GetScoreResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetScoreResponse::ByteSizeLong() const {
|
|
const GetScoreResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreResponse)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated .np2_structs.ScoreRankData rankArray = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_rankarray_size();
|
|
for (const auto& msg : this_._internal_rankarray()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated string commentArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size +=
|
|
1 * ::google::protobuf::internal::FromIntSize(this_._internal_commentarray().size());
|
|
for (int i = 0, n = this_._internal_commentarray().size(); i < n; ++i) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_commentarray().Get(i));
|
|
}
|
|
}
|
|
// repeated .np2_structs.ScoreInfo infoArray = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1UL * this_._internal_infoarray_size();
|
|
for (const auto& msg : this_._internal_infoarray()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint64 lastSortDate = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_lastsortdate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lastsortdate());
|
|
}
|
|
}
|
|
// uint32 totalRecord = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_totalrecord() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_totalrecord());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetScoreResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetScoreResponse*>(&to_msg);
|
|
auto& from = static_cast<const GetScoreResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_rankarray()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_rankarray());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_commentarray()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_commentarray());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
|
|
_this->_internal_mutable_infoarray()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_infoarray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_lastsortdate() != 0) {
|
|
_this->_impl_.lastsortdate_ = from._impl_.lastsortdate_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_totalrecord() != 0) {
|
|
_this->_impl_.totalrecord_ = from._impl_.totalrecord_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetScoreResponse::CopyFrom(const GetScoreResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetScoreResponse::InternalSwap(GetScoreResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.rankarray_.InternalSwap(&other->_impl_.rankarray_);
|
|
_impl_.commentarray_.InternalSwap(&other->_impl_.commentarray_);
|
|
_impl_.infoarray_.InternalSwap(&other->_impl_.infoarray_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_)
|
|
+ sizeof(GetScoreResponse::_impl_.totalrecord_)
|
|
- PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_)>(
|
|
reinterpret_cast<char*>(&_impl_.lastsortdate_),
|
|
reinterpret_cast<char*>(&other->_impl_.lastsortdate_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class RecordScoreGameDataRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<RecordScoreGameDataRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
RecordScoreGameDataRequest::RecordScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RecordScoreGameDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.RecordScoreGameDataRequest)
|
|
}
|
|
RecordScoreGameDataRequest::RecordScoreGameDataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RecordScoreGameDataRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, RecordScoreGameDataRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE RecordScoreGameDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void RecordScoreGameDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, score_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::score_));
|
|
}
|
|
RecordScoreGameDataRequest::~RecordScoreGameDataRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.RecordScoreGameDataRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void RecordScoreGameDataRequest::SharedDtor(MessageLite& self) {
|
|
RecordScoreGameDataRequest& this_ = static_cast<RecordScoreGameDataRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL RecordScoreGameDataRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) RecordScoreGameDataRequest(arena);
|
|
}
|
|
constexpr auto RecordScoreGameDataRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RecordScoreGameDataRequest),
|
|
alignof(RecordScoreGameDataRequest));
|
|
}
|
|
constexpr auto RecordScoreGameDataRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_RecordScoreGameDataRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&RecordScoreGameDataRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<RecordScoreGameDataRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&RecordScoreGameDataRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<RecordScoreGameDataRequest>(), &RecordScoreGameDataRequest::ByteSizeLong,
|
|
&RecordScoreGameDataRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.RecordScoreGameDataRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> RecordScoreGameDataRequest_class_data_ =
|
|
RecordScoreGameDataRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
RecordScoreGameDataRequest::GetClassData() const {
|
|
return RecordScoreGameDataRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
|
|
RecordScoreGameDataRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._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
|
|
RecordScoreGameDataRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::RecordScoreGameDataRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_)}},
|
|
// int32 pcId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.pcid_)}},
|
|
// int64 score = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// int32 pcId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// int64 score = 3;
|
|
{PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void RecordScoreGameDataRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.RecordScoreGameDataRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.score_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.score_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL RecordScoreGameDataRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const RecordScoreGameDataRequest& this_ = static_cast<const RecordScoreGameDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL RecordScoreGameDataRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const RecordScoreGameDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.RecordScoreGameDataRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_pcid(), target);
|
|
}
|
|
}
|
|
|
|
// int64 score = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_score() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
|
|
stream, this_._internal_score(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.RecordScoreGameDataRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t RecordScoreGameDataRequest::ByteSizeLong(const MessageLite& base) {
|
|
const RecordScoreGameDataRequest& this_ = static_cast<const RecordScoreGameDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t RecordScoreGameDataRequest::ByteSizeLong() const {
|
|
const RecordScoreGameDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.RecordScoreGameDataRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// int32 pcId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_pcid());
|
|
}
|
|
}
|
|
// int64 score = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_score() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_score());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void RecordScoreGameDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<RecordScoreGameDataRequest*>(&to_msg);
|
|
auto& from = static_cast<const RecordScoreGameDataRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RecordScoreGameDataRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_pcid() != 0) {
|
|
_this->_impl_.pcid_ = from._impl_.pcid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_score() != 0) {
|
|
_this->_impl_.score_ = from._impl_.score_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void RecordScoreGameDataRequest::CopyFrom(const RecordScoreGameDataRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RecordScoreGameDataRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void RecordScoreGameDataRequest::InternalSwap(RecordScoreGameDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_)
|
|
+ sizeof(RecordScoreGameDataRequest::_impl_.score_)
|
|
- PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetScoreGameDataRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetScoreGameDataRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetScoreGameDataRequest::GetScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreGameDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreGameDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreGameDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetScoreGameDataRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_) {}
|
|
|
|
GetScoreGameDataRequest::GetScoreGameDataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetScoreGameDataRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetScoreGameDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetScoreGameDataRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
offsetof(Impl_, pcid_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::pcid_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreGameDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetScoreGameDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena) {}
|
|
|
|
inline void GetScoreGameDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, boardid_),
|
|
0,
|
|
offsetof(Impl_, pcid_) -
|
|
offsetof(Impl_, boardid_) +
|
|
sizeof(Impl_::pcid_));
|
|
}
|
|
GetScoreGameDataRequest::~GetScoreGameDataRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetScoreGameDataRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetScoreGameDataRequest::SharedDtor(MessageLite& self) {
|
|
GetScoreGameDataRequest& this_ = static_cast<GetScoreGameDataRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetScoreGameDataRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetScoreGameDataRequest(arena);
|
|
}
|
|
constexpr auto GetScoreGameDataRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetScoreGameDataRequest),
|
|
alignof(GetScoreGameDataRequest));
|
|
}
|
|
constexpr auto GetScoreGameDataRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<36>{
|
|
{
|
|
&_GetScoreGameDataRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetScoreGameDataRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetScoreGameDataRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetScoreGameDataRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetScoreGameDataRequest>(), &GetScoreGameDataRequest::ByteSizeLong,
|
|
&GetScoreGameDataRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetScoreGameDataRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<36> GetScoreGameDataRequest_class_data_ =
|
|
GetScoreGameDataRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetScoreGameDataRequest::GetClassData() const {
|
|
return GetScoreGameDataRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 0, 48, 2>
|
|
GetScoreGameDataRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._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
|
|
GetScoreGameDataRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetScoreGameDataRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 boardId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_)}},
|
|
// string npId = 2;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.npid_)}},
|
|
// int32 pcId = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 boardId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// string npId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// int32 pcId = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\43\0\4\0\0\0\0\0"
|
|
"np2_structs.GetScoreGameDataRequest"
|
|
"npId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetScoreGameDataRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreGameDataRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
|
|
::memset(&_impl_.boardid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.pcid_) -
|
|
reinterpret_cast<char*>(&_impl_.boardid_)) + sizeof(_impl_.pcid_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreGameDataRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetScoreGameDataRequest& this_ = static_cast<const GetScoreGameDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetScoreGameDataRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetScoreGameDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreGameDataRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_boardid(), target);
|
|
}
|
|
}
|
|
|
|
// string npId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.GetScoreGameDataRequest.npId");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// int32 pcId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
|
stream, this_._internal_pcid(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreGameDataRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetScoreGameDataRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetScoreGameDataRequest& this_ = static_cast<const GetScoreGameDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetScoreGameDataRequest::ByteSizeLong() const {
|
|
const GetScoreGameDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreGameDataRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// string npId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// uint32 boardId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_boardid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_boardid());
|
|
}
|
|
}
|
|
// int32 pcId = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_pcid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_pcid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetScoreGameDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetScoreGameDataRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetScoreGameDataRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreGameDataRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_boardid() != 0) {
|
|
_this->_impl_.boardid_ = from._impl_.boardid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_pcid() != 0) {
|
|
_this->_impl_.pcid_ = from._impl_.pcid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetScoreGameDataRequest::CopyFrom(const GetScoreGameDataRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreGameDataRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetScoreGameDataRequest::InternalSwap(GetScoreGameDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_)
|
|
+ sizeof(GetScoreGameDataRequest::_impl_.pcid_)
|
|
- PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_)>(
|
|
reinterpret_cast<char*>(&_impl_.boardid_),
|
|
reinterpret_cast<char*>(&other->_impl_.boardid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusUser::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusUser>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusUser, _impl_._has_bits_);
|
|
};
|
|
|
|
TusUser::TusUser(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusUser_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusUser)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusUser::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusUser& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
npid_(arena, from.npid_) {}
|
|
|
|
TusUser::TusUser(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusUser& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusUser_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusUser* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.vuser_ = from._impl_.vuser_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusUser)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusUser::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
npid_(arena) {}
|
|
|
|
inline void TusUser::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.vuser_ = {};
|
|
}
|
|
TusUser::~TusUser() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusUser)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusUser::SharedDtor(MessageLite& self) {
|
|
TusUser& this_ = static_cast<TusUser&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.npid_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusUser::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusUser(arena);
|
|
}
|
|
constexpr auto TusUser::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusUser),
|
|
alignof(TusUser));
|
|
}
|
|
constexpr auto TusUser::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<20>{
|
|
{
|
|
&_TusUser_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusUser::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusUser>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusUser::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusUser>(), &TusUser::ByteSizeLong,
|
|
&TusUser::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusUser, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusUser",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<20> TusUser_class_data_ =
|
|
TusUser::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusUser::GetClassData() const {
|
|
return TusUser_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 32, 2>
|
|
TusUser::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusUser, _impl_._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
|
|
TusUser_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusUser>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// string npid = 2;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusUser, _impl_.npid_)}},
|
|
// bool vuser = 1;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusUser, _impl_.vuser_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bool vuser = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusUser, _impl_.vuser_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// string npid = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusUser, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\23\0\4\0\0\0\0\0"
|
|
"np2_structs.TusUser"
|
|
"npid"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusUser::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusUser)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.npid_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_.vuser_ = false;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusUser::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusUser& this_ = static_cast<const TusUser&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusUser::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusUser& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusUser)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bool vuser = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_vuser() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
1, this_._internal_vuser(), target);
|
|
}
|
|
}
|
|
|
|
// string npid = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
const ::std::string& _s = this_._internal_npid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusUser.npid");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusUser)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusUser::ByteSizeLong(const MessageLite& base) {
|
|
const TusUser& this_ = static_cast<const TusUser&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusUser::ByteSizeLong() const {
|
|
const TusUser& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusUser)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// string npid = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_npid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_npid());
|
|
}
|
|
}
|
|
// bool vuser = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_vuser() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusUser::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusUser*>(&to_msg);
|
|
auto& from = static_cast<const TusUser&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusUser)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_npid().empty()) {
|
|
_this->_internal_set_npid(from._internal_npid());
|
|
} else {
|
|
if (_this->_impl_.npid_.IsDefault()) {
|
|
_this->_internal_set_npid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_vuser() != 0) {
|
|
_this->_impl_.vuser_ = from._impl_.vuser_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusUser::CopyFrom(const TusUser& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusUser)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusUser::InternalSwap(TusUser* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena);
|
|
swap(_impl_.vuser_, other->_impl_.vuser_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusVariable::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusVariable>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._has_bits_);
|
|
};
|
|
|
|
TusVariable::TusVariable(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusVariable_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusVariable)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusVariable::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusVariable& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ownerid_(arena, from.ownerid_),
|
|
lastchangedauthorid_(arena, from.lastchangedauthorid_) {}
|
|
|
|
TusVariable::TusVariable(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusVariable& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusVariable_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusVariable* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
offsetof(Impl_, hasdata_) -
|
|
offsetof(Impl_, lastchangeddate_) +
|
|
sizeof(Impl_::hasdata_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusVariable)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusVariable::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
ownerid_(arena),
|
|
lastchangedauthorid_(arena) {}
|
|
|
|
inline void TusVariable::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
0,
|
|
offsetof(Impl_, hasdata_) -
|
|
offsetof(Impl_, lastchangeddate_) +
|
|
sizeof(Impl_::hasdata_));
|
|
}
|
|
TusVariable::~TusVariable() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusVariable)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusVariable::SharedDtor(MessageLite& self) {
|
|
TusVariable& this_ = static_cast<TusVariable&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.ownerid_.Destroy();
|
|
this_._impl_.lastchangedauthorid_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusVariable::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusVariable(arena);
|
|
}
|
|
constexpr auto TusVariable::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusVariable),
|
|
alignof(TusVariable));
|
|
}
|
|
constexpr auto TusVariable::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<24>{
|
|
{
|
|
&_TusVariable_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusVariable::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusVariable>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusVariable::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusVariable>(), &TusVariable::ByteSizeLong,
|
|
&TusVariable::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusVariable",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<24> TusVariable_class_data_ =
|
|
TusVariable::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusVariable::GetClassData() const {
|
|
return TusVariable_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 6, 0, 58, 2>
|
|
TusVariable::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._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
|
|
TusVariable_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusVariable>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// string ownerId = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.ownerid_)}},
|
|
// bool hasData = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_)}},
|
|
// uint64 lastChangedDate = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_)}},
|
|
// string lastChangedAuthorId = 4;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{34, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangedauthorid_)}},
|
|
// int64 variable = 5;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{40, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.variable_)}},
|
|
// int64 oldVariable = 6;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{48, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.oldvariable_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string ownerId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.ownerid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bool hasData = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// uint64 lastChangedDate = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// string lastChangedAuthorId = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// int64 variable = 5;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.variable_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
// int64 oldVariable = 6;
|
|
{PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.oldvariable_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\27\7\0\0\23\0\0\0"
|
|
"np2_structs.TusVariable"
|
|
"ownerId"
|
|
"lastChangedAuthorId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusVariable::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusVariable)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.ownerid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.lastchangedauthorid_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003cU)) {
|
|
::memset(&_impl_.lastchangeddate_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.hasdata_) -
|
|
reinterpret_cast<char*>(&_impl_.lastchangeddate_)) + sizeof(_impl_.hasdata_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusVariable::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusVariable& this_ = static_cast<const TusVariable&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusVariable::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusVariable& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusVariable)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string ownerId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ownerid().empty()) {
|
|
const ::std::string& _s = this_._internal_ownerid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusVariable.ownerId");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// bool hasData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_hasdata() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_hasdata(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 lastChangedDate = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_lastchangeddate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_lastchangeddate(), target);
|
|
}
|
|
}
|
|
|
|
// string lastChangedAuthorId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_lastchangedauthorid().empty()) {
|
|
const ::std::string& _s = this_._internal_lastchangedauthorid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusVariable.lastChangedAuthorId");
|
|
target = stream->WriteStringMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// int64 variable = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_variable() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
|
|
stream, this_._internal_variable(), target);
|
|
}
|
|
}
|
|
|
|
// int64 oldVariable = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_oldvariable() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
|
|
stream, this_._internal_oldvariable(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusVariable)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusVariable::ByteSizeLong(const MessageLite& base) {
|
|
const TusVariable& this_ = static_cast<const TusVariable&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusVariable::ByteSizeLong() const {
|
|
const TusVariable& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusVariable)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
// string ownerId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ownerid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_ownerid());
|
|
}
|
|
}
|
|
// string lastChangedAuthorId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_lastchangedauthorid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_lastchangedauthorid());
|
|
}
|
|
}
|
|
// uint64 lastChangedDate = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_lastchangeddate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lastchangeddate());
|
|
}
|
|
}
|
|
// int64 variable = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_variable() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_variable());
|
|
}
|
|
}
|
|
// int64 oldVariable = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_oldvariable() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_oldvariable());
|
|
}
|
|
}
|
|
// bool hasData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_hasdata() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusVariable::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusVariable*>(&to_msg);
|
|
auto& from = static_cast<const TusVariable&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusVariable)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_ownerid().empty()) {
|
|
_this->_internal_set_ownerid(from._internal_ownerid());
|
|
} else {
|
|
if (_this->_impl_.ownerid_.IsDefault()) {
|
|
_this->_internal_set_ownerid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_lastchangedauthorid().empty()) {
|
|
_this->_internal_set_lastchangedauthorid(from._internal_lastchangedauthorid());
|
|
} else {
|
|
if (_this->_impl_.lastchangedauthorid_.IsDefault()) {
|
|
_this->_internal_set_lastchangedauthorid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_lastchangeddate() != 0) {
|
|
_this->_impl_.lastchangeddate_ = from._impl_.lastchangeddate_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_variable() != 0) {
|
|
_this->_impl_.variable_ = from._impl_.variable_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_oldvariable() != 0) {
|
|
_this->_impl_.oldvariable_ = from._impl_.oldvariable_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_hasdata() != 0) {
|
|
_this->_impl_.hasdata_ = from._impl_.hasdata_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusVariable::CopyFrom(const TusVariable& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusVariable)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusVariable::InternalSwap(TusVariable* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ownerid_, &other->_impl_.ownerid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lastchangedauthorid_, &other->_impl_.lastchangedauthorid_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_)
|
|
+ sizeof(TusVariable::_impl_.hasdata_)
|
|
- PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_)>(
|
|
reinterpret_cast<char*>(&_impl_.lastchangeddate_),
|
|
reinterpret_cast<char*>(&other->_impl_.lastchangeddate_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusVarResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusVarResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
TusVarResponse::TusVarResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusVarResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusVarResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusVarResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusVarResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
vars_{visibility, arena, from.vars_} {}
|
|
|
|
TusVarResponse::TusVarResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusVarResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusVarResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusVarResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusVarResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusVarResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
vars_{visibility, arena} {}
|
|
|
|
inline void TusVarResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
TusVarResponse::~TusVarResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusVarResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusVarResponse::SharedDtor(MessageLite& self) {
|
|
TusVarResponse& this_ = static_cast<TusVarResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusVarResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusVarResponse(arena);
|
|
}
|
|
constexpr auto TusVarResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_) +
|
|
decltype(TusVarResponse::_impl_.vars_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusVarResponse), alignof(TusVarResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusVarResponse::PlacementNew_,
|
|
sizeof(TusVarResponse),
|
|
alignof(TusVarResponse));
|
|
}
|
|
}
|
|
constexpr auto TusVarResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<27>{
|
|
{
|
|
&_TusVarResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusVarResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusVarResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusVarResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusVarResponse>(), &TusVarResponse::ByteSizeLong,
|
|
&TusVarResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusVarResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<27> TusVarResponse_class_data_ =
|
|
TusVarResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusVarResponse::GetClassData() const {
|
|
return TusVarResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
|
|
TusVarResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusVarResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusVarResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.TusVariable vars = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.TusVariable vars = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusVariable>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusVarResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusVarResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.vars_.Clear();
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusVarResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusVarResponse& this_ = static_cast<const TusVarResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusVarResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusVarResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusVarResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.TusVariable vars = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_vars_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_vars().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusVarResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusVarResponse::ByteSizeLong(const MessageLite& base) {
|
|
const TusVarResponse& this_ = static_cast<const TusVarResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusVarResponse::ByteSizeLong() const {
|
|
const TusVarResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusVarResponse)
|
|
::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(&this_);
|
|
{
|
|
// repeated .np2_structs.TusVariable vars = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_vars_size();
|
|
for (const auto& msg : this_._internal_vars()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusVarResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusVarResponse*>(&to_msg);
|
|
auto& from = static_cast<const TusVarResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusVarResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_vars()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_vars());
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusVarResponse::CopyFrom(const TusVarResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusVarResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusVarResponse::InternalSwap(TusVarResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.vars_.InternalSwap(&other->_impl_.vars_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusSetMultiSlotVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusSetMultiSlotVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusSetMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusSetMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusSetMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusSetMultiSlotVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
slotidarray_{visibility, arena, from.slotidarray_},
|
|
_slotidarray_cached_byte_size_{0},
|
|
variablearray_{visibility, arena, from.variablearray_},
|
|
_variablearray_cached_byte_size_{0} {}
|
|
|
|
TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusSetMultiSlotVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusSetMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusSetMultiSlotVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusSetMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusSetMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
slotidarray_{visibility, arena},
|
|
_slotidarray_cached_byte_size_{0},
|
|
variablearray_{visibility, arena},
|
|
_variablearray_cached_byte_size_{0} {}
|
|
|
|
inline void TusSetMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.user_ = {};
|
|
}
|
|
TusSetMultiSlotVariableRequest::~TusSetMultiSlotVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusSetMultiSlotVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusSetMultiSlotVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusSetMultiSlotVariableRequest& this_ = static_cast<TusSetMultiSlotVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusSetMultiSlotVariableRequest(arena);
|
|
}
|
|
constexpr auto TusSetMultiSlotVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_) +
|
|
decltype(TusSetMultiSlotVariableRequest::_impl_.slotidarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_) +
|
|
decltype(TusSetMultiSlotVariableRequest::_impl_.variablearray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusSetMultiSlotVariableRequest), alignof(TusSetMultiSlotVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusSetMultiSlotVariableRequest::PlacementNew_,
|
|
sizeof(TusSetMultiSlotVariableRequest),
|
|
alignof(TusSetMultiSlotVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusSetMultiSlotVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<43>{
|
|
{
|
|
&_TusSetMultiSlotVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusSetMultiSlotVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusSetMultiSlotVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusSetMultiSlotVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusSetMultiSlotVariableRequest>(), &TusSetMultiSlotVariableRequest::ByteSizeLong,
|
|
&TusSetMultiSlotVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusSetMultiSlotVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<43> TusSetMultiSlotVariableRequest_class_data_ =
|
|
TusSetMultiSlotVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusSetMultiSlotVariableRequest::GetClassData() const {
|
|
return TusSetMultiSlotVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
|
|
TusSetMultiSlotVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusSetMultiSlotVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusSetMultiSlotVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.user_)}},
|
|
// repeated int32 slotIdArray = 2;
|
|
{::_pbi::TcParser::FastV32P1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_)}},
|
|
// repeated int64 variableArray = 3;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{26, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated int32 slotIdArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
|
|
// repeated int64 variableArray = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusSetMultiSlotVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusSetMultiSlotVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.slotidarray_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.variablearray_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusSetMultiSlotVariableRequest& this_ = static_cast<const TusSetMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusSetMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusSetMultiSlotVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt32Packed(
|
|
2, this_._internal_slotidarray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// repeated int64 variableArray = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
{
|
|
int byte_size = this_._impl_._variablearray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt64Packed(
|
|
3, this_._internal_variablearray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusSetMultiSlotVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusSetMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusSetMultiSlotVariableRequest& this_ = static_cast<const TusSetMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusSetMultiSlotVariableRequest::ByteSizeLong() const {
|
|
const TusSetMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusSetMultiSlotVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
|
|
this_._internal_slotidarray(), 1,
|
|
this_._impl_._slotidarray_cached_byte_size_);
|
|
}
|
|
// repeated int64 variableArray = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
|
|
this_._internal_variablearray(), 1,
|
|
this_._impl_._variablearray_cached_byte_size_);
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusSetMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusSetMultiSlotVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusSetMultiSlotVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusSetMultiSlotVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_variablearray()->MergeFrom(from._internal_variablearray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusSetMultiSlotVariableRequest::CopyFrom(const TusSetMultiSlotVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusSetMultiSlotVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusSetMultiSlotVariableRequest::InternalSwap(TusSetMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_);
|
|
_impl_.variablearray_.InternalSwap(&other->_impl_.variablearray_);
|
|
swap(_impl_.user_, other->_impl_.user_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetMultiSlotVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetMultiSlotVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusGetMultiSlotVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
slotidarray_{visibility, arena, from.slotidarray_},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusGetMultiSlotVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusGetMultiSlotVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
slotidarray_{visibility, arena},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
inline void TusGetMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.user_ = {};
|
|
}
|
|
TusGetMultiSlotVariableRequest::~TusGetMultiSlotVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetMultiSlotVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetMultiSlotVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusGetMultiSlotVariableRequest& this_ = static_cast<TusGetMultiSlotVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetMultiSlotVariableRequest(arena);
|
|
}
|
|
constexpr auto TusGetMultiSlotVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_) +
|
|
decltype(TusGetMultiSlotVariableRequest::_impl_.slotidarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusGetMultiSlotVariableRequest), alignof(TusGetMultiSlotVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusGetMultiSlotVariableRequest::PlacementNew_,
|
|
sizeof(TusGetMultiSlotVariableRequest),
|
|
alignof(TusGetMultiSlotVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusGetMultiSlotVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<43>{
|
|
{
|
|
&_TusGetMultiSlotVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetMultiSlotVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetMultiSlotVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetMultiSlotVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetMultiSlotVariableRequest>(), &TusGetMultiSlotVariableRequest::ByteSizeLong,
|
|
&TusGetMultiSlotVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetMultiSlotVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiSlotVariableRequest_class_data_ =
|
|
TusGetMultiSlotVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetMultiSlotVariableRequest::GetClassData() const {
|
|
return TusGetMultiSlotVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusGetMultiSlotVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusGetMultiSlotVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiSlotVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated int32 slotIdArray = 2;
|
|
{::_pbi::TcParser::FastV32P1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_)}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.user_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated int32 slotIdArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetMultiSlotVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiSlotVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.slotidarray_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetMultiSlotVariableRequest& this_ = static_cast<const TusGetMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiSlotVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt32Packed(
|
|
2, this_._internal_slotidarray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiSlotVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetMultiSlotVariableRequest& this_ = static_cast<const TusGetMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetMultiSlotVariableRequest::ByteSizeLong() const {
|
|
const TusGetMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiSlotVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
|
|
this_._internal_slotidarray(), 1,
|
|
this_._impl_._slotidarray_cached_byte_size_);
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetMultiSlotVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetMultiSlotVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiSlotVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetMultiSlotVariableRequest::CopyFrom(const TusGetMultiSlotVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiSlotVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetMultiSlotVariableRequest::InternalSwap(TusGetMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_);
|
|
swap(_impl_.user_, other->_impl_.user_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetMultiUserVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetMultiUserVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiUserVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiUserVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiUserVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusGetMultiUserVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
users_{visibility, arena, from.users_} {}
|
|
|
|
TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusGetMultiUserVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiUserVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusGetMultiUserVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.slotid_ = from._impl_.slotid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiUserVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiUserVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
users_{visibility, arena} {}
|
|
|
|
inline void TusGetMultiUserVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.slotid_ = {};
|
|
}
|
|
TusGetMultiUserVariableRequest::~TusGetMultiUserVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetMultiUserVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetMultiUserVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusGetMultiUserVariableRequest& this_ = static_cast<TusGetMultiUserVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetMultiUserVariableRequest(arena);
|
|
}
|
|
constexpr auto TusGetMultiUserVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_) +
|
|
decltype(TusGetMultiUserVariableRequest::_impl_.users_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusGetMultiUserVariableRequest), alignof(TusGetMultiUserVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusGetMultiUserVariableRequest::PlacementNew_,
|
|
sizeof(TusGetMultiUserVariableRequest),
|
|
alignof(TusGetMultiUserVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusGetMultiUserVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<43>{
|
|
{
|
|
&_TusGetMultiUserVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetMultiUserVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetMultiUserVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetMultiUserVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetMultiUserVariableRequest>(), &TusGetMultiUserVariableRequest::ByteSizeLong,
|
|
&TusGetMultiUserVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetMultiUserVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiUserVariableRequest_class_data_ =
|
|
TusGetMultiUserVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetMultiUserVariableRequest::GetClassData() const {
|
|
return TusGetMultiUserVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusGetMultiUserVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusGetMultiUserVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiUserVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.slotid_)}},
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetMultiUserVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiUserVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.users_.Clear();
|
|
}
|
|
_impl_.slotid_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetMultiUserVariableRequest& this_ = static_cast<const TusGetMultiUserVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetMultiUserVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiUserVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_users_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_users().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiUserVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetMultiUserVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetMultiUserVariableRequest& this_ = static_cast<const TusGetMultiUserVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetMultiUserVariableRequest::ByteSizeLong() const {
|
|
const TusGetMultiUserVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiUserVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_users_size();
|
|
for (const auto& msg : this_._internal_users()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetMultiUserVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetMultiUserVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetMultiUserVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiUserVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_users()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_users());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetMultiUserVariableRequest::CopyFrom(const TusGetMultiUserVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiUserVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetMultiUserVariableRequest::InternalSwap(TusGetMultiUserVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.users_.InternalSwap(&other->_impl_.users_);
|
|
swap(_impl_.slotid_, other->_impl_.slotid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetFriendsVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetFriendsVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetFriendsVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetFriendsVariableRequest)
|
|
}
|
|
TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetFriendsVariableRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetFriendsVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void TusGetFriendsVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, slotid_),
|
|
0,
|
|
offsetof(Impl_, arraynum_) -
|
|
offsetof(Impl_, slotid_) +
|
|
sizeof(Impl_::arraynum_));
|
|
}
|
|
TusGetFriendsVariableRequest::~TusGetFriendsVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetFriendsVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetFriendsVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusGetFriendsVariableRequest& this_ = static_cast<TusGetFriendsVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetFriendsVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetFriendsVariableRequest(arena);
|
|
}
|
|
constexpr auto TusGetFriendsVariableRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetFriendsVariableRequest),
|
|
alignof(TusGetFriendsVariableRequest));
|
|
}
|
|
constexpr auto TusGetFriendsVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<41>{
|
|
{
|
|
&_TusGetFriendsVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetFriendsVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetFriendsVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetFriendsVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetFriendsVariableRequest>(), &TusGetFriendsVariableRequest::ByteSizeLong,
|
|
&TusGetFriendsVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetFriendsVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<41> TusGetFriendsVariableRequest_class_data_ =
|
|
TusGetFriendsVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetFriendsVariableRequest::GetClassData() const {
|
|
return TusGetFriendsVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
|
|
TusGetFriendsVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
TusGetFriendsVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetFriendsVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 arrayNum = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_)}},
|
|
// int32 slotId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_)}},
|
|
// bool includeSelf = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.includeself_)}},
|
|
// int32 sortType = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.sorttype_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// int32 slotId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// bool includeSelf = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.includeself_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// int32 sortType = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.sorttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// uint32 arrayNum = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetFriendsVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetFriendsVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
::memset(&_impl_.slotid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.arraynum_) -
|
|
reinterpret_cast<char*>(&_impl_.slotid_)) + sizeof(_impl_.arraynum_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetFriendsVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetFriendsVariableRequest& this_ = static_cast<const TusGetFriendsVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetFriendsVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetFriendsVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetFriendsVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// int32 slotId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
// bool includeSelf = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_includeself() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_includeself(), target);
|
|
}
|
|
}
|
|
|
|
// int32 sortType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sorttype() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
|
stream, this_._internal_sorttype(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 arrayNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_arraynum() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_arraynum(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetFriendsVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetFriendsVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetFriendsVariableRequest& this_ = static_cast<const TusGetFriendsVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetFriendsVariableRequest::ByteSizeLong() const {
|
|
const TusGetFriendsVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetFriendsVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// int32 slotId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
// bool includeSelf = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_includeself() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// int32 sortType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sorttype() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_sorttype());
|
|
}
|
|
}
|
|
// uint32 arrayNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_arraynum() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_arraynum());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetFriendsVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetFriendsVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetFriendsVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetFriendsVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_includeself() != 0) {
|
|
_this->_impl_.includeself_ = from._impl_.includeself_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_sorttype() != 0) {
|
|
_this->_impl_.sorttype_ = from._impl_.sorttype_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_arraynum() != 0) {
|
|
_this->_impl_.arraynum_ = from._impl_.arraynum_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetFriendsVariableRequest::CopyFrom(const TusGetFriendsVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetFriendsVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetFriendsVariableRequest::InternalSwap(TusGetFriendsVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_)
|
|
+ sizeof(TusGetFriendsVariableRequest::_impl_.arraynum_)
|
|
- PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_)>(
|
|
reinterpret_cast<char*>(&_impl_.slotid_),
|
|
reinterpret_cast<char*>(&other->_impl_.slotid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusAddAndGetVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusAddAndGetVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusAddAndGetVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusAddAndGetVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusAddAndGetVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusAddAndGetVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
islastchangeddate_{visibility, arena, from.islastchangeddate_},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
islastchangedauthorid_(arena, from.islastchangedauthorid_) {}
|
|
|
|
TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusAddAndGetVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusAddAndGetVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusAddAndGetVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000004U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, invariable_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, invariable_),
|
|
offsetof(Impl_, slotid_) -
|
|
offsetof(Impl_, invariable_) +
|
|
sizeof(Impl_::slotid_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusAddAndGetVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusAddAndGetVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
islastchangeddate_{visibility, arena},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
islastchangedauthorid_(arena) {}
|
|
|
|
inline void TusAddAndGetVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, user_),
|
|
0,
|
|
offsetof(Impl_, slotid_) -
|
|
offsetof(Impl_, user_) +
|
|
sizeof(Impl_::slotid_));
|
|
}
|
|
TusAddAndGetVariableRequest::~TusAddAndGetVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusAddAndGetVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusAddAndGetVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusAddAndGetVariableRequest& this_ = static_cast<TusAddAndGetVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.islastchangedauthorid_.Destroy();
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusAddAndGetVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusAddAndGetVariableRequest(arena);
|
|
}
|
|
constexpr auto TusAddAndGetVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_) +
|
|
decltype(TusAddAndGetVariableRequest::_impl_.islastchangeddate_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(TusAddAndGetVariableRequest), alignof(TusAddAndGetVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusAddAndGetVariableRequest::PlacementNew_,
|
|
sizeof(TusAddAndGetVariableRequest),
|
|
alignof(TusAddAndGetVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusAddAndGetVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<40>{
|
|
{
|
|
&_TusAddAndGetVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusAddAndGetVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusAddAndGetVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusAddAndGetVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusAddAndGetVariableRequest>(), &TusAddAndGetVariableRequest::ByteSizeLong,
|
|
&TusAddAndGetVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusAddAndGetVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<40> TusAddAndGetVariableRequest_class_data_ =
|
|
TusAddAndGetVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusAddAndGetVariableRequest::GetClassData() const {
|
|
return TusAddAndGetVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 1, 69, 2>
|
|
TusAddAndGetVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusAddAndGetVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusAddAndGetVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_)}},
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_)}},
|
|
// int64 inVariable = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.invariable_)}},
|
|
// repeated uint64 isLastChangedDate = 4;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{34, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_)}},
|
|
// string isLastChangedAuthorId = 5;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{42, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangedauthorid_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// int64 inVariable = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.invariable_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
// repeated uint64 isLastChangedDate = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)},
|
|
// string isLastChangedAuthorId = 5;
|
|
{PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
"\47\0\0\0\0\25\0\0"
|
|
"np2_structs.TusAddAndGetVariableRequest"
|
|
"isLastChangedAuthorId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusAddAndGetVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusAddAndGetVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.islastchangeddate_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.islastchangedauthorid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
|
|
::memset(&_impl_.invariable_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.slotid_) -
|
|
reinterpret_cast<char*>(&_impl_.invariable_)) + sizeof(_impl_.slotid_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusAddAndGetVariableRequest& this_ = static_cast<const TusAddAndGetVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusAddAndGetVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusAddAndGetVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
// int64 inVariable = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_invariable() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
|
|
stream, this_._internal_invariable(), target);
|
|
}
|
|
}
|
|
|
|
// repeated uint64 isLastChangedDate = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteUInt64Packed(
|
|
4, this_._internal_islastchangeddate(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// string isLastChangedAuthorId = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
const ::std::string& _s = this_._internal_islastchangedauthorid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId");
|
|
target = stream->WriteStringMaybeAliased(5, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusAddAndGetVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusAddAndGetVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusAddAndGetVariableRequest& this_ = static_cast<const TusAddAndGetVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusAddAndGetVariableRequest::ByteSizeLong() const {
|
|
const TusAddAndGetVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusAddAndGetVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated uint64 isLastChangedDate = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize(
|
|
this_._internal_islastchangeddate(), 1,
|
|
this_._impl_._islastchangeddate_cached_byte_size_);
|
|
}
|
|
// string isLastChangedAuthorId = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_islastchangedauthorid());
|
|
}
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
// int64 inVariable = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_invariable() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_invariable());
|
|
}
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusAddAndGetVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusAddAndGetVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusAddAndGetVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusAddAndGetVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_islastchangedauthorid().empty()) {
|
|
_this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid());
|
|
} else {
|
|
if (_this->_impl_.islastchangedauthorid_.IsDefault()) {
|
|
_this->_internal_set_islastchangedauthorid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_invariable() != 0) {
|
|
_this->_impl_.invariable_ = from._impl_.invariable_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusAddAndGetVariableRequest::CopyFrom(const TusAddAndGetVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusAddAndGetVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusAddAndGetVariableRequest::InternalSwap(TusAddAndGetVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_)
|
|
+ sizeof(TusAddAndGetVariableRequest::_impl_.slotid_)
|
|
- PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_)>(
|
|
reinterpret_cast<char*>(&_impl_.user_),
|
|
reinterpret_cast<char*>(&other->_impl_.user_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusTryAndSetVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusTryAndSetVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusTryAndSetVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusTryAndSetVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusTryAndSetVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusTryAndSetVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
islastchangeddate_{visibility, arena, from.islastchangeddate_},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
comparevalue_{visibility, arena, from.comparevalue_},
|
|
_comparevalue_cached_byte_size_{0},
|
|
islastchangedauthorid_(arena, from.islastchangedauthorid_) {}
|
|
|
|
TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusTryAndSetVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusTryAndSetVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusTryAndSetVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000008U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, slotid_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, slotid_),
|
|
offsetof(Impl_, variable_) -
|
|
offsetof(Impl_, slotid_) +
|
|
sizeof(Impl_::variable_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusTryAndSetVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusTryAndSetVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
islastchangeddate_{visibility, arena},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
comparevalue_{visibility, arena},
|
|
_comparevalue_cached_byte_size_{0},
|
|
islastchangedauthorid_(arena) {}
|
|
|
|
inline void TusTryAndSetVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, user_),
|
|
0,
|
|
offsetof(Impl_, variable_) -
|
|
offsetof(Impl_, user_) +
|
|
sizeof(Impl_::variable_));
|
|
}
|
|
TusTryAndSetVariableRequest::~TusTryAndSetVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusTryAndSetVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusTryAndSetVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusTryAndSetVariableRequest& this_ = static_cast<TusTryAndSetVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.islastchangedauthorid_.Destroy();
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusTryAndSetVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusTryAndSetVariableRequest(arena);
|
|
}
|
|
constexpr auto TusTryAndSetVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_) +
|
|
decltype(TusTryAndSetVariableRequest::_impl_.islastchangeddate_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_) +
|
|
decltype(TusTryAndSetVariableRequest::_impl_.comparevalue_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(TusTryAndSetVariableRequest), alignof(TusTryAndSetVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusTryAndSetVariableRequest::PlacementNew_,
|
|
sizeof(TusTryAndSetVariableRequest),
|
|
alignof(TusTryAndSetVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusTryAndSetVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<40>{
|
|
{
|
|
&_TusTryAndSetVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusTryAndSetVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusTryAndSetVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusTryAndSetVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusTryAndSetVariableRequest>(), &TusTryAndSetVariableRequest::ByteSizeLong,
|
|
&TusTryAndSetVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusTryAndSetVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<40> TusTryAndSetVariableRequest_class_data_ =
|
|
TusTryAndSetVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusTryAndSetVariableRequest::GetClassData() const {
|
|
return TusTryAndSetVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 7, 1, 69, 2>
|
|
TusTryAndSetVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
7, 56, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967168, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
7, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusTryAndSetVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusTryAndSetVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_)}},
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.slotid_)}},
|
|
// int32 opeType = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.opetype_)}},
|
|
// int64 variable = 4;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{32, 6, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_)}},
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{42, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_)}},
|
|
// string isLastChangedAuthorId = 6;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{50, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangedauthorid_)}},
|
|
// repeated int64 compareValue = 7;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{58, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// int32 opeType = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.opetype_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// int64 variable = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)},
|
|
// string isLastChangedAuthorId = 6;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// repeated int64 compareValue = 7;
|
|
{PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
"\47\0\0\0\0\0\25\0"
|
|
"np2_structs.TusTryAndSetVariableRequest"
|
|
"isLastChangedAuthorId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusTryAndSetVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusTryAndSetVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.islastchangeddate_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.comparevalue_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.islastchangedauthorid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) {
|
|
::memset(&_impl_.slotid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.variable_) -
|
|
reinterpret_cast<char*>(&_impl_.slotid_)) + sizeof(_impl_.variable_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusTryAndSetVariableRequest& this_ = static_cast<const TusTryAndSetVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusTryAndSetVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusTryAndSetVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
// int32 opeType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_opetype() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
|
stream, this_._internal_opetype(), target);
|
|
}
|
|
}
|
|
|
|
// int64 variable = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_variable() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
|
|
stream, this_._internal_variable(), target);
|
|
}
|
|
}
|
|
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteUInt64Packed(
|
|
5, this_._internal_islastchangeddate(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// string isLastChangedAuthorId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
const ::std::string& _s = this_._internal_islastchangedauthorid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId");
|
|
target = stream->WriteStringMaybeAliased(6, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated int64 compareValue = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
{
|
|
int byte_size = this_._impl_._comparevalue_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt64Packed(
|
|
7, this_._internal_comparevalue(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusTryAndSetVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusTryAndSetVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusTryAndSetVariableRequest& this_ = static_cast<const TusTryAndSetVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusTryAndSetVariableRequest::ByteSizeLong() const {
|
|
const TusTryAndSetVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusTryAndSetVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize(
|
|
this_._internal_islastchangeddate(), 1,
|
|
this_._impl_._islastchangeddate_cached_byte_size_);
|
|
}
|
|
// repeated int64 compareValue = 7;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
|
|
this_._internal_comparevalue(), 1,
|
|
this_._impl_._comparevalue_cached_byte_size_);
|
|
}
|
|
// string isLastChangedAuthorId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_islastchangedauthorid());
|
|
}
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
// int32 opeType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_opetype() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_opetype());
|
|
}
|
|
}
|
|
// int64 variable = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (this_._internal_variable() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this_._internal_variable());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusTryAndSetVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusTryAndSetVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusTryAndSetVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusTryAndSetVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_comparevalue()->MergeFrom(from._internal_comparevalue());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_islastchangedauthorid().empty()) {
|
|
_this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid());
|
|
} else {
|
|
if (_this->_impl_.islastchangedauthorid_.IsDefault()) {
|
|
_this->_internal_set_islastchangedauthorid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_opetype() != 0) {
|
|
_this->_impl_.opetype_ = from._impl_.opetype_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000040U)) {
|
|
if (from._internal_variable() != 0) {
|
|
_this->_impl_.variable_ = from._impl_.variable_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusTryAndSetVariableRequest::CopyFrom(const TusTryAndSetVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusTryAndSetVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusTryAndSetVariableRequest::InternalSwap(TusTryAndSetVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_);
|
|
_impl_.comparevalue_.InternalSwap(&other->_impl_.comparevalue_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_)
|
|
+ sizeof(TusTryAndSetVariableRequest::_impl_.variable_)
|
|
- PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_)>(
|
|
reinterpret_cast<char*>(&_impl_.user_),
|
|
reinterpret_cast<char*>(&other->_impl_.user_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusDeleteMultiSlotVariableRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusDeleteMultiSlotVariableRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusDeleteMultiSlotVariableRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
slotidarray_{visibility, arena, from.slotidarray_},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusDeleteMultiSlotVariableRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotVariableRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusDeleteMultiSlotVariableRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotVariableRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
slotidarray_{visibility, arena},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
inline void TusDeleteMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.user_ = {};
|
|
}
|
|
TusDeleteMultiSlotVariableRequest::~TusDeleteMultiSlotVariableRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusDeleteMultiSlotVariableRequest::SharedDtor(MessageLite& self) {
|
|
TusDeleteMultiSlotVariableRequest& this_ = static_cast<TusDeleteMultiSlotVariableRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusDeleteMultiSlotVariableRequest(arena);
|
|
}
|
|
constexpr auto TusDeleteMultiSlotVariableRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_) +
|
|
decltype(TusDeleteMultiSlotVariableRequest::_impl_.slotidarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusDeleteMultiSlotVariableRequest), alignof(TusDeleteMultiSlotVariableRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusDeleteMultiSlotVariableRequest::PlacementNew_,
|
|
sizeof(TusDeleteMultiSlotVariableRequest),
|
|
alignof(TusDeleteMultiSlotVariableRequest));
|
|
}
|
|
}
|
|
constexpr auto TusDeleteMultiSlotVariableRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<46>{
|
|
{
|
|
&_TusDeleteMultiSlotVariableRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusDeleteMultiSlotVariableRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusDeleteMultiSlotVariableRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusDeleteMultiSlotVariableRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusDeleteMultiSlotVariableRequest>(), &TusDeleteMultiSlotVariableRequest::ByteSizeLong,
|
|
&TusDeleteMultiSlotVariableRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusDeleteMultiSlotVariableRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<46> TusDeleteMultiSlotVariableRequest_class_data_ =
|
|
TusDeleteMultiSlotVariableRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusDeleteMultiSlotVariableRequest::GetClassData() const {
|
|
return TusDeleteMultiSlotVariableRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusDeleteMultiSlotVariableRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusDeleteMultiSlotVariableRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusDeleteMultiSlotVariableRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated int32 slotIdArray = 2;
|
|
{::_pbi::TcParser::FastV32P1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_)}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.user_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated int32 slotIdArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusDeleteMultiSlotVariableRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.slotidarray_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusDeleteMultiSlotVariableRequest& this_ = static_cast<const TusDeleteMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusDeleteMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt32Packed(
|
|
2, this_._internal_slotidarray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusDeleteMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusDeleteMultiSlotVariableRequest& this_ = static_cast<const TusDeleteMultiSlotVariableRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusDeleteMultiSlotVariableRequest::ByteSizeLong() const {
|
|
const TusDeleteMultiSlotVariableRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
|
|
this_._internal_slotidarray(), 1,
|
|
this_._impl_._slotidarray_cached_byte_size_);
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusDeleteMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusDeleteMultiSlotVariableRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusDeleteMultiSlotVariableRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusDeleteMultiSlotVariableRequest::CopyFrom(const TusDeleteMultiSlotVariableRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDeleteMultiSlotVariableRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusDeleteMultiSlotVariableRequest::InternalSwap(TusDeleteMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_);
|
|
swap(_impl_.user_, other->_impl_.user_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusSetDataRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusSetDataRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusSetDataRequest::TusSetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusSetDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusSetDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusSetDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusSetDataRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
islastchangeddate_{visibility, arena, from.islastchangeddate_},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
data_(arena, from.data_),
|
|
info_(arena, from.info_),
|
|
islastchangedauthorid_(arena, from.islastchangedauthorid_) {}
|
|
|
|
TusSetDataRequest::TusSetDataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusSetDataRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusSetDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusSetDataRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000010U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
_impl_.slotid_ = from._impl_.slotid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusSetDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusSetDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
islastchangeddate_{visibility, arena},
|
|
_islastchangeddate_cached_byte_size_{0},
|
|
data_(arena),
|
|
info_(arena),
|
|
islastchangedauthorid_(arena) {}
|
|
|
|
inline void TusSetDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, user_),
|
|
0,
|
|
offsetof(Impl_, slotid_) -
|
|
offsetof(Impl_, user_) +
|
|
sizeof(Impl_::slotid_));
|
|
}
|
|
TusSetDataRequest::~TusSetDataRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusSetDataRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusSetDataRequest::SharedDtor(MessageLite& self) {
|
|
TusSetDataRequest& this_ = static_cast<TusSetDataRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.info_.Destroy();
|
|
this_._impl_.islastchangedauthorid_.Destroy();
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusSetDataRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusSetDataRequest(arena);
|
|
}
|
|
constexpr auto TusSetDataRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_) +
|
|
decltype(TusSetDataRequest::_impl_.islastchangeddate_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(TusSetDataRequest), alignof(TusSetDataRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusSetDataRequest::PlacementNew_,
|
|
sizeof(TusSetDataRequest),
|
|
alignof(TusSetDataRequest));
|
|
}
|
|
}
|
|
constexpr auto TusSetDataRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<30>{
|
|
{
|
|
&_TusSetDataRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusSetDataRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusSetDataRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusSetDataRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusSetDataRequest>(), &TusSetDataRequest::ByteSizeLong,
|
|
&TusSetDataRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusSetDataRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<30> TusSetDataRequest_class_data_ =
|
|
TusSetDataRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusSetDataRequest::GetClassData() const {
|
|
return TusSetDataRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 6, 1, 59, 2>
|
|
TusSetDataRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusSetDataRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusSetDataRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_)}},
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 5, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_)}},
|
|
// bytes data = 3;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{26, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.data_)}},
|
|
// bytes info = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.info_)}},
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
{::_pbi::TcParser::FastV64P1,
|
|
{42, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_)}},
|
|
// string isLastChangedAuthorId = 6;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{50, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangedauthorid_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// bytes data = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// bytes info = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)},
|
|
// string isLastChangedAuthorId = 6;
|
|
{PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
"\35\0\0\0\0\0\25\0"
|
|
"np2_structs.TusSetDataRequest"
|
|
"isLastChangedAuthorId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusSetDataRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusSetDataRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.islastchangeddate_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.info_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
_impl_.islastchangedauthorid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_.slotid_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusSetDataRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusSetDataRequest& this_ = static_cast<const TusSetDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusSetDataRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusSetDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusSetDataRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
// bytes data = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes info = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_info().empty()) {
|
|
const ::std::string& _s = this_._internal_info();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteUInt64Packed(
|
|
5, this_._internal_islastchangeddate(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
// string isLastChangedAuthorId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
const ::std::string& _s = this_._internal_islastchangedauthorid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusSetDataRequest.isLastChangedAuthorId");
|
|
target = stream->WriteStringMaybeAliased(6, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusSetDataRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusSetDataRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusSetDataRequest& this_ = static_cast<const TusSetDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusSetDataRequest::ByteSizeLong() const {
|
|
const TusSetDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusSetDataRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
// repeated uint64 isLastChangedDate = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize(
|
|
this_._internal_islastchangeddate(), 1,
|
|
this_._impl_._islastchangeddate_cached_byte_size_);
|
|
}
|
|
// bytes data = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// bytes info = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_info().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_info());
|
|
}
|
|
}
|
|
// string isLastChangedAuthorId = 6;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_islastchangedauthorid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_islastchangedauthorid());
|
|
}
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusSetDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusSetDataRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusSetDataRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusSetDataRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_info().empty()) {
|
|
_this->_internal_set_info(from._internal_info());
|
|
} else {
|
|
if (_this->_impl_.info_.IsDefault()) {
|
|
_this->_internal_set_info("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!from._internal_islastchangedauthorid().empty()) {
|
|
_this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid());
|
|
} else {
|
|
if (_this->_impl_.islastchangedauthorid_.IsDefault()) {
|
|
_this->_internal_set_islastchangedauthorid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000020U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusSetDataRequest::CopyFrom(const TusSetDataRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusSetDataRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusSetDataRequest::InternalSwap(TusSetDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.info_, &other->_impl_.info_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_)
|
|
+ sizeof(TusSetDataRequest::_impl_.slotid_)
|
|
- PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_)>(
|
|
reinterpret_cast<char*>(&_impl_.user_),
|
|
reinterpret_cast<char*>(&other->_impl_.user_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusDataStatus::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusDataStatus>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._has_bits_);
|
|
};
|
|
|
|
TusDataStatus::TusDataStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDataStatus_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusDataStatus)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDataStatus::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusDataStatus& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
ownerid_(arena, from.ownerid_),
|
|
lastchangedauthorid_(arena, from.lastchangedauthorid_),
|
|
info_(arena, from.info_) {}
|
|
|
|
TusDataStatus::TusDataStatus(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusDataStatus& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDataStatus_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusDataStatus* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
offsetof(Impl_, hasdata_) -
|
|
offsetof(Impl_, lastchangeddate_) +
|
|
sizeof(Impl_::hasdata_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusDataStatus)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDataStatus::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
ownerid_(arena),
|
|
lastchangedauthorid_(arena),
|
|
info_(arena) {}
|
|
|
|
inline void TusDataStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, lastchangeddate_),
|
|
0,
|
|
offsetof(Impl_, hasdata_) -
|
|
offsetof(Impl_, lastchangeddate_) +
|
|
sizeof(Impl_::hasdata_));
|
|
}
|
|
TusDataStatus::~TusDataStatus() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusDataStatus)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusDataStatus::SharedDtor(MessageLite& self) {
|
|
TusDataStatus& this_ = static_cast<TusDataStatus&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.ownerid_.Destroy();
|
|
this_._impl_.lastchangedauthorid_.Destroy();
|
|
this_._impl_.info_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusDataStatus::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusDataStatus(arena);
|
|
}
|
|
constexpr auto TusDataStatus::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusDataStatus),
|
|
alignof(TusDataStatus));
|
|
}
|
|
constexpr auto TusDataStatus::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<26>{
|
|
{
|
|
&_TusDataStatus_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusDataStatus::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusDataStatus>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusDataStatus::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusDataStatus>(), &TusDataStatus::ByteSizeLong,
|
|
&TusDataStatus::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusDataStatus",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<26> TusDataStatus_class_data_ =
|
|
TusDataStatus::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusDataStatus::GetClassData() const {
|
|
return TusDataStatus_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 0, 60, 2>
|
|
TusDataStatus::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._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
|
|
TusDataStatus_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// string ownerId = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.ownerid_)}},
|
|
// bool hasData = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_)}},
|
|
// uint64 lastChangedDate = 3;
|
|
{::_pbi::TcParser::FastV64S1,
|
|
{24, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_)}},
|
|
// string lastChangedAuthorId = 4;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{34, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangedauthorid_)}},
|
|
// bytes info = 5;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{42, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.info_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string ownerId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.ownerid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bool hasData = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// uint64 lastChangedDate = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
|
|
// string lastChangedAuthorId = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bytes info = 5;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\31\7\0\0\23\0\0\0"
|
|
"np2_structs.TusDataStatus"
|
|
"ownerId"
|
|
"lastChangedAuthorId"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusDataStatus::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusDataStatus)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.ownerid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.lastchangedauthorid_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.info_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
|
|
::memset(&_impl_.lastchangeddate_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.hasdata_) -
|
|
reinterpret_cast<char*>(&_impl_.lastchangeddate_)) + sizeof(_impl_.hasdata_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusDataStatus::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusDataStatus& this_ = static_cast<const TusDataStatus&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusDataStatus::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusDataStatus& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDataStatus)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string ownerId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ownerid().empty()) {
|
|
const ::std::string& _s = this_._internal_ownerid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusDataStatus.ownerId");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// bool hasData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_hasdata() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_hasdata(), target);
|
|
}
|
|
}
|
|
|
|
// uint64 lastChangedDate = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_lastchangeddate() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
3, this_._internal_lastchangeddate(), target);
|
|
}
|
|
}
|
|
|
|
// string lastChangedAuthorId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_lastchangedauthorid().empty()) {
|
|
const ::std::string& _s = this_._internal_lastchangedauthorid();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusDataStatus.lastChangedAuthorId");
|
|
target = stream->WriteStringMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes info = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_info().empty()) {
|
|
const ::std::string& _s = this_._internal_info();
|
|
target = stream->WriteBytesMaybeAliased(5, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDataStatus)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusDataStatus::ByteSizeLong(const MessageLite& base) {
|
|
const TusDataStatus& this_ = static_cast<const TusDataStatus&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusDataStatus::ByteSizeLong() const {
|
|
const TusDataStatus& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDataStatus)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// string ownerId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_ownerid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_ownerid());
|
|
}
|
|
}
|
|
// string lastChangedAuthorId = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_lastchangedauthorid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_lastchangedauthorid());
|
|
}
|
|
}
|
|
// bytes info = 5;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_info().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_info());
|
|
}
|
|
}
|
|
// uint64 lastChangedDate = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_lastchangeddate() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this_._internal_lastchangeddate());
|
|
}
|
|
}
|
|
// bool hasData = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_hasdata() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusDataStatus::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusDataStatus*>(&to_msg);
|
|
auto& from = static_cast<const TusDataStatus&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDataStatus)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_ownerid().empty()) {
|
|
_this->_internal_set_ownerid(from._internal_ownerid());
|
|
} else {
|
|
if (_this->_impl_.ownerid_.IsDefault()) {
|
|
_this->_internal_set_ownerid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_lastchangedauthorid().empty()) {
|
|
_this->_internal_set_lastchangedauthorid(from._internal_lastchangedauthorid());
|
|
} else {
|
|
if (_this->_impl_.lastchangedauthorid_.IsDefault()) {
|
|
_this->_internal_set_lastchangedauthorid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_info().empty()) {
|
|
_this->_internal_set_info(from._internal_info());
|
|
} else {
|
|
if (_this->_impl_.info_.IsDefault()) {
|
|
_this->_internal_set_info("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_lastchangeddate() != 0) {
|
|
_this->_impl_.lastchangeddate_ = from._impl_.lastchangeddate_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_hasdata() != 0) {
|
|
_this->_impl_.hasdata_ = from._impl_.hasdata_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusDataStatus::CopyFrom(const TusDataStatus& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDataStatus)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusDataStatus::InternalSwap(TusDataStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ownerid_, &other->_impl_.ownerid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lastchangedauthorid_, &other->_impl_.lastchangedauthorid_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.info_, &other->_impl_.info_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_)
|
|
+ sizeof(TusDataStatus::_impl_.hasdata_)
|
|
- PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_)>(
|
|
reinterpret_cast<char*>(&_impl_.lastchangeddate_),
|
|
reinterpret_cast<char*>(&other->_impl_.lastchangeddate_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusData::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusData>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusData, _impl_._has_bits_);
|
|
};
|
|
|
|
TusData::TusData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusData& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
data_(arena, from.data_) {}
|
|
|
|
TusData::TusData(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusData& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusData_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusData* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.status_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusData)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusData::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
data_(arena) {}
|
|
|
|
inline void TusData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.status_ = {};
|
|
}
|
|
TusData::~TusData() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusData)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusData::SharedDtor(MessageLite& self) {
|
|
TusData& this_ = static_cast<TusData&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
delete this_._impl_.status_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusData::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusData(arena);
|
|
}
|
|
constexpr auto TusData::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusData),
|
|
alignof(TusData));
|
|
}
|
|
constexpr auto TusData::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<20>{
|
|
{
|
|
&_TusData_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusData::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusData>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusData::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusData>(), &TusData::ByteSizeLong,
|
|
&TusData::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusData, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusData",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<20> TusData_class_data_ =
|
|
TusData::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusData::GetClassData() const {
|
|
return TusData_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusData::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusData, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusData_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusData>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 2;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusData, _impl_.data_)}},
|
|
// .np2_structs.TusDataStatus status = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusData, _impl_.status_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusDataStatus status = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusData, _impl_.status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bytes data = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusData, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusData::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusData)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.status_ != nullptr);
|
|
_impl_.status_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusData::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusData& this_ = static_cast<const TusData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusData::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusData)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusDataStatus status = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bytes data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusData)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusData::ByteSizeLong(const MessageLite& base) {
|
|
const TusData& this_ = static_cast<const TusData&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusData::ByteSizeLong() const {
|
|
const TusData& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusData)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// bytes data = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// .np2_structs.TusDataStatus status = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusData::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusData*>(&to_msg);
|
|
auto& from = static_cast<const TusData&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusData)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.status_ != nullptr);
|
|
if (_this->_impl_.status_ == nullptr) {
|
|
_this->_impl_.status_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.status_);
|
|
} else {
|
|
_this->_impl_.status_->MergeFrom(*from._impl_.status_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusData::CopyFrom(const TusData& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusData)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusData::InternalSwap(TusData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
swap(_impl_.status_, other->_impl_.status_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusDataStatusResponse::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusDataStatusResponse>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._has_bits_);
|
|
};
|
|
|
|
TusDataStatusResponse::TusDataStatusResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDataStatusResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusDataStatusResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDataStatusResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusDataStatusResponse& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
status_{visibility, arena, from.status_} {}
|
|
|
|
TusDataStatusResponse::TusDataStatusResponse(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusDataStatusResponse& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDataStatusResponse_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusDataStatusResponse* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusDataStatusResponse)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDataStatusResponse::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
status_{visibility, arena} {}
|
|
|
|
inline void TusDataStatusResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
TusDataStatusResponse::~TusDataStatusResponse() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusDataStatusResponse)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusDataStatusResponse::SharedDtor(MessageLite& self) {
|
|
TusDataStatusResponse& this_ = static_cast<TusDataStatusResponse&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusDataStatusResponse::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusDataStatusResponse(arena);
|
|
}
|
|
constexpr auto TusDataStatusResponse::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_) +
|
|
decltype(TusDataStatusResponse::_impl_.status_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusDataStatusResponse), alignof(TusDataStatusResponse), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusDataStatusResponse::PlacementNew_,
|
|
sizeof(TusDataStatusResponse),
|
|
alignof(TusDataStatusResponse));
|
|
}
|
|
}
|
|
constexpr auto TusDataStatusResponse::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<34>{
|
|
{
|
|
&_TusDataStatusResponse_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusDataStatusResponse::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusDataStatusResponse>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusDataStatusResponse::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusDataStatusResponse>(), &TusDataStatusResponse::ByteSizeLong,
|
|
&TusDataStatusResponse::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusDataStatusResponse",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<34> TusDataStatusResponse_class_data_ =
|
|
TusDataStatusResponse::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusDataStatusResponse::GetClassData() const {
|
|
return TusDataStatusResponse_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
|
|
TusDataStatusResponse::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusDataStatusResponse_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusDataStatusResponse>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.TusDataStatus status = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.TusDataStatus status = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusDataStatusResponse::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusDataStatusResponse)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.status_.Clear();
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusDataStatusResponse::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusDataStatusResponse& this_ = static_cast<const TusDataStatusResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusDataStatusResponse::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusDataStatusResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDataStatusResponse)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.TusDataStatus status = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_status_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_status().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDataStatusResponse)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusDataStatusResponse::ByteSizeLong(const MessageLite& base) {
|
|
const TusDataStatusResponse& this_ = static_cast<const TusDataStatusResponse&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusDataStatusResponse::ByteSizeLong() const {
|
|
const TusDataStatusResponse& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDataStatusResponse)
|
|
::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(&this_);
|
|
{
|
|
// repeated .np2_structs.TusDataStatus status = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_status_size();
|
|
for (const auto& msg : this_._internal_status()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusDataStatusResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusDataStatusResponse*>(&to_msg);
|
|
auto& from = static_cast<const TusDataStatusResponse&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDataStatusResponse)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_status()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_status());
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusDataStatusResponse::CopyFrom(const TusDataStatusResponse& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDataStatusResponse)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusDataStatusResponse::InternalSwap(TusDataStatusResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.status_.InternalSwap(&other->_impl_.status_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetDataRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetDataRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetDataRequest::TusGetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusGetDataRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
TusGetDataRequest::TusGetDataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusGetDataRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusGetDataRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
_impl_.slotid_ = from._impl_.slotid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusGetDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void TusGetDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, user_),
|
|
0,
|
|
offsetof(Impl_, slotid_) -
|
|
offsetof(Impl_, user_) +
|
|
sizeof(Impl_::slotid_));
|
|
}
|
|
TusGetDataRequest::~TusGetDataRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetDataRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetDataRequest::SharedDtor(MessageLite& self) {
|
|
TusGetDataRequest& this_ = static_cast<TusGetDataRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetDataRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetDataRequest(arena);
|
|
}
|
|
constexpr auto TusGetDataRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetDataRequest),
|
|
alignof(TusGetDataRequest));
|
|
}
|
|
constexpr auto TusGetDataRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<30>{
|
|
{
|
|
&_TusGetDataRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetDataRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetDataRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetDataRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetDataRequest>(), &TusGetDataRequest::ByteSizeLong,
|
|
&TusGetDataRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetDataRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<30> TusGetDataRequest_class_data_ =
|
|
TusGetDataRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetDataRequest::GetClassData() const {
|
|
return TusGetDataRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusGetDataRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusGetDataRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetDataRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_)}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetDataRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetDataRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
_impl_.slotid_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetDataRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetDataRequest& this_ = static_cast<const TusGetDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetDataRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetDataRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetDataRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetDataRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetDataRequest& this_ = static_cast<const TusGetDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetDataRequest::ByteSizeLong() const {
|
|
const TusGetDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetDataRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetDataRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetDataRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetDataRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetDataRequest::CopyFrom(const TusGetDataRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetDataRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetDataRequest::InternalSwap(TusGetDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_)
|
|
+ sizeof(TusGetDataRequest::_impl_.slotid_)
|
|
- PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_)>(
|
|
reinterpret_cast<char*>(&_impl_.user_),
|
|
reinterpret_cast<char*>(&other->_impl_.user_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetMultiSlotDataStatusRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetMultiSlotDataStatusRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiSlotDataStatusRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiSlotDataStatusRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusGetMultiSlotDataStatusRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
slotidarray_{visibility, arena, from.slotidarray_},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusGetMultiSlotDataStatusRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiSlotDataStatusRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusGetMultiSlotDataStatusRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiSlotDataStatusRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
slotidarray_{visibility, arena},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
inline void TusGetMultiSlotDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.user_ = {};
|
|
}
|
|
TusGetMultiSlotDataStatusRequest::~TusGetMultiSlotDataStatusRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetMultiSlotDataStatusRequest::SharedDtor(MessageLite& self) {
|
|
TusGetMultiSlotDataStatusRequest& this_ = static_cast<TusGetMultiSlotDataStatusRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetMultiSlotDataStatusRequest(arena);
|
|
}
|
|
constexpr auto TusGetMultiSlotDataStatusRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_) +
|
|
decltype(TusGetMultiSlotDataStatusRequest::_impl_.slotidarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusGetMultiSlotDataStatusRequest), alignof(TusGetMultiSlotDataStatusRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusGetMultiSlotDataStatusRequest::PlacementNew_,
|
|
sizeof(TusGetMultiSlotDataStatusRequest),
|
|
alignof(TusGetMultiSlotDataStatusRequest));
|
|
}
|
|
}
|
|
constexpr auto TusGetMultiSlotDataStatusRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<45>{
|
|
{
|
|
&_TusGetMultiSlotDataStatusRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetMultiSlotDataStatusRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetMultiSlotDataStatusRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetMultiSlotDataStatusRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetMultiSlotDataStatusRequest>(), &TusGetMultiSlotDataStatusRequest::ByteSizeLong,
|
|
&TusGetMultiSlotDataStatusRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetMultiSlotDataStatusRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiSlotDataStatusRequest_class_data_ =
|
|
TusGetMultiSlotDataStatusRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetMultiSlotDataStatusRequest::GetClassData() const {
|
|
return TusGetMultiSlotDataStatusRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusGetMultiSlotDataStatusRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusGetMultiSlotDataStatusRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiSlotDataStatusRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated int32 slotIdArray = 2;
|
|
{::_pbi::TcParser::FastV32P1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_)}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.user_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated int32 slotIdArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetMultiSlotDataStatusRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.slotidarray_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetMultiSlotDataStatusRequest& this_ = static_cast<const TusGetMultiSlotDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetMultiSlotDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt32Packed(
|
|
2, this_._internal_slotidarray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetMultiSlotDataStatusRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetMultiSlotDataStatusRequest& this_ = static_cast<const TusGetMultiSlotDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetMultiSlotDataStatusRequest::ByteSizeLong() const {
|
|
const TusGetMultiSlotDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
|
|
this_._internal_slotidarray(), 1,
|
|
this_._impl_._slotidarray_cached_byte_size_);
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetMultiSlotDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetMultiSlotDataStatusRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetMultiSlotDataStatusRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetMultiSlotDataStatusRequest::CopyFrom(const TusGetMultiSlotDataStatusRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiSlotDataStatusRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetMultiSlotDataStatusRequest::InternalSwap(TusGetMultiSlotDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_);
|
|
swap(_impl_.user_, other->_impl_.user_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetMultiUserDataStatusRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetMultiUserDataStatusRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiUserDataStatusRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiUserDataStatusRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusGetMultiUserDataStatusRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
users_{visibility, arena, from.users_} {}
|
|
|
|
TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusGetMultiUserDataStatusRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetMultiUserDataStatusRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusGetMultiUserDataStatusRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.slotid_ = from._impl_.slotid_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetMultiUserDataStatusRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
users_{visibility, arena} {}
|
|
|
|
inline void TusGetMultiUserDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.slotid_ = {};
|
|
}
|
|
TusGetMultiUserDataStatusRequest::~TusGetMultiUserDataStatusRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetMultiUserDataStatusRequest::SharedDtor(MessageLite& self) {
|
|
TusGetMultiUserDataStatusRequest& this_ = static_cast<TusGetMultiUserDataStatusRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetMultiUserDataStatusRequest(arena);
|
|
}
|
|
constexpr auto TusGetMultiUserDataStatusRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_) +
|
|
decltype(TusGetMultiUserDataStatusRequest::_impl_.users_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusGetMultiUserDataStatusRequest), alignof(TusGetMultiUserDataStatusRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusGetMultiUserDataStatusRequest::PlacementNew_,
|
|
sizeof(TusGetMultiUserDataStatusRequest),
|
|
alignof(TusGetMultiUserDataStatusRequest));
|
|
}
|
|
}
|
|
constexpr auto TusGetMultiUserDataStatusRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<45>{
|
|
{
|
|
&_TusGetMultiUserDataStatusRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetMultiUserDataStatusRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetMultiUserDataStatusRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetMultiUserDataStatusRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetMultiUserDataStatusRequest>(), &TusGetMultiUserDataStatusRequest::ByteSizeLong,
|
|
&TusGetMultiUserDataStatusRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetMultiUserDataStatusRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiUserDataStatusRequest_class_data_ =
|
|
TusGetMultiUserDataStatusRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetMultiUserDataStatusRequest::GetClassData() const {
|
|
return TusGetMultiUserDataStatusRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusGetMultiUserDataStatusRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusGetMultiUserDataStatusRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiUserDataStatusRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// int32 slotId = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.slotid_)}},
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// int32 slotId = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetMultiUserDataStatusRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.users_.Clear();
|
|
}
|
|
_impl_.slotid_ = 0;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetMultiUserDataStatusRequest& this_ = static_cast<const TusGetMultiUserDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetMultiUserDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_users_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_users().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetMultiUserDataStatusRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetMultiUserDataStatusRequest& this_ = static_cast<const TusGetMultiUserDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetMultiUserDataStatusRequest::ByteSizeLong() const {
|
|
const TusGetMultiUserDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.TusUser users = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_users_size();
|
|
for (const auto& msg : this_._internal_users()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// int32 slotId = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetMultiUserDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetMultiUserDataStatusRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetMultiUserDataStatusRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_users()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_users());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetMultiUserDataStatusRequest::CopyFrom(const TusGetMultiUserDataStatusRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiUserDataStatusRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetMultiUserDataStatusRequest::InternalSwap(TusGetMultiUserDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.users_.InternalSwap(&other->_impl_.users_);
|
|
swap(_impl_.slotid_, other->_impl_.slotid_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusGetFriendsDataStatusRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusGetFriendsDataStatusRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetFriendsDataStatusRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusGetFriendsDataStatusRequest)
|
|
}
|
|
TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsDataStatusRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusGetFriendsDataStatusRequest_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusGetFriendsDataStatusRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void TusGetFriendsDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, slotid_),
|
|
0,
|
|
offsetof(Impl_, arraynum_) -
|
|
offsetof(Impl_, slotid_) +
|
|
sizeof(Impl_::arraynum_));
|
|
}
|
|
TusGetFriendsDataStatusRequest::~TusGetFriendsDataStatusRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusGetFriendsDataStatusRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusGetFriendsDataStatusRequest::SharedDtor(MessageLite& self) {
|
|
TusGetFriendsDataStatusRequest& this_ = static_cast<TusGetFriendsDataStatusRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusGetFriendsDataStatusRequest(arena);
|
|
}
|
|
constexpr auto TusGetFriendsDataStatusRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetFriendsDataStatusRequest),
|
|
alignof(TusGetFriendsDataStatusRequest));
|
|
}
|
|
constexpr auto TusGetFriendsDataStatusRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<43>{
|
|
{
|
|
&_TusGetFriendsDataStatusRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusGetFriendsDataStatusRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusGetFriendsDataStatusRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusGetFriendsDataStatusRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusGetFriendsDataStatusRequest>(), &TusGetFriendsDataStatusRequest::ByteSizeLong,
|
|
&TusGetFriendsDataStatusRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusGetFriendsDataStatusRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<43> TusGetFriendsDataStatusRequest_class_data_ =
|
|
TusGetFriendsDataStatusRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusGetFriendsDataStatusRequest::GetClassData() const {
|
|
return TusGetFriendsDataStatusRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
|
|
TusGetFriendsDataStatusRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
TusGetFriendsDataStatusRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusGetFriendsDataStatusRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 arrayNum = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_)}},
|
|
// int32 slotId = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_)}},
|
|
// bool includeSelf = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.includeself_)}},
|
|
// int32 sortType = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.sorttype_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// int32 slotId = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// bool includeSelf = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.includeself_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// int32 sortType = 3;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.sorttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
|
|
// uint32 arrayNum = 4;
|
|
{PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusGetFriendsDataStatusRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetFriendsDataStatusRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
::memset(&_impl_.slotid_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.arraynum_) -
|
|
reinterpret_cast<char*>(&_impl_.slotid_)) + sizeof(_impl_.arraynum_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusGetFriendsDataStatusRequest& this_ = static_cast<const TusGetFriendsDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusGetFriendsDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetFriendsDataStatusRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// int32 slotId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
|
|
stream, this_._internal_slotid(), target);
|
|
}
|
|
}
|
|
|
|
// bool includeSelf = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_includeself() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_includeself(), target);
|
|
}
|
|
}
|
|
|
|
// int32 sortType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sorttype() != 0) {
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
|
|
stream, this_._internal_sorttype(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 arrayNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_arraynum() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_arraynum(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetFriendsDataStatusRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusGetFriendsDataStatusRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusGetFriendsDataStatusRequest& this_ = static_cast<const TusGetFriendsDataStatusRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusGetFriendsDataStatusRequest::ByteSizeLong() const {
|
|
const TusGetFriendsDataStatusRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetFriendsDataStatusRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// int32 slotId = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_slotid() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_slotid());
|
|
}
|
|
}
|
|
// bool includeSelf = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_includeself() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// int32 sortType = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_sorttype() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this_._internal_sorttype());
|
|
}
|
|
}
|
|
// uint32 arrayNum = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_arraynum() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_arraynum());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusGetFriendsDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusGetFriendsDataStatusRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusGetFriendsDataStatusRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetFriendsDataStatusRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_slotid() != 0) {
|
|
_this->_impl_.slotid_ = from._impl_.slotid_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_includeself() != 0) {
|
|
_this->_impl_.includeself_ = from._impl_.includeself_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_sorttype() != 0) {
|
|
_this->_impl_.sorttype_ = from._impl_.sorttype_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_arraynum() != 0) {
|
|
_this->_impl_.arraynum_ = from._impl_.arraynum_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusGetFriendsDataStatusRequest::CopyFrom(const TusGetFriendsDataStatusRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetFriendsDataStatusRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusGetFriendsDataStatusRequest::InternalSwap(TusGetFriendsDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_)
|
|
+ sizeof(TusGetFriendsDataStatusRequest::_impl_.arraynum_)
|
|
- PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_)>(
|
|
reinterpret_cast<char*>(&_impl_.slotid_),
|
|
reinterpret_cast<char*>(&other->_impl_.slotid_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class TusDeleteMultiSlotDataRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<TusDeleteMultiSlotDataRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::TusDeleteMultiSlotDataRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
slotidarray_{visibility, arena, from.slotidarray_},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const TusDeleteMultiSlotDataRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotDataRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
TusDeleteMultiSlotDataRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotDataRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
slotidarray_{visibility, arena},
|
|
_slotidarray_cached_byte_size_{0} {}
|
|
|
|
inline void TusDeleteMultiSlotDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.user_ = {};
|
|
}
|
|
TusDeleteMultiSlotDataRequest::~TusDeleteMultiSlotDataRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void TusDeleteMultiSlotDataRequest::SharedDtor(MessageLite& self) {
|
|
TusDeleteMultiSlotDataRequest& this_ = static_cast<TusDeleteMultiSlotDataRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.user_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) TusDeleteMultiSlotDataRequest(arena);
|
|
}
|
|
constexpr auto TusDeleteMultiSlotDataRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_) +
|
|
decltype(TusDeleteMultiSlotDataRequest::_impl_.slotidarray_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(TusDeleteMultiSlotDataRequest), alignof(TusDeleteMultiSlotDataRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&TusDeleteMultiSlotDataRequest::PlacementNew_,
|
|
sizeof(TusDeleteMultiSlotDataRequest),
|
|
alignof(TusDeleteMultiSlotDataRequest));
|
|
}
|
|
}
|
|
constexpr auto TusDeleteMultiSlotDataRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<42>{
|
|
{
|
|
&_TusDeleteMultiSlotDataRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&TusDeleteMultiSlotDataRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<TusDeleteMultiSlotDataRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&TusDeleteMultiSlotDataRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<TusDeleteMultiSlotDataRequest>(), &TusDeleteMultiSlotDataRequest::ByteSizeLong,
|
|
&TusDeleteMultiSlotDataRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.TusDeleteMultiSlotDataRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<42> TusDeleteMultiSlotDataRequest_class_data_ =
|
|
TusDeleteMultiSlotDataRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
TusDeleteMultiSlotDataRequest::GetClassData() const {
|
|
return TusDeleteMultiSlotDataRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
TusDeleteMultiSlotDataRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
TusDeleteMultiSlotDataRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::TusDeleteMultiSlotDataRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated int32 slotIdArray = 2;
|
|
{::_pbi::TcParser::FastV32P1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_)}},
|
|
// .np2_structs.TusUser user = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.user_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.TusUser user = 1;
|
|
{PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated int32 slotIdArray = 2;
|
|
{PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::TusUser>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void TusDeleteMultiSlotDataRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.slotidarray_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.user_ != nullptr);
|
|
_impl_.user_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const TusDeleteMultiSlotDataRequest& this_ = static_cast<const TusDeleteMultiSlotDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const TusDeleteMultiSlotDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
{
|
|
int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get();
|
|
if (byte_size > 0) {
|
|
target = stream->WriteInt32Packed(
|
|
2, this_._internal_slotidarray(), byte_size, target);
|
|
}
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t TusDeleteMultiSlotDataRequest::ByteSizeLong(const MessageLite& base) {
|
|
const TusDeleteMultiSlotDataRequest& this_ = static_cast<const TusDeleteMultiSlotDataRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t TusDeleteMultiSlotDataRequest::ByteSizeLong() const {
|
|
const TusDeleteMultiSlotDataRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated int32 slotIdArray = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size +=
|
|
::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
|
|
this_._internal_slotidarray(), 1,
|
|
this_._impl_._slotidarray_cached_byte_size_);
|
|
}
|
|
// .np2_structs.TusUser user = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void TusDeleteMultiSlotDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<TusDeleteMultiSlotDataRequest*>(&to_msg);
|
|
auto& from = static_cast<const TusDeleteMultiSlotDataRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.user_ != nullptr);
|
|
if (_this->_impl_.user_ == nullptr) {
|
|
_this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_);
|
|
} else {
|
|
_this->_impl_.user_->MergeFrom(*from._impl_.user_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void TusDeleteMultiSlotDataRequest::CopyFrom(const TusDeleteMultiSlotDataRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDeleteMultiSlotDataRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void TusDeleteMultiSlotDataRequest::InternalSwap(TusDeleteMultiSlotDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_);
|
|
swap(_impl_.user_, other->_impl_.user_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetPresenceRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetPresenceRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SetPresenceRequest::SetPresenceRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetPresenceRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetPresenceRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetPresenceRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetPresenceRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
title_(arena, from.title_),
|
|
status_(arena, from.status_),
|
|
comment_(arena, from.comment_),
|
|
data_(arena, from.data_) {}
|
|
|
|
SetPresenceRequest::SetPresenceRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetPresenceRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetPresenceRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetPresenceRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetPresenceRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetPresenceRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
title_(arena),
|
|
status_(arena),
|
|
comment_(arena),
|
|
data_(arena) {}
|
|
|
|
inline void SetPresenceRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
SetPresenceRequest::~SetPresenceRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetPresenceRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetPresenceRequest::SharedDtor(MessageLite& self) {
|
|
SetPresenceRequest& this_ = static_cast<SetPresenceRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.title_.Destroy();
|
|
this_._impl_.status_.Destroy();
|
|
this_._impl_.comment_.Destroy();
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetPresenceRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetPresenceRequest(arena);
|
|
}
|
|
constexpr auto SetPresenceRequest::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SetPresenceRequest),
|
|
alignof(SetPresenceRequest));
|
|
}
|
|
constexpr auto SetPresenceRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_SetPresenceRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetPresenceRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetPresenceRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetPresenceRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetPresenceRequest>(), &SetPresenceRequest::ByteSizeLong,
|
|
&SetPresenceRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetPresenceRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> SetPresenceRequest_class_data_ =
|
|
SetPresenceRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetPresenceRequest::GetClassData() const {
|
|
return SetPresenceRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 57, 2>
|
|
SetPresenceRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
SetPresenceRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetPresenceRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.data_)}},
|
|
// string title = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.title_)}},
|
|
// string status = 2;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{18, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.status_)}},
|
|
// string comment = 3;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{26, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.comment_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string title = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string status = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// string comment = 3;
|
|
{PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.comment_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bytes data = 4;
|
|
{PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\36\5\6\7\0\0\0\0"
|
|
"np2_structs.SetPresenceRequest"
|
|
"title"
|
|
"status"
|
|
"comment"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetPresenceRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetPresenceRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.title_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.status_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.comment_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetPresenceRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetPresenceRequest& this_ = static_cast<const SetPresenceRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetPresenceRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetPresenceRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetPresenceRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// string title = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_title().empty()) {
|
|
const ::std::string& _s = this_._internal_title();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.title");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// string status = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_status().empty()) {
|
|
const ::std::string& _s = this_._internal_status();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.status");
|
|
target = stream->WriteStringMaybeAliased(2, _s, target);
|
|
}
|
|
}
|
|
|
|
// string comment = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_comment().empty()) {
|
|
const ::std::string& _s = this_._internal_comment();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.comment");
|
|
target = stream->WriteStringMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes data = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetPresenceRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetPresenceRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SetPresenceRequest& this_ = static_cast<const SetPresenceRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetPresenceRequest::ByteSizeLong() const {
|
|
const SetPresenceRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetPresenceRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// string title = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_title().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_title());
|
|
}
|
|
}
|
|
// string status = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_status().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_status());
|
|
}
|
|
}
|
|
// string comment = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_comment().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_comment());
|
|
}
|
|
}
|
|
// bytes data = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetPresenceRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetPresenceRequest*>(&to_msg);
|
|
auto& from = static_cast<const SetPresenceRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetPresenceRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_title().empty()) {
|
|
_this->_internal_set_title(from._internal_title());
|
|
} else {
|
|
if (_this->_impl_.title_.IsDefault()) {
|
|
_this->_internal_set_title("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_status().empty()) {
|
|
_this->_internal_set_status(from._internal_status());
|
|
} else {
|
|
if (_this->_impl_.status_.IsDefault()) {
|
|
_this->_internal_set_status("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_comment().empty()) {
|
|
_this->_internal_set_comment(from._internal_comment());
|
|
} else {
|
|
if (_this->_impl_.comment_.IsDefault()) {
|
|
_this->_internal_set_comment("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetPresenceRequest::CopyFrom(const SetPresenceRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetPresenceRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetPresenceRequest::InternalSwap(SetPresenceRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_, &other->_impl_.status_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.comment_, &other->_impl_.comment_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingSearchCondition::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingSearchCondition>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingSearchCondition::MatchingSearchCondition(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSearchCondition_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSearchCondition)
|
|
}
|
|
MatchingSearchCondition::MatchingSearchCondition(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingSearchCondition& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSearchCondition_class_data_.base()),
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena),
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
_impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingSearchCondition::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void MatchingSearchCondition::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, attr_type_),
|
|
0,
|
|
offsetof(Impl_, comp_value_) -
|
|
offsetof(Impl_, attr_type_) +
|
|
sizeof(Impl_::comp_value_));
|
|
}
|
|
MatchingSearchCondition::~MatchingSearchCondition() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingSearchCondition)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingSearchCondition::SharedDtor(MessageLite& self) {
|
|
MatchingSearchCondition& this_ = static_cast<MatchingSearchCondition&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingSearchCondition::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingSearchCondition(arena);
|
|
}
|
|
constexpr auto MatchingSearchCondition::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MatchingSearchCondition),
|
|
alignof(MatchingSearchCondition));
|
|
}
|
|
constexpr auto MatchingSearchCondition::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<36>{
|
|
{
|
|
&_MatchingSearchCondition_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingSearchCondition::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingSearchCondition>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingSearchCondition::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingSearchCondition>(), &MatchingSearchCondition::ByteSizeLong,
|
|
&MatchingSearchCondition::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingSearchCondition",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<36> MatchingSearchCondition_class_data_ =
|
|
MatchingSearchCondition::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingSearchCondition::GetClassData() const {
|
|
return MatchingSearchCondition_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
|
|
MatchingSearchCondition::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
MatchingSearchCondition_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 comp_value = 4;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{32, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_)}},
|
|
// uint32 attr_type = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_)}},
|
|
// uint32 attr_id = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_id_)}},
|
|
// uint32 comp_op = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_op_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 attr_type = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 attr_id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 comp_op = 3;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_op_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 comp_value = 4;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingSearchCondition::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSearchCondition)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
::memset(&_impl_.attr_type_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.comp_value_) -
|
|
reinterpret_cast<char*>(&_impl_.attr_type_)) + sizeof(_impl_.comp_value_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSearchCondition::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingSearchCondition& this_ = static_cast<const MatchingSearchCondition&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSearchCondition::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingSearchCondition& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSearchCondition)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 attr_type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_attr_type() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_attr_type(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 attr_id = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_attr_id() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_attr_id(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 comp_op = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_comp_op() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_comp_op(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 comp_value = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_comp_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
4, this_._internal_comp_value(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSearchCondition)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingSearchCondition::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingSearchCondition& this_ = static_cast<const MatchingSearchCondition&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingSearchCondition::ByteSizeLong() const {
|
|
const MatchingSearchCondition& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSearchCondition)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// uint32 attr_type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (this_._internal_attr_type() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_attr_type());
|
|
}
|
|
}
|
|
// uint32 attr_id = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_attr_id() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_attr_id());
|
|
}
|
|
}
|
|
// uint32 comp_op = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_comp_op() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_comp_op());
|
|
}
|
|
}
|
|
// uint32 comp_value = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_comp_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_comp_value());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingSearchCondition::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingSearchCondition*>(&to_msg);
|
|
auto& from = static_cast<const MatchingSearchCondition&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSearchCondition)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (from._internal_attr_type() != 0) {
|
|
_this->_impl_.attr_type_ = from._impl_.attr_type_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_attr_id() != 0) {
|
|
_this->_impl_.attr_id_ = from._impl_.attr_id_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_comp_op() != 0) {
|
|
_this->_impl_.comp_op_ = from._impl_.comp_op_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_comp_value() != 0) {
|
|
_this->_impl_.comp_value_ = from._impl_.comp_value_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingSearchCondition::CopyFrom(const MatchingSearchCondition& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSearchCondition)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingSearchCondition::InternalSwap(MatchingSearchCondition* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_)
|
|
+ sizeof(MatchingSearchCondition::_impl_.comp_value_)
|
|
- PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_)>(
|
|
reinterpret_cast<char*>(&_impl_.attr_type_),
|
|
reinterpret_cast<char*>(&other->_impl_.attr_type_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingAttr::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingAttr>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingAttr::MatchingAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingAttr& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
data_(arena, from.data_) {}
|
|
|
|
MatchingAttr::MatchingAttr(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingAttr& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingAttr_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingAttr* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, attr_type_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, attr_type_),
|
|
offsetof(Impl_, num_) -
|
|
offsetof(Impl_, attr_type_) +
|
|
sizeof(Impl_::num_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingAttr)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingAttr::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
data_(arena) {}
|
|
|
|
inline void MatchingAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, attr_type_),
|
|
0,
|
|
offsetof(Impl_, num_) -
|
|
offsetof(Impl_, attr_type_) +
|
|
sizeof(Impl_::num_));
|
|
}
|
|
MatchingAttr::~MatchingAttr() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingAttr)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingAttr::SharedDtor(MessageLite& self) {
|
|
MatchingAttr& this_ = static_cast<MatchingAttr&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.data_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingAttr::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingAttr(arena);
|
|
}
|
|
constexpr auto MatchingAttr::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingAttr),
|
|
alignof(MatchingAttr));
|
|
}
|
|
constexpr auto MatchingAttr::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<25>{
|
|
{
|
|
&_MatchingAttr_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingAttr::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingAttr>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingAttr::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingAttr>(), &MatchingAttr::ByteSizeLong,
|
|
&MatchingAttr::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingAttr",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<25> MatchingAttr_class_data_ =
|
|
MatchingAttr::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingAttr::GetClassData() const {
|
|
return MatchingAttr_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
|
|
MatchingAttr::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
MatchingAttr_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes data = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.data_)}},
|
|
// uint32 attr_type = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_)}},
|
|
// uint32 attr_id = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_id_)}},
|
|
// uint32 num = 3;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{24, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 attr_type = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 attr_id = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 num = 3;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bytes data = 4;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingAttr::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingAttr)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.data_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
|
|
::memset(&_impl_.attr_type_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.num_) -
|
|
reinterpret_cast<char*>(&_impl_.attr_type_)) + sizeof(_impl_.num_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingAttr::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingAttr& this_ = static_cast<const MatchingAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingAttr::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingAttr)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 attr_type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_attr_type() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_attr_type(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 attr_id = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_attr_id() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_attr_id(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 num = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_num() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
3, this_._internal_num(), target);
|
|
}
|
|
}
|
|
|
|
// bytes data = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
const ::std::string& _s = this_._internal_data();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingAttr)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingAttr::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingAttr& this_ = static_cast<const MatchingAttr&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingAttr::ByteSizeLong() const {
|
|
const MatchingAttr& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingAttr)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// bytes data = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_data().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_data());
|
|
}
|
|
}
|
|
// uint32 attr_type = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_attr_type() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_attr_type());
|
|
}
|
|
}
|
|
// uint32 attr_id = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_attr_id() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_attr_id());
|
|
}
|
|
}
|
|
// uint32 num = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_num() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_num());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingAttr::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingAttr*>(&to_msg);
|
|
auto& from = static_cast<const MatchingAttr&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingAttr)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_data().empty()) {
|
|
_this->_internal_set_data(from._internal_data());
|
|
} else {
|
|
if (_this->_impl_.data_.IsDefault()) {
|
|
_this->_internal_set_data("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_attr_type() != 0) {
|
|
_this->_impl_.attr_type_ = from._impl_.attr_type_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_attr_id() != 0) {
|
|
_this->_impl_.attr_id_ = from._impl_.attr_id_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_num() != 0) {
|
|
_this->_impl_.num_ = from._impl_.num_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingAttr::CopyFrom(const MatchingAttr& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingAttr)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingAttr::InternalSwap(MatchingAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_)
|
|
+ sizeof(MatchingAttr::_impl_.num_)
|
|
- PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_)>(
|
|
reinterpret_cast<char*>(&_impl_.attr_type_),
|
|
reinterpret_cast<char*>(&other->_impl_.attr_type_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class CreateRoomGUIRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<CreateRoomGUIRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
CreateRoomGUIRequest::CreateRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, CreateRoomGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.CreateRoomGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE CreateRoomGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::CreateRoomGUIRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
game_attrs_{visibility, arena, from.game_attrs_} {}
|
|
|
|
CreateRoomGUIRequest::CreateRoomGUIRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const CreateRoomGUIRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, CreateRoomGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
CreateRoomGUIRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, total_slots_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, total_slots_),
|
|
offsetof(Impl_, stealth_) -
|
|
offsetof(Impl_, total_slots_) +
|
|
sizeof(Impl_::stealth_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.CreateRoomGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE CreateRoomGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
game_attrs_{visibility, arena} {}
|
|
|
|
inline void CreateRoomGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, total_slots_),
|
|
0,
|
|
offsetof(Impl_, stealth_) -
|
|
offsetof(Impl_, total_slots_) +
|
|
sizeof(Impl_::stealth_));
|
|
}
|
|
CreateRoomGUIRequest::~CreateRoomGUIRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.CreateRoomGUIRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void CreateRoomGUIRequest::SharedDtor(MessageLite& self) {
|
|
CreateRoomGUIRequest& this_ = static_cast<CreateRoomGUIRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL CreateRoomGUIRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) CreateRoomGUIRequest(arena);
|
|
}
|
|
constexpr auto CreateRoomGUIRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_) +
|
|
decltype(CreateRoomGUIRequest::_impl_.game_attrs_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(CreateRoomGUIRequest), alignof(CreateRoomGUIRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&CreateRoomGUIRequest::PlacementNew_,
|
|
sizeof(CreateRoomGUIRequest),
|
|
alignof(CreateRoomGUIRequest));
|
|
}
|
|
}
|
|
constexpr auto CreateRoomGUIRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<33>{
|
|
{
|
|
&_CreateRoomGUIRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&CreateRoomGUIRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<CreateRoomGUIRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&CreateRoomGUIRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<CreateRoomGUIRequest>(), &CreateRoomGUIRequest::ByteSizeLong,
|
|
&CreateRoomGUIRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.CreateRoomGUIRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<33> CreateRoomGUIRequest_class_data_ =
|
|
CreateRoomGUIRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
CreateRoomGUIRequest::GetClassData() const {
|
|
return CreateRoomGUIRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<3, 5, 1, 0, 2>
|
|
CreateRoomGUIRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
CreateRoomGUIRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::CreateRoomGUIRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 total_slots = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_)}},
|
|
// uint32 private_slots = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.private_slots_)}},
|
|
// bool privilege_grant = 3;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{24, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.privilege_grant_)}},
|
|
// bool stealth = 4;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{32, 4, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_)}},
|
|
// repeated .np2_structs.MatchingAttr game_attrs = 5;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{42, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_)}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 total_slots = 1;
|
|
{PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 private_slots = 2;
|
|
{PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.private_slots_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// bool privilege_grant = 3;
|
|
{PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.privilege_grant_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// bool stealth = 4;
|
|
{PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
// repeated .np2_structs.MatchingAttr game_attrs = 5;
|
|
{PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void CreateRoomGUIRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.CreateRoomGUIRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.game_attrs_.Clear();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001eU)) {
|
|
::memset(&_impl_.total_slots_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.stealth_) -
|
|
reinterpret_cast<char*>(&_impl_.total_slots_)) + sizeof(_impl_.stealth_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL CreateRoomGUIRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const CreateRoomGUIRequest& this_ = static_cast<const CreateRoomGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL CreateRoomGUIRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const CreateRoomGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.CreateRoomGUIRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 total_slots = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_total_slots() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_total_slots(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 private_slots = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_private_slots() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_private_slots(), target);
|
|
}
|
|
}
|
|
|
|
// bool privilege_grant = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_privilege_grant() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
3, this_._internal_privilege_grant(), target);
|
|
}
|
|
}
|
|
|
|
// bool stealth = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_stealth() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
4, this_._internal_stealth(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingAttr game_attrs = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_game_attrs_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_game_attrs().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
5, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.CreateRoomGUIRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t CreateRoomGUIRequest::ByteSizeLong(const MessageLite& base) {
|
|
const CreateRoomGUIRequest& this_ = static_cast<const CreateRoomGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t CreateRoomGUIRequest::ByteSizeLong() const {
|
|
const CreateRoomGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.CreateRoomGUIRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
// repeated .np2_structs.MatchingAttr game_attrs = 5;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_game_attrs_size();
|
|
for (const auto& msg : this_._internal_game_attrs()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 total_slots = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_total_slots() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_total_slots());
|
|
}
|
|
}
|
|
// uint32 private_slots = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_private_slots() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_private_slots());
|
|
}
|
|
}
|
|
// bool privilege_grant = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_privilege_grant() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
// bool stealth = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (this_._internal_stealth() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void CreateRoomGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<CreateRoomGUIRequest*>(&to_msg);
|
|
auto& from = static_cast<const CreateRoomGUIRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.CreateRoomGUIRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_game_attrs()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_game_attrs());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_total_slots() != 0) {
|
|
_this->_impl_.total_slots_ = from._impl_.total_slots_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_private_slots() != 0) {
|
|
_this->_impl_.private_slots_ = from._impl_.private_slots_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_privilege_grant() != 0) {
|
|
_this->_impl_.privilege_grant_ = from._impl_.privilege_grant_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000010U)) {
|
|
if (from._internal_stealth() != 0) {
|
|
_this->_impl_.stealth_ = from._impl_.stealth_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void CreateRoomGUIRequest::CopyFrom(const CreateRoomGUIRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.CreateRoomGUIRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void CreateRoomGUIRequest::InternalSwap(CreateRoomGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.game_attrs_.InternalSwap(&other->_impl_.game_attrs_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_)
|
|
+ sizeof(CreateRoomGUIRequest::_impl_.stealth_)
|
|
- PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_)>(
|
|
reinterpret_cast<char*>(&_impl_.total_slots_),
|
|
reinterpret_cast<char*>(&other->_impl_.total_slots_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GUIUserInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GUIUserInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
GUIUserInfo::GUIUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GUIUserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GUIUserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GUIUserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GUIUserInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0} {}
|
|
|
|
GUIUserInfo::GUIUserInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GUIUserInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GUIUserInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GUIUserInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.info_ = (CheckHasBit(cached_has_bits, 0x00000001U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.info_)
|
|
: nullptr;
|
|
_impl_.owner_ = from._impl_.owner_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GUIUserInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GUIUserInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0} {}
|
|
|
|
inline void GUIUserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, info_),
|
|
0,
|
|
offsetof(Impl_, owner_) -
|
|
offsetof(Impl_, info_) +
|
|
sizeof(Impl_::owner_));
|
|
}
|
|
GUIUserInfo::~GUIUserInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GUIUserInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GUIUserInfo::SharedDtor(MessageLite& self) {
|
|
GUIUserInfo& this_ = static_cast<GUIUserInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.info_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GUIUserInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GUIUserInfo(arena);
|
|
}
|
|
constexpr auto GUIUserInfo::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GUIUserInfo),
|
|
alignof(GUIUserInfo));
|
|
}
|
|
constexpr auto GUIUserInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<24>{
|
|
{
|
|
&_GUIUserInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GUIUserInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GUIUserInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GUIUserInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GUIUserInfo>(), &GUIUserInfo::ByteSizeLong,
|
|
&GUIUserInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GUIUserInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<24> GUIUserInfo_class_data_ =
|
|
GUIUserInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GUIUserInfo::GetClassData() const {
|
|
return GUIUserInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
GUIUserInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GUIUserInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GUIUserInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bool owner = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_)}},
|
|
// .np2_structs.UserInfo info = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.UserInfo info = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// bool owner = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GUIUserInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GUIUserInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(_impl_.info_ != nullptr);
|
|
_impl_.info_->Clear();
|
|
}
|
|
_impl_.owner_ = false;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GUIUserInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GUIUserInfo& this_ = static_cast<const GUIUserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GUIUserInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GUIUserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GUIUserInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.UserInfo info = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.info_, this_._impl_.info_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// bool owner = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_owner() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_owner(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GUIUserInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GUIUserInfo::ByteSizeLong(const MessageLite& base) {
|
|
const GUIUserInfo& this_ = static_cast<const GUIUserInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GUIUserInfo::ByteSizeLong() const {
|
|
const GUIUserInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GUIUserInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// .np2_structs.UserInfo info = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.info_);
|
|
}
|
|
// bool owner = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_owner() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GUIUserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GUIUserInfo*>(&to_msg);
|
|
auto& from = static_cast<const GUIUserInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GUIUserInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
ABSL_DCHECK(from._impl_.info_ != nullptr);
|
|
if (_this->_impl_.info_ == nullptr) {
|
|
_this->_impl_.info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.info_);
|
|
} else {
|
|
_this->_impl_.info_->MergeFrom(*from._impl_.info_);
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_owner() != 0) {
|
|
_this->_impl_.owner_ = from._impl_.owner_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GUIUserInfo::CopyFrom(const GUIUserInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GUIUserInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GUIUserInfo::InternalSwap(GUIUserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_)
|
|
+ sizeof(GUIUserInfo::_impl_.owner_)
|
|
- PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_)>(
|
|
reinterpret_cast<char*>(&_impl_.info_),
|
|
reinterpret_cast<char*>(&other->_impl_.info_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingRoomStatus::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingRoomStatus>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingRoomStatus::MatchingRoomStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoomStatus_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoomStatus)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoomStatus::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingRoomStatus& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
members_{visibility, arena, from.members_},
|
|
id_(arena, from.id_),
|
|
kick_actor_(arena, from.kick_actor_),
|
|
opt_(arena, from.opt_) {}
|
|
|
|
MatchingRoomStatus::MatchingRoomStatus(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingRoomStatus& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoomStatus_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingRoomStatus* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoomStatus)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoomStatus::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
members_{visibility, arena},
|
|
id_(arena),
|
|
kick_actor_(arena),
|
|
opt_(arena) {}
|
|
|
|
inline void MatchingRoomStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
MatchingRoomStatus::~MatchingRoomStatus() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingRoomStatus)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingRoomStatus::SharedDtor(MessageLite& self) {
|
|
MatchingRoomStatus& this_ = static_cast<MatchingRoomStatus&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.id_.Destroy();
|
|
this_._impl_.kick_actor_.Destroy();
|
|
this_._impl_.opt_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingRoomStatus::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingRoomStatus(arena);
|
|
}
|
|
constexpr auto MatchingRoomStatus::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_) +
|
|
decltype(MatchingRoomStatus::_impl_.members_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(MatchingRoomStatus), alignof(MatchingRoomStatus), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&MatchingRoomStatus::PlacementNew_,
|
|
sizeof(MatchingRoomStatus),
|
|
alignof(MatchingRoomStatus));
|
|
}
|
|
}
|
|
constexpr auto MatchingRoomStatus::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<31>{
|
|
{
|
|
&_MatchingRoomStatus_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingRoomStatus::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingRoomStatus>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingRoomStatus::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingRoomStatus>(), &MatchingRoomStatus::ByteSizeLong,
|
|
&MatchingRoomStatus::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingRoomStatus",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<31> MatchingRoomStatus_class_data_ =
|
|
MatchingRoomStatus::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingRoomStatus::GetClassData() const {
|
|
return MatchingRoomStatus_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 1, 49, 2>
|
|
MatchingRoomStatus::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MatchingRoomStatus_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomStatus>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes opt = 4;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{34, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.opt_)}},
|
|
// bytes id = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.id_)}},
|
|
// repeated .np2_structs.GUIUserInfo members = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_)}},
|
|
// string kick_actor = 3;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{26, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.kick_actor_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.GUIUserInfo members = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// string kick_actor = 3;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.kick_actor_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
// bytes opt = 4;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.opt_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::GUIUserInfo>()},
|
|
}},
|
|
{{
|
|
"\36\0\0\12\0\0\0\0"
|
|
"np2_structs.MatchingRoomStatus"
|
|
"kick_actor"
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingRoomStatus::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoomStatus)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.members_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.id_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
_impl_.kick_actor_.ClearNonDefaultToEmpty();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
_impl_.opt_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoomStatus::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingRoomStatus& this_ = static_cast<const MatchingRoomStatus&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoomStatus::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingRoomStatus& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoomStatus)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
const ::std::string& _s = this_._internal_id();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.GUIUserInfo members = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_members_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_members().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// string kick_actor = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_kick_actor().empty()) {
|
|
const ::std::string& _s = this_._internal_kick_actor();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MatchingRoomStatus.kick_actor");
|
|
target = stream->WriteStringMaybeAliased(3, _s, target);
|
|
}
|
|
}
|
|
|
|
// bytes opt = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_opt().empty()) {
|
|
const ::std::string& _s = this_._internal_opt();
|
|
target = stream->WriteBytesMaybeAliased(4, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoomStatus)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingRoomStatus::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingRoomStatus& this_ = static_cast<const MatchingRoomStatus&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingRoomStatus::ByteSizeLong() const {
|
|
const MatchingRoomStatus& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoomStatus)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.GUIUserInfo members = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_members_size();
|
|
for (const auto& msg : this_._internal_members()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_id());
|
|
}
|
|
}
|
|
// string kick_actor = 3;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!this_._internal_kick_actor().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this_._internal_kick_actor());
|
|
}
|
|
}
|
|
// bytes opt = 4;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!this_._internal_opt().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_opt());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingRoomStatus::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingRoomStatus*>(&to_msg);
|
|
auto& from = static_cast<const MatchingRoomStatus&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoomStatus)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_members()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_members());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_id().empty()) {
|
|
_this->_internal_set_id(from._internal_id());
|
|
} else {
|
|
if (_this->_impl_.id_.IsDefault()) {
|
|
_this->_internal_set_id("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (!from._internal_kick_actor().empty()) {
|
|
_this->_internal_set_kick_actor(from._internal_kick_actor());
|
|
} else {
|
|
if (_this->_impl_.kick_actor_.IsDefault()) {
|
|
_this->_internal_set_kick_actor("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (!from._internal_opt().empty()) {
|
|
_this->_internal_set_opt(from._internal_opt());
|
|
} else {
|
|
if (_this->_impl_.opt_.IsDefault()) {
|
|
_this->_internal_set_opt("");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingRoomStatus::CopyFrom(const MatchingRoomStatus& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoomStatus)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingRoomStatus::InternalSwap(MatchingRoomStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.members_.InternalSwap(&other->_impl_.members_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.kick_actor_, &other->_impl_.kick_actor_, arena);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.opt_, &other->_impl_.opt_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class GetRoomListGUIRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<GetRoomListGUIRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
GetRoomListGUIRequest::GetRoomListGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomListGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomListGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomListGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::GetRoomListGUIRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
conds_{visibility, arena, from.conds_},
|
|
attrs_{visibility, arena, from.attrs_} {}
|
|
|
|
GetRoomListGUIRequest::GetRoomListGUIRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const GetRoomListGUIRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, GetRoomListGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
GetRoomListGUIRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, range_start_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, range_start_),
|
|
offsetof(Impl_, range_max_) -
|
|
offsetof(Impl_, range_start_) +
|
|
sizeof(Impl_::range_max_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomListGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE GetRoomListGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
conds_{visibility, arena},
|
|
attrs_{visibility, arena} {}
|
|
|
|
inline void GetRoomListGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, range_start_),
|
|
0,
|
|
offsetof(Impl_, range_max_) -
|
|
offsetof(Impl_, range_start_) +
|
|
sizeof(Impl_::range_max_));
|
|
}
|
|
GetRoomListGUIRequest::~GetRoomListGUIRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.GetRoomListGUIRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void GetRoomListGUIRequest::SharedDtor(MessageLite& self) {
|
|
GetRoomListGUIRequest& this_ = static_cast<GetRoomListGUIRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL GetRoomListGUIRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) GetRoomListGUIRequest(arena);
|
|
}
|
|
constexpr auto GetRoomListGUIRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_) +
|
|
decltype(GetRoomListGUIRequest::_impl_.conds_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_) +
|
|
decltype(GetRoomListGUIRequest::_impl_.attrs_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(GetRoomListGUIRequest), alignof(GetRoomListGUIRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&GetRoomListGUIRequest::PlacementNew_,
|
|
sizeof(GetRoomListGUIRequest),
|
|
alignof(GetRoomListGUIRequest));
|
|
}
|
|
}
|
|
constexpr auto GetRoomListGUIRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<34>{
|
|
{
|
|
&_GetRoomListGUIRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&GetRoomListGUIRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<GetRoomListGUIRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&GetRoomListGUIRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<GetRoomListGUIRequest>(), &GetRoomListGUIRequest::ByteSizeLong,
|
|
&GetRoomListGUIRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.GetRoomListGUIRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<34> GetRoomListGUIRequest_class_data_ =
|
|
GetRoomListGUIRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
GetRoomListGUIRequest::GetClassData() const {
|
|
return GetRoomListGUIRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 4, 2, 0, 2>
|
|
GetRoomListGUIRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
4, 24, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967280, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
4, // num_field_entries
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
GetRoomListGUIRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::GetRoomListGUIRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.MatchingAttr attrs = 4;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{34, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_)}},
|
|
// uint32 range_start = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_)}},
|
|
// uint32 range_max = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 3, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_)}},
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 range_start = 1;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 range_max = 2;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 3;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.MatchingAttr attrs = 4;
|
|
{PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void GetRoomListGUIRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomListGUIRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.conds_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.attrs_.Clear();
|
|
}
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
|
|
::memset(&_impl_.range_start_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.range_max_) -
|
|
reinterpret_cast<char*>(&_impl_.range_start_)) + sizeof(_impl_.range_max_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomListGUIRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const GetRoomListGUIRequest& this_ = static_cast<const GetRoomListGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL GetRoomListGUIRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const GetRoomListGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomListGUIRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 range_start = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_range_start() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_range_start(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 range_max = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_range_max() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_range_max(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_conds_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_conds().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingAttr attrs = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrs_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrs().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
4, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomListGUIRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t GetRoomListGUIRequest::ByteSizeLong(const MessageLite& base) {
|
|
const GetRoomListGUIRequest& this_ = static_cast<const GetRoomListGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t GetRoomListGUIRequest::ByteSizeLong() const {
|
|
const GetRoomListGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomListGUIRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_conds_size();
|
|
for (const auto& msg : this_._internal_conds()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.MatchingAttr attrs = 4;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_attrs_size();
|
|
for (const auto& msg : this_._internal_attrs()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 range_start = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_range_start() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_range_start());
|
|
}
|
|
}
|
|
// uint32 range_max = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (this_._internal_range_max() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_range_max());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void GetRoomListGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<GetRoomListGUIRequest*>(&to_msg);
|
|
auto& from = static_cast<const GetRoomListGUIRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomListGUIRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_conds()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_conds());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_attrs()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrs());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_range_start() != 0) {
|
|
_this->_impl_.range_start_ = from._impl_.range_start_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000008U)) {
|
|
if (from._internal_range_max() != 0) {
|
|
_this->_impl_.range_max_ = from._impl_.range_max_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void GetRoomListGUIRequest::CopyFrom(const GetRoomListGUIRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomListGUIRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void GetRoomListGUIRequest::InternalSwap(GetRoomListGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.conds_.InternalSwap(&other->_impl_.conds_);
|
|
_impl_.attrs_.InternalSwap(&other->_impl_.attrs_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_)
|
|
+ sizeof(GetRoomListGUIRequest::_impl_.range_max_)
|
|
- PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_)>(
|
|
reinterpret_cast<char*>(&_impl_.range_start_),
|
|
reinterpret_cast<char*>(&other->_impl_.range_start_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingRoom::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingRoom>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingRoom::MatchingRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoom_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoom)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoom::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingRoom& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
attr_{visibility, arena, from.attr_},
|
|
id_(arena, from.id_) {}
|
|
|
|
MatchingRoom::MatchingRoom(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingRoom& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoom_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingRoom* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoom)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoom::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
attr_{visibility, arena},
|
|
id_(arena) {}
|
|
|
|
inline void MatchingRoom::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
MatchingRoom::~MatchingRoom() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingRoom)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingRoom::SharedDtor(MessageLite& self) {
|
|
MatchingRoom& this_ = static_cast<MatchingRoom&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.id_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingRoom::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingRoom(arena);
|
|
}
|
|
constexpr auto MatchingRoom::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_) +
|
|
decltype(MatchingRoom::_impl_.attr_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(
|
|
sizeof(MatchingRoom), alignof(MatchingRoom), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&MatchingRoom::PlacementNew_,
|
|
sizeof(MatchingRoom),
|
|
alignof(MatchingRoom));
|
|
}
|
|
}
|
|
constexpr auto MatchingRoom::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<25>{
|
|
{
|
|
&_MatchingRoom_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingRoom::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingRoom>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingRoom::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingRoom>(), &MatchingRoom::ByteSizeLong,
|
|
&MatchingRoom::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingRoom",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<25> MatchingRoom_class_data_ =
|
|
MatchingRoom::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingRoom::GetClassData() const {
|
|
return MatchingRoom_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
MatchingRoom::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MatchingRoom_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingRoom>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_)}},
|
|
// bytes id = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingRoom::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoom)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.attr_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
_impl_.id_.ClearNonDefaultToEmpty();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoom::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingRoom& this_ = static_cast<const MatchingRoom&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoom::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingRoom& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoom)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
const ::std::string& _s = this_._internal_id();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attr_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attr().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoom)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingRoom::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingRoom& this_ = static_cast<const MatchingRoom&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingRoom::ByteSizeLong() const {
|
|
const MatchingRoom& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoom)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_attr_size();
|
|
for (const auto& msg : this_._internal_attr()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// bytes id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_id());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingRoom::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingRoom*>(&to_msg);
|
|
auto& from = static_cast<const MatchingRoom&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoom)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_attr()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attr());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (!from._internal_id().empty()) {
|
|
_this->_internal_set_id(from._internal_id());
|
|
} else {
|
|
if (_this->_impl_.id_.IsDefault()) {
|
|
_this->_internal_set_id("");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingRoom::CopyFrom(const MatchingRoom& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoom)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingRoom::InternalSwap(MatchingRoom* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.attr_.InternalSwap(&other->_impl_.attr_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingRoomList::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingRoomList>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingRoomList::MatchingRoomList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoomList_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoomList)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoomList::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingRoomList& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
rooms_{visibility, arena, from.rooms_} {}
|
|
|
|
MatchingRoomList::MatchingRoomList(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingRoomList& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingRoomList_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingRoomList* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::memcpy(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, start_),
|
|
reinterpret_cast<const char*>(&from._impl_) +
|
|
offsetof(Impl_, start_),
|
|
offsetof(Impl_, total_) -
|
|
offsetof(Impl_, start_) +
|
|
sizeof(Impl_::total_));
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoomList)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingRoomList::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
rooms_{visibility, arena} {}
|
|
|
|
inline void MatchingRoomList::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
::memset(reinterpret_cast<char*>(&_impl_) +
|
|
offsetof(Impl_, start_),
|
|
0,
|
|
offsetof(Impl_, total_) -
|
|
offsetof(Impl_, start_) +
|
|
sizeof(Impl_::total_));
|
|
}
|
|
MatchingRoomList::~MatchingRoomList() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingRoomList)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingRoomList::SharedDtor(MessageLite& self) {
|
|
MatchingRoomList& this_ = static_cast<MatchingRoomList&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingRoomList::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingRoomList(arena);
|
|
}
|
|
constexpr auto MatchingRoomList::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_) +
|
|
decltype(MatchingRoomList::_impl_.rooms_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(MatchingRoomList), alignof(MatchingRoomList), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&MatchingRoomList::PlacementNew_,
|
|
sizeof(MatchingRoomList),
|
|
alignof(MatchingRoomList));
|
|
}
|
|
}
|
|
constexpr auto MatchingRoomList::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<29>{
|
|
{
|
|
&_MatchingRoomList_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingRoomList::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingRoomList>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingRoomList::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingRoomList>(), &MatchingRoomList::ByteSizeLong,
|
|
&MatchingRoomList::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingRoomList",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<29> MatchingRoomList_class_data_ =
|
|
MatchingRoomList::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingRoomList::GetClassData() const {
|
|
return MatchingRoomList_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
|
|
MatchingRoomList::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MatchingRoomList_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomList>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
{::_pbi::TcParser::MiniParse, {}},
|
|
// uint32 start = 1;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{8, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_)}},
|
|
// uint32 total = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 2, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_)}},
|
|
// repeated .np2_structs.MatchingRoom rooms = 3;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{26, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 start = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// uint32 total = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
// repeated .np2_structs.MatchingRoom rooms = 3;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingRoom>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingRoomList::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoomList)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.rooms_.Clear();
|
|
}
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
|
|
::memset(&_impl_.start_, 0, static_cast<::size_t>(
|
|
reinterpret_cast<char*>(&_impl_.total_) -
|
|
reinterpret_cast<char*>(&_impl_.start_)) + sizeof(_impl_.total_));
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoomList::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingRoomList& this_ = static_cast<const MatchingRoomList&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingRoomList::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingRoomList& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoomList)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// uint32 start = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_start() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this_._internal_start(), target);
|
|
}
|
|
}
|
|
|
|
// uint32 total = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_total() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_total(), target);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingRoom rooms = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_rooms_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_rooms().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
3, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoomList)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingRoomList::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingRoomList& this_ = static_cast<const MatchingRoomList&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingRoomList::ByteSizeLong() const {
|
|
const MatchingRoomList& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoomList)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
// repeated .np2_structs.MatchingRoom rooms = 3;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_rooms_size();
|
|
for (const auto& msg : this_._internal_rooms()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 start = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_start() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_start());
|
|
}
|
|
}
|
|
// uint32 total = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (this_._internal_total() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_total());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingRoomList::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingRoomList*>(&to_msg);
|
|
auto& from = static_cast<const MatchingRoomList&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoomList)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_rooms()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_rooms());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_start() != 0) {
|
|
_this->_impl_.start_ = from._impl_.start_;
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000004U)) {
|
|
if (from._internal_total() != 0) {
|
|
_this->_impl_.total_ = from._impl_.total_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingRoomList::CopyFrom(const MatchingRoomList& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoomList)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingRoomList::InternalSwap(MatchingRoomList* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.rooms_.InternalSwap(&other->_impl_.rooms_);
|
|
::google::protobuf::internal::memswap<
|
|
PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_)
|
|
+ sizeof(MatchingRoomList::_impl_.total_)
|
|
- PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_)>(
|
|
reinterpret_cast<char*>(&_impl_.start_),
|
|
reinterpret_cast<char*>(&other->_impl_.start_));
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingGuiRoomId::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingGuiRoomId>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingGuiRoomId::MatchingGuiRoomId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingGuiRoomId_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingGuiRoomId)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingGuiRoomId::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingGuiRoomId& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
id_(arena, from.id_) {}
|
|
|
|
MatchingGuiRoomId::MatchingGuiRoomId(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingGuiRoomId& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingGuiRoomId_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingGuiRoomId* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingGuiRoomId)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingGuiRoomId::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
id_(arena) {}
|
|
|
|
inline void MatchingGuiRoomId::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
MatchingGuiRoomId::~MatchingGuiRoomId() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingGuiRoomId)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingGuiRoomId::SharedDtor(MessageLite& self) {
|
|
MatchingGuiRoomId& this_ = static_cast<MatchingGuiRoomId&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.id_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingGuiRoomId::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingGuiRoomId(arena);
|
|
}
|
|
constexpr auto MatchingGuiRoomId::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingGuiRoomId),
|
|
alignof(MatchingGuiRoomId));
|
|
}
|
|
constexpr auto MatchingGuiRoomId::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<30>{
|
|
{
|
|
&_MatchingGuiRoomId_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingGuiRoomId::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingGuiRoomId>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingGuiRoomId::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingGuiRoomId>(), &MatchingGuiRoomId::ByteSizeLong,
|
|
&MatchingGuiRoomId::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingGuiRoomId",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<30> MatchingGuiRoomId_class_data_ =
|
|
MatchingGuiRoomId::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingGuiRoomId::GetClassData() const {
|
|
return MatchingGuiRoomId_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
|
|
MatchingGuiRoomId::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._has_bits_),
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
MatchingGuiRoomId_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingGuiRoomId>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bytes id = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_.id_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes id = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingGuiRoomId::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingGuiRoomId)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.id_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingGuiRoomId::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingGuiRoomId& this_ = static_cast<const MatchingGuiRoomId&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingGuiRoomId::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingGuiRoomId& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingGuiRoomId)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes id = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
const ::std::string& _s = this_._internal_id();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingGuiRoomId)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingGuiRoomId::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingGuiRoomId& this_ = static_cast<const MatchingGuiRoomId&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingGuiRoomId::ByteSizeLong() const {
|
|
const MatchingGuiRoomId& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingGuiRoomId)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void)cached_has_bits;
|
|
|
|
{
|
|
// bytes id = 1;
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_id().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_id());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingGuiRoomId::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingGuiRoomId*>(&to_msg);
|
|
auto& from = static_cast<const MatchingGuiRoomId&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingGuiRoomId)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_id().empty()) {
|
|
_this->_internal_set_id(from._internal_id());
|
|
} else {
|
|
if (_this->_impl_.id_.IsDefault()) {
|
|
_this->_internal_set_id("");
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingGuiRoomId::CopyFrom(const MatchingGuiRoomId& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingGuiRoomId)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingGuiRoomId::InternalSwap(MatchingGuiRoomId* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SetRoomSearchFlagGUI::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SetRoomSearchFlagGUI>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._has_bits_);
|
|
};
|
|
|
|
SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomSearchFlagGUI_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomSearchFlagGUI)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomSearchFlagGUI::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SetRoomSearchFlagGUI& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
roomid_(arena, from.roomid_) {}
|
|
|
|
SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SetRoomSearchFlagGUI& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SetRoomSearchFlagGUI_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SetRoomSearchFlagGUI* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.stealth_ = from._impl_.stealth_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomSearchFlagGUI)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SetRoomSearchFlagGUI::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
roomid_(arena) {}
|
|
|
|
inline void SetRoomSearchFlagGUI::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.stealth_ = {};
|
|
}
|
|
SetRoomSearchFlagGUI::~SetRoomSearchFlagGUI() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SetRoomSearchFlagGUI)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SetRoomSearchFlagGUI::SharedDtor(MessageLite& self) {
|
|
SetRoomSearchFlagGUI& this_ = static_cast<SetRoomSearchFlagGUI&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.roomid_.Destroy();
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SetRoomSearchFlagGUI::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SetRoomSearchFlagGUI(arena);
|
|
}
|
|
constexpr auto SetRoomSearchFlagGUI::InternalNewImpl_() {
|
|
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SetRoomSearchFlagGUI),
|
|
alignof(SetRoomSearchFlagGUI));
|
|
}
|
|
constexpr auto SetRoomSearchFlagGUI::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<33>{
|
|
{
|
|
&_SetRoomSearchFlagGUI_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SetRoomSearchFlagGUI::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SetRoomSearchFlagGUI>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SetRoomSearchFlagGUI::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SetRoomSearchFlagGUI>(), &SetRoomSearchFlagGUI::ByteSizeLong,
|
|
&SetRoomSearchFlagGUI::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SetRoomSearchFlagGUI",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<33> SetRoomSearchFlagGUI_class_data_ =
|
|
SetRoomSearchFlagGUI::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SetRoomSearchFlagGUI::GetClassData() const {
|
|
return SetRoomSearchFlagGUI_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
|
|
SetRoomSearchFlagGUI::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._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
|
|
SetRoomSearchFlagGUI_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SetRoomSearchFlagGUI>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// bool stealth = 2;
|
|
{::_pbi::TcParser::FastV8S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.stealth_)}},
|
|
// bytes roomid = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.roomid_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes roomid = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.roomid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
// bool stealth = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.stealth_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SetRoomSearchFlagGUI::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomSearchFlagGUI)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
_impl_.roomid_.ClearNonDefaultToEmpty();
|
|
}
|
|
_impl_.stealth_ = false;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomSearchFlagGUI::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SetRoomSearchFlagGUI& this_ = static_cast<const SetRoomSearchFlagGUI&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SetRoomSearchFlagGUI::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SetRoomSearchFlagGUI& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomSearchFlagGUI)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// bytes roomid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_roomid().empty()) {
|
|
const ::std::string& _s = this_._internal_roomid();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
}
|
|
|
|
// bool stealth = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_stealth() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
2, this_._internal_stealth(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomSearchFlagGUI)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SetRoomSearchFlagGUI::ByteSizeLong(const MessageLite& base) {
|
|
const SetRoomSearchFlagGUI& this_ = static_cast<const SetRoomSearchFlagGUI&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SetRoomSearchFlagGUI::ByteSizeLong() const {
|
|
const SetRoomSearchFlagGUI& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomSearchFlagGUI)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// bytes roomid = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!this_._internal_roomid().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this_._internal_roomid());
|
|
}
|
|
}
|
|
// bool stealth = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_stealth() != 0) {
|
|
total_size += 2;
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SetRoomSearchFlagGUI::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SetRoomSearchFlagGUI*>(&to_msg);
|
|
auto& from = static_cast<const SetRoomSearchFlagGUI&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomSearchFlagGUI)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBit(cached_has_bits, 0x00000001U)) {
|
|
if (!from._internal_roomid().empty()) {
|
|
_this->_internal_set_roomid(from._internal_roomid());
|
|
} else {
|
|
if (_this->_impl_.roomid_.IsDefault()) {
|
|
_this->_internal_set_roomid("");
|
|
}
|
|
}
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_stealth() != 0) {
|
|
_this->_impl_.stealth_ = from._impl_.stealth_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SetRoomSearchFlagGUI::CopyFrom(const SetRoomSearchFlagGUI& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomSearchFlagGUI)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SetRoomSearchFlagGUI::InternalSwap(SetRoomSearchFlagGUI* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
auto* arena = GetArena();
|
|
ABSL_DCHECK_EQ(arena, other->GetArena());
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roomid_, &other->_impl_.roomid_, arena);
|
|
swap(_impl_.stealth_, other->_impl_.stealth_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class QuickMatchGUIRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<QuickMatchGUIRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
QuickMatchGUIRequest::QuickMatchGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, QuickMatchGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.QuickMatchGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE QuickMatchGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::QuickMatchGUIRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
conds_{visibility, arena, from.conds_} {}
|
|
|
|
QuickMatchGUIRequest::QuickMatchGUIRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const QuickMatchGUIRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, QuickMatchGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
QuickMatchGUIRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
_impl_.available_num_ = from._impl_.available_num_;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.QuickMatchGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE QuickMatchGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
conds_{visibility, arena} {}
|
|
|
|
inline void QuickMatchGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.available_num_ = {};
|
|
}
|
|
QuickMatchGUIRequest::~QuickMatchGUIRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.QuickMatchGUIRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void QuickMatchGUIRequest::SharedDtor(MessageLite& self) {
|
|
QuickMatchGUIRequest& this_ = static_cast<QuickMatchGUIRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL QuickMatchGUIRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) QuickMatchGUIRequest(arena);
|
|
}
|
|
constexpr auto QuickMatchGUIRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_) +
|
|
decltype(QuickMatchGUIRequest::_impl_.conds_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(QuickMatchGUIRequest), alignof(QuickMatchGUIRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&QuickMatchGUIRequest::PlacementNew_,
|
|
sizeof(QuickMatchGUIRequest),
|
|
alignof(QuickMatchGUIRequest));
|
|
}
|
|
}
|
|
constexpr auto QuickMatchGUIRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<33>{
|
|
{
|
|
&_QuickMatchGUIRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&QuickMatchGUIRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<QuickMatchGUIRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&QuickMatchGUIRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<QuickMatchGUIRequest>(), &QuickMatchGUIRequest::ByteSizeLong,
|
|
&QuickMatchGUIRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.QuickMatchGUIRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<33> QuickMatchGUIRequest_class_data_ =
|
|
QuickMatchGUIRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
QuickMatchGUIRequest::GetClassData() const {
|
|
return QuickMatchGUIRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
|
|
QuickMatchGUIRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._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
|
|
1, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
QuickMatchGUIRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::QuickMatchGUIRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// uint32 available_num = 2;
|
|
{::_pbi::TcParser::FastV32S1,
|
|
{16, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.available_num_)}},
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
{PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// uint32 available_num = 2;
|
|
{PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.available_num_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void QuickMatchGUIRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.QuickMatchGUIRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.conds_.Clear();
|
|
}
|
|
_impl_.available_num_ = 0u;
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL QuickMatchGUIRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const QuickMatchGUIRequest& this_ = static_cast<const QuickMatchGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL QuickMatchGUIRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const QuickMatchGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.QuickMatchGUIRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_conds_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_conds().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// uint32 available_num = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_available_num() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
2, this_._internal_available_num(), target);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.QuickMatchGUIRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t QuickMatchGUIRequest::ByteSizeLong(const MessageLite& base) {
|
|
const QuickMatchGUIRequest& this_ = static_cast<const QuickMatchGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t QuickMatchGUIRequest::ByteSizeLong() const {
|
|
const QuickMatchGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.QuickMatchGUIRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_conds_size();
|
|
for (const auto& msg : this_._internal_conds()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// uint32 available_num = 2;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (this_._internal_available_num() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this_._internal_available_num());
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void QuickMatchGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<QuickMatchGUIRequest*>(&to_msg);
|
|
auto& from = static_cast<const QuickMatchGUIRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.QuickMatchGUIRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_conds()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_conds());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
if (from._internal_available_num() != 0) {
|
|
_this->_impl_.available_num_ = from._impl_.available_num_;
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void QuickMatchGUIRequest::CopyFrom(const QuickMatchGUIRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.QuickMatchGUIRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void QuickMatchGUIRequest::InternalSwap(QuickMatchGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.conds_.InternalSwap(&other->_impl_.conds_);
|
|
swap(_impl_.available_num_, other->_impl_.available_num_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class SearchJoinRoomGUIRequest::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<SearchJoinRoomGUIRequest>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._has_bits_);
|
|
};
|
|
|
|
SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchJoinRoomGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.SearchJoinRoomGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchJoinRoomGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::SearchJoinRoomGUIRequest& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
conds_{visibility, arena, from.conds_},
|
|
attrs_{visibility, arena, from.attrs_} {}
|
|
|
|
SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const SearchJoinRoomGUIRequest& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, SearchJoinRoomGUIRequest_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SearchJoinRoomGUIRequest* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.SearchJoinRoomGUIRequest)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE SearchJoinRoomGUIRequest::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
conds_{visibility, arena},
|
|
attrs_{visibility, arena} {}
|
|
|
|
inline void SearchJoinRoomGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
}
|
|
SearchJoinRoomGUIRequest::~SearchJoinRoomGUIRequest() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.SearchJoinRoomGUIRequest)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void SearchJoinRoomGUIRequest::SharedDtor(MessageLite& self) {
|
|
SearchJoinRoomGUIRequest& this_ = static_cast<SearchJoinRoomGUIRequest&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) SearchJoinRoomGUIRequest(arena);
|
|
}
|
|
constexpr auto SearchJoinRoomGUIRequest::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_) +
|
|
decltype(SearchJoinRoomGUIRequest::_impl_.conds_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_) +
|
|
decltype(SearchJoinRoomGUIRequest::_impl_.attrs_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(SearchJoinRoomGUIRequest), alignof(SearchJoinRoomGUIRequest), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&SearchJoinRoomGUIRequest::PlacementNew_,
|
|
sizeof(SearchJoinRoomGUIRequest),
|
|
alignof(SearchJoinRoomGUIRequest));
|
|
}
|
|
}
|
|
constexpr auto SearchJoinRoomGUIRequest::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<37>{
|
|
{
|
|
&_SearchJoinRoomGUIRequest_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&SearchJoinRoomGUIRequest::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<SearchJoinRoomGUIRequest>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&SearchJoinRoomGUIRequest::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<SearchJoinRoomGUIRequest>(), &SearchJoinRoomGUIRequest::ByteSizeLong,
|
|
&SearchJoinRoomGUIRequest::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.SearchJoinRoomGUIRequest",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<37> SearchJoinRoomGUIRequest_class_data_ =
|
|
SearchJoinRoomGUIRequest::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
SearchJoinRoomGUIRequest::GetClassData() const {
|
|
return SearchJoinRoomGUIRequest_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
SearchJoinRoomGUIRequest::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
SearchJoinRoomGUIRequest_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::SearchJoinRoomGUIRequest>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.MatchingAttr attrs = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 1, 1,
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_)}},
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{10, 0, 0,
|
|
PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
{PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.MatchingAttr attrs = 2;
|
|
{PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void SearchJoinRoomGUIRequest::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.SearchJoinRoomGUIRequest)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.conds_.Clear();
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_impl_.attrs_.Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const SearchJoinRoomGUIRequest& this_ = static_cast<const SearchJoinRoomGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const SearchJoinRoomGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchJoinRoomGUIRequest)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_conds_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_conds().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingAttr attrs = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attrs_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attrs().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchJoinRoomGUIRequest)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t SearchJoinRoomGUIRequest::ByteSizeLong(const MessageLite& base) {
|
|
const SearchJoinRoomGUIRequest& this_ = static_cast<const SearchJoinRoomGUIRequest&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t SearchJoinRoomGUIRequest::ByteSizeLong() const {
|
|
const SearchJoinRoomGUIRequest& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchJoinRoomGUIRequest)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.MatchingSearchCondition conds = 1;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_conds_size();
|
|
for (const auto& msg : this_._internal_conds()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// repeated .np2_structs.MatchingAttr attrs = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1UL * this_._internal_attrs_size();
|
|
for (const auto& msg : this_._internal_attrs()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void SearchJoinRoomGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<SearchJoinRoomGUIRequest*>(&to_msg);
|
|
auto& from = static_cast<const SearchJoinRoomGUIRequest&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchJoinRoomGUIRequest)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_conds()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_conds());
|
|
}
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
|
|
_this->_internal_mutable_attrs()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attrs());
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void SearchJoinRoomGUIRequest::CopyFrom(const SearchJoinRoomGUIRequest& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchJoinRoomGUIRequest)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void SearchJoinRoomGUIRequest::InternalSwap(SearchJoinRoomGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.conds_.InternalSwap(&other->_impl_.conds_);
|
|
_impl_.attrs_.InternalSwap(&other->_impl_.attrs_);
|
|
}
|
|
|
|
// ===================================================================
|
|
|
|
class MatchingSearchJoinRoomInfo::_Internal {
|
|
public:
|
|
using HasBits =
|
|
decltype(::std::declval<MatchingSearchJoinRoomInfo>()._impl_._has_bits_);
|
|
static constexpr ::int32_t kHasBitsOffset =
|
|
8 * PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._has_bits_);
|
|
};
|
|
|
|
MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSearchJoinRoomInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSearchJoinRoomInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingSearchJoinRoomInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
|
|
[[maybe_unused]] const ::np2_structs::MatchingSearchJoinRoomInfo& from_msg)
|
|
: _has_bits_{from._has_bits_},
|
|
_cached_size_{0},
|
|
attr_{visibility, arena, from.attr_} {}
|
|
|
|
MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
|
|
const MatchingSearchJoinRoomInfo& from)
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
: ::google::protobuf::MessageLite(arena, MatchingSearchJoinRoomInfo_class_data_.base()) {
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
: ::google::protobuf::MessageLite(arena) {
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
MatchingSearchJoinRoomInfo* const _this = this;
|
|
(void)_this;
|
|
_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
|
|
::uint32_t cached_has_bits = _impl_._has_bits_[0];
|
|
_impl_.room_ = (CheckHasBit(cached_has_bits, 0x00000002U))
|
|
? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_)
|
|
: nullptr;
|
|
|
|
// @@protoc_insertion_point(copy_constructor:np2_structs.MatchingSearchJoinRoomInfo)
|
|
}
|
|
PROTOBUF_NDEBUG_INLINE MatchingSearchJoinRoomInfo::Impl_::Impl_(
|
|
[[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
|
|
[[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
|
|
: _cached_size_{0},
|
|
attr_{visibility, arena} {}
|
|
|
|
inline void MatchingSearchJoinRoomInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
|
|
new (&_impl_) Impl_(internal_visibility(), arena);
|
|
_impl_.room_ = {};
|
|
}
|
|
MatchingSearchJoinRoomInfo::~MatchingSearchJoinRoomInfo() {
|
|
// @@protoc_insertion_point(destructor:np2_structs.MatchingSearchJoinRoomInfo)
|
|
SharedDtor(*this);
|
|
}
|
|
inline void MatchingSearchJoinRoomInfo::SharedDtor(MessageLite& self) {
|
|
MatchingSearchJoinRoomInfo& this_ = static_cast<MatchingSearchJoinRoomInfo&>(self);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
this_._internal_metadata_.Delete<::std::string>();
|
|
ABSL_DCHECK(this_.GetArena() == nullptr);
|
|
delete this_._impl_.room_;
|
|
this_._impl_.~Impl_();
|
|
}
|
|
|
|
inline void* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::PlacementNew_(
|
|
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
|
|
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
|
|
return ::new (mem) MatchingSearchJoinRoomInfo(arena);
|
|
}
|
|
constexpr auto MatchingSearchJoinRoomInfo::InternalNewImpl_() {
|
|
constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_) +
|
|
decltype(MatchingSearchJoinRoomInfo::_impl_.attr_)::
|
|
InternalGetArenaOffset(
|
|
::google::protobuf::MessageLite::internal_visibility()),
|
|
});
|
|
if (arena_bits.has_value()) {
|
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(
|
|
sizeof(MatchingSearchJoinRoomInfo), alignof(MatchingSearchJoinRoomInfo), *arena_bits);
|
|
} else {
|
|
return ::google::protobuf::internal::MessageCreator(&MatchingSearchJoinRoomInfo::PlacementNew_,
|
|
sizeof(MatchingSearchJoinRoomInfo),
|
|
alignof(MatchingSearchJoinRoomInfo));
|
|
}
|
|
}
|
|
constexpr auto MatchingSearchJoinRoomInfo::InternalGenerateClassData_() {
|
|
return ::google::protobuf::internal::ClassDataLite<39>{
|
|
{
|
|
&_MatchingSearchJoinRoomInfo_default_instance_._instance,
|
|
&_table_.header,
|
|
nullptr, // OnDemandRegisterArenaDtor
|
|
nullptr, // IsInitialized
|
|
&MatchingSearchJoinRoomInfo::MergeImpl,
|
|
::google::protobuf::MessageLite::GetNewImpl<MatchingSearchJoinRoomInfo>(),
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
&MatchingSearchJoinRoomInfo::SharedDtor,
|
|
::google::protobuf::MessageLite::GetClearImpl<MatchingSearchJoinRoomInfo>(), &MatchingSearchJoinRoomInfo::ByteSizeLong,
|
|
&MatchingSearchJoinRoomInfo::_InternalSerialize,
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._cached_size_),
|
|
true,
|
|
},
|
|
"np2_structs.MatchingSearchJoinRoomInfo",
|
|
};
|
|
}
|
|
|
|
PROTOBUF_CONSTINIT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::google::protobuf::internal::ClassDataLite<39> MatchingSearchJoinRoomInfo_class_data_ =
|
|
MatchingSearchJoinRoomInfo::InternalGenerateClassData_();
|
|
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
|
|
MatchingSearchJoinRoomInfo::GetClassData() const {
|
|
return MatchingSearchJoinRoomInfo_class_data_.base();
|
|
}
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
|
|
MatchingSearchJoinRoomInfo::_table_ = {
|
|
{
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._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
|
|
2, // num_aux_entries
|
|
offsetof(decltype(_table_), aux_entries),
|
|
MatchingSearchJoinRoomInfo_class_data_.base(),
|
|
nullptr, // post_loop_handler
|
|
::_pbi::TcParser::GenericFallbackLite, // fallback
|
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
|
|
::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchJoinRoomInfo>(), // to_prefetch
|
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
|
|
}, {{
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
{::_pbi::TcParser::FastMtR1,
|
|
{18, 0, 1,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_)}},
|
|
// .np2_structs.MatchingRoomStatus room = 1;
|
|
{::_pbi::TcParser::FastMtS1,
|
|
{10, 1, 0,
|
|
PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.room_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// .np2_structs.MatchingRoomStatus room = 1;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.room_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
{PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
|
|
}},
|
|
{{
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomStatus>()},
|
|
{::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()},
|
|
}},
|
|
{{
|
|
}},
|
|
};
|
|
PROTOBUF_NOINLINE void MatchingSearchJoinRoomInfo::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSearchJoinRoomInfo)
|
|
::google::protobuf::internal::TSanWrite(&_impl_);
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
cached_has_bits = _impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_impl_.attr_.Clear();
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(_impl_.room_ != nullptr);
|
|
_impl_.room_->Clear();
|
|
}
|
|
}
|
|
_impl_._has_bits_.Clear();
|
|
_internal_metadata_.Clear<::std::string>();
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::_InternalSerialize(
|
|
const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
|
|
const MatchingSearchJoinRoomInfo& this_ = static_cast<const MatchingSearchJoinRoomInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::uint8_t* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::_InternalSerialize(
|
|
::uint8_t* PROTOBUF_NONNULL target,
|
|
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
|
|
const MatchingSearchJoinRoomInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
this_.CheckHasBitConsistency();
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSearchJoinRoomInfo)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
// .np2_structs.MatchingRoomStatus room = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
1, *this_._impl_.room_, this_._impl_.room_->GetCachedSize(), target,
|
|
stream);
|
|
}
|
|
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
for (unsigned i = 0, n = static_cast<unsigned>(
|
|
this_._internal_attr_size());
|
|
i < n; i++) {
|
|
const auto& repfield = this_._internal_attr().Get(i);
|
|
target =
|
|
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
|
|
2, repfield, repfield.GetCachedSize(),
|
|
target, stream);
|
|
}
|
|
}
|
|
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
target = stream->WriteRaw(
|
|
this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
|
|
static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSearchJoinRoomInfo)
|
|
return target;
|
|
}
|
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE)
|
|
::size_t MatchingSearchJoinRoomInfo::ByteSizeLong(const MessageLite& base) {
|
|
const MatchingSearchJoinRoomInfo& this_ = static_cast<const MatchingSearchJoinRoomInfo&>(base);
|
|
#else // PROTOBUF_CUSTOM_VTABLE
|
|
::size_t MatchingSearchJoinRoomInfo::ByteSizeLong() const {
|
|
const MatchingSearchJoinRoomInfo& this_ = *this;
|
|
#endif // PROTOBUF_CUSTOM_VTABLE
|
|
// @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSearchJoinRoomInfo)
|
|
::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(&this_);
|
|
cached_has_bits = this_._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
// repeated .np2_structs.MatchingAttr attr = 2;
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
total_size += 1UL * this_._internal_attr_size();
|
|
for (const auto& msg : this_._internal_attr()) {
|
|
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
|
|
}
|
|
}
|
|
// .np2_structs.MatchingRoomStatus room = 1;
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
total_size += 1 +
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.room_);
|
|
}
|
|
}
|
|
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
|
|
total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
|
|
}
|
|
this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
|
|
return total_size;
|
|
}
|
|
|
|
void MatchingSearchJoinRoomInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
|
|
const ::google::protobuf::MessageLite& from_msg) {
|
|
auto* const _this =
|
|
static_cast<MatchingSearchJoinRoomInfo*>(&to_msg);
|
|
auto& from = static_cast<const MatchingSearchJoinRoomInfo&>(from_msg);
|
|
if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
|
|
from.CheckHasBitConsistency();
|
|
}
|
|
::google::protobuf::Arena* arena = _this->GetArena();
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSearchJoinRoomInfo)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
cached_has_bits = from._impl_._has_bits_[0];
|
|
if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
|
|
if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
|
|
_this->_internal_mutable_attr()->InternalMergeFromWithArena(
|
|
::google::protobuf::MessageLite::internal_visibility(), arena,
|
|
from._internal_attr());
|
|
}
|
|
if (CheckHasBit(cached_has_bits, 0x00000002U)) {
|
|
ABSL_DCHECK(from._impl_.room_ != nullptr);
|
|
if (_this->_impl_.room_ == nullptr) {
|
|
_this->_impl_.room_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_);
|
|
} else {
|
|
_this->_impl_.room_->MergeFrom(*from._impl_.room_);
|
|
}
|
|
}
|
|
}
|
|
_this->_impl_._has_bits_[0] |= cached_has_bits;
|
|
_this->_internal_metadata_.MergeFrom<::std::string>(
|
|
from._internal_metadata_);
|
|
}
|
|
|
|
void MatchingSearchJoinRoomInfo::CopyFrom(const MatchingSearchJoinRoomInfo& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSearchJoinRoomInfo)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
|
|
void MatchingSearchJoinRoomInfo::InternalSwap(MatchingSearchJoinRoomInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
|
|
using ::std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
|
|
_impl_.attr_.InternalSwap(&other->_impl_.attr_);
|
|
swap(_impl_.room_, other->_impl_.room_);
|
|
}
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace np2_structs
|
|
namespace google {
|
|
namespace protobuf {
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
// @@protoc_insertion_point(global_scope)
|
|
#include "google/protobuf/port_undef.inc"
|