ADD: added new created messages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: pong.proto
|
||||
// Protobuf C++ Version: 4.24.0-main
|
||||
// Protobuf C++ Version: 4.26.0-dev
|
||||
|
||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_pong_2eproto_2epb_2eh
|
||||
#define GOOGLE_PROTOBUF_INCLUDED_pong_2eproto_2epb_2eh
|
||||
@@ -11,17 +11,11 @@
|
||||
#include <utility>
|
||||
|
||||
#include "google/protobuf/port_def.inc"
|
||||
#if PROTOBUF_VERSION < 4025000
|
||||
#error "This file was generated by a newer version of protoc which is"
|
||||
#error "incompatible with your Protocol Buffer headers. Please update"
|
||||
#error "your headers."
|
||||
#endif // PROTOBUF_VERSION
|
||||
|
||||
#if 4025000 < PROTOBUF_MIN_PROTOC_VERSION
|
||||
#error "This file was generated by an older version of protoc which is"
|
||||
#error "incompatible with your Protocol Buffer headers. Please"
|
||||
#error "regenerate this file with a newer version of protoc."
|
||||
#endif // PROTOBUF_MIN_PROTOC_VERSION
|
||||
#if PROTOBUF_VERSION != 4026000
|
||||
#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/port_undef.inc"
|
||||
#include "google/protobuf/io/coded_stream.h"
|
||||
#include "google/protobuf/arena.h"
|
||||
@@ -75,21 +69,18 @@ namespace pong {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class Pong final :
|
||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:messages.pong.Pong) */ {
|
||||
class Pong final : public ::google::protobuf::Message
|
||||
/* @@protoc_insertion_point(class_definition:messages.pong.Pong) */ {
|
||||
public:
|
||||
inline Pong() : Pong(nullptr) {}
|
||||
~Pong() override;
|
||||
template<typename = void>
|
||||
explicit PROTOBUF_CONSTEXPR Pong(::google::protobuf::internal::ConstantInitialized);
|
||||
|
||||
inline Pong(const Pong& from)
|
||||
: Pong(nullptr, from) {}
|
||||
Pong(Pong&& from) noexcept
|
||||
: Pong() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
template <typename = void>
|
||||
explicit PROTOBUF_CONSTEXPR Pong(
|
||||
::google::protobuf::internal::ConstantInitialized);
|
||||
|
||||
inline Pong(const Pong& from) : Pong(nullptr, from) {}
|
||||
inline Pong(Pong&& from) noexcept
|
||||
: Pong(nullptr, std::move(from)) {}
|
||||
inline Pong& operator=(const Pong& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
@@ -97,9 +88,9 @@ class Pong final :
|
||||
inline Pong& operator=(Pong&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetArena() == from.GetArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
@@ -131,22 +122,17 @@ class Pong final :
|
||||
}
|
||||
static inline const Pong* internal_default_instance() {
|
||||
return reinterpret_cast<const Pong*>(
|
||||
&_Pong_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
0;
|
||||
|
||||
friend void swap(Pong& a, Pong& b) {
|
||||
a.Swap(&b);
|
||||
&_Pong_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages = 0;
|
||||
friend void swap(Pong& a, Pong& b) { a.Swap(&b); }
|
||||
inline void Swap(Pong* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetArena() != nullptr &&
|
||||
GetArena() == other->GetArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetArena() == other->GetArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::google::protobuf::internal::GenericSwap(this, other);
|
||||
@@ -161,16 +147,18 @@ class Pong final :
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
Pong* New(::google::protobuf::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<Pong>(arena);
|
||||
return ::google::protobuf::Message::DefaultConstruct<Pong>(arena);
|
||||
}
|
||||
using ::google::protobuf::Message::CopyFrom;
|
||||
void CopyFrom(const Pong& from);
|
||||
using ::google::protobuf::Message::MergeFrom;
|
||||
void MergeFrom( const Pong& from) {
|
||||
Pong::MergeImpl(*this, from);
|
||||
}
|
||||
void MergeFrom(const Pong& from) { Pong::MergeImpl(*this, from); }
|
||||
|
||||
private:
|
||||
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
|
||||
static void MergeImpl(
|
||||
::google::protobuf::MessageLite& to_msg,
|
||||
const ::google::protobuf::MessageLite& from_msg);
|
||||
|
||||
public:
|
||||
ABSL_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
@@ -178,31 +166,33 @@ class Pong final :
|
||||
::size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
|
||||
::uint8_t* _InternalSerialize(
|
||||
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||
::uint8_t* target,
|
||||
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::google::protobuf::Arena* arena);
|
||||
void SharedDtor();
|
||||
void InternalSwap(Pong* other);
|
||||
|
||||
private:
|
||||
private:
|
||||
friend class ::google::protobuf::internal::AnyMetadata;
|
||||
static ::absl::string_view FullMessageName() {
|
||||
return "messages.pong.Pong";
|
||||
}
|
||||
protected:
|
||||
static ::absl::string_view FullMessageName() { return "messages.pong.Pong"; }
|
||||
|
||||
protected:
|
||||
explicit Pong(::google::protobuf::Arena* arena);
|
||||
Pong(::google::protobuf::Arena* arena, const Pong& from);
|
||||
const ::google::protobuf::MessageLite::ClassData* GetClassData() const final;
|
||||
public:
|
||||
Pong(::google::protobuf::Arena* arena, Pong&& from) noexcept
|
||||
: Pong(arena) {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
const ::google::protobuf::MessageLite::ClassData* GetClassData()
|
||||
const final;
|
||||
|
||||
public:
|
||||
::google::protobuf::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kPortFieldNumber = 1,
|
||||
};
|
||||
@@ -219,7 +209,6 @@ class Pong final :
|
||||
// @@protoc_insertion_point(class_scope:messages.pong.Pong)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
friend class ::google::protobuf::internal::TcParser;
|
||||
static const ::google::protobuf::internal::TcParseTable<
|
||||
0, 1, 0,
|
||||
@@ -232,13 +221,12 @@ class Pong final :
|
||||
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);
|
||||
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);
|
||||
::uint32_t port_;
|
||||
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
||||
PROTOBUF_TSAN_DECLARE_MEMBER
|
||||
@@ -282,7 +270,6 @@ inline ::uint32_t Pong::_internal_port() const {
|
||||
}
|
||||
inline void Pong::_internal_set_port(::uint32_t value) {
|
||||
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
|
||||
;
|
||||
_impl_.port_ = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user