ADD: added new version of protobuf
This commit is contained in:
@@ -1,43 +1,38 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: join.proto
|
||||
|
||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_join_2eproto_2epb_2eh
|
||||
#define GOOGLE_PROTOBUF_INCLUDED_join_2eproto_2epb_2eh
|
||||
#ifndef GOOGLE_PROTOBUF_INCLUDED_join_2eproto
|
||||
#define GOOGLE_PROTOBUF_INCLUDED_join_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/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>
|
||||
// @@protoc_insertion_point(includes)
|
||||
|
||||
// Must be included last.
|
||||
#include "google/protobuf/port_def.inc"
|
||||
|
||||
#include <google/protobuf/port_def.inc>
|
||||
#define PROTOBUF_INTERNAL_EXPORT_join_2eproto
|
||||
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
namespace internal {
|
||||
class AnyMetadata;
|
||||
@@ -48,8 +43,7 @@ PROTOBUF_NAMESPACE_CLOSE
|
||||
struct TableStruct_join_2eproto {
|
||||
static const uint32_t offsets[];
|
||||
};
|
||||
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
|
||||
descriptor_table_join_2eproto;
|
||||
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_join_2eproto;
|
||||
namespace messages {
|
||||
namespace join {
|
||||
class Join;
|
||||
@@ -58,18 +52,13 @@ extern JoinDefaultTypeInternal _Join_default_instance_;
|
||||
} // namespace join
|
||||
} // namespace messages
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
template <>
|
||||
::messages::join::Join* Arena::CreateMaybeMessage<::messages::join::Join>(Arena*);
|
||||
template<> ::messages::join::Join* Arena::CreateMaybeMessage<::messages::join::Join>(Arena*);
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
namespace messages {
|
||||
namespace join {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class Join final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:messages.join.Join) */ {
|
||||
public:
|
||||
@@ -173,7 +162,7 @@ class Join final :
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::absl::string_view FullMessageName() {
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "messages.join.Join";
|
||||
}
|
||||
protected:
|
||||
@@ -235,17 +224,12 @@ class Join 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__
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// Join
|
||||
|
||||
// uint32 port = 1;
|
||||
@@ -260,7 +244,7 @@ inline uint32_t Join::port() const {
|
||||
return _internal_port();
|
||||
}
|
||||
inline void Join::_internal_set_port(uint32_t value) {
|
||||
|
||||
|
||||
_impl_.port_ = value;
|
||||
}
|
||||
inline void Join::set_port(uint32_t value) {
|
||||
@@ -292,11 +276,11 @@ inline const std::string& Join::_internal_srcaddress() const {
|
||||
return _impl_.srcaddress_.Get();
|
||||
}
|
||||
inline void Join::_internal_set_srcaddress(const std::string& value) {
|
||||
|
||||
|
||||
_impl_.srcaddress_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* Join::_internal_mutable_srcaddress() {
|
||||
|
||||
|
||||
return _impl_.srcaddress_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* Join::release_srcaddress() {
|
||||
@@ -304,6 +288,11 @@ inline std::string* Join::release_srcaddress() {
|
||||
return _impl_.srcaddress_.Release();
|
||||
}
|
||||
inline void Join::set_allocated_srcaddress(std::string* srcaddress) {
|
||||
if (srcaddress != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.srcaddress_.SetAllocated(srcaddress, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.srcaddress_.IsDefault()) {
|
||||
@@ -314,16 +303,15 @@ inline void Join::set_allocated_srcaddress(std::string* srcaddress) {
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // __GNUC__
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
} // namespace join
|
||||
} // namespace messages
|
||||
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
#include "google/protobuf/port_undef.inc"
|
||||
|
||||
#endif // GOOGLE_PROTOBUF_INCLUDED_join_2eproto_2epb_2eh
|
||||
#include <google/protobuf/port_undef.inc>
|
||||
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_join_2eproto
|
||||
|
||||
Reference in New Issue
Block a user