working commit
This commit is contained in:
+70
-39
@@ -197,20 +197,30 @@ class ReqMeta final :
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kRpcnameFieldNumber = 1,
|
||||
kKindFieldNumber = 1,
|
||||
kRpcFieldNumber = 2,
|
||||
};
|
||||
// string rpcname = 1;
|
||||
void clear_rpcname();
|
||||
const std::string& rpcname() const;
|
||||
// string kind = 1;
|
||||
void clear_kind();
|
||||
const std::string& kind() 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);
|
||||
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_rpcname() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_rpcname(const std::string& value);
|
||||
std::string* _internal_mutable_rpcname();
|
||||
const std::string& _internal_kind() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_kind(const std::string& value);
|
||||
std::string* _internal_mutable_kind();
|
||||
public:
|
||||
|
||||
// bool rpc = 2;
|
||||
void clear_rpc();
|
||||
bool rpc() const;
|
||||
void set_rpc(bool value);
|
||||
private:
|
||||
bool _internal_rpc() const;
|
||||
void _internal_set_rpc(bool value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:control.ReqMeta)
|
||||
@@ -221,7 +231,8 @@ class ReqMeta final :
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rpcname_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kind_;
|
||||
bool rpc_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -1062,54 +1073,74 @@ class HelloResult final :
|
||||
#endif // __GNUC__
|
||||
// ReqMeta
|
||||
|
||||
// string rpcname = 1;
|
||||
inline void ReqMeta::clear_rpcname() {
|
||||
_impl_.rpcname_.ClearToEmpty();
|
||||
// string kind = 1;
|
||||
inline void ReqMeta::clear_kind() {
|
||||
_impl_.kind_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& ReqMeta::rpcname() const {
|
||||
// @@protoc_insertion_point(field_get:control.ReqMeta.rpcname)
|
||||
return _internal_rpcname();
|
||||
inline const std::string& ReqMeta::kind() const {
|
||||
// @@protoc_insertion_point(field_get:control.ReqMeta.kind)
|
||||
return _internal_kind();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void ReqMeta::set_rpcname(ArgT0&& arg0, ArgT... args) {
|
||||
void ReqMeta::set_kind(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.rpcname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:control.ReqMeta.rpcname)
|
||||
_impl_.kind_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:control.ReqMeta.kind)
|
||||
}
|
||||
inline std::string* ReqMeta::mutable_rpcname() {
|
||||
std::string* _s = _internal_mutable_rpcname();
|
||||
// @@protoc_insertion_point(field_mutable:control.ReqMeta.rpcname)
|
||||
inline std::string* ReqMeta::mutable_kind() {
|
||||
std::string* _s = _internal_mutable_kind();
|
||||
// @@protoc_insertion_point(field_mutable:control.ReqMeta.kind)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& ReqMeta::_internal_rpcname() const {
|
||||
return _impl_.rpcname_.Get();
|
||||
inline const std::string& ReqMeta::_internal_kind() const {
|
||||
return _impl_.kind_.Get();
|
||||
}
|
||||
inline void ReqMeta::_internal_set_rpcname(const std::string& value) {
|
||||
inline void ReqMeta::_internal_set_kind(const std::string& value) {
|
||||
|
||||
_impl_.rpcname_.Set(value, GetArenaForAllocation());
|
||||
_impl_.kind_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* ReqMeta::_internal_mutable_rpcname() {
|
||||
inline std::string* ReqMeta::_internal_mutable_kind() {
|
||||
|
||||
return _impl_.rpcname_.Mutable(GetArenaForAllocation());
|
||||
return _impl_.kind_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* ReqMeta::release_rpcname() {
|
||||
// @@protoc_insertion_point(field_release:control.ReqMeta.rpcname)
|
||||
return _impl_.rpcname_.Release();
|
||||
inline std::string* ReqMeta::release_kind() {
|
||||
// @@protoc_insertion_point(field_release:control.ReqMeta.kind)
|
||||
return _impl_.kind_.Release();
|
||||
}
|
||||
inline void ReqMeta::set_allocated_rpcname(std::string* rpcname) {
|
||||
if (rpcname != nullptr) {
|
||||
inline void ReqMeta::set_allocated_kind(std::string* kind) {
|
||||
if (kind != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.rpcname_.SetAllocated(rpcname, GetArenaForAllocation());
|
||||
_impl_.kind_.SetAllocated(kind, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.rpcname_.IsDefault()) {
|
||||
_impl_.rpcname_.Set("", GetArenaForAllocation());
|
||||
if (_impl_.kind_.IsDefault()) {
|
||||
_impl_.kind_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:control.ReqMeta.rpcname)
|
||||
// @@protoc_insertion_point(field_set_allocated:control.ReqMeta.kind)
|
||||
}
|
||||
|
||||
// bool rpc = 2;
|
||||
inline void ReqMeta::clear_rpc() {
|
||||
_impl_.rpc_ = false;
|
||||
}
|
||||
inline bool ReqMeta::_internal_rpc() const {
|
||||
return _impl_.rpc_;
|
||||
}
|
||||
inline bool ReqMeta::rpc() const {
|
||||
// @@protoc_insertion_point(field_get:control.ReqMeta.rpc)
|
||||
return _internal_rpc();
|
||||
}
|
||||
inline void ReqMeta::_internal_set_rpc(bool value) {
|
||||
|
||||
_impl_.rpc_ = value;
|
||||
}
|
||||
inline void ReqMeta::set_rpc(bool value) {
|
||||
_internal_set_rpc(value);
|
||||
// @@protoc_insertion_point(field_set:control.ReqMeta.rpc)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user