working commit
This commit is contained in:
@@ -865,7 +865,6 @@ class RouteMessage final :
|
||||
|
||||
enum : int {
|
||||
kAddressFieldNumber = 2,
|
||||
kGatewayFieldNumber = 4,
|
||||
kMetaFieldNumber = 1,
|
||||
kPrefixFieldNumber = 3,
|
||||
};
|
||||
@@ -883,20 +882,6 @@ class RouteMessage final :
|
||||
std::string* _internal_mutable_address();
|
||||
public:
|
||||
|
||||
// string gateway = 4;
|
||||
void clear_gateway();
|
||||
const std::string& gateway() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_gateway(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_gateway();
|
||||
PROTOBUF_NODISCARD std::string* release_gateway();
|
||||
void set_allocated_gateway(std::string* gateway);
|
||||
private:
|
||||
const std::string& _internal_gateway() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_gateway(const std::string& value);
|
||||
std::string* _internal_mutable_gateway();
|
||||
public:
|
||||
|
||||
// .uxcontrol.MetaHeader meta = 1;
|
||||
bool has_meta() const;
|
||||
private:
|
||||
@@ -933,7 +918,6 @@ class RouteMessage final :
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gateway_;
|
||||
::uxcontrol::MetaHeader* meta_;
|
||||
uint64_t prefix_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
@@ -1741,56 +1725,6 @@ inline void RouteMessage::set_prefix(uint64_t value) {
|
||||
// @@protoc_insertion_point(field_set:uxcontrol.RouteMessage.prefix)
|
||||
}
|
||||
|
||||
// string gateway = 4;
|
||||
inline void RouteMessage::clear_gateway() {
|
||||
_impl_.gateway_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& RouteMessage::gateway() const {
|
||||
// @@protoc_insertion_point(field_get:uxcontrol.RouteMessage.gateway)
|
||||
return _internal_gateway();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void RouteMessage::set_gateway(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.gateway_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:uxcontrol.RouteMessage.gateway)
|
||||
}
|
||||
inline std::string* RouteMessage::mutable_gateway() {
|
||||
std::string* _s = _internal_mutable_gateway();
|
||||
// @@protoc_insertion_point(field_mutable:uxcontrol.RouteMessage.gateway)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& RouteMessage::_internal_gateway() const {
|
||||
return _impl_.gateway_.Get();
|
||||
}
|
||||
inline void RouteMessage::_internal_set_gateway(const std::string& value) {
|
||||
|
||||
_impl_.gateway_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* RouteMessage::_internal_mutable_gateway() {
|
||||
|
||||
return _impl_.gateway_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* RouteMessage::release_gateway() {
|
||||
// @@protoc_insertion_point(field_release:uxcontrol.RouteMessage.gateway)
|
||||
return _impl_.gateway_.Release();
|
||||
}
|
||||
inline void RouteMessage::set_allocated_gateway(std::string* gateway) {
|
||||
if (gateway != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.gateway_.SetAllocated(gateway, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.gateway_.IsDefault()) {
|
||||
_impl_.gateway_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:uxcontrol.RouteMessage.gateway)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// HelloMessage
|
||||
|
||||
Reference in New Issue
Block a user