ADD: added new version of protobuf

This commit is contained in:
Henry Winkel
2022-12-20 10:09:28 +01:00
parent 4a79559129
commit 1e2b3dda7b
1513 changed files with 123720 additions and 83381 deletions

View File

@@ -1,44 +1,39 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: message.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
#ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_message_2eproto
#include <limits>
#include <string>
#include <type_traits>
#include "google/protobuf/port_def.inc"
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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
#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
#if 3021012 < 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
#if 3021008 < 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
#include "google/protobuf/port_undef.inc"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/message.h"
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
#include "google/protobuf/extension_set.h" // IWYU pragma: export
#include "google/protobuf/unknown_field_set.h"
#include "google/protobuf/any.pb.h"
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/any.pb.h>
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_message_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
@@ -49,8 +44,7 @@ PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_message_2eproto {
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
descriptor_table_message_2eproto;
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_message_2eproto;
namespace messages {
namespace header {
class Message;
@@ -59,18 +53,13 @@ extern MessageDefaultTypeInternal _Message_default_instance_;
} // namespace header
} // namespace messages
PROTOBUF_NAMESPACE_OPEN
template <>
::messages::header::Message* Arena::CreateMaybeMessage<::messages::header::Message>(Arena*);
template<> ::messages::header::Message* Arena::CreateMaybeMessage<::messages::header::Message>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace messages {
namespace header {
// ===================================================================
// -------------------------------------------------------------------
class Message final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.header.Message) */ {
public:
@@ -174,7 +163,7 @@ class Message final :
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "messages.header.Message";
}
protected:
@@ -273,17 +262,12 @@ class Message final :
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// Message
// uint32 topic = 1;
@@ -298,7 +282,7 @@ inline uint32_t Message::topic() const {
return _internal_topic();
}
inline void Message::_internal_set_topic(uint32_t value) {
_impl_.topic_ = value;
}
inline void Message::set_topic(uint32_t value) {
@@ -318,7 +302,7 @@ inline int32_t Message::msgtype() const {
return _internal_msgtype();
}
inline void Message::_internal_set_msgtype(int32_t value) {
_impl_.msgtype_ = value;
}
inline void Message::set_msgtype(int32_t value) {
@@ -338,7 +322,7 @@ inline int32_t Message::sourcetype() const {
return _internal_sourcetype();
}
inline void Message::_internal_set_sourcetype(int32_t value) {
_impl_.sourcetype_ = value;
}
inline void Message::set_sourcetype(int32_t value) {
@@ -358,7 +342,7 @@ inline int32_t Message::sourceid() const {
return _internal_sourceid();
}
inline void Message::_internal_set_sourceid(int32_t value) {
_impl_.sourceid_ = value;
}
inline void Message::set_sourceid(int32_t value) {
@@ -404,16 +388,15 @@ Message::payload() const {
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace header
} // namespace messages
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_message_2eproto