2803 lines
93 KiB
C++
2803 lines
93 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: uxcontrol.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_uxcontrol_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_uxcontrol_2eproto
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
|
|
#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
|
|
#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
|
|
|
|
#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)
|
|
#include <google/protobuf/port_def.inc>
|
|
#define PROTOBUF_INTERNAL_EXPORT_uxcontrol_2eproto
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
namespace internal {
|
|
class AnyMetadata;
|
|
} // namespace internal
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_uxcontrol_2eproto {
|
|
static const uint32_t offsets[];
|
|
};
|
|
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_uxcontrol_2eproto;
|
|
namespace uxcontrol {
|
|
class HelloMsg;
|
|
struct HelloMsgDefaultTypeInternal;
|
|
extern HelloMsgDefaultTypeInternal _HelloMsg_default_instance_;
|
|
class HelloRequest;
|
|
struct HelloRequestDefaultTypeInternal;
|
|
extern HelloRequestDefaultTypeInternal _HelloRequest_default_instance_;
|
|
class HelloResult;
|
|
struct HelloResultDefaultTypeInternal;
|
|
extern HelloResultDefaultTypeInternal _HelloResult_default_instance_;
|
|
class InternetPacket;
|
|
struct InternetPacketDefaultTypeInternal;
|
|
extern InternetPacketDefaultTypeInternal _InternetPacket_default_instance_;
|
|
class Message;
|
|
struct MessageDefaultTypeInternal;
|
|
extern MessageDefaultTypeInternal _Message_default_instance_;
|
|
class MsgMeta;
|
|
struct MsgMetaDefaultTypeInternal;
|
|
extern MsgMetaDefaultTypeInternal _MsgMeta_default_instance_;
|
|
class ReqMeta;
|
|
struct ReqMetaDefaultTypeInternal;
|
|
extern ReqMetaDefaultTypeInternal _ReqMeta_default_instance_;
|
|
class Request;
|
|
struct RequestDefaultTypeInternal;
|
|
extern RequestDefaultTypeInternal _Request_default_instance_;
|
|
class ResMeta;
|
|
struct ResMetaDefaultTypeInternal;
|
|
extern ResMetaDefaultTypeInternal _ResMeta_default_instance_;
|
|
class Result;
|
|
struct ResultDefaultTypeInternal;
|
|
extern ResultDefaultTypeInternal _Result_default_instance_;
|
|
} // namespace uxcontrol
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> ::uxcontrol::HelloMsg* Arena::CreateMaybeMessage<::uxcontrol::HelloMsg>(Arena*);
|
|
template<> ::uxcontrol::HelloRequest* Arena::CreateMaybeMessage<::uxcontrol::HelloRequest>(Arena*);
|
|
template<> ::uxcontrol::HelloResult* Arena::CreateMaybeMessage<::uxcontrol::HelloResult>(Arena*);
|
|
template<> ::uxcontrol::InternetPacket* Arena::CreateMaybeMessage<::uxcontrol::InternetPacket>(Arena*);
|
|
template<> ::uxcontrol::Message* Arena::CreateMaybeMessage<::uxcontrol::Message>(Arena*);
|
|
template<> ::uxcontrol::MsgMeta* Arena::CreateMaybeMessage<::uxcontrol::MsgMeta>(Arena*);
|
|
template<> ::uxcontrol::ReqMeta* Arena::CreateMaybeMessage<::uxcontrol::ReqMeta>(Arena*);
|
|
template<> ::uxcontrol::Request* Arena::CreateMaybeMessage<::uxcontrol::Request>(Arena*);
|
|
template<> ::uxcontrol::ResMeta* Arena::CreateMaybeMessage<::uxcontrol::ResMeta>(Arena*);
|
|
template<> ::uxcontrol::Result* Arena::CreateMaybeMessage<::uxcontrol::Result>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
namespace uxcontrol {
|
|
|
|
// ===================================================================
|
|
|
|
class MsgMeta final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.MsgMeta) */ {
|
|
public:
|
|
inline MsgMeta() : MsgMeta(nullptr) {}
|
|
~MsgMeta() override;
|
|
explicit PROTOBUF_CONSTEXPR MsgMeta(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
MsgMeta(const MsgMeta& from);
|
|
MsgMeta(MsgMeta&& from) noexcept
|
|
: MsgMeta() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline MsgMeta& operator=(const MsgMeta& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline MsgMeta& operator=(MsgMeta&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const MsgMeta& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const MsgMeta* internal_default_instance() {
|
|
return reinterpret_cast<const MsgMeta*>(
|
|
&_MsgMeta_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
friend void swap(MsgMeta& a, MsgMeta& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(MsgMeta* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(MsgMeta* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
MsgMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<MsgMeta>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const MsgMeta& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const MsgMeta& from) {
|
|
MsgMeta::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(MsgMeta* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.MsgMeta";
|
|
}
|
|
protected:
|
|
explicit MsgMeta(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kKindFieldNumber = 1,
|
|
};
|
|
// string kind = 1;
|
|
void clear_kind();
|
|
const std::string& kind() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_kind(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_kind();
|
|
PROTOBUF_NODISCARD std::string* release_kind();
|
|
void set_allocated_kind(std::string* kind);
|
|
private:
|
|
const std::string& _internal_kind() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_kind(const std::string& value);
|
|
std::string* _internal_mutable_kind();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.MsgMeta)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kind_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Message final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.Message) */ {
|
|
public:
|
|
inline Message() : Message(nullptr) {}
|
|
~Message() override;
|
|
explicit PROTOBUF_CONSTEXPR Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Message(const Message& from);
|
|
Message(Message&& from) noexcept
|
|
: Message() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Message& operator=(const Message& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Message& operator=(Message&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const Message& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Message* internal_default_instance() {
|
|
return reinterpret_cast<const Message*>(
|
|
&_Message_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
1;
|
|
|
|
friend void swap(Message& a, Message& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Message* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(Message* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Message>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Message& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Message& from) {
|
|
Message::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Message* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.Message";
|
|
}
|
|
protected:
|
|
explicit Message(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::MsgMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::MsgMeta* release_meta();
|
|
::uxcontrol::MsgMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::MsgMeta* meta);
|
|
private:
|
|
const ::uxcontrol::MsgMeta& _internal_meta() const;
|
|
::uxcontrol::MsgMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta);
|
|
::uxcontrol::MsgMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.Message)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::uxcontrol::MsgMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class InternetPacket final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.InternetPacket) */ {
|
|
public:
|
|
inline InternetPacket() : InternetPacket(nullptr) {}
|
|
~InternetPacket() override;
|
|
explicit PROTOBUF_CONSTEXPR InternetPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
InternetPacket(const InternetPacket& from);
|
|
InternetPacket(InternetPacket&& from) noexcept
|
|
: InternetPacket() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline InternetPacket& operator=(const InternetPacket& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline InternetPacket& operator=(InternetPacket&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const InternetPacket& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const InternetPacket* internal_default_instance() {
|
|
return reinterpret_cast<const InternetPacket*>(
|
|
&_InternetPacket_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
friend void swap(InternetPacket& a, InternetPacket& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(InternetPacket* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(InternetPacket* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
InternetPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<InternetPacket>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const InternetPacket& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const InternetPacket& from) {
|
|
InternetPacket::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(InternetPacket* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.InternetPacket";
|
|
}
|
|
protected:
|
|
explicit InternetPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kPayloadFieldNumber = 2,
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// string payload = 2;
|
|
void clear_payload();
|
|
const std::string& payload() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_payload(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_payload();
|
|
PROTOBUF_NODISCARD std::string* release_payload();
|
|
void set_allocated_payload(std::string* payload);
|
|
private:
|
|
const std::string& _internal_payload() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value);
|
|
std::string* _internal_mutable_payload();
|
|
public:
|
|
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::MsgMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::MsgMeta* release_meta();
|
|
::uxcontrol::MsgMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::MsgMeta* meta);
|
|
private:
|
|
const ::uxcontrol::MsgMeta& _internal_meta() const;
|
|
::uxcontrol::MsgMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta);
|
|
::uxcontrol::MsgMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.InternetPacket)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_;
|
|
::uxcontrol::MsgMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HelloMsg final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.HelloMsg) */ {
|
|
public:
|
|
inline HelloMsg() : HelloMsg(nullptr) {}
|
|
~HelloMsg() override;
|
|
explicit PROTOBUF_CONSTEXPR HelloMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
HelloMsg(const HelloMsg& from);
|
|
HelloMsg(HelloMsg&& from) noexcept
|
|
: HelloMsg() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HelloMsg& operator=(const HelloMsg& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HelloMsg& operator=(HelloMsg&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const HelloMsg& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const HelloMsg* internal_default_instance() {
|
|
return reinterpret_cast<const HelloMsg*>(
|
|
&_HelloMsg_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
friend void swap(HelloMsg& a, HelloMsg& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(HelloMsg* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(HelloMsg* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
HelloMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<HelloMsg>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const HelloMsg& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const HelloMsg& from) {
|
|
HelloMsg::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HelloMsg* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.HelloMsg";
|
|
}
|
|
protected:
|
|
explicit HelloMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMessageFieldNumber = 2,
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// string message = 2;
|
|
void clear_message();
|
|
const std::string& message() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_message(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_message();
|
|
PROTOBUF_NODISCARD std::string* release_message();
|
|
void set_allocated_message(std::string* message);
|
|
private:
|
|
const std::string& _internal_message() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
|
|
std::string* _internal_mutable_message();
|
|
public:
|
|
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::MsgMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::MsgMeta* release_meta();
|
|
::uxcontrol::MsgMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::MsgMeta* meta);
|
|
private:
|
|
const ::uxcontrol::MsgMeta& _internal_meta() const;
|
|
::uxcontrol::MsgMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta);
|
|
::uxcontrol::MsgMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.HelloMsg)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
|
|
::uxcontrol::MsgMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ReqMeta final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.ReqMeta) */ {
|
|
public:
|
|
inline ReqMeta() : ReqMeta(nullptr) {}
|
|
~ReqMeta() override;
|
|
explicit PROTOBUF_CONSTEXPR ReqMeta(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
ReqMeta(const ReqMeta& from);
|
|
ReqMeta(ReqMeta&& from) noexcept
|
|
: ReqMeta() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ReqMeta& operator=(const ReqMeta& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ReqMeta& operator=(ReqMeta&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ReqMeta& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const ReqMeta* internal_default_instance() {
|
|
return reinterpret_cast<const ReqMeta*>(
|
|
&_ReqMeta_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
friend void swap(ReqMeta& a, ReqMeta& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ReqMeta* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ReqMeta* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ReqMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<ReqMeta>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const ReqMeta& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const ReqMeta& from) {
|
|
ReqMeta::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ReqMeta* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.ReqMeta";
|
|
}
|
|
protected:
|
|
explicit ReqMeta(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kKindFieldNumber = 1,
|
|
};
|
|
// string kind = 1;
|
|
void clear_kind();
|
|
const std::string& kind() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_kind(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_kind();
|
|
PROTOBUF_NODISCARD std::string* release_kind();
|
|
void set_allocated_kind(std::string* kind);
|
|
private:
|
|
const std::string& _internal_kind() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_kind(const std::string& value);
|
|
std::string* _internal_mutable_kind();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.ReqMeta)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kind_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ResMeta final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.ResMeta) */ {
|
|
public:
|
|
inline ResMeta() : ResMeta(nullptr) {}
|
|
~ResMeta() override;
|
|
explicit PROTOBUF_CONSTEXPR ResMeta(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
ResMeta(const ResMeta& from);
|
|
ResMeta(ResMeta&& from) noexcept
|
|
: ResMeta() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ResMeta& operator=(const ResMeta& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ResMeta& operator=(ResMeta&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const ResMeta& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const ResMeta* internal_default_instance() {
|
|
return reinterpret_cast<const ResMeta*>(
|
|
&_ResMeta_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
5;
|
|
|
|
friend void swap(ResMeta& a, ResMeta& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ResMeta* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ResMeta* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
ResMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<ResMeta>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const ResMeta& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const ResMeta& from) {
|
|
ResMeta::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ResMeta* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.ResMeta";
|
|
}
|
|
protected:
|
|
explicit ResMeta(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMessageFieldNumber = 2,
|
|
kErrorFieldNumber = 1,
|
|
};
|
|
// string message = 2;
|
|
void clear_message();
|
|
const std::string& message() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_message(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_message();
|
|
PROTOBUF_NODISCARD std::string* release_message();
|
|
void set_allocated_message(std::string* message);
|
|
private:
|
|
const std::string& _internal_message() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
|
|
std::string* _internal_mutable_message();
|
|
public:
|
|
|
|
// bool error = 1;
|
|
void clear_error();
|
|
bool error() const;
|
|
void set_error(bool value);
|
|
private:
|
|
bool _internal_error() const;
|
|
void _internal_set_error(bool value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.ResMeta)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
|
|
bool error_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Request final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.Request) */ {
|
|
public:
|
|
inline Request() : Request(nullptr) {}
|
|
~Request() override;
|
|
explicit PROTOBUF_CONSTEXPR Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Request(const Request& from);
|
|
Request(Request&& from) noexcept
|
|
: Request() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Request& operator=(const Request& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Request& operator=(Request&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const Request& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Request* internal_default_instance() {
|
|
return reinterpret_cast<const Request*>(
|
|
&_Request_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
6;
|
|
|
|
friend void swap(Request& a, Request& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Request* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(Request* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Request>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Request& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Request& from) {
|
|
Request::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Request* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.Request";
|
|
}
|
|
protected:
|
|
explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// .uxcontrol.ReqMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::ReqMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::ReqMeta* release_meta();
|
|
::uxcontrol::ReqMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::ReqMeta* meta);
|
|
private:
|
|
const ::uxcontrol::ReqMeta& _internal_meta() const;
|
|
::uxcontrol::ReqMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ReqMeta* meta);
|
|
::uxcontrol::ReqMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.Request)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::uxcontrol::ReqMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Result final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.Result) */ {
|
|
public:
|
|
inline Result() : Result(nullptr) {}
|
|
~Result() override;
|
|
explicit PROTOBUF_CONSTEXPR Result(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Result(const Result& from);
|
|
Result(Result&& from) noexcept
|
|
: Result() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Result& operator=(const Result& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Result& operator=(Result&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const Result& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Result* internal_default_instance() {
|
|
return reinterpret_cast<const Result*>(
|
|
&_Result_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
7;
|
|
|
|
friend void swap(Result& a, Result& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Result* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(Result* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Result* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Result>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Result& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Result& from) {
|
|
Result::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Result* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.Result";
|
|
}
|
|
protected:
|
|
explicit Result(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// .uxcontrol.ResMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::ResMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::ResMeta* release_meta();
|
|
::uxcontrol::ResMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::ResMeta* meta);
|
|
private:
|
|
const ::uxcontrol::ResMeta& _internal_meta() const;
|
|
::uxcontrol::ResMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ResMeta* meta);
|
|
::uxcontrol::ResMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.Result)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::uxcontrol::ResMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HelloRequest final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.HelloRequest) */ {
|
|
public:
|
|
inline HelloRequest() : HelloRequest(nullptr) {}
|
|
~HelloRequest() override;
|
|
explicit PROTOBUF_CONSTEXPR HelloRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
HelloRequest(const HelloRequest& from);
|
|
HelloRequest(HelloRequest&& from) noexcept
|
|
: HelloRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HelloRequest& operator=(const HelloRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HelloRequest& operator=(HelloRequest&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const HelloRequest& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const HelloRequest* internal_default_instance() {
|
|
return reinterpret_cast<const HelloRequest*>(
|
|
&_HelloRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
8;
|
|
|
|
friend void swap(HelloRequest& a, HelloRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(HelloRequest* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(HelloRequest* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
HelloRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<HelloRequest>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const HelloRequest& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const HelloRequest& from) {
|
|
HelloRequest::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HelloRequest* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.HelloRequest";
|
|
}
|
|
protected:
|
|
explicit HelloRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMessageFieldNumber = 2,
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// string message = 2;
|
|
void clear_message();
|
|
const std::string& message() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_message(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_message();
|
|
PROTOBUF_NODISCARD std::string* release_message();
|
|
void set_allocated_message(std::string* message);
|
|
private:
|
|
const std::string& _internal_message() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
|
|
std::string* _internal_mutable_message();
|
|
public:
|
|
|
|
// .uxcontrol.ReqMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::ReqMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::ReqMeta* release_meta();
|
|
::uxcontrol::ReqMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::ReqMeta* meta);
|
|
private:
|
|
const ::uxcontrol::ReqMeta& _internal_meta() const;
|
|
::uxcontrol::ReqMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ReqMeta* meta);
|
|
::uxcontrol::ReqMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.HelloRequest)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
|
|
::uxcontrol::ReqMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HelloResult final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:uxcontrol.HelloResult) */ {
|
|
public:
|
|
inline HelloResult() : HelloResult(nullptr) {}
|
|
~HelloResult() override;
|
|
explicit PROTOBUF_CONSTEXPR HelloResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
HelloResult(const HelloResult& from);
|
|
HelloResult(HelloResult&& from) noexcept
|
|
: HelloResult() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline HelloResult& operator=(const HelloResult& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline HelloResult& operator=(HelloResult&& from) noexcept {
|
|
if (this == &from) return *this;
|
|
if (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const HelloResult& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const HelloResult* internal_default_instance() {
|
|
return reinterpret_cast<const HelloResult*>(
|
|
&_HelloResult_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
9;
|
|
|
|
friend void swap(HelloResult& a, HelloResult& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(HelloResult* other) {
|
|
if (other == this) return;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() != nullptr &&
|
|
GetOwningArena() == other->GetOwningArena()) {
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
if (GetOwningArena() == other->GetOwningArena()) {
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(HelloResult* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
HelloResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<HelloResult>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const HelloResult& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const HelloResult& from) {
|
|
HelloResult::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
|
public:
|
|
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;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(HelloResult* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "uxcontrol.HelloResult";
|
|
}
|
|
protected:
|
|
explicit HelloResult(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMessageFieldNumber = 2,
|
|
kMetaFieldNumber = 1,
|
|
};
|
|
// string message = 2;
|
|
void clear_message();
|
|
const std::string& message() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_message(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_message();
|
|
PROTOBUF_NODISCARD std::string* release_message();
|
|
void set_allocated_message(std::string* message);
|
|
private:
|
|
const std::string& _internal_message() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value);
|
|
std::string* _internal_mutable_message();
|
|
public:
|
|
|
|
// .uxcontrol.ResMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::uxcontrol::ResMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::uxcontrol::ResMeta* release_meta();
|
|
::uxcontrol::ResMeta* mutable_meta();
|
|
void set_allocated_meta(::uxcontrol::ResMeta* meta);
|
|
private:
|
|
const ::uxcontrol::ResMeta& _internal_meta() const;
|
|
::uxcontrol::ResMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ResMeta* meta);
|
|
::uxcontrol::ResMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:uxcontrol.HelloResult)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
|
|
::uxcontrol::ResMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_uxcontrol_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// MsgMeta
|
|
|
|
// string kind = 1;
|
|
inline void MsgMeta::clear_kind() {
|
|
_impl_.kind_.ClearToEmpty();
|
|
}
|
|
inline const std::string& MsgMeta::kind() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.MsgMeta.kind)
|
|
return _internal_kind();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void MsgMeta::set_kind(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.kind_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.MsgMeta.kind)
|
|
}
|
|
inline std::string* MsgMeta::mutable_kind() {
|
|
std::string* _s = _internal_mutable_kind();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.MsgMeta.kind)
|
|
return _s;
|
|
}
|
|
inline const std::string& MsgMeta::_internal_kind() const {
|
|
return _impl_.kind_.Get();
|
|
}
|
|
inline void MsgMeta::_internal_set_kind(const std::string& value) {
|
|
|
|
_impl_.kind_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* MsgMeta::_internal_mutable_kind() {
|
|
|
|
return _impl_.kind_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* MsgMeta::release_kind() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.MsgMeta.kind)
|
|
return _impl_.kind_.Release();
|
|
}
|
|
inline void MsgMeta::set_allocated_kind(std::string* kind) {
|
|
if (kind != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.kind_.SetAllocated(kind, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.kind_.IsDefault()) {
|
|
_impl_.kind_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.MsgMeta.kind)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Message
|
|
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
inline bool Message::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool Message::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void Message::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& Message::_internal_meta() const {
|
|
const ::uxcontrol::MsgMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::MsgMeta&>(
|
|
::uxcontrol::_MsgMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& Message::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.Message.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void Message::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.Message.meta)
|
|
}
|
|
inline ::uxcontrol::MsgMeta* Message::release_meta() {
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* Message::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.Message.meta)
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* Message::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::MsgMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* Message::mutable_meta() {
|
|
::uxcontrol::MsgMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.Message.meta)
|
|
return _msg;
|
|
}
|
|
inline void Message::set_allocated_meta(::uxcontrol::MsgMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.Message.meta)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// InternetPacket
|
|
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
inline bool InternetPacket::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool InternetPacket::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void InternetPacket::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& InternetPacket::_internal_meta() const {
|
|
const ::uxcontrol::MsgMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::MsgMeta&>(
|
|
::uxcontrol::_MsgMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& InternetPacket::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.InternetPacket.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void InternetPacket::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.InternetPacket.meta)
|
|
}
|
|
inline ::uxcontrol::MsgMeta* InternetPacket::release_meta() {
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* InternetPacket::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.InternetPacket.meta)
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* InternetPacket::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::MsgMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* InternetPacket::mutable_meta() {
|
|
::uxcontrol::MsgMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.InternetPacket.meta)
|
|
return _msg;
|
|
}
|
|
inline void InternetPacket::set_allocated_meta(::uxcontrol::MsgMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.InternetPacket.meta)
|
|
}
|
|
|
|
// string payload = 2;
|
|
inline void InternetPacket::clear_payload() {
|
|
_impl_.payload_.ClearToEmpty();
|
|
}
|
|
inline const std::string& InternetPacket::payload() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.InternetPacket.payload)
|
|
return _internal_payload();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void InternetPacket::set_payload(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.payload_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.InternetPacket.payload)
|
|
}
|
|
inline std::string* InternetPacket::mutable_payload() {
|
|
std::string* _s = _internal_mutable_payload();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.InternetPacket.payload)
|
|
return _s;
|
|
}
|
|
inline const std::string& InternetPacket::_internal_payload() const {
|
|
return _impl_.payload_.Get();
|
|
}
|
|
inline void InternetPacket::_internal_set_payload(const std::string& value) {
|
|
|
|
_impl_.payload_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* InternetPacket::_internal_mutable_payload() {
|
|
|
|
return _impl_.payload_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* InternetPacket::release_payload() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.InternetPacket.payload)
|
|
return _impl_.payload_.Release();
|
|
}
|
|
inline void InternetPacket::set_allocated_payload(std::string* payload) {
|
|
if (payload != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.payload_.SetAllocated(payload, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.payload_.IsDefault()) {
|
|
_impl_.payload_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.InternetPacket.payload)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HelloMsg
|
|
|
|
// .uxcontrol.MsgMeta meta = 1;
|
|
inline bool HelloMsg::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool HelloMsg::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void HelloMsg::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& HelloMsg::_internal_meta() const {
|
|
const ::uxcontrol::MsgMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::MsgMeta&>(
|
|
::uxcontrol::_MsgMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::MsgMeta& HelloMsg::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloMsg.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void HelloMsg::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::MsgMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.HelloMsg.meta)
|
|
}
|
|
inline ::uxcontrol::MsgMeta* HelloMsg::release_meta() {
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* HelloMsg::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloMsg.meta)
|
|
|
|
::uxcontrol::MsgMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* HelloMsg::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::MsgMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::MsgMeta* HelloMsg::mutable_meta() {
|
|
::uxcontrol::MsgMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloMsg.meta)
|
|
return _msg;
|
|
}
|
|
inline void HelloMsg::set_allocated_meta(::uxcontrol::MsgMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloMsg.meta)
|
|
}
|
|
|
|
// string message = 2;
|
|
inline void HelloMsg::clear_message() {
|
|
_impl_.message_.ClearToEmpty();
|
|
}
|
|
inline const std::string& HelloMsg::message() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloMsg.message)
|
|
return _internal_message();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void HelloMsg::set_message(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.HelloMsg.message)
|
|
}
|
|
inline std::string* HelloMsg::mutable_message() {
|
|
std::string* _s = _internal_mutable_message();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloMsg.message)
|
|
return _s;
|
|
}
|
|
inline const std::string& HelloMsg::_internal_message() const {
|
|
return _impl_.message_.Get();
|
|
}
|
|
inline void HelloMsg::_internal_set_message(const std::string& value) {
|
|
|
|
_impl_.message_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloMsg::_internal_mutable_message() {
|
|
|
|
return _impl_.message_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloMsg::release_message() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloMsg.message)
|
|
return _impl_.message_.Release();
|
|
}
|
|
inline void HelloMsg::set_allocated_message(std::string* message) {
|
|
if (message != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.message_.SetAllocated(message, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.message_.IsDefault()) {
|
|
_impl_.message_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloMsg.message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ReqMeta
|
|
|
|
// string kind = 1;
|
|
inline void ReqMeta::clear_kind() {
|
|
_impl_.kind_.ClearToEmpty();
|
|
}
|
|
inline const std::string& ReqMeta::kind() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.ReqMeta.kind)
|
|
return _internal_kind();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void ReqMeta::set_kind(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.kind_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.ReqMeta.kind)
|
|
}
|
|
inline std::string* ReqMeta::mutable_kind() {
|
|
std::string* _s = _internal_mutable_kind();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.ReqMeta.kind)
|
|
return _s;
|
|
}
|
|
inline const std::string& ReqMeta::_internal_kind() const {
|
|
return _impl_.kind_.Get();
|
|
}
|
|
inline void ReqMeta::_internal_set_kind(const std::string& value) {
|
|
|
|
_impl_.kind_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* ReqMeta::_internal_mutable_kind() {
|
|
|
|
return _impl_.kind_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* ReqMeta::release_kind() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.ReqMeta.kind)
|
|
return _impl_.kind_.Release();
|
|
}
|
|
inline void ReqMeta::set_allocated_kind(std::string* kind) {
|
|
if (kind != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.kind_.SetAllocated(kind, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.kind_.IsDefault()) {
|
|
_impl_.kind_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.ReqMeta.kind)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ResMeta
|
|
|
|
// bool error = 1;
|
|
inline void ResMeta::clear_error() {
|
|
_impl_.error_ = false;
|
|
}
|
|
inline bool ResMeta::_internal_error() const {
|
|
return _impl_.error_;
|
|
}
|
|
inline bool ResMeta::error() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.ResMeta.error)
|
|
return _internal_error();
|
|
}
|
|
inline void ResMeta::_internal_set_error(bool value) {
|
|
|
|
_impl_.error_ = value;
|
|
}
|
|
inline void ResMeta::set_error(bool value) {
|
|
_internal_set_error(value);
|
|
// @@protoc_insertion_point(field_set:uxcontrol.ResMeta.error)
|
|
}
|
|
|
|
// string message = 2;
|
|
inline void ResMeta::clear_message() {
|
|
_impl_.message_.ClearToEmpty();
|
|
}
|
|
inline const std::string& ResMeta::message() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.ResMeta.message)
|
|
return _internal_message();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void ResMeta::set_message(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.ResMeta.message)
|
|
}
|
|
inline std::string* ResMeta::mutable_message() {
|
|
std::string* _s = _internal_mutable_message();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.ResMeta.message)
|
|
return _s;
|
|
}
|
|
inline const std::string& ResMeta::_internal_message() const {
|
|
return _impl_.message_.Get();
|
|
}
|
|
inline void ResMeta::_internal_set_message(const std::string& value) {
|
|
|
|
_impl_.message_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* ResMeta::_internal_mutable_message() {
|
|
|
|
return _impl_.message_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* ResMeta::release_message() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.ResMeta.message)
|
|
return _impl_.message_.Release();
|
|
}
|
|
inline void ResMeta::set_allocated_message(std::string* message) {
|
|
if (message != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.message_.SetAllocated(message, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.message_.IsDefault()) {
|
|
_impl_.message_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.ResMeta.message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Request
|
|
|
|
// .uxcontrol.ReqMeta meta = 1;
|
|
inline bool Request::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool Request::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void Request::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::ReqMeta& Request::_internal_meta() const {
|
|
const ::uxcontrol::ReqMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::ReqMeta&>(
|
|
::uxcontrol::_ReqMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::ReqMeta& Request::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.Request.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void Request::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ReqMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.Request.meta)
|
|
}
|
|
inline ::uxcontrol::ReqMeta* Request::release_meta() {
|
|
|
|
::uxcontrol::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* Request::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.Request.meta)
|
|
|
|
::uxcontrol::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* Request::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::ReqMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* Request::mutable_meta() {
|
|
::uxcontrol::ReqMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.Request.meta)
|
|
return _msg;
|
|
}
|
|
inline void Request::set_allocated_meta(::uxcontrol::ReqMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.Request.meta)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Result
|
|
|
|
// .uxcontrol.ResMeta meta = 1;
|
|
inline bool Result::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool Result::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void Result::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::ResMeta& Result::_internal_meta() const {
|
|
const ::uxcontrol::ResMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::ResMeta&>(
|
|
::uxcontrol::_ResMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::ResMeta& Result::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.Result.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void Result::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ResMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.Result.meta)
|
|
}
|
|
inline ::uxcontrol::ResMeta* Result::release_meta() {
|
|
|
|
::uxcontrol::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ResMeta* Result::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.Result.meta)
|
|
|
|
::uxcontrol::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ResMeta* Result::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::ResMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::ResMeta* Result::mutable_meta() {
|
|
::uxcontrol::ResMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.Result.meta)
|
|
return _msg;
|
|
}
|
|
inline void Result::set_allocated_meta(::uxcontrol::ResMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.Result.meta)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HelloRequest
|
|
|
|
// .uxcontrol.ReqMeta meta = 1;
|
|
inline bool HelloRequest::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool HelloRequest::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void HelloRequest::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::ReqMeta& HelloRequest::_internal_meta() const {
|
|
const ::uxcontrol::ReqMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::ReqMeta&>(
|
|
::uxcontrol::_ReqMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::ReqMeta& HelloRequest::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloRequest.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void HelloRequest::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ReqMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.HelloRequest.meta)
|
|
}
|
|
inline ::uxcontrol::ReqMeta* HelloRequest::release_meta() {
|
|
|
|
::uxcontrol::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* HelloRequest::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloRequest.meta)
|
|
|
|
::uxcontrol::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* HelloRequest::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::ReqMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::ReqMeta* HelloRequest::mutable_meta() {
|
|
::uxcontrol::ReqMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloRequest.meta)
|
|
return _msg;
|
|
}
|
|
inline void HelloRequest::set_allocated_meta(::uxcontrol::ReqMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloRequest.meta)
|
|
}
|
|
|
|
// string message = 2;
|
|
inline void HelloRequest::clear_message() {
|
|
_impl_.message_.ClearToEmpty();
|
|
}
|
|
inline const std::string& HelloRequest::message() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloRequest.message)
|
|
return _internal_message();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void HelloRequest::set_message(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.HelloRequest.message)
|
|
}
|
|
inline std::string* HelloRequest::mutable_message() {
|
|
std::string* _s = _internal_mutable_message();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloRequest.message)
|
|
return _s;
|
|
}
|
|
inline const std::string& HelloRequest::_internal_message() const {
|
|
return _impl_.message_.Get();
|
|
}
|
|
inline void HelloRequest::_internal_set_message(const std::string& value) {
|
|
|
|
_impl_.message_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloRequest::_internal_mutable_message() {
|
|
|
|
return _impl_.message_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloRequest::release_message() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloRequest.message)
|
|
return _impl_.message_.Release();
|
|
}
|
|
inline void HelloRequest::set_allocated_message(std::string* message) {
|
|
if (message != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.message_.SetAllocated(message, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.message_.IsDefault()) {
|
|
_impl_.message_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloRequest.message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HelloResult
|
|
|
|
// .uxcontrol.ResMeta meta = 1;
|
|
inline bool HelloResult::_internal_has_meta() const {
|
|
return this != internal_default_instance() && _impl_.meta_ != nullptr;
|
|
}
|
|
inline bool HelloResult::has_meta() const {
|
|
return _internal_has_meta();
|
|
}
|
|
inline void HelloResult::clear_meta() {
|
|
if (GetArenaForAllocation() == nullptr && _impl_.meta_ != nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
_impl_.meta_ = nullptr;
|
|
}
|
|
inline const ::uxcontrol::ResMeta& HelloResult::_internal_meta() const {
|
|
const ::uxcontrol::ResMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::uxcontrol::ResMeta&>(
|
|
::uxcontrol::_ResMeta_default_instance_);
|
|
}
|
|
inline const ::uxcontrol::ResMeta& HelloResult::meta() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloResult.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void HelloResult::unsafe_arena_set_allocated_meta(
|
|
::uxcontrol::ResMeta* meta) {
|
|
if (GetArenaForAllocation() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_);
|
|
}
|
|
_impl_.meta_ = meta;
|
|
if (meta) {
|
|
|
|
} else {
|
|
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:uxcontrol.HelloResult.meta)
|
|
}
|
|
inline ::uxcontrol::ResMeta* HelloResult::release_meta() {
|
|
|
|
::uxcontrol::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
if (GetArenaForAllocation() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ResMeta* HelloResult::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloResult.meta)
|
|
|
|
::uxcontrol::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::uxcontrol::ResMeta* HelloResult::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::uxcontrol::ResMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::uxcontrol::ResMeta* HelloResult::mutable_meta() {
|
|
::uxcontrol::ResMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloResult.meta)
|
|
return _msg;
|
|
}
|
|
inline void HelloResult::set_allocated_meta(::uxcontrol::ResMeta* meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
|
if (message_arena == nullptr) {
|
|
delete _impl_.meta_;
|
|
}
|
|
if (meta) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta);
|
|
if (message_arena != submessage_arena) {
|
|
meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, meta, submessage_arena);
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.meta_ = meta;
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloResult.meta)
|
|
}
|
|
|
|
// string message = 2;
|
|
inline void HelloResult::clear_message() {
|
|
_impl_.message_.ClearToEmpty();
|
|
}
|
|
inline const std::string& HelloResult::message() const {
|
|
// @@protoc_insertion_point(field_get:uxcontrol.HelloResult.message)
|
|
return _internal_message();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void HelloResult::set_message(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:uxcontrol.HelloResult.message)
|
|
}
|
|
inline std::string* HelloResult::mutable_message() {
|
|
std::string* _s = _internal_mutable_message();
|
|
// @@protoc_insertion_point(field_mutable:uxcontrol.HelloResult.message)
|
|
return _s;
|
|
}
|
|
inline const std::string& HelloResult::_internal_message() const {
|
|
return _impl_.message_.Get();
|
|
}
|
|
inline void HelloResult::_internal_set_message(const std::string& value) {
|
|
|
|
_impl_.message_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloResult::_internal_mutable_message() {
|
|
|
|
return _impl_.message_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloResult::release_message() {
|
|
// @@protoc_insertion_point(field_release:uxcontrol.HelloResult.message)
|
|
return _impl_.message_.Release();
|
|
}
|
|
inline void HelloResult::set_allocated_message(std::string* message) {
|
|
if (message != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.message_.SetAllocated(message, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.message_.IsDefault()) {
|
|
_impl_.message_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:uxcontrol.HelloResult.message)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace uxcontrol
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_uxcontrol_2eproto
|