ADD: added new created messages

This commit is contained in:
Henry Winkel
2023-12-19 14:29:13 +01:00
parent f46706aec7
commit 8f163b5791
14 changed files with 439 additions and 481 deletions

View File

@@ -1,5 +1,6 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ping.proto
// Protobuf C++ Version: 4.26.0-dev
#include "ping.pb.h"
@@ -108,9 +109,6 @@ const ::_pbi::DescriptorTable descriptor_table_ping_2eproto = {
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_ping_2eproto_getter() {
return &descriptor_table_ping_2eproto;
}
// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_ping_2eproto(&descriptor_table_ping_2eproto);
namespace messages {
namespace ping {
// ===================================================================
@@ -150,12 +148,15 @@ inline void Ping::SharedDtor() {
const ::google::protobuf::MessageLite::ClassData*
Ping::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::ClassData
_data_ = {
Ping::MergeImpl,
nullptr, // OnDemandRegisterArenaDtor
&::google::protobuf::Message::kDescriptorMethods,
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
ClassDataFull _data_ = {
{
nullptr, // OnDemandRegisterArenaDtor
PROTOBUF_FIELD_OFFSET(Ping, _impl_._cached_size_),
false,
},
&Ping::MergeImpl,
&Ping::kDescriptorMethods,
};
return &_data_;
}
@@ -191,6 +192,9 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Ping::_table_ = {
offsetof(decltype(_table_), field_names), // no aux_entries
&_Ping_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::messages::ping::Ping>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
// uint32 port = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Ping, _impl_.port_), 63>(),
@@ -248,7 +252,7 @@ const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Ping::_table_ = {
}
void Ping::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
void Ping::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Ping*>(&to_msg);
auto& from = static_cast<const Ping&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:messages.ping.Ping)
@@ -257,7 +261,7 @@ void Ping::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protob
(void) cached_has_bits;
if (from._internal_port() != 0) {
_this->_internal_set_port(from._internal_port());
_this->_impl_.port_ = from._impl_.port_;
}
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
}
@@ -280,9 +284,9 @@ void Ping::InternalSwap(Ping* PROTOBUF_RESTRICT other) {
}
::google::protobuf::Metadata Ping::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_ping_2eproto_getter, &descriptor_table_ping_2eproto_once,
file_level_metadata_ping_2eproto[0]);
return ::_pbi::AssignDescriptors(&descriptor_table_ping_2eproto_getter,
&descriptor_table_ping_2eproto_once,
file_level_metadata_ping_2eproto[0]);
}
// @@protoc_insertion_point(namespace_scope)
} // namespace ping
@@ -292,4 +296,8 @@ namespace protobuf {
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
static ::std::false_type _static_init_ PROTOBUF_UNUSED =
(::_pbi::AddDescriptors(&descriptor_table_ping_2eproto),
::std::false_type{});
#include "google/protobuf/port_undef.inc"