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.
 
 
 
 
 
 

466 lines
16 KiB

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: init.proto
// Protobuf C++ Version: 5.29.3
#ifndef init_2eproto_2epb_2eh
#define init_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 5029003
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
#include "google/protobuf/extension_set.h" // IWYU pragma: export
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#define PROTOBUF_INTERNAL_EXPORT_init_2eproto
namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct TableStruct_init_2eproto {
static const ::uint32_t offsets[];
};
namespace dapi {
namespace init {
class ClientBroadcast;
struct ClientBroadcastDefaultTypeInternal;
extern ClientBroadcastDefaultTypeInternal _ClientBroadcast_default_instance_;
class ServerResponse;
struct ServerResponseDefaultTypeInternal;
extern ServerResponseDefaultTypeInternal _ServerResponse_default_instance_;
} // namespace init
} // namespace dapi
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
namespace dapi {
namespace init {
// ===================================================================
// -------------------------------------------------------------------
class ServerResponse final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:dapi.init.ServerResponse) */ {
public:
inline ServerResponse() : ServerResponse(nullptr) {}
~ServerResponse() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ServerResponse* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ServerResponse));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR ServerResponse(
::google::protobuf::internal::ConstantInitialized);
inline ServerResponse(const ServerResponse& from) : ServerResponse(nullptr, from) {}
inline ServerResponse(ServerResponse&& from) noexcept
: ServerResponse(nullptr, std::move(from)) {}
inline ServerResponse& operator=(const ServerResponse& from) {
CopyFrom(from);
return *this;
}
inline ServerResponse& operator=(ServerResponse&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
}
inline std::string* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<std::string>();
}
static const ServerResponse& default_instance() {
return *internal_default_instance();
}
static inline const ServerResponse* internal_default_instance() {
return reinterpret_cast<const ServerResponse*>(
&_ServerResponse_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(ServerResponse& a, ServerResponse& b) { a.Swap(&b); }
inline void Swap(ServerResponse* other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ServerResponse* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ServerResponse* New(::google::protobuf::Arena* arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<ServerResponse>(arena);
}
void CopyFrom(const ServerResponse& from);
void MergeFrom(const ServerResponse& from) { ServerResponse::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ServerResponse* other);
private:
template <typename T>
friend ::absl::string_view(
::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "dapi.init.ServerResponse"; }
protected:
explicit ServerResponse(::google::protobuf::Arena* arena);
ServerResponse(::google::protobuf::Arena* arena, const ServerResponse& from);
ServerResponse(::google::protobuf::Arena* arena, ServerResponse&& from) noexcept
: ServerResponse(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
static void* PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena);
static constexpr auto InternalNewImpl_();
static const ::google::protobuf::internal::ClassDataLite<25> _class_data_;
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPortFieldNumber = 1,
};
// uint32 port = 1;
void clear_port() ;
::uint32_t port() const;
void set_port(::uint32_t value);
private:
::uint32_t _internal_port() const;
void _internal_set_port(::uint32_t value);
public:
// @@protoc_insertion_point(class_scope:dapi.init.ServerResponse)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
0, 1, 0,
0, 2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from,
const ServerResponse& from_msg);
::uint32_t port_;
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_init_2eproto;
};
// -------------------------------------------------------------------
class ClientBroadcast final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:dapi.init.ClientBroadcast) */ {
public:
inline ClientBroadcast() : ClientBroadcast(nullptr) {}
~ClientBroadcast() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ClientBroadcast* msg, std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ClientBroadcast));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR ClientBroadcast(
::google::protobuf::internal::ConstantInitialized);
inline ClientBroadcast(const ClientBroadcast& from) : ClientBroadcast(nullptr, from) {}
inline ClientBroadcast(ClientBroadcast&& from) noexcept
: ClientBroadcast(nullptr, std::move(from)) {}
inline ClientBroadcast& operator=(const ClientBroadcast& from) {
CopyFrom(from);
return *this;
}
inline ClientBroadcast& operator=(ClientBroadcast&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const std::string& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
}
inline std::string* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<std::string>();
}
static const ClientBroadcast& default_instance() {
return *internal_default_instance();
}
static inline const ClientBroadcast* internal_default_instance() {
return reinterpret_cast<const ClientBroadcast*>(
&_ClientBroadcast_default_instance_);
}
static constexpr int kIndexInFileMessages = 0;
friend void swap(ClientBroadcast& a, ClientBroadcast& b) { a.Swap(&b); }
inline void Swap(ClientBroadcast* other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ClientBroadcast* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ClientBroadcast* New(::google::protobuf::Arena* arena = nullptr) const {
return ::google::protobuf::MessageLite::DefaultConstruct<ClientBroadcast>(arena);
}
void CopyFrom(const ClientBroadcast& from);
void MergeFrom(const ClientBroadcast& from) { ClientBroadcast::MergeImpl(*this, from); }
private:
static void MergeImpl(::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ClientBroadcast* other);
private:
template <typename T>
friend ::absl::string_view(
::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "dapi.init.ClientBroadcast"; }
protected:
explicit ClientBroadcast(::google::protobuf::Arena* arena);
ClientBroadcast(::google::protobuf::Arena* arena, const ClientBroadcast& from);
ClientBroadcast(::google::protobuf::Arena* arena, ClientBroadcast&& from) noexcept
: ClientBroadcast(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
static void* PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena);
static constexpr auto InternalNewImpl_();
static const ::google::protobuf::internal::ClassDataLite<26> _class_data_;
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:dapi.init.ClientBroadcast)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
0, 0, 0,
0, 2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from,
const ClientBroadcast& from_msg);
::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_init_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// ClientBroadcast
// -------------------------------------------------------------------
// ServerResponse
// uint32 port = 1;
inline void ServerResponse::clear_port() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.port_ = 0u;
}
inline ::uint32_t ServerResponse::port() const {
// @@protoc_insertion_point(field_get:dapi.init.ServerResponse.port)
return _internal_port();
}
inline void ServerResponse::set_port(::uint32_t value) {
_internal_set_port(value);
// @@protoc_insertion_point(field_set:dapi.init.ServerResponse.port)
}
inline ::uint32_t ServerResponse::_internal_port() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.port_;
}
inline void ServerResponse::_internal_set_port(::uint32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.port_ = value;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace init
} // namespace dapi
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // init_2eproto_2epb_2eh