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

314 lines
10 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mp.cqi.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_mp_2ecqi_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_mp_2ecqi_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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_mp_2ecqi_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_mp_2ecqi_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_2ecqi_2eproto;
namespace mp {
class cqi;
class cqiDefaultTypeInternal;
extern cqiDefaultTypeInternal _cqi_default_instance_;
} // namespace mp
PROTOBUF_NAMESPACE_OPEN
template<> ::mp::cqi* Arena::CreateMaybeMessage<::mp::cqi>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace mp {
enum MP_C_TYPE : int {
MC_TYPE_LINUX = 0,
MC_TYPE_WINDOWS = 1,
MP_C_TYPE_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
MP_C_TYPE_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool MP_C_TYPE_IsValid(int value);
constexpr MP_C_TYPE MP_C_TYPE_MIN = MC_TYPE_LINUX;
constexpr MP_C_TYPE MP_C_TYPE_MAX = MC_TYPE_WINDOWS;
constexpr int MP_C_TYPE_ARRAYSIZE = MP_C_TYPE_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MP_C_TYPE_descriptor();
template<typename T>
inline const std::string& MP_C_TYPE_Name(T enum_t_value) {
static_assert(::std::is_same<T, MP_C_TYPE>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function MP_C_TYPE_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
MP_C_TYPE_descriptor(), enum_t_value);
}
inline bool MP_C_TYPE_Parse(
const std::string& name, MP_C_TYPE* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MP_C_TYPE>(
MP_C_TYPE_descriptor(), name, value);
}
// ===================================================================
class cqi PROTOBUF_FINAL :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:mp.cqi) */ {
public:
inline cqi() : cqi(nullptr) {};
virtual ~cqi();
cqi(const cqi& from);
cqi(cqi&& from) noexcept
: cqi() {
*this = ::std::move(from);
}
inline cqi& operator=(const cqi& from) {
CopyFrom(from);
return *this;
}
inline cqi& operator=(cqi&& 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 cqi& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const cqi* internal_default_instance() {
return reinterpret_cast<const cqi*>(
&_cqi_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(cqi& a, cqi& b) {
a.Swap(&b);
}
inline void Swap(cqi* other) {
if (other == this) return;
if (GetArena() == other->GetArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(cqi* other) {
if (other == this) return;
GOOGLE_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline cqi* New() const final {
return CreateMaybeMessage<cqi>(nullptr);
}
cqi* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<cqi>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const cqi& from);
void MergeFrom(const cqi& 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(cqi* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "mp.cqi";
}
protected:
explicit cqi(::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_2ecqi_2eproto);
return ::descriptor_table_mp_2ecqi_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kCqiTypeFieldNumber = 1,
kCqiVersionFieldNumber = 2,
};
// .mp.MP_C_TYPE cqi_type = 1;
void clear_cqi_type();
::mp::MP_C_TYPE cqi_type() const;
void set_cqi_type(::mp::MP_C_TYPE value);
private:
::mp::MP_C_TYPE _internal_cqi_type() const;
void _internal_set_cqi_type(::mp::MP_C_TYPE value);
public:
// float cqi_version = 2;
void clear_cqi_version();
float cqi_version() const;
void set_cqi_version(float value);
private:
float _internal_cqi_version() const;
void _internal_set_cqi_version(float value);
public:
// @@protoc_insertion_point(class_scope:mp.cqi)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
int cqi_type_;
float cqi_version_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_mp_2ecqi_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// cqi
// .mp.MP_C_TYPE cqi_type = 1;
inline void cqi::clear_cqi_type() {
cqi_type_ = 0;
}
inline ::mp::MP_C_TYPE cqi::_internal_cqi_type() const {
return static_cast< ::mp::MP_C_TYPE >(cqi_type_);
}
inline ::mp::MP_C_TYPE cqi::cqi_type() const {
// @@protoc_insertion_point(field_get:mp.cqi.cqi_type)
return _internal_cqi_type();
}
inline void cqi::_internal_set_cqi_type(::mp::MP_C_TYPE value) {
cqi_type_ = value;
}
inline void cqi::set_cqi_type(::mp::MP_C_TYPE value) {
_internal_set_cqi_type(value);
// @@protoc_insertion_point(field_set:mp.cqi.cqi_type)
}
// float cqi_version = 2;
inline void cqi::clear_cqi_version() {
cqi_version_ = 0;
}
inline float cqi::_internal_cqi_version() const {
return cqi_version_;
}
inline float cqi::cqi_version() const {
// @@protoc_insertion_point(field_get:mp.cqi.cqi_version)
return _internal_cqi_version();
}
inline void cqi::_internal_set_cqi_version(float value) {
cqi_version_ = value;
}
inline void cqi::set_cqi_version(float value) {
_internal_set_cqi_version(value);
// @@protoc_insertion_point(field_set:mp.cqi.cqi_version)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace mp
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::mp::MP_C_TYPE> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::mp::MP_C_TYPE>() {
return ::mp::MP_C_TYPE_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_mp_2ecqi_2eproto