1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-22 21:09:29 +08:00
Files
Alas/blcrack/cracker/pb/guild.pb.cc
2025-03-25 18:45:13 +08:00

1327 lines
48 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: guild.proto
// Protobuf C++ Version: 5.27.2
#include "guild.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/wire_format_lite.h"
#include "google/protobuf/descriptor.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
inline constexpr WEEKLY_TASK::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
id_{0u},
progress_{0u},
monday_0clock_{0u} {}
template <typename>
PROTOBUF_CONSTEXPR WEEKLY_TASK::WEEKLY_TASK(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct WEEKLY_TASKDefaultTypeInternal {
PROTOBUF_CONSTEXPR WEEKLY_TASKDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~WEEKLY_TASKDefaultTypeInternal() {}
union {
WEEKLY_TASK _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WEEKLY_TASKDefaultTypeInternal _WEEKLY_TASK_default_instance_;
inline constexpr GUILD_TECHNOLOGY::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
id_{0u},
state_{0u},
progress_{0u} {}
template <typename>
PROTOBUF_CONSTEXPR GUILD_TECHNOLOGY::GUILD_TECHNOLOGY(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct GUILD_TECHNOLOGYDefaultTypeInternal {
PROTOBUF_CONSTEXPR GUILD_TECHNOLOGYDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~GUILD_TECHNOLOGYDefaultTypeInternal() {}
union {
GUILD_TECHNOLOGY _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GUILD_TECHNOLOGYDefaultTypeInternal _GUILD_TECHNOLOGY_default_instance_;
inline constexpr FLEET_INFO::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
ship_list_{},
id_{0u} {}
template <typename>
PROTOBUF_CONSTEXPR FLEET_INFO::FLEET_INFO(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct FLEET_INFODefaultTypeInternal {
PROTOBUF_CONSTEXPR FLEET_INFODefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~FLEET_INFODefaultTypeInternal() {}
union {
FLEET_INFO _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FLEET_INFODefaultTypeInternal _FLEET_INFO_default_instance_;
inline constexpr CAPITAL_LOG::Impl_::Impl_(
::_pbi::ConstantInitialized) noexcept
: _cached_size_{0},
event_target_{},
name_(
&::google::protobuf::internal::fixed_address_empty_string,
::_pbi::ConstantInitialized()),
member_id_{0u},
event_type_{0u},
time_{0u} {}
template <typename>
PROTOBUF_CONSTEXPR CAPITAL_LOG::CAPITAL_LOG(::_pbi::ConstantInitialized)
: _impl_(::_pbi::ConstantInitialized()) {}
struct CAPITAL_LOGDefaultTypeInternal {
PROTOBUF_CONSTEXPR CAPITAL_LOGDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~CAPITAL_LOGDefaultTypeInternal() {}
union {
CAPITAL_LOG _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CAPITAL_LOGDefaultTypeInternal _CAPITAL_LOG_default_instance_;
static constexpr const ::_pb::EnumDescriptor**
file_level_enum_descriptors_guild_2eproto = nullptr;
static constexpr const ::_pb::ServiceDescriptor**
file_level_service_descriptors_guild_2eproto = nullptr;
const ::uint32_t
TableStruct_guild_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_.member_id_),
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_.name_),
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_.event_type_),
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_.event_target_),
PROTOBUF_FIELD_OFFSET(::CAPITAL_LOG, _impl_.time_),
1,
0,
2,
~0u,
3,
PROTOBUF_FIELD_OFFSET(::WEEKLY_TASK, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::WEEKLY_TASK, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::WEEKLY_TASK, _impl_.id_),
PROTOBUF_FIELD_OFFSET(::WEEKLY_TASK, _impl_.progress_),
PROTOBUF_FIELD_OFFSET(::WEEKLY_TASK, _impl_.monday_0clock_),
0,
1,
2,
PROTOBUF_FIELD_OFFSET(::GUILD_TECHNOLOGY, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::GUILD_TECHNOLOGY, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::GUILD_TECHNOLOGY, _impl_.id_),
PROTOBUF_FIELD_OFFSET(::GUILD_TECHNOLOGY, _impl_.state_),
PROTOBUF_FIELD_OFFSET(::GUILD_TECHNOLOGY, _impl_.progress_),
0,
1,
2,
PROTOBUF_FIELD_OFFSET(::FLEET_INFO, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::FLEET_INFO, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
~0u, // no _split_
~0u, // no sizeof(Split)
PROTOBUF_FIELD_OFFSET(::FLEET_INFO, _impl_.id_),
PROTOBUF_FIELD_OFFSET(::FLEET_INFO, _impl_.ship_list_),
0,
~0u,
};
static const ::_pbi::MigrationSchema
schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{0, 13, -1, sizeof(::CAPITAL_LOG)},
{18, 29, -1, sizeof(::WEEKLY_TASK)},
{32, 43, -1, sizeof(::GUILD_TECHNOLOGY)},
{46, 56, -1, sizeof(::FLEET_INFO)},
};
static const ::_pb::Message* const file_default_instances[] = {
&::_CAPITAL_LOG_default_instance_._instance,
&::_WEEKLY_TASK_default_instance_._instance,
&::_GUILD_TECHNOLOGY_default_instance_._instance,
&::_FLEET_INFO_default_instance_._instance,
};
const char descriptor_table_protodef_guild_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
"\n\013guild.proto\"f\n\013CAPITAL_LOG\022\021\n\tmember_i"
"d\030\001 \002(\r\022\014\n\004name\030\002 \002(\t\022\022\n\nevent_type\030\003 \002("
"\r\022\024\n\014event_target\030\004 \003(\r\022\014\n\004time\030\005 \002(\r\"B\n"
"\013WEEKLY_TASK\022\n\n\002id\030\001 \002(\r\022\020\n\010progress\030\002 \002"
"(\r\022\025\n\rmonday_0clock\030\003 \002(\r\"\?\n\020GUILD_TECHN"
"OLOGY\022\n\n\002id\030\001 \002(\r\022\r\n\005state\030\002 \002(\r\022\020\n\010prog"
"ress\030\003 \002(\r\"+\n\nFLEET_INFO\022\n\n\002id\030\001 \002(\r\022\021\n\t"
"ship_list\030\002 \003(\r"
};
static ::absl::once_flag descriptor_table_guild_2eproto_once;
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_guild_2eproto = {
false,
false,
295,
descriptor_table_protodef_guild_2eproto,
"guild.proto",
&descriptor_table_guild_2eproto_once,
nullptr,
0,
4,
schemas,
file_default_instances,
TableStruct_guild_2eproto::offsets,
file_level_enum_descriptors_guild_2eproto,
file_level_service_descriptors_guild_2eproto,
};
// ===================================================================
class CAPITAL_LOG::_Internal {
public:
using HasBits =
decltype(std::declval<CAPITAL_LOG>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_._has_bits_);
static bool MissingRequiredFields(const HasBits& has_bits) {
return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
}
};
CAPITAL_LOG::CAPITAL_LOG(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:CAPITAL_LOG)
}
inline PROTOBUF_NDEBUG_INLINE CAPITAL_LOG::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
const Impl_& from, const ::CAPITAL_LOG& from_msg)
: _has_bits_{from._has_bits_},
_cached_size_{0},
event_target_{visibility, arena, from.event_target_},
name_(arena, from.name_) {}
CAPITAL_LOG::CAPITAL_LOG(
::google::protobuf::Arena* arena,
const CAPITAL_LOG& from)
: ::google::protobuf::Message(arena) {
CAPITAL_LOG* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
from._internal_metadata_);
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
::memcpy(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, member_id_),
reinterpret_cast<const char *>(&from._impl_) +
offsetof(Impl_, member_id_),
offsetof(Impl_, time_) -
offsetof(Impl_, member_id_) +
sizeof(Impl_::time_));
// @@protoc_insertion_point(copy_constructor:CAPITAL_LOG)
}
inline PROTOBUF_NDEBUG_INLINE CAPITAL_LOG::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0},
event_target_{visibility, arena},
name_(arena) {}
inline void CAPITAL_LOG::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, member_id_),
0,
offsetof(Impl_, time_) -
offsetof(Impl_, member_id_) +
sizeof(Impl_::time_));
}
CAPITAL_LOG::~CAPITAL_LOG() {
// @@protoc_insertion_point(destructor:CAPITAL_LOG)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void CAPITAL_LOG::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
_impl_.name_.Destroy();
_impl_.~Impl_();
}
const ::google::protobuf::MessageLite::ClassData*
CAPITAL_LOG::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
CAPITAL_LOG::IsInitializedImpl,
PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_._cached_size_),
false,
},
&CAPITAL_LOG::MergeImpl,
&CAPITAL_LOG::kDescriptorMethods,
&descriptor_table_guild_2eproto,
nullptr, // tracker
};
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
return _data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 5, 0, 24, 2> CAPITAL_LOG::_table_ = {
{
PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _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
&_CAPITAL_LOG_default_instance_._instance,
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::CAPITAL_LOG>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
// required uint32 member_id = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CAPITAL_LOG, _impl_.member_id_), 1>(),
{8, 1, 0, PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.member_id_)}},
// required string name = 2;
{::_pbi::TcParser::FastSS1,
{18, 0, 0, PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.name_)}},
// required uint32 event_type = 3;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CAPITAL_LOG, _impl_.event_type_), 2>(),
{24, 2, 0, PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.event_type_)}},
// repeated uint32 event_target = 4;
{::_pbi::TcParser::FastV32R1,
{32, 63, 0, PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.event_target_)}},
// required uint32 time = 5;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CAPITAL_LOG, _impl_.time_), 3>(),
{40, 3, 0, PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.time_)}},
{::_pbi::TcParser::MiniParse, {}},
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, {{
// required uint32 member_id = 1;
{PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.member_id_), _Internal::kHasBitsOffset + 1, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// required string name = 2;
{PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
// required uint32 event_type = 3;
{PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.event_type_), _Internal::kHasBitsOffset + 2, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// repeated uint32 event_target = 4;
{PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.event_target_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
// required uint32 time = 5;
{PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.time_), _Internal::kHasBitsOffset + 3, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
}},
// no aux_entries
{{
"\13\0\4\0\0\0\0\0"
"CAPITAL_LOG"
"name"
}},
};
PROTOBUF_NOINLINE void CAPITAL_LOG::Clear() {
// @@protoc_insertion_point(message_clear_start:CAPITAL_LOG)
::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_.event_target_.Clear();
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
_impl_.name_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x0000000eu) {
::memset(&_impl_.member_id_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.time_) -
reinterpret_cast<char*>(&_impl_.member_id_)) + sizeof(_impl_.time_));
}
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* CAPITAL_LOG::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:CAPITAL_LOG)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
// required uint32 member_id = 1;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this->_internal_member_id(), target);
}
// required string name = 2;
if (cached_has_bits & 0x00000001u) {
const std::string& _s = this->_internal_name();
::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
"CAPITAL_LOG.name");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
// required uint32 event_type = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3, this->_internal_event_type(), target);
}
// repeated uint32 event_target = 4;
for (int i = 0, n = this->_internal_event_target_size(); i < n; ++i) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4, this->_internal_event_target().Get(i), target);
}
// required uint32 time = 5;
if (cached_has_bits & 0x00000008u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
5, this->_internal_time(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:CAPITAL_LOG)
return target;
}
::size_t CAPITAL_LOG::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:CAPITAL_LOG)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated uint32 event_target = 4;
{
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
this->_internal_event_target())
;
std::size_t tag_size = std::size_t{1} *
::_pbi::FromIntSize(this->_internal_event_target_size());
;
total_size += tag_size + data_size;
}
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// required string name = 2;
if (cached_has_bits & 0x00000001u) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// required uint32 member_id = 1;
if (cached_has_bits & 0x00000002u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_member_id());
}
// required uint32 event_type = 3;
if (cached_has_bits & 0x00000004u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_event_type());
}
// required uint32 time = 5;
if (cached_has_bits & 0x00000008u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_time());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
void CAPITAL_LOG::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<CAPITAL_LOG*>(&to_msg);
auto& from = static_cast<const CAPITAL_LOG&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:CAPITAL_LOG)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_mutable_event_target()->MergeFrom(from._internal_event_target());
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
_this->_internal_set_name(from._internal_name());
}
if (cached_has_bits & 0x00000002u) {
_this->_impl_.member_id_ = from._impl_.member_id_;
}
if (cached_has_bits & 0x00000004u) {
_this->_impl_.event_type_ = from._impl_.event_type_;
}
if (cached_has_bits & 0x00000008u) {
_this->_impl_.time_ = from._impl_.time_;
}
}
_this->_impl_._has_bits_[0] |= cached_has_bits;
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
void CAPITAL_LOG::CopyFrom(const CAPITAL_LOG& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:CAPITAL_LOG)
if (&from == this) return;
Clear();
MergeFrom(from);
}
PROTOBUF_NOINLINE bool CAPITAL_LOG::IsInitializedImpl(
const MessageLite& msg) {
auto& this_ = static_cast<const CAPITAL_LOG&>(msg);
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
return false;
}
return true;
}
void CAPITAL_LOG::InternalSwap(CAPITAL_LOG* PROTOBUF_RESTRICT 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_.event_target_.InternalSwap(&other->_impl_.event_target_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
::google::protobuf::internal::memswap<
PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.time_)
+ sizeof(CAPITAL_LOG::_impl_.time_)
- PROTOBUF_FIELD_OFFSET(CAPITAL_LOG, _impl_.member_id_)>(
reinterpret_cast<char*>(&_impl_.member_id_),
reinterpret_cast<char*>(&other->_impl_.member_id_));
}
::google::protobuf::Metadata CAPITAL_LOG::GetMetadata() const {
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
}
// ===================================================================
class WEEKLY_TASK::_Internal {
public:
using HasBits =
decltype(std::declval<WEEKLY_TASK>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_._has_bits_);
static bool MissingRequiredFields(const HasBits& has_bits) {
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
}
};
WEEKLY_TASK::WEEKLY_TASK(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:WEEKLY_TASK)
}
WEEKLY_TASK::WEEKLY_TASK(
::google::protobuf::Arena* arena, const WEEKLY_TASK& from)
: WEEKLY_TASK(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE WEEKLY_TASK::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void WEEKLY_TASK::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, id_),
0,
offsetof(Impl_, monday_0clock_) -
offsetof(Impl_, id_) +
sizeof(Impl_::monday_0clock_));
}
WEEKLY_TASK::~WEEKLY_TASK() {
// @@protoc_insertion_point(destructor:WEEKLY_TASK)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void WEEKLY_TASK::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
_impl_.~Impl_();
}
const ::google::protobuf::MessageLite::ClassData*
WEEKLY_TASK::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
WEEKLY_TASK::IsInitializedImpl,
PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_._cached_size_),
false,
},
&WEEKLY_TASK::MergeImpl,
&WEEKLY_TASK::kDescriptorMethods,
&descriptor_table_guild_2eproto,
nullptr, // tracker
};
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
return _data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> WEEKLY_TASK::_table_ = {
{
PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _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
&_WEEKLY_TASK_default_instance_._instance,
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::WEEKLY_TASK>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
// required uint32 id = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WEEKLY_TASK, _impl_.id_), 0>(),
{8, 0, 0, PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.id_)}},
// required uint32 progress = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WEEKLY_TASK, _impl_.progress_), 1>(),
{16, 1, 0, PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.progress_)}},
// required uint32 monday_0clock = 3;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WEEKLY_TASK, _impl_.monday_0clock_), 2>(),
{24, 2, 0, PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.monday_0clock_)}},
}}, {{
65535, 65535
}}, {{
// required uint32 id = 1;
{PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// required uint32 progress = 2;
{PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.progress_), _Internal::kHasBitsOffset + 1, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// required uint32 monday_0clock = 3;
{PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.monday_0clock_), _Internal::kHasBitsOffset + 2, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void WEEKLY_TASK::Clear() {
// @@protoc_insertion_point(message_clear_start:WEEKLY_TASK)
::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 (cached_has_bits & 0x00000007u) {
::memset(&_impl_.id_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.monday_0clock_) -
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.monday_0clock_));
}
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* WEEKLY_TASK::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:WEEKLY_TASK)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
// required uint32 id = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this->_internal_id(), target);
}
// required uint32 progress = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2, this->_internal_progress(), target);
}
// required uint32 monday_0clock = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3, this->_internal_monday_0clock(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:WEEKLY_TASK)
return target;
}
::size_t WEEKLY_TASK::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:WEEKLY_TASK)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// required uint32 id = 1;
if (cached_has_bits & 0x00000001u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_id());
}
// required uint32 progress = 2;
if (cached_has_bits & 0x00000002u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_progress());
}
// required uint32 monday_0clock = 3;
if (cached_has_bits & 0x00000004u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_monday_0clock());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
void WEEKLY_TASK::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<WEEKLY_TASK*>(&to_msg);
auto& from = static_cast<const WEEKLY_TASK&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:WEEKLY_TASK)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
_this->_impl_.id_ = from._impl_.id_;
}
if (cached_has_bits & 0x00000002u) {
_this->_impl_.progress_ = from._impl_.progress_;
}
if (cached_has_bits & 0x00000004u) {
_this->_impl_.monday_0clock_ = from._impl_.monday_0clock_;
}
}
_this->_impl_._has_bits_[0] |= cached_has_bits;
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
void WEEKLY_TASK::CopyFrom(const WEEKLY_TASK& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:WEEKLY_TASK)
if (&from == this) return;
Clear();
MergeFrom(from);
}
PROTOBUF_NOINLINE bool WEEKLY_TASK::IsInitializedImpl(
const MessageLite& msg) {
auto& this_ = static_cast<const WEEKLY_TASK&>(msg);
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
return false;
}
return true;
}
void WEEKLY_TASK::InternalSwap(WEEKLY_TASK* PROTOBUF_RESTRICT 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(WEEKLY_TASK, _impl_.monday_0clock_)
+ sizeof(WEEKLY_TASK::_impl_.monday_0clock_)
- PROTOBUF_FIELD_OFFSET(WEEKLY_TASK, _impl_.id_)>(
reinterpret_cast<char*>(&_impl_.id_),
reinterpret_cast<char*>(&other->_impl_.id_));
}
::google::protobuf::Metadata WEEKLY_TASK::GetMetadata() const {
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
}
// ===================================================================
class GUILD_TECHNOLOGY::_Internal {
public:
using HasBits =
decltype(std::declval<GUILD_TECHNOLOGY>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_._has_bits_);
static bool MissingRequiredFields(const HasBits& has_bits) {
return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
}
};
GUILD_TECHNOLOGY::GUILD_TECHNOLOGY(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:GUILD_TECHNOLOGY)
}
GUILD_TECHNOLOGY::GUILD_TECHNOLOGY(
::google::protobuf::Arena* arena, const GUILD_TECHNOLOGY& from)
: GUILD_TECHNOLOGY(arena) {
MergeFrom(from);
}
inline PROTOBUF_NDEBUG_INLINE GUILD_TECHNOLOGY::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0} {}
inline void GUILD_TECHNOLOGY::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
::memset(reinterpret_cast<char *>(&_impl_) +
offsetof(Impl_, id_),
0,
offsetof(Impl_, progress_) -
offsetof(Impl_, id_) +
sizeof(Impl_::progress_));
}
GUILD_TECHNOLOGY::~GUILD_TECHNOLOGY() {
// @@protoc_insertion_point(destructor:GUILD_TECHNOLOGY)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void GUILD_TECHNOLOGY::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
_impl_.~Impl_();
}
const ::google::protobuf::MessageLite::ClassData*
GUILD_TECHNOLOGY::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
GUILD_TECHNOLOGY::IsInitializedImpl,
PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_._cached_size_),
false,
},
&GUILD_TECHNOLOGY::MergeImpl,
&GUILD_TECHNOLOGY::kDescriptorMethods,
&descriptor_table_guild_2eproto,
nullptr, // tracker
};
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
return _data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> GUILD_TECHNOLOGY::_table_ = {
{
PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _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
&_GUILD_TECHNOLOGY_default_instance_._instance,
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::GUILD_TECHNOLOGY>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
// required uint32 id = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GUILD_TECHNOLOGY, _impl_.id_), 0>(),
{8, 0, 0, PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.id_)}},
// required uint32 state = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GUILD_TECHNOLOGY, _impl_.state_), 1>(),
{16, 1, 0, PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.state_)}},
// required uint32 progress = 3;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GUILD_TECHNOLOGY, _impl_.progress_), 2>(),
{24, 2, 0, PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.progress_)}},
}}, {{
65535, 65535
}}, {{
// required uint32 id = 1;
{PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// required uint32 state = 2;
{PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.state_), _Internal::kHasBitsOffset + 1, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// required uint32 progress = 3;
{PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.progress_), _Internal::kHasBitsOffset + 2, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void GUILD_TECHNOLOGY::Clear() {
// @@protoc_insertion_point(message_clear_start:GUILD_TECHNOLOGY)
::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 (cached_has_bits & 0x00000007u) {
::memset(&_impl_.id_, 0, static_cast<::size_t>(
reinterpret_cast<char*>(&_impl_.progress_) -
reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.progress_));
}
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* GUILD_TECHNOLOGY::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:GUILD_TECHNOLOGY)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
// required uint32 id = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this->_internal_id(), target);
}
// required uint32 state = 2;
if (cached_has_bits & 0x00000002u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2, this->_internal_state(), target);
}
// required uint32 progress = 3;
if (cached_has_bits & 0x00000004u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3, this->_internal_progress(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:GUILD_TECHNOLOGY)
return target;
}
::size_t GUILD_TECHNOLOGY::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:GUILD_TECHNOLOGY)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
// required uint32 id = 1;
if (cached_has_bits & 0x00000001u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_id());
}
// required uint32 state = 2;
if (cached_has_bits & 0x00000002u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_state());
}
// required uint32 progress = 3;
if (cached_has_bits & 0x00000004u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_progress());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
void GUILD_TECHNOLOGY::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<GUILD_TECHNOLOGY*>(&to_msg);
auto& from = static_cast<const GUILD_TECHNOLOGY&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:GUILD_TECHNOLOGY)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000007u) {
if (cached_has_bits & 0x00000001u) {
_this->_impl_.id_ = from._impl_.id_;
}
if (cached_has_bits & 0x00000002u) {
_this->_impl_.state_ = from._impl_.state_;
}
if (cached_has_bits & 0x00000004u) {
_this->_impl_.progress_ = from._impl_.progress_;
}
}
_this->_impl_._has_bits_[0] |= cached_has_bits;
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
void GUILD_TECHNOLOGY::CopyFrom(const GUILD_TECHNOLOGY& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:GUILD_TECHNOLOGY)
if (&from == this) return;
Clear();
MergeFrom(from);
}
PROTOBUF_NOINLINE bool GUILD_TECHNOLOGY::IsInitializedImpl(
const MessageLite& msg) {
auto& this_ = static_cast<const GUILD_TECHNOLOGY&>(msg);
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
return false;
}
return true;
}
void GUILD_TECHNOLOGY::InternalSwap(GUILD_TECHNOLOGY* PROTOBUF_RESTRICT 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(GUILD_TECHNOLOGY, _impl_.progress_)
+ sizeof(GUILD_TECHNOLOGY::_impl_.progress_)
- PROTOBUF_FIELD_OFFSET(GUILD_TECHNOLOGY, _impl_.id_)>(
reinterpret_cast<char*>(&_impl_.id_),
reinterpret_cast<char*>(&other->_impl_.id_));
}
::google::protobuf::Metadata GUILD_TECHNOLOGY::GetMetadata() const {
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
}
// ===================================================================
class FLEET_INFO::_Internal {
public:
using HasBits =
decltype(std::declval<FLEET_INFO>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_._has_bits_);
static bool MissingRequiredFields(const HasBits& has_bits) {
return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
}
};
FLEET_INFO::FLEET_INFO(::google::protobuf::Arena* arena)
: ::google::protobuf::Message(arena) {
SharedCtor(arena);
// @@protoc_insertion_point(arena_constructor:FLEET_INFO)
}
inline PROTOBUF_NDEBUG_INLINE FLEET_INFO::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
const Impl_& from, const ::FLEET_INFO& from_msg)
: _has_bits_{from._has_bits_},
_cached_size_{0},
ship_list_{visibility, arena, from.ship_list_} {}
FLEET_INFO::FLEET_INFO(
::google::protobuf::Arena* arena,
const FLEET_INFO& from)
: ::google::protobuf::Message(arena) {
FLEET_INFO* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
from._internal_metadata_);
new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
_impl_.id_ = from._impl_.id_;
// @@protoc_insertion_point(copy_constructor:FLEET_INFO)
}
inline PROTOBUF_NDEBUG_INLINE FLEET_INFO::Impl_::Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena)
: _cached_size_{0},
ship_list_{visibility, arena} {}
inline void FLEET_INFO::SharedCtor(::_pb::Arena* arena) {
new (&_impl_) Impl_(internal_visibility(), arena);
_impl_.id_ = {};
}
FLEET_INFO::~FLEET_INFO() {
// @@protoc_insertion_point(destructor:FLEET_INFO)
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
SharedDtor();
}
inline void FLEET_INFO::SharedDtor() {
ABSL_DCHECK(GetArena() == nullptr);
_impl_.~Impl_();
}
const ::google::protobuf::MessageLite::ClassData*
FLEET_INFO::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
FLEET_INFO::IsInitializedImpl,
PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_._cached_size_),
false,
},
&FLEET_INFO::MergeImpl,
&FLEET_INFO::kDescriptorMethods,
&descriptor_table_guild_2eproto,
nullptr, // tracker
};
::google::protobuf::internal::PrefetchToLocalCache(&_data_);
::google::protobuf::internal::PrefetchToLocalCache(_data_.tc_table);
return _data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> FLEET_INFO::_table_ = {
{
PROTOBUF_FIELD_OFFSET(FLEET_INFO, _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
&_FLEET_INFO_default_instance_._instance,
nullptr, // post_loop_handler
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::FLEET_INFO>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// repeated uint32 ship_list = 2;
{::_pbi::TcParser::FastV32R1,
{16, 63, 0, PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_.ship_list_)}},
// required uint32 id = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FLEET_INFO, _impl_.id_), 0>(),
{8, 0, 0, PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_.id_)}},
}}, {{
65535, 65535
}}, {{
// required uint32 id = 1;
{PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_.id_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
// repeated uint32 ship_list = 2;
{PROTOBUF_FIELD_OFFSET(FLEET_INFO, _impl_.ship_list_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
PROTOBUF_NOINLINE void FLEET_INFO::Clear() {
// @@protoc_insertion_point(message_clear_start:FLEET_INFO)
::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_.ship_list_.Clear();
_impl_.id_ = 0u;
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* FLEET_INFO::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:FLEET_INFO)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
cached_has_bits = _impl_._has_bits_[0];
// required uint32 id = 1;
if (cached_has_bits & 0x00000001u) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1, this->_internal_id(), target);
}
// repeated uint32 ship_list = 2;
for (int i = 0, n = this->_internal_ship_list_size(); i < n; ++i) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2, this->_internal_ship_list().Get(i), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:FLEET_INFO)
return target;
}
::size_t FLEET_INFO::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:FLEET_INFO)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated uint32 ship_list = 2;
{
std::size_t data_size = ::_pbi::WireFormatLite::UInt32Size(
this->_internal_ship_list())
;
std::size_t tag_size = std::size_t{1} *
::_pbi::FromIntSize(this->_internal_ship_list_size());
;
total_size += tag_size + data_size;
}
// required uint32 id = 1;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_id());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
void FLEET_INFO::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<FLEET_INFO*>(&to_msg);
auto& from = static_cast<const FLEET_INFO&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:FLEET_INFO)
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
_this->_internal_mutable_ship_list()->MergeFrom(from._internal_ship_list());
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
_this->_impl_.id_ = from._impl_.id_;
}
_this->_impl_._has_bits_[0] |= cached_has_bits;
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
void FLEET_INFO::CopyFrom(const FLEET_INFO& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:FLEET_INFO)
if (&from == this) return;
Clear();
MergeFrom(from);
}
PROTOBUF_NOINLINE bool FLEET_INFO::IsInitializedImpl(
const MessageLite& msg) {
auto& this_ = static_cast<const FLEET_INFO&>(msg);
if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
return false;
}
return true;
}
void FLEET_INFO::InternalSwap(FLEET_INFO* PROTOBUF_RESTRICT other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
_impl_.ship_list_.InternalSwap(&other->_impl_.ship_list_);
swap(_impl_.id_, other->_impl_.id_);
}
::google::protobuf::Metadata FLEET_INFO::GetMetadata() const {
return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
}
// @@protoc_insertion_point(namespace_scope)
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
_static_init2_ PROTOBUF_UNUSED =
(::_pbi::AddDescriptors(&descriptor_table_guild_2eproto),
::std::false_type{});
#include "google/protobuf/port_undef.inc"