You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
467 lines
18 KiB
467 lines
18 KiB
// Generated by the protocol buffer compiler. DO NOT EDIT! |
|
// NO CHECKED-IN PROTOBUF GENCODE |
|
// source: init.proto |
|
// Protobuf C++ Version: 5.29.3 |
|
|
|
#include "init.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 dapi { |
|
namespace init { |
|
|
|
inline constexpr ServerResponse::Impl_::Impl_( |
|
::_pbi::ConstantInitialized) noexcept |
|
: port_{0u}, |
|
_cached_size_{0} {} |
|
|
|
template <typename> |
|
PROTOBUF_CONSTEXPR ServerResponse::ServerResponse(::_pbi::ConstantInitialized) |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
: ::google::protobuf::MessageLite(_class_data_.base()), |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
: ::google::protobuf::MessageLite(), |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
_impl_(::_pbi::ConstantInitialized()) { |
|
} |
|
struct ServerResponseDefaultTypeInternal { |
|
PROTOBUF_CONSTEXPR ServerResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
|
~ServerResponseDefaultTypeInternal() {} |
|
union { |
|
ServerResponse _instance; |
|
}; |
|
}; |
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServerResponseDefaultTypeInternal _ServerResponse_default_instance_; |
|
|
|
inline constexpr ClientBroadcast::Impl_::Impl_( |
|
::_pbi::ConstantInitialized) noexcept |
|
: _cached_size_{0} {} |
|
|
|
template <typename> |
|
PROTOBUF_CONSTEXPR ClientBroadcast::ClientBroadcast(::_pbi::ConstantInitialized) |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
: ::google::protobuf::MessageLite(_class_data_.base()), |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
: ::google::protobuf::MessageLite(), |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
_impl_(::_pbi::ConstantInitialized()) { |
|
} |
|
struct ClientBroadcastDefaultTypeInternal { |
|
PROTOBUF_CONSTEXPR ClientBroadcastDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
|
~ClientBroadcastDefaultTypeInternal() {} |
|
union { |
|
ClientBroadcast _instance; |
|
}; |
|
}; |
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ClientBroadcastDefaultTypeInternal _ClientBroadcast_default_instance_; |
|
} // namespace init |
|
} // namespace dapi |
|
namespace dapi { |
|
namespace init { |
|
// =================================================================== |
|
|
|
class ClientBroadcast::_Internal { |
|
public: |
|
}; |
|
|
|
ClientBroadcast::ClientBroadcast(::google::protobuf::Arena* arena) |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
: ::google::protobuf::MessageLite(arena, _class_data_.base()) { |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
: ::google::protobuf::MessageLite(arena) { |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
SharedCtor(arena); |
|
// @@protoc_insertion_point(arena_constructor:dapi.init.ClientBroadcast) |
|
} |
|
ClientBroadcast::ClientBroadcast( |
|
::google::protobuf::Arena* arena, const ClientBroadcast& from) |
|
: ClientBroadcast(arena) { |
|
MergeFrom(from); |
|
} |
|
inline PROTOBUF_NDEBUG_INLINE ClientBroadcast::Impl_::Impl_( |
|
::google::protobuf::internal::InternalVisibility visibility, |
|
::google::protobuf::Arena* arena) |
|
: _cached_size_{0} {} |
|
|
|
inline void ClientBroadcast::SharedCtor(::_pb::Arena* arena) { |
|
new (&_impl_) Impl_(internal_visibility(), arena); |
|
} |
|
ClientBroadcast::~ClientBroadcast() { |
|
// @@protoc_insertion_point(destructor:dapi.init.ClientBroadcast) |
|
SharedDtor(*this); |
|
} |
|
inline void ClientBroadcast::SharedDtor(MessageLite& self) { |
|
ClientBroadcast& this_ = static_cast<ClientBroadcast&>(self); |
|
this_._internal_metadata_.Delete<std::string>(); |
|
ABSL_DCHECK(this_.GetArena() == nullptr); |
|
this_._impl_.~Impl_(); |
|
} |
|
|
|
inline void* ClientBroadcast::PlacementNew_(const void*, void* mem, |
|
::google::protobuf::Arena* arena) { |
|
return ::new (mem) ClientBroadcast(arena); |
|
} |
|
constexpr auto ClientBroadcast::InternalNewImpl_() { |
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ClientBroadcast), |
|
alignof(ClientBroadcast)); |
|
} |
|
PROTOBUF_CONSTINIT |
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
|
const ::google::protobuf::internal::ClassDataLite<26> ClientBroadcast::_class_data_ = { |
|
{ |
|
&_ClientBroadcast_default_instance_._instance, |
|
&_table_.header, |
|
nullptr, // OnDemandRegisterArenaDtor |
|
nullptr, // IsInitialized |
|
&ClientBroadcast::MergeImpl, |
|
::google::protobuf::MessageLite::GetNewImpl<ClientBroadcast>(), |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
&ClientBroadcast::SharedDtor, |
|
::google::protobuf::MessageLite::GetClearImpl<ClientBroadcast>(), &ClientBroadcast::ByteSizeLong, |
|
&ClientBroadcast::_InternalSerialize, |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
PROTOBUF_FIELD_OFFSET(ClientBroadcast, _impl_._cached_size_), |
|
true, |
|
}, |
|
"dapi.init.ClientBroadcast", |
|
}; |
|
const ::google::protobuf::internal::ClassData* ClientBroadcast::GetClassData() const { |
|
return _class_data_.base(); |
|
} |
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
|
const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ClientBroadcast::_table_ = { |
|
{ |
|
0, // no _has_bits_ |
|
0, // no _extensions_ |
|
0, 0, // max_field_number, fast_idx_mask |
|
offsetof(decltype(_table_), field_lookup_table), |
|
4294967295, // skipmap |
|
offsetof(decltype(_table_), field_names), // no field_entries |
|
0, // num_field_entries |
|
0, // num_aux_entries |
|
offsetof(decltype(_table_), field_names), // no aux_entries |
|
_class_data_.base(), |
|
nullptr, // post_loop_handler |
|
::_pbi::TcParser::GenericFallbackLite, // fallback |
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
|
::_pbi::TcParser::GetTable<::dapi::init::ClientBroadcast>(), // to_prefetch |
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE |
|
}, {{ |
|
{::_pbi::TcParser::MiniParse, {}}, |
|
}}, {{ |
|
65535, 65535 |
|
}}, |
|
// no field_entries, or aux_entries |
|
{{ |
|
}}, |
|
}; |
|
|
|
PROTOBUF_NOINLINE void ClientBroadcast::Clear() { |
|
// @@protoc_insertion_point(message_clear_start:dapi.init.ClientBroadcast) |
|
::google::protobuf::internal::TSanWrite(&_impl_); |
|
::uint32_t cached_has_bits = 0; |
|
// Prevent compiler warnings about cached_has_bits being unused |
|
(void) cached_has_bits; |
|
|
|
_internal_metadata_.Clear<std::string>(); |
|
} |
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
::uint8_t* ClientBroadcast::_InternalSerialize( |
|
const MessageLite& base, ::uint8_t* target, |
|
::google::protobuf::io::EpsCopyOutputStream* stream) { |
|
const ClientBroadcast& this_ = static_cast<const ClientBroadcast&>(base); |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
::uint8_t* ClientBroadcast::_InternalSerialize( |
|
::uint8_t* target, |
|
::google::protobuf::io::EpsCopyOutputStream* stream) const { |
|
const ClientBroadcast& this_ = *this; |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
// @@protoc_insertion_point(serialize_to_array_start:dapi.init.ClientBroadcast) |
|
::uint32_t cached_has_bits = 0; |
|
(void)cached_has_bits; |
|
|
|
if (PROTOBUF_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:dapi.init.ClientBroadcast) |
|
return target; |
|
} |
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
::size_t ClientBroadcast::ByteSizeLong(const MessageLite& base) { |
|
const ClientBroadcast& this_ = static_cast<const ClientBroadcast&>(base); |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
::size_t ClientBroadcast::ByteSizeLong() const { |
|
const ClientBroadcast& this_ = *this; |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
// @@protoc_insertion_point(message_byte_size_start:dapi.init.ClientBroadcast) |
|
::size_t total_size = 0; |
|
|
|
::uint32_t cached_has_bits = 0; |
|
// Prevent compiler warnings about cached_has_bits being unused |
|
(void)cached_has_bits; |
|
|
|
if (PROTOBUF_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 ClientBroadcast::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
|
auto* const _this = static_cast<ClientBroadcast*>(&to_msg); |
|
auto& from = static_cast<const ClientBroadcast&>(from_msg); |
|
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.init.ClientBroadcast) |
|
ABSL_DCHECK_NE(&from, _this); |
|
::uint32_t cached_has_bits = 0; |
|
(void) cached_has_bits; |
|
|
|
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_); |
|
} |
|
|
|
void ClientBroadcast::CopyFrom(const ClientBroadcast& from) { |
|
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.init.ClientBroadcast) |
|
if (&from == this) return; |
|
Clear(); |
|
MergeFrom(from); |
|
} |
|
|
|
|
|
void ClientBroadcast::InternalSwap(ClientBroadcast* PROTOBUF_RESTRICT other) { |
|
using std::swap; |
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_); |
|
} |
|
|
|
// =================================================================== |
|
|
|
class ServerResponse::_Internal { |
|
public: |
|
}; |
|
|
|
ServerResponse::ServerResponse(::google::protobuf::Arena* arena) |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
: ::google::protobuf::MessageLite(arena, _class_data_.base()) { |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
: ::google::protobuf::MessageLite(arena) { |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
SharedCtor(arena); |
|
// @@protoc_insertion_point(arena_constructor:dapi.init.ServerResponse) |
|
} |
|
ServerResponse::ServerResponse( |
|
::google::protobuf::Arena* arena, const ServerResponse& from) |
|
: ServerResponse(arena) { |
|
MergeFrom(from); |
|
} |
|
inline PROTOBUF_NDEBUG_INLINE ServerResponse::Impl_::Impl_( |
|
::google::protobuf::internal::InternalVisibility visibility, |
|
::google::protobuf::Arena* arena) |
|
: _cached_size_{0} {} |
|
|
|
inline void ServerResponse::SharedCtor(::_pb::Arena* arena) { |
|
new (&_impl_) Impl_(internal_visibility(), arena); |
|
_impl_.port_ = {}; |
|
} |
|
ServerResponse::~ServerResponse() { |
|
// @@protoc_insertion_point(destructor:dapi.init.ServerResponse) |
|
SharedDtor(*this); |
|
} |
|
inline void ServerResponse::SharedDtor(MessageLite& self) { |
|
ServerResponse& this_ = static_cast<ServerResponse&>(self); |
|
this_._internal_metadata_.Delete<std::string>(); |
|
ABSL_DCHECK(this_.GetArena() == nullptr); |
|
this_._impl_.~Impl_(); |
|
} |
|
|
|
inline void* ServerResponse::PlacementNew_(const void*, void* mem, |
|
::google::protobuf::Arena* arena) { |
|
return ::new (mem) ServerResponse(arena); |
|
} |
|
constexpr auto ServerResponse::InternalNewImpl_() { |
|
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ServerResponse), |
|
alignof(ServerResponse)); |
|
} |
|
PROTOBUF_CONSTINIT |
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
|
const ::google::protobuf::internal::ClassDataLite<25> ServerResponse::_class_data_ = { |
|
{ |
|
&_ServerResponse_default_instance_._instance, |
|
&_table_.header, |
|
nullptr, // OnDemandRegisterArenaDtor |
|
nullptr, // IsInitialized |
|
&ServerResponse::MergeImpl, |
|
::google::protobuf::MessageLite::GetNewImpl<ServerResponse>(), |
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
&ServerResponse::SharedDtor, |
|
::google::protobuf::MessageLite::GetClearImpl<ServerResponse>(), &ServerResponse::ByteSizeLong, |
|
&ServerResponse::_InternalSerialize, |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
PROTOBUF_FIELD_OFFSET(ServerResponse, _impl_._cached_size_), |
|
true, |
|
}, |
|
"dapi.init.ServerResponse", |
|
}; |
|
const ::google::protobuf::internal::ClassData* ServerResponse::GetClassData() const { |
|
return _class_data_.base(); |
|
} |
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ServerResponse::_table_ = { |
|
{ |
|
0, // no _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 |
|
_class_data_.base(), |
|
nullptr, // post_loop_handler |
|
::_pbi::TcParser::GenericFallbackLite, // fallback |
|
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
|
::_pbi::TcParser::GetTable<::dapi::init::ServerResponse>(), // to_prefetch |
|
#endif // PROTOBUF_PREFETCH_PARSE_TABLE |
|
}, {{ |
|
// uint32 port = 1; |
|
{::_pbi::TcParser::FastV32S1, |
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(ServerResponse, _impl_.port_)}}, |
|
}}, {{ |
|
65535, 65535 |
|
}}, {{ |
|
// uint32 port = 1; |
|
{PROTOBUF_FIELD_OFFSET(ServerResponse, _impl_.port_), 0, 0, |
|
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, |
|
}}, |
|
// no aux_entries |
|
{{ |
|
}}, |
|
}; |
|
|
|
PROTOBUF_NOINLINE void ServerResponse::Clear() { |
|
// @@protoc_insertion_point(message_clear_start:dapi.init.ServerResponse) |
|
::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_.port_ = 0u; |
|
_internal_metadata_.Clear<std::string>(); |
|
} |
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
::uint8_t* ServerResponse::_InternalSerialize( |
|
const MessageLite& base, ::uint8_t* target, |
|
::google::protobuf::io::EpsCopyOutputStream* stream) { |
|
const ServerResponse& this_ = static_cast<const ServerResponse&>(base); |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
::uint8_t* ServerResponse::_InternalSerialize( |
|
::uint8_t* target, |
|
::google::protobuf::io::EpsCopyOutputStream* stream) const { |
|
const ServerResponse& this_ = *this; |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
// @@protoc_insertion_point(serialize_to_array_start:dapi.init.ServerResponse) |
|
::uint32_t cached_has_bits = 0; |
|
(void)cached_has_bits; |
|
|
|
// uint32 port = 1; |
|
if (this_._internal_port() != 0) { |
|
target = stream->EnsureSpace(target); |
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray( |
|
1, this_._internal_port(), target); |
|
} |
|
|
|
if (PROTOBUF_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:dapi.init.ServerResponse) |
|
return target; |
|
} |
|
|
|
#if defined(PROTOBUF_CUSTOM_VTABLE) |
|
::size_t ServerResponse::ByteSizeLong(const MessageLite& base) { |
|
const ServerResponse& this_ = static_cast<const ServerResponse&>(base); |
|
#else // PROTOBUF_CUSTOM_VTABLE |
|
::size_t ServerResponse::ByteSizeLong() const { |
|
const ServerResponse& this_ = *this; |
|
#endif // PROTOBUF_CUSTOM_VTABLE |
|
// @@protoc_insertion_point(message_byte_size_start:dapi.init.ServerResponse) |
|
::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 port = 1; |
|
if (this_._internal_port() != 0) { |
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( |
|
this_._internal_port()); |
|
} |
|
} |
|
if (PROTOBUF_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 ServerResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
|
auto* const _this = static_cast<ServerResponse*>(&to_msg); |
|
auto& from = static_cast<const ServerResponse&>(from_msg); |
|
// @@protoc_insertion_point(class_specific_merge_from_start:dapi.init.ServerResponse) |
|
ABSL_DCHECK_NE(&from, _this); |
|
::uint32_t cached_has_bits = 0; |
|
(void) cached_has_bits; |
|
|
|
if (from._internal_port() != 0) { |
|
_this->_impl_.port_ = from._impl_.port_; |
|
} |
|
_this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_); |
|
} |
|
|
|
void ServerResponse::CopyFrom(const ServerResponse& from) { |
|
// @@protoc_insertion_point(class_specific_copy_from_start:dapi.init.ServerResponse) |
|
if (&from == this) return; |
|
Clear(); |
|
MergeFrom(from); |
|
} |
|
|
|
|
|
void ServerResponse::InternalSwap(ServerResponse* PROTOBUF_RESTRICT other) { |
|
using std::swap; |
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_); |
|
swap(_impl_.port_, other->_impl_.port_); |
|
} |
|
|
|
// @@protoc_insertion_point(namespace_scope) |
|
} // namespace init |
|
} // namespace dapi |
|
namespace google { |
|
namespace protobuf { |
|
} // namespace protobuf |
|
} // namespace google |
|
// @@protoc_insertion_point(global_scope) |
|
#include "google/protobuf/port_undef.inc"
|
|
|