IM_Client/api/MP/proto/mp.mph.pb.h

449 lines
15 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mp.mph.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_mp_2emph_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_mp_2emph_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000
#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 3012004 < 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
#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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.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 "mp.mp.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_mp_2emph_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_mp_2emph_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_mp_2emph_2eproto;
namespace mp {
class mph;
class mphDefaultTypeInternal;
extern mphDefaultTypeInternal _mph_default_instance_;
} // namespace mp
PROTOBUF_NAMESPACE_OPEN
template<> ::mp::mph* Arena::CreateMaybeMessage<::mp::mph>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace mp {
// ===================================================================
class mph PROTOBUF_FINAL :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:mp.mph) */ {
public:
inline mph() : mph(nullptr) {};
virtual ~mph();
mph(const mph& from);
mph(mph&& from) noexcept
: mph() {
*this = ::std::move(from);
}
inline mph& operator=(const mph& from) {
CopyFrom(from);
return *this;
}
inline mph& operator=(mph&& from) noexcept {
if (GetArena() == from.GetArena()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return GetMetadataStatic().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return GetMetadataStatic().reflection;
}
static const mph& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const mph* internal_default_instance() {
return reinterpret_cast<const mph*>(
&_mph_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(mph& a, mph& b) {
a.Swap(&b);
}
inline void Swap(mph* other) {
if (other == this) return;
if (GetArena() == other->GetArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(mph* other) {
if (other == this) return;
GOOGLE_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline mph* New() const final {
return CreateMaybeMessage<mph>(nullptr);
}
mph* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<mph>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const mph& from);
void MergeFrom(const mph& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
inline void SharedCtor();
inline void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(mph* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "mp.mph";
}
protected:
explicit mph(::PROTOBUF_NAMESPACE_ID::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
private:
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_mp_2emph_2eproto);
return ::descriptor_table_mp_2emph_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPathFieldNumber = 5,
kMpIdFieldNumber = 2,
kMpbSizeFieldNumber = 1,
kMpSumFieldNumber = 3,
kMpTypeFieldNumber = 4,
};
// string path = 5;
void clear_path();
const std::string& path() const;
void set_path(const std::string& value);
void set_path(std::string&& value);
void set_path(const char* value);
void set_path(const char* value, size_t size);
std::string* mutable_path();
std::string* release_path();
void set_allocated_path(std::string* path);
GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
" string fields are deprecated and will be removed in a"
" future release.")
std::string* unsafe_arena_release_path();
GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
" string fields are deprecated and will be removed in a"
" future release.")
void unsafe_arena_set_allocated_path(
std::string* path);
private:
const std::string& _internal_path() const;
void _internal_set_path(const std::string& value);
std::string* _internal_mutable_path();
public:
// uint64 mp_id = 2;
void clear_mp_id();
::PROTOBUF_NAMESPACE_ID::uint64 mp_id() const;
void set_mp_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
private:
::PROTOBUF_NAMESPACE_ID::uint64 _internal_mp_id() const;
void _internal_set_mp_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
public:
// uint32 mpb_size = 1;
void clear_mpb_size();
::PROTOBUF_NAMESPACE_ID::uint32 mpb_size() const;
void set_mpb_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
private:
::PROTOBUF_NAMESPACE_ID::uint32 _internal_mpb_size() const;
void _internal_set_mpb_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
public:
// uint32 mp_sum = 3;
void clear_mp_sum();
::PROTOBUF_NAMESPACE_ID::uint32 mp_sum() const;
void set_mp_sum(::PROTOBUF_NAMESPACE_ID::uint32 value);
private:
::PROTOBUF_NAMESPACE_ID::uint32 _internal_mp_sum() const;
void _internal_set_mp_sum(::PROTOBUF_NAMESPACE_ID::uint32 value);
public:
// .mp.MP_TYPE mp_type = 4;
void clear_mp_type();
::mp::MP_TYPE mp_type() const;
void set_mp_type(::mp::MP_TYPE value);
private:
::mp::MP_TYPE _internal_mp_type() const;
void _internal_set_mp_type(::mp::MP_TYPE value);
public:
// @@protoc_insertion_point(class_scope:mp.mph)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
::PROTOBUF_NAMESPACE_ID::uint64 mp_id_;
::PROTOBUF_NAMESPACE_ID::uint32 mpb_size_;
::PROTOBUF_NAMESPACE_ID::uint32 mp_sum_;
int mp_type_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_mp_2emph_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// mph
// uint32 mpb_size = 1;
inline void mph::clear_mpb_size() {
mpb_size_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 mph::_internal_mpb_size() const {
return mpb_size_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 mph::mpb_size() const {
// @@protoc_insertion_point(field_get:mp.mph.mpb_size)
return _internal_mpb_size();
}
inline void mph::_internal_set_mpb_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
mpb_size_ = value;
}
inline void mph::set_mpb_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
_internal_set_mpb_size(value);
// @@protoc_insertion_point(field_set:mp.mph.mpb_size)
}
// uint64 mp_id = 2;
inline void mph::clear_mp_id() {
mp_id_ = PROTOBUF_ULONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 mph::_internal_mp_id() const {
return mp_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 mph::mp_id() const {
// @@protoc_insertion_point(field_get:mp.mph.mp_id)
return _internal_mp_id();
}
inline void mph::_internal_set_mp_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
mp_id_ = value;
}
inline void mph::set_mp_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
_internal_set_mp_id(value);
// @@protoc_insertion_point(field_set:mp.mph.mp_id)
}
// uint32 mp_sum = 3;
inline void mph::clear_mp_sum() {
mp_sum_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 mph::_internal_mp_sum() const {
return mp_sum_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 mph::mp_sum() const {
// @@protoc_insertion_point(field_get:mp.mph.mp_sum)
return _internal_mp_sum();
}
inline void mph::_internal_set_mp_sum(::PROTOBUF_NAMESPACE_ID::uint32 value) {
mp_sum_ = value;
}
inline void mph::set_mp_sum(::PROTOBUF_NAMESPACE_ID::uint32 value) {
_internal_set_mp_sum(value);
// @@protoc_insertion_point(field_set:mp.mph.mp_sum)
}
// .mp.MP_TYPE mp_type = 4;
inline void mph::clear_mp_type() {
mp_type_ = 0;
}
inline ::mp::MP_TYPE mph::_internal_mp_type() const {
return static_cast< ::mp::MP_TYPE >(mp_type_);
}
inline ::mp::MP_TYPE mph::mp_type() const {
// @@protoc_insertion_point(field_get:mp.mph.mp_type)
return _internal_mp_type();
}
inline void mph::_internal_set_mp_type(::mp::MP_TYPE value) {
mp_type_ = value;
}
inline void mph::set_mp_type(::mp::MP_TYPE value) {
_internal_set_mp_type(value);
// @@protoc_insertion_point(field_set:mp.mph.mp_type)
}
// string path = 5;
inline void mph::clear_path() {
path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline const std::string& mph::path() const {
// @@protoc_insertion_point(field_get:mp.mph.path)
return _internal_path();
}
inline void mph::set_path(const std::string& value) {
_internal_set_path(value);
// @@protoc_insertion_point(field_set:mp.mph.path)
}
inline std::string* mph::mutable_path() {
// @@protoc_insertion_point(field_mutable:mp.mph.path)
return _internal_mutable_path();
}
inline const std::string& mph::_internal_path() const {
return path_.Get();
}
inline void mph::_internal_set_path(const std::string& value) {
path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void mph::set_path(std::string&& value) {
path_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:mp.mph.path)
}
inline void mph::set_path(const char* value) {
GOOGLE_DCHECK(value != nullptr);
path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
GetArena());
// @@protoc_insertion_point(field_set_char:mp.mph.path)
}
inline void mph::set_path(const char* value,
size_t size) {
path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:mp.mph.path)
}
inline std::string* mph::_internal_mutable_path() {
return path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* mph::release_path() {
// @@protoc_insertion_point(field_release:mp.mph.path)
return path_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void mph::set_allocated_path(std::string* path) {
if (path != nullptr) {
} else {
}
path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), path,
GetArena());
// @@protoc_insertion_point(field_set_allocated:mp.mph.path)
}
inline std::string* mph::unsafe_arena_release_path() {
// @@protoc_insertion_point(field_unsafe_arena_release:mp.mph.path)
GOOGLE_DCHECK(GetArena() != nullptr);
return path_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
GetArena());
}
inline void mph::unsafe_arena_set_allocated_path(
std::string* path) {
GOOGLE_DCHECK(GetArena() != nullptr);
if (path != nullptr) {
} else {
}
path_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
path, GetArena());
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:mp.mph.path)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace mp
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_mp_2emph_2eproto