1749 lines
57 KiB
C++
1749 lines
57 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: control.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_control_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_control_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_control_2eproto
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
namespace internal {
|
|
class AnyMetadata;
|
|
} // namespace internal
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_control_2eproto {
|
|
static const uint32_t offsets[];
|
|
};
|
|
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_control_2eproto;
|
|
namespace control {
|
|
class HelloRequest;
|
|
struct HelloRequestDefaultTypeInternal;
|
|
extern HelloRequestDefaultTypeInternal _HelloRequest_default_instance_;
|
|
class HelloResult;
|
|
struct HelloResultDefaultTypeInternal;
|
|
extern HelloResultDefaultTypeInternal _HelloResult_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 control
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> ::control::HelloRequest* Arena::CreateMaybeMessage<::control::HelloRequest>(Arena*);
|
|
template<> ::control::HelloResult* Arena::CreateMaybeMessage<::control::HelloResult>(Arena*);
|
|
template<> ::control::ReqMeta* Arena::CreateMaybeMessage<::control::ReqMeta>(Arena*);
|
|
template<> ::control::Request* Arena::CreateMaybeMessage<::control::Request>(Arena*);
|
|
template<> ::control::ResMeta* Arena::CreateMaybeMessage<::control::ResMeta>(Arena*);
|
|
template<> ::control::Result* Arena::CreateMaybeMessage<::control::Result>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
namespace control {
|
|
|
|
// ===================================================================
|
|
|
|
class ReqMeta final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
0;
|
|
|
|
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 "control.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 {
|
|
kRpcnameFieldNumber = 1,
|
|
};
|
|
// string rpcname = 1;
|
|
void clear_rpcname();
|
|
const std::string& rpcname() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_rpcname(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_rpcname();
|
|
PROTOBUF_NODISCARD std::string* release_rpcname();
|
|
void set_allocated_rpcname(std::string* rpcname);
|
|
private:
|
|
const std::string& _internal_rpcname() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_rpcname(const std::string& value);
|
|
std::string* _internal_mutable_rpcname();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:control.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 rpcname_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_control_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ResMeta final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
1;
|
|
|
|
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 "control.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:control.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_control_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Request final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
2;
|
|
|
|
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 "control.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,
|
|
};
|
|
// .control.ReqMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::control::ReqMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::control::ReqMeta* release_meta();
|
|
::control::ReqMeta* mutable_meta();
|
|
void set_allocated_meta(::control::ReqMeta* meta);
|
|
private:
|
|
const ::control::ReqMeta& _internal_meta() const;
|
|
::control::ReqMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::control::ReqMeta* meta);
|
|
::control::ReqMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:control.Request)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::control::ReqMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_control_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Result final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
3;
|
|
|
|
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 "control.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,
|
|
};
|
|
// .control.ResMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::control::ResMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::control::ResMeta* release_meta();
|
|
::control::ResMeta* mutable_meta();
|
|
void set_allocated_meta(::control::ResMeta* meta);
|
|
private:
|
|
const ::control::ResMeta& _internal_meta() const;
|
|
::control::ResMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::control::ResMeta* meta);
|
|
::control::ResMeta* unsafe_arena_release_meta();
|
|
|
|
// @@protoc_insertion_point(class_scope:control.Result)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::control::ResMeta* meta_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_control_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HelloRequest final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
4;
|
|
|
|
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 "control.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 {
|
|
kNameFieldNumber = 3,
|
|
kMetaFieldNumber = 1,
|
|
kIdFieldNumber = 2,
|
|
};
|
|
// string name = 3;
|
|
void clear_name();
|
|
const std::string& name() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_name(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_name();
|
|
PROTOBUF_NODISCARD std::string* release_name();
|
|
void set_allocated_name(std::string* name);
|
|
private:
|
|
const std::string& _internal_name() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
|
|
std::string* _internal_mutable_name();
|
|
public:
|
|
|
|
// .control.ReqMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::control::ReqMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::control::ReqMeta* release_meta();
|
|
::control::ReqMeta* mutable_meta();
|
|
void set_allocated_meta(::control::ReqMeta* meta);
|
|
private:
|
|
const ::control::ReqMeta& _internal_meta() const;
|
|
::control::ReqMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::control::ReqMeta* meta);
|
|
::control::ReqMeta* unsafe_arena_release_meta();
|
|
|
|
// int32 id = 2;
|
|
void clear_id();
|
|
int32_t id() const;
|
|
void set_id(int32_t value);
|
|
private:
|
|
int32_t _internal_id() const;
|
|
void _internal_set_id(int32_t value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:control.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 name_;
|
|
::control::ReqMeta* meta_;
|
|
int32_t id_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_control_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class HelloResult final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:control.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 =
|
|
5;
|
|
|
|
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 "control.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 {
|
|
kNameFieldNumber = 3,
|
|
kMetaFieldNumber = 1,
|
|
kIdFieldNumber = 2,
|
|
};
|
|
// string name = 3;
|
|
void clear_name();
|
|
const std::string& name() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_name(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_name();
|
|
PROTOBUF_NODISCARD std::string* release_name();
|
|
void set_allocated_name(std::string* name);
|
|
private:
|
|
const std::string& _internal_name() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
|
|
std::string* _internal_mutable_name();
|
|
public:
|
|
|
|
// .control.ResMeta meta = 1;
|
|
bool has_meta() const;
|
|
private:
|
|
bool _internal_has_meta() const;
|
|
public:
|
|
void clear_meta();
|
|
const ::control::ResMeta& meta() const;
|
|
PROTOBUF_NODISCARD ::control::ResMeta* release_meta();
|
|
::control::ResMeta* mutable_meta();
|
|
void set_allocated_meta(::control::ResMeta* meta);
|
|
private:
|
|
const ::control::ResMeta& _internal_meta() const;
|
|
::control::ResMeta* _internal_mutable_meta();
|
|
public:
|
|
void unsafe_arena_set_allocated_meta(
|
|
::control::ResMeta* meta);
|
|
::control::ResMeta* unsafe_arena_release_meta();
|
|
|
|
// int32 id = 2;
|
|
void clear_id();
|
|
int32_t id() const;
|
|
void set_id(int32_t value);
|
|
private:
|
|
int32_t _internal_id() const;
|
|
void _internal_set_id(int32_t value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:control.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 name_;
|
|
::control::ResMeta* meta_;
|
|
int32_t id_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_control_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// ReqMeta
|
|
|
|
// string rpcname = 1;
|
|
inline void ReqMeta::clear_rpcname() {
|
|
_impl_.rpcname_.ClearToEmpty();
|
|
}
|
|
inline const std::string& ReqMeta::rpcname() const {
|
|
// @@protoc_insertion_point(field_get:control.ReqMeta.rpcname)
|
|
return _internal_rpcname();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void ReqMeta::set_rpcname(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.rpcname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:control.ReqMeta.rpcname)
|
|
}
|
|
inline std::string* ReqMeta::mutable_rpcname() {
|
|
std::string* _s = _internal_mutable_rpcname();
|
|
// @@protoc_insertion_point(field_mutable:control.ReqMeta.rpcname)
|
|
return _s;
|
|
}
|
|
inline const std::string& ReqMeta::_internal_rpcname() const {
|
|
return _impl_.rpcname_.Get();
|
|
}
|
|
inline void ReqMeta::_internal_set_rpcname(const std::string& value) {
|
|
|
|
_impl_.rpcname_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* ReqMeta::_internal_mutable_rpcname() {
|
|
|
|
return _impl_.rpcname_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* ReqMeta::release_rpcname() {
|
|
// @@protoc_insertion_point(field_release:control.ReqMeta.rpcname)
|
|
return _impl_.rpcname_.Release();
|
|
}
|
|
inline void ReqMeta::set_allocated_rpcname(std::string* rpcname) {
|
|
if (rpcname != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.rpcname_.SetAllocated(rpcname, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.rpcname_.IsDefault()) {
|
|
_impl_.rpcname_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:control.ReqMeta.rpcname)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// 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:control.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:control.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:control.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:control.ResMeta.message)
|
|
}
|
|
inline std::string* ResMeta::mutable_message() {
|
|
std::string* _s = _internal_mutable_message();
|
|
// @@protoc_insertion_point(field_mutable:control.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:control.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:control.ResMeta.message)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Request
|
|
|
|
// .control.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 ::control::ReqMeta& Request::_internal_meta() const {
|
|
const ::control::ReqMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::control::ReqMeta&>(
|
|
::control::_ReqMeta_default_instance_);
|
|
}
|
|
inline const ::control::ReqMeta& Request::meta() const {
|
|
// @@protoc_insertion_point(field_get:control.Request.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void Request::unsafe_arena_set_allocated_meta(
|
|
::control::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:control.Request.meta)
|
|
}
|
|
inline ::control::ReqMeta* Request::release_meta() {
|
|
|
|
::control::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 ::control::ReqMeta* Request::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:control.Request.meta)
|
|
|
|
::control::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::control::ReqMeta* Request::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::control::ReqMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::control::ReqMeta* Request::mutable_meta() {
|
|
::control::ReqMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:control.Request.meta)
|
|
return _msg;
|
|
}
|
|
inline void Request::set_allocated_meta(::control::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:control.Request.meta)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Result
|
|
|
|
// .control.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 ::control::ResMeta& Result::_internal_meta() const {
|
|
const ::control::ResMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::control::ResMeta&>(
|
|
::control::_ResMeta_default_instance_);
|
|
}
|
|
inline const ::control::ResMeta& Result::meta() const {
|
|
// @@protoc_insertion_point(field_get:control.Result.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void Result::unsafe_arena_set_allocated_meta(
|
|
::control::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:control.Result.meta)
|
|
}
|
|
inline ::control::ResMeta* Result::release_meta() {
|
|
|
|
::control::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 ::control::ResMeta* Result::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:control.Result.meta)
|
|
|
|
::control::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::control::ResMeta* Result::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::control::ResMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::control::ResMeta* Result::mutable_meta() {
|
|
::control::ResMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:control.Result.meta)
|
|
return _msg;
|
|
}
|
|
inline void Result::set_allocated_meta(::control::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:control.Result.meta)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HelloRequest
|
|
|
|
// .control.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 ::control::ReqMeta& HelloRequest::_internal_meta() const {
|
|
const ::control::ReqMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::control::ReqMeta&>(
|
|
::control::_ReqMeta_default_instance_);
|
|
}
|
|
inline const ::control::ReqMeta& HelloRequest::meta() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloRequest.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void HelloRequest::unsafe_arena_set_allocated_meta(
|
|
::control::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:control.HelloRequest.meta)
|
|
}
|
|
inline ::control::ReqMeta* HelloRequest::release_meta() {
|
|
|
|
::control::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 ::control::ReqMeta* HelloRequest::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:control.HelloRequest.meta)
|
|
|
|
::control::ReqMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::control::ReqMeta* HelloRequest::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::control::ReqMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::control::ReqMeta* HelloRequest::mutable_meta() {
|
|
::control::ReqMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:control.HelloRequest.meta)
|
|
return _msg;
|
|
}
|
|
inline void HelloRequest::set_allocated_meta(::control::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:control.HelloRequest.meta)
|
|
}
|
|
|
|
// int32 id = 2;
|
|
inline void HelloRequest::clear_id() {
|
|
_impl_.id_ = 0;
|
|
}
|
|
inline int32_t HelloRequest::_internal_id() const {
|
|
return _impl_.id_;
|
|
}
|
|
inline int32_t HelloRequest::id() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloRequest.id)
|
|
return _internal_id();
|
|
}
|
|
inline void HelloRequest::_internal_set_id(int32_t value) {
|
|
|
|
_impl_.id_ = value;
|
|
}
|
|
inline void HelloRequest::set_id(int32_t value) {
|
|
_internal_set_id(value);
|
|
// @@protoc_insertion_point(field_set:control.HelloRequest.id)
|
|
}
|
|
|
|
// string name = 3;
|
|
inline void HelloRequest::clear_name() {
|
|
_impl_.name_.ClearToEmpty();
|
|
}
|
|
inline const std::string& HelloRequest::name() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloRequest.name)
|
|
return _internal_name();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void HelloRequest::set_name(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:control.HelloRequest.name)
|
|
}
|
|
inline std::string* HelloRequest::mutable_name() {
|
|
std::string* _s = _internal_mutable_name();
|
|
// @@protoc_insertion_point(field_mutable:control.HelloRequest.name)
|
|
return _s;
|
|
}
|
|
inline const std::string& HelloRequest::_internal_name() const {
|
|
return _impl_.name_.Get();
|
|
}
|
|
inline void HelloRequest::_internal_set_name(const std::string& value) {
|
|
|
|
_impl_.name_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloRequest::_internal_mutable_name() {
|
|
|
|
return _impl_.name_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloRequest::release_name() {
|
|
// @@protoc_insertion_point(field_release:control.HelloRequest.name)
|
|
return _impl_.name_.Release();
|
|
}
|
|
inline void HelloRequest::set_allocated_name(std::string* name) {
|
|
if (name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.name_.IsDefault()) {
|
|
_impl_.name_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:control.HelloRequest.name)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// HelloResult
|
|
|
|
// .control.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 ::control::ResMeta& HelloResult::_internal_meta() const {
|
|
const ::control::ResMeta* p = _impl_.meta_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::control::ResMeta&>(
|
|
::control::_ResMeta_default_instance_);
|
|
}
|
|
inline const ::control::ResMeta& HelloResult::meta() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloResult.meta)
|
|
return _internal_meta();
|
|
}
|
|
inline void HelloResult::unsafe_arena_set_allocated_meta(
|
|
::control::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:control.HelloResult.meta)
|
|
}
|
|
inline ::control::ResMeta* HelloResult::release_meta() {
|
|
|
|
::control::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 ::control::ResMeta* HelloResult::unsafe_arena_release_meta() {
|
|
// @@protoc_insertion_point(field_release:control.HelloResult.meta)
|
|
|
|
::control::ResMeta* temp = _impl_.meta_;
|
|
_impl_.meta_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::control::ResMeta* HelloResult::_internal_mutable_meta() {
|
|
|
|
if (_impl_.meta_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::control::ResMeta>(GetArenaForAllocation());
|
|
_impl_.meta_ = p;
|
|
}
|
|
return _impl_.meta_;
|
|
}
|
|
inline ::control::ResMeta* HelloResult::mutable_meta() {
|
|
::control::ResMeta* _msg = _internal_mutable_meta();
|
|
// @@protoc_insertion_point(field_mutable:control.HelloResult.meta)
|
|
return _msg;
|
|
}
|
|
inline void HelloResult::set_allocated_meta(::control::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:control.HelloResult.meta)
|
|
}
|
|
|
|
// int32 id = 2;
|
|
inline void HelloResult::clear_id() {
|
|
_impl_.id_ = 0;
|
|
}
|
|
inline int32_t HelloResult::_internal_id() const {
|
|
return _impl_.id_;
|
|
}
|
|
inline int32_t HelloResult::id() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloResult.id)
|
|
return _internal_id();
|
|
}
|
|
inline void HelloResult::_internal_set_id(int32_t value) {
|
|
|
|
_impl_.id_ = value;
|
|
}
|
|
inline void HelloResult::set_id(int32_t value) {
|
|
_internal_set_id(value);
|
|
// @@protoc_insertion_point(field_set:control.HelloResult.id)
|
|
}
|
|
|
|
// string name = 3;
|
|
inline void HelloResult::clear_name() {
|
|
_impl_.name_.ClearToEmpty();
|
|
}
|
|
inline const std::string& HelloResult::name() const {
|
|
// @@protoc_insertion_point(field_get:control.HelloResult.name)
|
|
return _internal_name();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void HelloResult::set_name(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:control.HelloResult.name)
|
|
}
|
|
inline std::string* HelloResult::mutable_name() {
|
|
std::string* _s = _internal_mutable_name();
|
|
// @@protoc_insertion_point(field_mutable:control.HelloResult.name)
|
|
return _s;
|
|
}
|
|
inline const std::string& HelloResult::_internal_name() const {
|
|
return _impl_.name_.Get();
|
|
}
|
|
inline void HelloResult::_internal_set_name(const std::string& value) {
|
|
|
|
_impl_.name_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloResult::_internal_mutable_name() {
|
|
|
|
return _impl_.name_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* HelloResult::release_name() {
|
|
// @@protoc_insertion_point(field_release:control.HelloResult.name)
|
|
return _impl_.name_.Release();
|
|
}
|
|
inline void HelloResult::set_allocated_name(std::string* name) {
|
|
if (name != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.name_.SetAllocated(name, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.name_.IsDefault()) {
|
|
_impl_.name_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:control.HelloResult.name)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace control
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_control_2eproto
|