From b3c0ad53ac53e47884f42fc2329e19b5ace41a72 Mon Sep 17 00:00:00 2001 From: sandeepindia Date: Sat, 25 Jun 2022 17:12:12 +0530 Subject: [PATCH] Fixing Proto file Issue-ID: RICAPP-197 Signed-off-by: sandeepindia Change-Id: Ief74a8823dac595131a2a0744446fa1e64000e88 --- ext/protobuf/CMakeLists.txt | 4 +- ext/protobuf/{api.grpc.pb.cc => rc.grpc.pb.cc} | 28 +- ext/protobuf/{api.grpc.pb.h => rc.grpc.pb.h} | 64 +-- ext/protobuf/{api.pb.cc => rc.pb.cc} | 549 ++++++++++++------------- ext/protobuf/{api.pb.h => rc.pb.h} | 492 +++++++++++----------- ext/protobuf/{api.proto => rc.proto} | 2 +- src/ts_xapp/ts_xapp.cpp | 20 +- test/app/rc_xapp.cpp | 10 +- 8 files changed, 584 insertions(+), 585 deletions(-) rename ext/protobuf/{api.grpc.pb.cc => rc.grpc.pb.cc} (59%) rename ext/protobuf/{api.grpc.pb.h => rc.grpc.pb.h} (62%) rename ext/protobuf/{api.pb.cc => rc.pb.cc} (76%) rename ext/protobuf/{api.pb.h => rc.pb.h} (76%) rename ext/protobuf/{api.proto => rc.proto} (99%) diff --git a/ext/protobuf/CMakeLists.txt b/ext/protobuf/CMakeLists.txt index d3b7d57..953f835 100644 --- a/ext/protobuf/CMakeLists.txt +++ b/ext/protobuf/CMakeLists.txt @@ -21,7 +21,7 @@ # For clarity: this generates object, not a lib as the CM command implies. # add_library( rc_objects OBJECT - api.pb.cc api.grpc.pb.cc + rc.pb.cc rc.grpc.pb.cc ) target_include_directories (rc_objects PUBLIC @@ -32,7 +32,7 @@ target_include_directories (rc_objects PUBLIC # header files should go into .../include/ts_xapp/ if( DEV_PKG ) install( FILES - api.pb.h api.grpc.pb.h + rc.pb.h rc.grpc.pb.h DESTINATION ${install_inc} ) endif() diff --git a/ext/protobuf/api.grpc.pb.cc b/ext/protobuf/rc.grpc.pb.cc similarity index 59% rename from ext/protobuf/api.grpc.pb.cc rename to ext/protobuf/rc.grpc.pb.cc index ac1f186..504ff94 100644 --- a/ext/protobuf/api.grpc.pb.cc +++ b/ext/protobuf/rc.grpc.pb.cc @@ -1,9 +1,9 @@ // Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. -// source: api.proto +// source: rc.proto -#include "api.pb.h" -#include "api.grpc.pb.h" +#include "rc.pb.h" +#include "rc.grpc.pb.h" #include #include @@ -15,10 +15,10 @@ #include #include #include -namespace api { +namespace rc { static const char* MsgComm_method_names[] = { - "/api.MsgComm/SendRICControlReqServiceGrpc", + "/rc.MsgComm/SendRICControlReqServiceGrpc", }; std::unique_ptr< MsgComm::Stub> MsgComm::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -31,34 +31,34 @@ MsgComm::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) : channel_(channel), rpcmethod_SendRICControlReqServiceGrpc_(MsgComm_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} -::grpc::Status MsgComm::Stub::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::api::RicControlGrpcRsp* response) { +::grpc::Status MsgComm::Stub::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::rc::RicControlGrpcRsp* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SendRICControlReqServiceGrpc_, context, request, response); } -void MsgComm::Stub::experimental_async::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response, std::function f) { +void MsgComm::Stub::experimental_async::SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response, std::function f) { return ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SendRICControlReqServiceGrpc_, context, request, response, std::move(f)); } -::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* MsgComm::Stub::AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::api::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, true); +::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* MsgComm::Stub::AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rc::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* MsgComm::Stub::PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::api::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, false); +::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* MsgComm::Stub::PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::rc::RicControlGrpcRsp>::Create(channel_.get(), cq, rpcmethod_SendRICControlReqServiceGrpc_, context, request, false); } MsgComm::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( MsgComm_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< MsgComm::Service, ::api::RicControlGrpcReq, ::api::RicControlGrpcRsp>( + new ::grpc::internal::RpcMethodHandler< MsgComm::Service, ::rc::RicControlGrpcReq, ::rc::RicControlGrpcRsp>( std::mem_fn(&MsgComm::Service::SendRICControlReqServiceGrpc), this))); } MsgComm::Service::~Service() { } -::grpc::Status MsgComm::Service::SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) { +::grpc::Status MsgComm::Service::SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) { (void) context; (void) request; (void) response; @@ -66,5 +66,5 @@ MsgComm::Service::~Service() { } -} // namespace api +} // namespace rc diff --git a/ext/protobuf/api.grpc.pb.h b/ext/protobuf/rc.grpc.pb.h similarity index 62% rename from ext/protobuf/api.grpc.pb.h rename to ext/protobuf/rc.grpc.pb.h index d27749e..ff145ee 100644 --- a/ext/protobuf/api.grpc.pb.h +++ b/ext/protobuf/rc.grpc.pb.h @@ -1,10 +1,10 @@ // Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. -// source: api.proto -#ifndef GRPC_api_2eproto__INCLUDED -#define GRPC_api_2eproto__INCLUDED +// source: rc.proto +#ifndef GRPC_rc_2eproto__INCLUDED +#define GRPC_rc_2eproto__INCLUDED -#include "api.pb.h" +#include "rc.pb.h" #include #include @@ -25,50 +25,50 @@ class ServerCompletionQueue; class ServerContext; } // namespace grpc -namespace api { +namespace rc { // Services to send gRPC class MsgComm final { public: static constexpr char const* service_full_name() { - return "api.MsgComm"; + return "rc.MsgComm"; } class StubInterface { public: virtual ~StubInterface() {} // gRPC call to Send RICControlReqServiceGrpc - virtual ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::api::RicControlGrpcRsp* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>> AsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>>(AsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); + virtual ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::rc::RicControlGrpcRsp* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>> AsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>>(AsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>> PrepareAsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>>(PrepareAsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>> PrepareAsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>>(PrepareAsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); } class experimental_async_interface { public: virtual ~experimental_async_interface() {} // gRPC call to Send RICControlReqServiceGrpc - virtual void SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response, std::function) = 0; + virtual void SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response, std::function) = 0; }; virtual class experimental_async_interface* experimental_async() { return nullptr; } private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>* AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::api::RicControlGrpcRsp>* PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>* AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::rc::RicControlGrpcRsp>* PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::api::RicControlGrpcRsp* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>> AsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>>(AsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::rc::RicControlGrpcRsp* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>> AsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>>(AsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>> PrepareAsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>>(PrepareAsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>> PrepareAsyncSendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>>(PrepareAsyncSendRICControlReqServiceGrpcRaw(context, request, cq)); } class experimental_async final : public StubInterface::experimental_async_interface { public: - void SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response, std::function) override; + void SendRICControlReqServiceGrpc(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response, std::function) override; private: friend class Stub; explicit experimental_async(Stub* stub): stub_(stub) { } @@ -80,8 +80,8 @@ class MsgComm final { private: std::shared_ptr< ::grpc::ChannelInterface> channel_; class experimental_async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::api::RicControlGrpcRsp>* PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::api::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* AsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::rc::RicControlGrpcRsp>* PrepareAsyncSendRICControlReqServiceGrpcRaw(::grpc::ClientContext* context, const ::rc::RicControlGrpcReq& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_SendRICControlReqServiceGrpc_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -91,7 +91,7 @@ class MsgComm final { Service(); virtual ~Service(); // gRPC call to Send RICControlReqServiceGrpc - virtual ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response); + virtual ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response); }; template class WithAsyncMethod_SendRICControlReqServiceGrpc : public BaseClass { @@ -105,11 +105,11 @@ class MsgComm final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) override { + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestSendRICControlReqServiceGrpc(::grpc::ServerContext* context, ::api::RicControlGrpcReq* request, ::grpc::ServerAsyncResponseWriter< ::api::RicControlGrpcRsp>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestSendRICControlReqServiceGrpc(::grpc::ServerContext* context, ::rc::RicControlGrpcReq* request, ::grpc::ServerAsyncResponseWriter< ::rc::RicControlGrpcRsp>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -126,7 +126,7 @@ class MsgComm final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) override { + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -143,7 +143,7 @@ class MsgComm final { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) override { + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -158,25 +158,25 @@ class MsgComm final { public: WithStreamedUnaryMethod_SendRICControlReqServiceGrpc() { ::grpc::Service::MarkMethodStreamed(0, - new ::grpc::internal::StreamedUnaryHandler< ::api::RicControlGrpcReq, ::api::RicControlGrpcRsp>(std::bind(&WithStreamedUnaryMethod_SendRICControlReqServiceGrpc::StreamedSendRICControlReqServiceGrpc, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< ::rc::RicControlGrpcReq, ::rc::RicControlGrpcRsp>(std::bind(&WithStreamedUnaryMethod_SendRICControlReqServiceGrpc::StreamedSendRICControlReqServiceGrpc, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_SendRICControlReqServiceGrpc() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, ::api::RicControlGrpcRsp* response) override { + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, ::rc::RicControlGrpcRsp* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedSendRICControlReqServiceGrpc(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::api::RicControlGrpcReq,::api::RicControlGrpcRsp>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedSendRICControlReqServiceGrpc(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::rc::RicControlGrpcReq,::rc::RicControlGrpcRsp>* server_unary_streamer) = 0; }; typedef WithStreamedUnaryMethod_SendRICControlReqServiceGrpc StreamedUnaryService; typedef Service SplitStreamedService; typedef WithStreamedUnaryMethod_SendRICControlReqServiceGrpc StreamedService; }; -} // namespace api +} // namespace rc -#endif // GRPC_api_2eproto__INCLUDED +#endif // GRPC_rc_2eproto__INCLUDED diff --git a/ext/protobuf/api.pb.cc b/ext/protobuf/rc.pb.cc similarity index 76% rename from ext/protobuf/api.pb.cc rename to ext/protobuf/rc.pb.cc index 67f9f11..25a883d 100644 --- a/ext/protobuf/api.pb.cc +++ b/ext/protobuf/rc.pb.cc @@ -1,7 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api.proto +// source: rc.proto -#include "api.pb.h" +#include "rc.pb.h" #include @@ -19,12 +19,12 @@ #endif // @@protoc_insertion_point(includes) -namespace protobuf_api_2eproto { -extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlHeader; -extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlMessage; -extern PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICE2APHeader; -} // namespace protobuf_api_2eproto -namespace api { +namespace protobuf_rc_2eproto { +extern PROTOBUF_INTERNAL_EXPORT_protobuf_rc_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlHeader; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_rc_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlMessage; +extern PROTOBUF_INTERNAL_EXPORT_protobuf_rc_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RICE2APHeader; +} // namespace protobuf_rc_2eproto +namespace rc { class RICE2APHeaderDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed @@ -50,17 +50,17 @@ class RicControlGrpcRspDefaultTypeInternal { ::google::protobuf::internal::ExplicitlyConstructed _instance; } _RicControlGrpcRsp_default_instance_; -} // namespace api -namespace protobuf_api_2eproto { +} // namespace rc +namespace protobuf_rc_2eproto { static void InitDefaultsRICE2APHeader() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::api::_RICE2APHeader_default_instance_; - new (ptr) ::api::RICE2APHeader(); + void* ptr = &::rc::_RICE2APHeader_default_instance_; + new (ptr) ::rc::RICE2APHeader(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::api::RICE2APHeader::InitAsDefaultInstance(); + ::rc::RICE2APHeader::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<0> scc_info_RICE2APHeader = @@ -70,11 +70,11 @@ static void InitDefaultsRICControlHeader() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::api::_RICControlHeader_default_instance_; - new (ptr) ::api::RICControlHeader(); + void* ptr = &::rc::_RICControlHeader_default_instance_; + new (ptr) ::rc::RICControlHeader(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::api::RICControlHeader::InitAsDefaultInstance(); + ::rc::RICControlHeader::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlHeader = @@ -84,11 +84,11 @@ static void InitDefaultsRICControlMessage() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::api::_RICControlMessage_default_instance_; - new (ptr) ::api::RICControlMessage(); + void* ptr = &::rc::_RICControlMessage_default_instance_; + new (ptr) ::rc::RICControlMessage(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::api::RICControlMessage::InitAsDefaultInstance(); + ::rc::RICControlMessage::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<0> scc_info_RICControlMessage = @@ -98,28 +98,28 @@ static void InitDefaultsRicControlGrpcReq() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::api::_RicControlGrpcReq_default_instance_; - new (ptr) ::api::RicControlGrpcReq(); + void* ptr = &::rc::_RicControlGrpcReq_default_instance_; + new (ptr) ::rc::RicControlGrpcReq(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::api::RicControlGrpcReq::InitAsDefaultInstance(); + ::rc::RicControlGrpcReq::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<3> scc_info_RicControlGrpcReq = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsRicControlGrpcReq}, { - &protobuf_api_2eproto::scc_info_RICE2APHeader.base, - &protobuf_api_2eproto::scc_info_RICControlHeader.base, - &protobuf_api_2eproto::scc_info_RICControlMessage.base,}}; + &protobuf_rc_2eproto::scc_info_RICE2APHeader.base, + &protobuf_rc_2eproto::scc_info_RICControlHeader.base, + &protobuf_rc_2eproto::scc_info_RICControlMessage.base,}}; static void InitDefaultsRicControlGrpcRsp() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::api::_RicControlGrpcRsp_default_instance_; - new (ptr) ::api::RicControlGrpcRsp(); + void* ptr = &::rc::_RicControlGrpcRsp_default_instance_; + new (ptr) ::rc::RicControlGrpcRsp(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::api::RicControlGrpcRsp::InitAsDefaultInstance(); + ::rc::RicControlGrpcRsp::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<0> scc_info_RicControlGrpcRsp = @@ -138,67 +138,67 @@ const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2]; const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICE2APHeader, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, ranfuncid_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICE2APHeader, ricrequestorid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICE2APHeader, ranfuncid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICE2APHeader, ricrequestorid_), ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlHeader, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, controlstyle_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, controlactionid_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlHeader, ueid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlHeader, controlstyle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlHeader, controlactionid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlHeader, ueid_), ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlMessage, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, riccontrolcelltypeval_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RICControlMessage, targetcellid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlMessage, riccontrolcelltypeval_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RICControlMessage, targetcellid_), ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, e2nodeid_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, plmnid_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, ranname_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, rice2apheaderdata_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolheaderdata_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolmessagedata_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcReq, riccontrolackreqval_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, e2nodeid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, plmnid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, ranname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, rice2apheaderdata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, riccontrolheaderdata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, riccontrolmessagedata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcReq, riccontrolackreqval_), ~0u, // no _has_bits_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, _internal_metadata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcRsp, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, rspcode_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::api::RicControlGrpcRsp, description_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcRsp, rspcode_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::rc::RicControlGrpcRsp, description_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::api::RICE2APHeader)}, - { 7, -1, sizeof(::api::RICControlHeader)}, - { 15, -1, sizeof(::api::RICControlMessage)}, - { 22, -1, sizeof(::api::RicControlGrpcReq)}, - { 34, -1, sizeof(::api::RicControlGrpcRsp)}, + { 0, -1, sizeof(::rc::RICE2APHeader)}, + { 7, -1, sizeof(::rc::RICControlHeader)}, + { 15, -1, sizeof(::rc::RICControlMessage)}, + { 22, -1, sizeof(::rc::RicControlGrpcReq)}, + { 34, -1, sizeof(::rc::RicControlGrpcRsp)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::api::_RICE2APHeader_default_instance_), - reinterpret_cast(&::api::_RICControlHeader_default_instance_), - reinterpret_cast(&::api::_RICControlMessage_default_instance_), - reinterpret_cast(&::api::_RicControlGrpcReq_default_instance_), - reinterpret_cast(&::api::_RicControlGrpcRsp_default_instance_), + reinterpret_cast(&::rc::_RICE2APHeader_default_instance_), + reinterpret_cast(&::rc::_RICControlHeader_default_instance_), + reinterpret_cast(&::rc::_RICControlMessage_default_instance_), + reinterpret_cast(&::rc::_RicControlGrpcReq_default_instance_), + reinterpret_cast(&::rc::_RicControlGrpcRsp_default_instance_), }; void protobuf_AssignDescriptors() { AddDescriptors(); AssignDescriptors( - "api.proto", schemas, file_default_instances, TableStruct::offsets, + "rc.proto", schemas, file_default_instances, TableStruct::offsets, file_level_metadata, file_level_enum_descriptors, NULL); } @@ -216,35 +216,34 @@ void protobuf_RegisterTypes(const ::std::string&) { void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n\tapi.proto\022\003api\":\n\rRICE2APHeader\022\021\n\tRan" - "FuncId\030\001 \001(\003\022\026\n\016RICRequestorID\030\002 \001(\003\"O\n\020" - "RICControlHeader\022\024\n\014ControlStyle\030\001 \001(\003\022\027" - "\n\017ControlActionId\030\002 \001(\003\022\014\n\004UEID\030\003 \001(\t\"e\n" - "\021RICControlMessage\022:\n\025RICControlCellType" - "Val\030\001 \001(\0162\033.api.RICControlCellTypeEnum\022\024" - "\n\014TargetCellID\030\002 \001(\t\"\226\002\n\021RicControlGrpcR" - "eq\022\020\n\010e2NodeID\030\001 \001(\t\022\016\n\006plmnID\030\002 \001(\t\022\017\n\007" - "ranName\030\003 \001(\t\022-\n\021RICE2APHeaderData\030\004 \001(\013" - "2\022.api.RICE2APHeader\0223\n\024RICControlHeader" - "Data\030\005 \001(\0132\025.api.RICControlHeader\0225\n\025RIC" - "ControlMessageData\030\006 \001(\0132\026.api.RICContro" - "lMessage\0223\n\023RICControlAckReqVal\030\007 \001(\0162\026." - "api.RICControlAckEnum\"9\n\021RicControlGrpcR" - "sp\022\017\n\007rspCode\030\001 \001(\005\022\023\n\013description\030\002 \001(\t" - "*k\n\026RICControlCellTypeEnum\022\033\n\027RIC_CONTRO" - "L_CELL_UNKWON\020\000\022\027\n\023RIC_CONTROL_NR_CELL\020\001" - "\022\033\n\027RIC_CONTROL_EUTRAN_CELL\020\002*r\n\021RICCont" - "rolAckEnum\022\032\n\026RIC_CONTROL_ACK_UNKWON\020\000\022\026" - "\n\022RIC_CONTROL_NO_ACK\020\001\022\023\n\017RIC_CONTROL_AC" - "K\020\002\022\024\n\020RIC_CONTROL_NACK\020\0032Y\n\007MsgComm\022N\n\034" - "SendRICControlReqServiceGrpc\022\026.api.RicCo" - "ntrolGrpcReq\032\026.api.RicControlGrpcRspb\006pr" - "oto3" + "\n\010rc.proto\022\002rc\":\n\rRICE2APHeader\022\021\n\tRanFu" + "ncId\030\001 \001(\003\022\026\n\016RICRequestorID\030\002 \001(\003\"O\n\020RI" + "CControlHeader\022\024\n\014ControlStyle\030\001 \001(\003\022\027\n\017" + "ControlActionId\030\002 \001(\003\022\014\n\004UEID\030\003 \001(\t\"d\n\021R" + "ICControlMessage\0229\n\025RICControlCellTypeVa" + "l\030\001 \001(\0162\032.rc.RICControlCellTypeEnum\022\024\n\014T" + "argetCellID\030\002 \001(\t\"\222\002\n\021RicControlGrpcReq\022" + "\020\n\010e2NodeID\030\001 \001(\t\022\016\n\006plmnID\030\002 \001(\t\022\017\n\007ran" + "Name\030\003 \001(\t\022,\n\021RICE2APHeaderData\030\004 \001(\0132\021." + "rc.RICE2APHeader\0222\n\024RICControlHeaderData" + "\030\005 \001(\0132\024.rc.RICControlHeader\0224\n\025RICContr" + "olMessageData\030\006 \001(\0132\025.rc.RICControlMessa" + "ge\0222\n\023RICControlAckReqVal\030\007 \001(\0162\025.rc.RIC" + "ControlAckEnum\"9\n\021RicControlGrpcRsp\022\017\n\007r" + "spCode\030\001 \001(\005\022\023\n\013description\030\002 \001(\t*k\n\026RIC" + "ControlCellTypeEnum\022\033\n\027RIC_CONTROL_CELL_" + "UNKWON\020\000\022\027\n\023RIC_CONTROL_NR_CELL\020\001\022\033\n\027RIC" + "_CONTROL_EUTRAN_CELL\020\002*r\n\021RICControlAckE" + "num\022\032\n\026RIC_CONTROL_ACK_UNKWON\020\000\022\026\n\022RIC_C" + "ONTROL_NO_ACK\020\001\022\023\n\017RIC_CONTROL_ACK\020\002\022\024\n\020" + "RIC_CONTROL_NACK\020\0032W\n\007MsgComm\022L\n\034SendRIC" + "ControlReqServiceGrpc\022\025.rc.RicControlGrp" + "cReq\032\025.rc.RicControlGrpcRspb\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - descriptor, 924); + descriptor, 915); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "api.proto", &protobuf_RegisterTypes); + "rc.proto", &protobuf_RegisterTypes); } void AddDescriptors() { @@ -257,11 +256,11 @@ struct StaticDescriptorInitializer { AddDescriptors(); } } static_descriptor_initializer; -} // namespace protobuf_api_2eproto -namespace api { +} // namespace protobuf_rc_2eproto +namespace rc { const ::google::protobuf::EnumDescriptor* RICControlCellTypeEnum_descriptor() { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return protobuf_api_2eproto::file_level_enum_descriptors[0]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_rc_2eproto::file_level_enum_descriptors[0]; } bool RICControlCellTypeEnum_IsValid(int value) { switch (value) { @@ -275,8 +274,8 @@ bool RICControlCellTypeEnum_IsValid(int value) { } const ::google::protobuf::EnumDescriptor* RICControlAckEnum_descriptor() { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return protobuf_api_2eproto::file_level_enum_descriptors[1]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return protobuf_rc_2eproto::file_level_enum_descriptors[1]; } bool RICControlAckEnum_IsValid(int value) { switch (value) { @@ -303,9 +302,9 @@ const int RICE2APHeader::kRICRequestorIDFieldNumber; RICE2APHeader::RICE2APHeader() : ::google::protobuf::Message(), _internal_metadata_(NULL) { ::google::protobuf::internal::InitSCC( - &protobuf_api_2eproto::scc_info_RICE2APHeader.base); + &protobuf_rc_2eproto::scc_info_RICE2APHeader.base); SharedCtor(); - // @@protoc_insertion_point(constructor:api.RICE2APHeader) + // @@protoc_insertion_point(constructor:rc.RICE2APHeader) } RICE2APHeader::RICE2APHeader(const RICE2APHeader& from) : ::google::protobuf::Message(), @@ -314,7 +313,7 @@ RICE2APHeader::RICE2APHeader(const RICE2APHeader& from) ::memcpy(&ranfuncid_, &from.ranfuncid_, static_cast(reinterpret_cast(&ricrequestorid_) - reinterpret_cast(&ranfuncid_)) + sizeof(ricrequestorid_)); - // @@protoc_insertion_point(copy_constructor:api.RICE2APHeader) + // @@protoc_insertion_point(copy_constructor:rc.RICE2APHeader) } void RICE2APHeader::SharedCtor() { @@ -324,7 +323,7 @@ void RICE2APHeader::SharedCtor() { } RICE2APHeader::~RICE2APHeader() { - // @@protoc_insertion_point(destructor:api.RICE2APHeader) + // @@protoc_insertion_point(destructor:rc.RICE2APHeader) SharedDtor(); } @@ -335,18 +334,18 @@ void RICE2APHeader::SetCachedSize(int size) const { _cached_size_.Set(size); } const ::google::protobuf::Descriptor* RICE2APHeader::descriptor() { - ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; + ::protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const RICE2APHeader& RICE2APHeader::default_instance() { - ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICE2APHeader.base); + ::google::protobuf::internal::InitSCC(&protobuf_rc_2eproto::scc_info_RICE2APHeader.base); return *internal_default_instance(); } void RICE2APHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:api.RICE2APHeader) +// @@protoc_insertion_point(message_clear_start:rc.RICE2APHeader) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -361,7 +360,7 @@ bool RICE2APHeader::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:api.RICE2APHeader) + // @@protoc_insertion_point(parse_start:rc.RICE2APHeader) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -407,17 +406,17 @@ bool RICE2APHeader::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:api.RICE2APHeader) + // @@protoc_insertion_point(parse_success:rc.RICE2APHeader) return true; failure: - // @@protoc_insertion_point(parse_failure:api.RICE2APHeader) + // @@protoc_insertion_point(parse_failure:rc.RICE2APHeader) return false; #undef DO_ } void RICE2APHeader::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:api.RICE2APHeader) + // @@protoc_insertion_point(serialize_start:rc.RICE2APHeader) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -435,13 +434,13 @@ void RICE2APHeader::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } - // @@protoc_insertion_point(serialize_end:api.RICE2APHeader) + // @@protoc_insertion_point(serialize_end:rc.RICE2APHeader) } ::google::protobuf::uint8* RICE2APHeader::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:api.RICE2APHeader) + // @@protoc_insertion_point(serialize_to_array_start:rc.RICE2APHeader) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -459,12 +458,12 @@ void RICE2APHeader::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } - // @@protoc_insertion_point(serialize_to_array_end:api.RICE2APHeader) + // @@protoc_insertion_point(serialize_to_array_end:rc.RICE2APHeader) return target; } size_t RICE2APHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.RICE2APHeader) +// @@protoc_insertion_point(message_byte_size_start:rc.RICE2APHeader) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { @@ -492,22 +491,22 @@ size_t RICE2APHeader::ByteSizeLong() const { } void RICE2APHeader::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.RICE2APHeader) +// @@protoc_insertion_point(generalized_merge_from_start:rc.RICE2APHeader) GOOGLE_DCHECK_NE(&from, this); const RICE2APHeader* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICE2APHeader) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:rc.RICE2APHeader) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICE2APHeader) + // @@protoc_insertion_point(generalized_merge_from_cast_success:rc.RICE2APHeader) MergeFrom(*source); } } void RICE2APHeader::MergeFrom(const RICE2APHeader& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.RICE2APHeader) +// @@protoc_insertion_point(class_specific_merge_from_start:rc.RICE2APHeader) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -522,14 +521,14 @@ void RICE2APHeader::MergeFrom(const RICE2APHeader& from) { } void RICE2APHeader::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.RICE2APHeader) +// @@protoc_insertion_point(generalized_copy_from_start:rc.RICE2APHeader) if (&from == this) return; Clear(); MergeFrom(from); } void RICE2APHeader::CopyFrom(const RICE2APHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.RICE2APHeader) +// @@protoc_insertion_point(class_specific_copy_from_start:rc.RICE2APHeader) if (&from == this) return; Clear(); MergeFrom(from); @@ -551,8 +550,8 @@ void RICE2APHeader::InternalSwap(RICE2APHeader* other) { } ::google::protobuf::Metadata RICE2APHeader::GetMetadata() const { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -569,9 +568,9 @@ const int RICControlHeader::kUEIDFieldNumber; RICControlHeader::RICControlHeader() : ::google::protobuf::Message(), _internal_metadata_(NULL) { ::google::protobuf::internal::InitSCC( - &protobuf_api_2eproto::scc_info_RICControlHeader.base); + &protobuf_rc_2eproto::scc_info_RICControlHeader.base); SharedCtor(); - // @@protoc_insertion_point(constructor:api.RICControlHeader) + // @@protoc_insertion_point(constructor:rc.RICControlHeader) } RICControlHeader::RICControlHeader(const RICControlHeader& from) : ::google::protobuf::Message(), @@ -584,7 +583,7 @@ RICControlHeader::RICControlHeader(const RICControlHeader& from) ::memcpy(&controlstyle_, &from.controlstyle_, static_cast(reinterpret_cast(&controlactionid_) - reinterpret_cast(&controlstyle_)) + sizeof(controlactionid_)); - // @@protoc_insertion_point(copy_constructor:api.RICControlHeader) + // @@protoc_insertion_point(copy_constructor:rc.RICControlHeader) } void RICControlHeader::SharedCtor() { @@ -595,7 +594,7 @@ void RICControlHeader::SharedCtor() { } RICControlHeader::~RICControlHeader() { - // @@protoc_insertion_point(destructor:api.RICControlHeader) + // @@protoc_insertion_point(destructor:rc.RICControlHeader) SharedDtor(); } @@ -607,18 +606,18 @@ void RICControlHeader::SetCachedSize(int size) const { _cached_size_.Set(size); } const ::google::protobuf::Descriptor* RICControlHeader::descriptor() { - ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; + ::protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const RICControlHeader& RICControlHeader::default_instance() { - ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICControlHeader.base); + ::google::protobuf::internal::InitSCC(&protobuf_rc_2eproto::scc_info_RICControlHeader.base); return *internal_default_instance(); } void RICControlHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:api.RICControlHeader) +// @@protoc_insertion_point(message_clear_start:rc.RICControlHeader) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -634,7 +633,7 @@ bool RICControlHeader::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:api.RICControlHeader) + // @@protoc_insertion_point(parse_start:rc.RICControlHeader) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -677,7 +676,7 @@ bool RICControlHeader::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ueid().data(), static_cast(this->ueid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RICControlHeader.UEID")); + "rc.RICControlHeader.UEID")); } else { goto handle_unusual; } @@ -696,17 +695,17 @@ bool RICControlHeader::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:api.RICControlHeader) + // @@protoc_insertion_point(parse_success:rc.RICControlHeader) return true; failure: - // @@protoc_insertion_point(parse_failure:api.RICControlHeader) + // @@protoc_insertion_point(parse_failure:rc.RICControlHeader) return false; #undef DO_ } void RICControlHeader::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:api.RICControlHeader) + // @@protoc_insertion_point(serialize_start:rc.RICControlHeader) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -725,7 +724,7 @@ void RICControlHeader::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ueid().data(), static_cast(this->ueid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RICControlHeader.UEID"); + "rc.RICControlHeader.UEID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->ueid(), output); } @@ -734,13 +733,13 @@ void RICControlHeader::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } - // @@protoc_insertion_point(serialize_end:api.RICControlHeader) + // @@protoc_insertion_point(serialize_end:rc.RICControlHeader) } ::google::protobuf::uint8* RICControlHeader::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:api.RICControlHeader) + // @@protoc_insertion_point(serialize_to_array_start:rc.RICControlHeader) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -759,7 +758,7 @@ void RICControlHeader::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ueid().data(), static_cast(this->ueid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RICControlHeader.UEID"); + "rc.RICControlHeader.UEID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->ueid(), target); @@ -769,12 +768,12 @@ void RICControlHeader::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } - // @@protoc_insertion_point(serialize_to_array_end:api.RICControlHeader) + // @@protoc_insertion_point(serialize_to_array_end:rc.RICControlHeader) return target; } size_t RICControlHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.RICControlHeader) +// @@protoc_insertion_point(message_byte_size_start:rc.RICControlHeader) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { @@ -809,22 +808,22 @@ size_t RICControlHeader::ByteSizeLong() const { } void RICControlHeader::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.RICControlHeader) +// @@protoc_insertion_point(generalized_merge_from_start:rc.RICControlHeader) GOOGLE_DCHECK_NE(&from, this); const RICControlHeader* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICControlHeader) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:rc.RICControlHeader) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICControlHeader) + // @@protoc_insertion_point(generalized_merge_from_cast_success:rc.RICControlHeader) MergeFrom(*source); } } void RICControlHeader::MergeFrom(const RICControlHeader& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.RICControlHeader) +// @@protoc_insertion_point(class_specific_merge_from_start:rc.RICControlHeader) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -843,14 +842,14 @@ void RICControlHeader::MergeFrom(const RICControlHeader& from) { } void RICControlHeader::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.RICControlHeader) +// @@protoc_insertion_point(generalized_copy_from_start:rc.RICControlHeader) if (&from == this) return; Clear(); MergeFrom(from); } void RICControlHeader::CopyFrom(const RICControlHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.RICControlHeader) +// @@protoc_insertion_point(class_specific_copy_from_start:rc.RICControlHeader) if (&from == this) return; Clear(); MergeFrom(from); @@ -874,8 +873,8 @@ void RICControlHeader::InternalSwap(RICControlHeader* other) { } ::google::protobuf::Metadata RICControlHeader::GetMetadata() const { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -891,9 +890,9 @@ const int RICControlMessage::kTargetCellIDFieldNumber; RICControlMessage::RICControlMessage() : ::google::protobuf::Message(), _internal_metadata_(NULL) { ::google::protobuf::internal::InitSCC( - &protobuf_api_2eproto::scc_info_RICControlMessage.base); + &protobuf_rc_2eproto::scc_info_RICControlMessage.base); SharedCtor(); - // @@protoc_insertion_point(constructor:api.RICControlMessage) + // @@protoc_insertion_point(constructor:rc.RICControlMessage) } RICControlMessage::RICControlMessage(const RICControlMessage& from) : ::google::protobuf::Message(), @@ -904,7 +903,7 @@ RICControlMessage::RICControlMessage(const RICControlMessage& from) targetcellid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.targetcellid_); } riccontrolcelltypeval_ = from.riccontrolcelltypeval_; - // @@protoc_insertion_point(copy_constructor:api.RICControlMessage) + // @@protoc_insertion_point(copy_constructor:rc.RICControlMessage) } void RICControlMessage::SharedCtor() { @@ -913,7 +912,7 @@ void RICControlMessage::SharedCtor() { } RICControlMessage::~RICControlMessage() { - // @@protoc_insertion_point(destructor:api.RICControlMessage) + // @@protoc_insertion_point(destructor:rc.RICControlMessage) SharedDtor(); } @@ -925,18 +924,18 @@ void RICControlMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } const ::google::protobuf::Descriptor* RICControlMessage::descriptor() { - ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; + ::protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const RICControlMessage& RICControlMessage::default_instance() { - ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RICControlMessage.base); + ::google::protobuf::internal::InitSCC(&protobuf_rc_2eproto::scc_info_RICControlMessage.base); return *internal_default_instance(); } void RICControlMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:api.RICControlMessage) +// @@protoc_insertion_point(message_clear_start:rc.RICControlMessage) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -950,13 +949,13 @@ bool RICControlMessage::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:api.RICControlMessage) + // @@protoc_insertion_point(parse_start:rc.RICControlMessage) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; + // .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { @@ -964,7 +963,7 @@ bool RICControlMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - set_riccontrolcelltypeval(static_cast< ::api::RICControlCellTypeEnum >(value)); + set_riccontrolcelltypeval(static_cast< ::rc::RICControlCellTypeEnum >(value)); } else { goto handle_unusual; } @@ -980,7 +979,7 @@ bool RICControlMessage::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->targetcellid().data(), static_cast(this->targetcellid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RICControlMessage.TargetCellID")); + "rc.RICControlMessage.TargetCellID")); } else { goto handle_unusual; } @@ -999,21 +998,21 @@ bool RICControlMessage::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:api.RICControlMessage) + // @@protoc_insertion_point(parse_success:rc.RICControlMessage) return true; failure: - // @@protoc_insertion_point(parse_failure:api.RICControlMessage) + // @@protoc_insertion_point(parse_failure:rc.RICControlMessage) return false; #undef DO_ } void RICControlMessage::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:api.RICControlMessage) + // @@protoc_insertion_point(serialize_start:rc.RICControlMessage) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; + // .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; if (this->riccontrolcelltypeval() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->riccontrolcelltypeval(), output); @@ -1024,7 +1023,7 @@ void RICControlMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->targetcellid().data(), static_cast(this->targetcellid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RICControlMessage.TargetCellID"); + "rc.RICControlMessage.TargetCellID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->targetcellid(), output); } @@ -1033,17 +1032,17 @@ void RICControlMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } - // @@protoc_insertion_point(serialize_end:api.RICControlMessage) + // @@protoc_insertion_point(serialize_end:rc.RICControlMessage) } ::google::protobuf::uint8* RICControlMessage::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:api.RICControlMessage) + // @@protoc_insertion_point(serialize_to_array_start:rc.RICControlMessage) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; + // .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; if (this->riccontrolcelltypeval() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->riccontrolcelltypeval(), target); @@ -1054,7 +1053,7 @@ void RICControlMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->targetcellid().data(), static_cast(this->targetcellid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RICControlMessage.TargetCellID"); + "rc.RICControlMessage.TargetCellID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->targetcellid(), target); @@ -1064,12 +1063,12 @@ void RICControlMessage::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } - // @@protoc_insertion_point(serialize_to_array_end:api.RICControlMessage) + // @@protoc_insertion_point(serialize_to_array_end:rc.RICControlMessage) return target; } size_t RICControlMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.RICControlMessage) +// @@protoc_insertion_point(message_byte_size_start:rc.RICControlMessage) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { @@ -1084,7 +1083,7 @@ size_t RICControlMessage::ByteSizeLong() const { this->targetcellid()); } - // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; + // .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; if (this->riccontrolcelltypeval() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->riccontrolcelltypeval()); @@ -1096,22 +1095,22 @@ size_t RICControlMessage::ByteSizeLong() const { } void RICControlMessage::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.RICControlMessage) +// @@protoc_insertion_point(generalized_merge_from_start:rc.RICControlMessage) GOOGLE_DCHECK_NE(&from, this); const RICControlMessage* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RICControlMessage) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:rc.RICControlMessage) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RICControlMessage) + // @@protoc_insertion_point(generalized_merge_from_cast_success:rc.RICControlMessage) MergeFrom(*source); } } void RICControlMessage::MergeFrom(const RICControlMessage& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.RICControlMessage) +// @@protoc_insertion_point(class_specific_merge_from_start:rc.RICControlMessage) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -1127,14 +1126,14 @@ void RICControlMessage::MergeFrom(const RICControlMessage& from) { } void RICControlMessage::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.RICControlMessage) +// @@protoc_insertion_point(generalized_copy_from_start:rc.RICControlMessage) if (&from == this) return; Clear(); MergeFrom(from); } void RICControlMessage::CopyFrom(const RICControlMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.RICControlMessage) +// @@protoc_insertion_point(class_specific_copy_from_start:rc.RICControlMessage) if (&from == this) return; Clear(); MergeFrom(from); @@ -1157,20 +1156,20 @@ void RICControlMessage::InternalSwap(RICControlMessage* other) { } ::google::protobuf::Metadata RICControlMessage::GetMetadata() const { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages]; } // =================================================================== void RicControlGrpcReq::InitAsDefaultInstance() { - ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->rice2apheaderdata_ = const_cast< ::api::RICE2APHeader*>( - ::api::RICE2APHeader::internal_default_instance()); - ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolheaderdata_ = const_cast< ::api::RICControlHeader*>( - ::api::RICControlHeader::internal_default_instance()); - ::api::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolmessagedata_ = const_cast< ::api::RICControlMessage*>( - ::api::RICControlMessage::internal_default_instance()); + ::rc::_RicControlGrpcReq_default_instance_._instance.get_mutable()->rice2apheaderdata_ = const_cast< ::rc::RICE2APHeader*>( + ::rc::RICE2APHeader::internal_default_instance()); + ::rc::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolheaderdata_ = const_cast< ::rc::RICControlHeader*>( + ::rc::RICControlHeader::internal_default_instance()); + ::rc::_RicControlGrpcReq_default_instance_._instance.get_mutable()->riccontrolmessagedata_ = const_cast< ::rc::RICControlMessage*>( + ::rc::RICControlMessage::internal_default_instance()); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int RicControlGrpcReq::kE2NodeIDFieldNumber; @@ -1185,9 +1184,9 @@ const int RicControlGrpcReq::kRICControlAckReqValFieldNumber; RicControlGrpcReq::RicControlGrpcReq() : ::google::protobuf::Message(), _internal_metadata_(NULL) { ::google::protobuf::internal::InitSCC( - &protobuf_api_2eproto::scc_info_RicControlGrpcReq.base); + &protobuf_rc_2eproto::scc_info_RicControlGrpcReq.base); SharedCtor(); - // @@protoc_insertion_point(constructor:api.RicControlGrpcReq) + // @@protoc_insertion_point(constructor:rc.RicControlGrpcReq) } RicControlGrpcReq::RicControlGrpcReq(const RicControlGrpcReq& from) : ::google::protobuf::Message(), @@ -1206,22 +1205,22 @@ RicControlGrpcReq::RicControlGrpcReq(const RicControlGrpcReq& from) ranname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ranname_); } if (from.has_rice2apheaderdata()) { - rice2apheaderdata_ = new ::api::RICE2APHeader(*from.rice2apheaderdata_); + rice2apheaderdata_ = new ::rc::RICE2APHeader(*from.rice2apheaderdata_); } else { rice2apheaderdata_ = NULL; } if (from.has_riccontrolheaderdata()) { - riccontrolheaderdata_ = new ::api::RICControlHeader(*from.riccontrolheaderdata_); + riccontrolheaderdata_ = new ::rc::RICControlHeader(*from.riccontrolheaderdata_); } else { riccontrolheaderdata_ = NULL; } if (from.has_riccontrolmessagedata()) { - riccontrolmessagedata_ = new ::api::RICControlMessage(*from.riccontrolmessagedata_); + riccontrolmessagedata_ = new ::rc::RICControlMessage(*from.riccontrolmessagedata_); } else { riccontrolmessagedata_ = NULL; } riccontrolackreqval_ = from.riccontrolackreqval_; - // @@protoc_insertion_point(copy_constructor:api.RicControlGrpcReq) + // @@protoc_insertion_point(copy_constructor:rc.RicControlGrpcReq) } void RicControlGrpcReq::SharedCtor() { @@ -1234,7 +1233,7 @@ void RicControlGrpcReq::SharedCtor() { } RicControlGrpcReq::~RicControlGrpcReq() { - // @@protoc_insertion_point(destructor:api.RicControlGrpcReq) + // @@protoc_insertion_point(destructor:rc.RicControlGrpcReq) SharedDtor(); } @@ -1251,18 +1250,18 @@ void RicControlGrpcReq::SetCachedSize(int size) const { _cached_size_.Set(size); } const ::google::protobuf::Descriptor* RicControlGrpcReq::descriptor() { - ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; + ::protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const RicControlGrpcReq& RicControlGrpcReq::default_instance() { - ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RicControlGrpcReq.base); + ::google::protobuf::internal::InitSCC(&protobuf_rc_2eproto::scc_info_RicControlGrpcReq.base); return *internal_default_instance(); } void RicControlGrpcReq::Clear() { -// @@protoc_insertion_point(message_clear_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(message_clear_start:rc.RicControlGrpcReq) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1290,7 +1289,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:api.RicControlGrpcReq) + // @@protoc_insertion_point(parse_start:rc.RicControlGrpcReq) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -1305,7 +1304,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->e2nodeid().data(), static_cast(this->e2nodeid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RicControlGrpcReq.e2NodeID")); + "rc.RicControlGrpcReq.e2NodeID")); } else { goto handle_unusual; } @@ -1321,7 +1320,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->plmnid().data(), static_cast(this->plmnid().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RicControlGrpcReq.plmnID")); + "rc.RicControlGrpcReq.plmnID")); } else { goto handle_unusual; } @@ -1337,14 +1336,14 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ranname().data(), static_cast(this->ranname().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RicControlGrpcReq.ranName")); + "rc.RicControlGrpcReq.ranName")); } else { goto handle_unusual; } break; } - // .api.RICE2APHeader RICE2APHeaderData = 4; + // .rc.RICE2APHeader RICE2APHeaderData = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { @@ -1356,7 +1355,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( break; } - // .api.RICControlHeader RICControlHeaderData = 5; + // .rc.RICControlHeader RICControlHeaderData = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { @@ -1368,7 +1367,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( break; } - // .api.RICControlMessage RICControlMessageData = 6; + // .rc.RICControlMessage RICControlMessageData = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { @@ -1380,7 +1379,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( break; } - // .api.RICControlAckEnum RICControlAckReqVal = 7; + // .rc.RICControlAckEnum RICControlAckReqVal = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { @@ -1388,7 +1387,7 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - set_riccontrolackreqval(static_cast< ::api::RICControlAckEnum >(value)); + set_riccontrolackreqval(static_cast< ::rc::RICControlAckEnum >(value)); } else { goto handle_unusual; } @@ -1407,17 +1406,17 @@ bool RicControlGrpcReq::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:api.RicControlGrpcReq) + // @@protoc_insertion_point(parse_success:rc.RicControlGrpcReq) return true; failure: - // @@protoc_insertion_point(parse_failure:api.RicControlGrpcReq) + // @@protoc_insertion_point(parse_failure:rc.RicControlGrpcReq) return false; #undef DO_ } void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:api.RicControlGrpcReq) + // @@protoc_insertion_point(serialize_start:rc.RicControlGrpcReq) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1426,7 +1425,7 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->e2nodeid().data(), static_cast(this->e2nodeid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.e2NodeID"); + "rc.RicControlGrpcReq.e2NodeID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->e2nodeid(), output); } @@ -1436,7 +1435,7 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->plmnid().data(), static_cast(this->plmnid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.plmnID"); + "rc.RicControlGrpcReq.plmnID"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->plmnid(), output); } @@ -1446,30 +1445,30 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ranname().data(), static_cast(this->ranname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.ranName"); + "rc.RicControlGrpcReq.ranName"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->ranname(), output); } - // .api.RICE2APHeader RICE2APHeaderData = 4; + // .rc.RICE2APHeader RICE2APHeaderData = 4; if (this->has_rice2apheaderdata()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->_internal_rice2apheaderdata(), output); } - // .api.RICControlHeader RICControlHeaderData = 5; + // .rc.RICControlHeader RICControlHeaderData = 5; if (this->has_riccontrolheaderdata()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, this->_internal_riccontrolheaderdata(), output); } - // .api.RICControlMessage RICControlMessageData = 6; + // .rc.RICControlMessage RICControlMessageData = 6; if (this->has_riccontrolmessagedata()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->_internal_riccontrolmessagedata(), output); } - // .api.RICControlAckEnum RICControlAckReqVal = 7; + // .rc.RICControlAckEnum RICControlAckReqVal = 7; if (this->riccontrolackreqval() != 0) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 7, this->riccontrolackreqval(), output); @@ -1479,13 +1478,13 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } - // @@protoc_insertion_point(serialize_end:api.RicControlGrpcReq) + // @@protoc_insertion_point(serialize_end:rc.RicControlGrpcReq) } ::google::protobuf::uint8* RicControlGrpcReq::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:api.RicControlGrpcReq) + // @@protoc_insertion_point(serialize_to_array_start:rc.RicControlGrpcReq) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1494,7 +1493,7 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->e2nodeid().data(), static_cast(this->e2nodeid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.e2NodeID"); + "rc.RicControlGrpcReq.e2NodeID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->e2nodeid(), target); @@ -1505,7 +1504,7 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->plmnid().data(), static_cast(this->plmnid().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.plmnID"); + "rc.RicControlGrpcReq.plmnID"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->plmnid(), target); @@ -1516,34 +1515,34 @@ void RicControlGrpcReq::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->ranname().data(), static_cast(this->ranname().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcReq.ranName"); + "rc.RicControlGrpcReq.ranName"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->ranname(), target); } - // .api.RICE2APHeader RICE2APHeaderData = 4; + // .rc.RICE2APHeader RICE2APHeaderData = 4; if (this->has_rice2apheaderdata()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, this->_internal_rice2apheaderdata(), deterministic, target); } - // .api.RICControlHeader RICControlHeaderData = 5; + // .rc.RICControlHeader RICControlHeaderData = 5; if (this->has_riccontrolheaderdata()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 5, this->_internal_riccontrolheaderdata(), deterministic, target); } - // .api.RICControlMessage RICControlMessageData = 6; + // .rc.RICControlMessage RICControlMessageData = 6; if (this->has_riccontrolmessagedata()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 6, this->_internal_riccontrolmessagedata(), deterministic, target); } - // .api.RICControlAckEnum RICControlAckReqVal = 7; + // .rc.RICControlAckEnum RICControlAckReqVal = 7; if (this->riccontrolackreqval() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 7, this->riccontrolackreqval(), target); @@ -1553,12 +1552,12 @@ void RicControlGrpcReq::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } - // @@protoc_insertion_point(serialize_to_array_end:api.RicControlGrpcReq) + // @@protoc_insertion_point(serialize_to_array_end:rc.RicControlGrpcReq) return target; } size_t RicControlGrpcReq::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(message_byte_size_start:rc.RicControlGrpcReq) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { @@ -1587,28 +1586,28 @@ size_t RicControlGrpcReq::ByteSizeLong() const { this->ranname()); } - // .api.RICE2APHeader RICE2APHeaderData = 4; + // .rc.RICE2APHeader RICE2APHeaderData = 4; if (this->has_rice2apheaderdata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *rice2apheaderdata_); } - // .api.RICControlHeader RICControlHeaderData = 5; + // .rc.RICControlHeader RICControlHeaderData = 5; if (this->has_riccontrolheaderdata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *riccontrolheaderdata_); } - // .api.RICControlMessage RICControlMessageData = 6; + // .rc.RICControlMessage RICControlMessageData = 6; if (this->has_riccontrolmessagedata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *riccontrolmessagedata_); } - // .api.RICControlAckEnum RICControlAckReqVal = 7; + // .rc.RICControlAckEnum RICControlAckReqVal = 7; if (this->riccontrolackreqval() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->riccontrolackreqval()); @@ -1620,22 +1619,22 @@ size_t RicControlGrpcReq::ByteSizeLong() const { } void RicControlGrpcReq::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(generalized_merge_from_start:rc.RicControlGrpcReq) GOOGLE_DCHECK_NE(&from, this); const RicControlGrpcReq* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RicControlGrpcReq) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:rc.RicControlGrpcReq) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RicControlGrpcReq) + // @@protoc_insertion_point(generalized_merge_from_cast_success:rc.RicControlGrpcReq) MergeFrom(*source); } } void RicControlGrpcReq::MergeFrom(const RicControlGrpcReq& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(class_specific_merge_from_start:rc.RicControlGrpcReq) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -1654,13 +1653,13 @@ void RicControlGrpcReq::MergeFrom(const RicControlGrpcReq& from) { ranname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ranname_); } if (from.has_rice2apheaderdata()) { - mutable_rice2apheaderdata()->::api::RICE2APHeader::MergeFrom(from.rice2apheaderdata()); + mutable_rice2apheaderdata()->::rc::RICE2APHeader::MergeFrom(from.rice2apheaderdata()); } if (from.has_riccontrolheaderdata()) { - mutable_riccontrolheaderdata()->::api::RICControlHeader::MergeFrom(from.riccontrolheaderdata()); + mutable_riccontrolheaderdata()->::rc::RICControlHeader::MergeFrom(from.riccontrolheaderdata()); } if (from.has_riccontrolmessagedata()) { - mutable_riccontrolmessagedata()->::api::RICControlMessage::MergeFrom(from.riccontrolmessagedata()); + mutable_riccontrolmessagedata()->::rc::RICControlMessage::MergeFrom(from.riccontrolmessagedata()); } if (from.riccontrolackreqval() != 0) { set_riccontrolackreqval(from.riccontrolackreqval()); @@ -1668,14 +1667,14 @@ void RicControlGrpcReq::MergeFrom(const RicControlGrpcReq& from) { } void RicControlGrpcReq::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(generalized_copy_from_start:rc.RicControlGrpcReq) if (&from == this) return; Clear(); MergeFrom(from); } void RicControlGrpcReq::CopyFrom(const RicControlGrpcReq& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.RicControlGrpcReq) +// @@protoc_insertion_point(class_specific_copy_from_start:rc.RicControlGrpcReq) if (&from == this) return; Clear(); MergeFrom(from); @@ -1705,8 +1704,8 @@ void RicControlGrpcReq::InternalSwap(RicControlGrpcReq* other) { } ::google::protobuf::Metadata RicControlGrpcReq::GetMetadata() const { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages]; } @@ -1722,9 +1721,9 @@ const int RicControlGrpcRsp::kDescriptionFieldNumber; RicControlGrpcRsp::RicControlGrpcRsp() : ::google::protobuf::Message(), _internal_metadata_(NULL) { ::google::protobuf::internal::InitSCC( - &protobuf_api_2eproto::scc_info_RicControlGrpcRsp.base); + &protobuf_rc_2eproto::scc_info_RicControlGrpcRsp.base); SharedCtor(); - // @@protoc_insertion_point(constructor:api.RicControlGrpcRsp) + // @@protoc_insertion_point(constructor:rc.RicControlGrpcRsp) } RicControlGrpcRsp::RicControlGrpcRsp(const RicControlGrpcRsp& from) : ::google::protobuf::Message(), @@ -1735,7 +1734,7 @@ RicControlGrpcRsp::RicControlGrpcRsp(const RicControlGrpcRsp& from) description_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description_); } rspcode_ = from.rspcode_; - // @@protoc_insertion_point(copy_constructor:api.RicControlGrpcRsp) + // @@protoc_insertion_point(copy_constructor:rc.RicControlGrpcRsp) } void RicControlGrpcRsp::SharedCtor() { @@ -1744,7 +1743,7 @@ void RicControlGrpcRsp::SharedCtor() { } RicControlGrpcRsp::~RicControlGrpcRsp() { - // @@protoc_insertion_point(destructor:api.RicControlGrpcRsp) + // @@protoc_insertion_point(destructor:rc.RicControlGrpcRsp) SharedDtor(); } @@ -1756,18 +1755,18 @@ void RicControlGrpcRsp::SetCachedSize(int size) const { _cached_size_.Set(size); } const ::google::protobuf::Descriptor* RicControlGrpcRsp::descriptor() { - ::protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; + ::protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const RicControlGrpcRsp& RicControlGrpcRsp::default_instance() { - ::google::protobuf::internal::InitSCC(&protobuf_api_2eproto::scc_info_RicControlGrpcRsp.base); + ::google::protobuf::internal::InitSCC(&protobuf_rc_2eproto::scc_info_RicControlGrpcRsp.base); return *internal_default_instance(); } void RicControlGrpcRsp::Clear() { -// @@protoc_insertion_point(message_clear_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(message_clear_start:rc.RicControlGrpcRsp) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1781,7 +1780,7 @@ bool RicControlGrpcRsp::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:api.RicControlGrpcRsp) + // @@protoc_insertion_point(parse_start:rc.RicControlGrpcRsp) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -1810,7 +1809,7 @@ bool RicControlGrpcRsp::MergePartialFromCodedStream( DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "api.RicControlGrpcRsp.description")); + "rc.RicControlGrpcRsp.description")); } else { goto handle_unusual; } @@ -1829,17 +1828,17 @@ bool RicControlGrpcRsp::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:api.RicControlGrpcRsp) + // @@protoc_insertion_point(parse_success:rc.RicControlGrpcRsp) return true; failure: - // @@protoc_insertion_point(parse_failure:api.RicControlGrpcRsp) + // @@protoc_insertion_point(parse_failure:rc.RicControlGrpcRsp) return false; #undef DO_ } void RicControlGrpcRsp::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:api.RicControlGrpcRsp) + // @@protoc_insertion_point(serialize_start:rc.RicControlGrpcRsp) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1853,7 +1852,7 @@ void RicControlGrpcRsp::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcRsp.description"); + "rc.RicControlGrpcRsp.description"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->description(), output); } @@ -1862,13 +1861,13 @@ void RicControlGrpcRsp::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output); } - // @@protoc_insertion_point(serialize_end:api.RicControlGrpcRsp) + // @@protoc_insertion_point(serialize_end:rc.RicControlGrpcRsp) } ::google::protobuf::uint8* RicControlGrpcRsp::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused - // @@protoc_insertion_point(serialize_to_array_start:api.RicControlGrpcRsp) + // @@protoc_insertion_point(serialize_to_array_start:rc.RicControlGrpcRsp) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -1882,7 +1881,7 @@ void RicControlGrpcRsp::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->description().data(), static_cast(this->description().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "api.RicControlGrpcRsp.description"); + "rc.RicControlGrpcRsp.description"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->description(), target); @@ -1892,12 +1891,12 @@ void RicControlGrpcRsp::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target); } - // @@protoc_insertion_point(serialize_to_array_end:api.RicControlGrpcRsp) + // @@protoc_insertion_point(serialize_to_array_end:rc.RicControlGrpcRsp) return target; } size_t RicControlGrpcRsp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(message_byte_size_start:rc.RicControlGrpcRsp) size_t total_size = 0; if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) { @@ -1925,22 +1924,22 @@ size_t RicControlGrpcRsp::ByteSizeLong() const { } void RicControlGrpcRsp::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(generalized_merge_from_start:rc.RicControlGrpcRsp) GOOGLE_DCHECK_NE(&from, this); const RicControlGrpcRsp* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:api.RicControlGrpcRsp) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:rc.RicControlGrpcRsp) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:api.RicControlGrpcRsp) + // @@protoc_insertion_point(generalized_merge_from_cast_success:rc.RicControlGrpcRsp) MergeFrom(*source); } } void RicControlGrpcRsp::MergeFrom(const RicControlGrpcRsp& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(class_specific_merge_from_start:rc.RicControlGrpcRsp) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -1956,14 +1955,14 @@ void RicControlGrpcRsp::MergeFrom(const RicControlGrpcRsp& from) { } void RicControlGrpcRsp::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(generalized_copy_from_start:rc.RicControlGrpcRsp) if (&from == this) return; Clear(); MergeFrom(from); } void RicControlGrpcRsp::CopyFrom(const RicControlGrpcRsp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:api.RicControlGrpcRsp) +// @@protoc_insertion_point(class_specific_copy_from_start:rc.RicControlGrpcRsp) if (&from == this) return; Clear(); MergeFrom(from); @@ -1986,29 +1985,29 @@ void RicControlGrpcRsp::InternalSwap(RicControlGrpcRsp* other) { } ::google::protobuf::Metadata RicControlGrpcRsp::GetMetadata() const { - protobuf_api_2eproto::protobuf_AssignDescriptorsOnce(); - return ::protobuf_api_2eproto::file_level_metadata[kIndexInFileMessages]; + protobuf_rc_2eproto::protobuf_AssignDescriptorsOnce(); + return ::protobuf_rc_2eproto::file_level_metadata[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) -} // namespace api +} // namespace rc namespace google { namespace protobuf { -template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICE2APHeader* Arena::CreateMaybeMessage< ::api::RICE2APHeader >(Arena* arena) { - return Arena::CreateInternal< ::api::RICE2APHeader >(arena); +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rc::RICE2APHeader* Arena::CreateMaybeMessage< ::rc::RICE2APHeader >(Arena* arena) { + return Arena::CreateInternal< ::rc::RICE2APHeader >(arena); } -template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICControlHeader* Arena::CreateMaybeMessage< ::api::RICControlHeader >(Arena* arena) { - return Arena::CreateInternal< ::api::RICControlHeader >(arena); +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rc::RICControlHeader* Arena::CreateMaybeMessage< ::rc::RICControlHeader >(Arena* arena) { + return Arena::CreateInternal< ::rc::RICControlHeader >(arena); } -template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RICControlMessage* Arena::CreateMaybeMessage< ::api::RICControlMessage >(Arena* arena) { - return Arena::CreateInternal< ::api::RICControlMessage >(arena); +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rc::RICControlMessage* Arena::CreateMaybeMessage< ::rc::RICControlMessage >(Arena* arena) { + return Arena::CreateInternal< ::rc::RICControlMessage >(arena); } -template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RicControlGrpcReq* Arena::CreateMaybeMessage< ::api::RicControlGrpcReq >(Arena* arena) { - return Arena::CreateInternal< ::api::RicControlGrpcReq >(arena); +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rc::RicControlGrpcReq* Arena::CreateMaybeMessage< ::rc::RicControlGrpcReq >(Arena* arena) { + return Arena::CreateInternal< ::rc::RicControlGrpcReq >(arena); } -template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::api::RicControlGrpcRsp* Arena::CreateMaybeMessage< ::api::RicControlGrpcRsp >(Arena* arena) { - return Arena::CreateInternal< ::api::RicControlGrpcRsp >(arena); +template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::rc::RicControlGrpcRsp* Arena::CreateMaybeMessage< ::rc::RicControlGrpcRsp >(Arena* arena) { + return Arena::CreateInternal< ::rc::RicControlGrpcRsp >(arena); } } // namespace protobuf } // namespace google diff --git a/ext/protobuf/api.pb.h b/ext/protobuf/rc.pb.h similarity index 76% rename from ext/protobuf/api.pb.h rename to ext/protobuf/rc.pb.h index c176270..c67f858 100644 --- a/ext/protobuf/api.pb.h +++ b/ext/protobuf/rc.pb.h @@ -1,8 +1,8 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: api.proto +// source: rc.proto -#ifndef PROTOBUF_INCLUDED_api_2eproto -#define PROTOBUF_INCLUDED_api_2eproto +#ifndef PROTOBUF_INCLUDED_rc_2eproto +#define PROTOBUF_INCLUDED_rc_2eproto #include @@ -32,9 +32,9 @@ #include #include // @@protoc_insertion_point(includes) -#define PROTOBUF_INTERNAL_EXPORT_protobuf_api_2eproto +#define PROTOBUF_INTERNAL_EXPORT_protobuf_rc_2eproto -namespace protobuf_api_2eproto { +namespace protobuf_rc_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; @@ -45,8 +45,8 @@ struct TableStruct { static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); -} // namespace protobuf_api_2eproto -namespace api { +} // namespace protobuf_rc_2eproto +namespace rc { class RICControlHeader; class RICControlHeaderDefaultTypeInternal; extern RICControlHeaderDefaultTypeInternal _RICControlHeader_default_instance_; @@ -62,17 +62,17 @@ extern RicControlGrpcReqDefaultTypeInternal _RicControlGrpcReq_default_instance_ class RicControlGrpcRsp; class RicControlGrpcRspDefaultTypeInternal; extern RicControlGrpcRspDefaultTypeInternal _RicControlGrpcRsp_default_instance_; -} // namespace api +} // namespace rc namespace google { namespace protobuf { -template<> ::api::RICControlHeader* Arena::CreateMaybeMessage<::api::RICControlHeader>(Arena*); -template<> ::api::RICControlMessage* Arena::CreateMaybeMessage<::api::RICControlMessage>(Arena*); -template<> ::api::RICE2APHeader* Arena::CreateMaybeMessage<::api::RICE2APHeader>(Arena*); -template<> ::api::RicControlGrpcReq* Arena::CreateMaybeMessage<::api::RicControlGrpcReq>(Arena*); -template<> ::api::RicControlGrpcRsp* Arena::CreateMaybeMessage<::api::RicControlGrpcRsp>(Arena*); +template<> ::rc::RICControlHeader* Arena::CreateMaybeMessage<::rc::RICControlHeader>(Arena*); +template<> ::rc::RICControlMessage* Arena::CreateMaybeMessage<::rc::RICControlMessage>(Arena*); +template<> ::rc::RICE2APHeader* Arena::CreateMaybeMessage<::rc::RICE2APHeader>(Arena*); +template<> ::rc::RicControlGrpcReq* Arena::CreateMaybeMessage<::rc::RicControlGrpcReq>(Arena*); +template<> ::rc::RicControlGrpcRsp* Arena::CreateMaybeMessage<::rc::RicControlGrpcRsp>(Arena*); } // namespace protobuf } // namespace google -namespace api { +namespace rc { enum RICControlCellTypeEnum { RIC_CONTROL_CELL_UNKWON = 0, @@ -121,7 +121,7 @@ inline bool RICControlAckEnum_Parse( } // =================================================================== -class RICE2APHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:api.RICE2APHeader) */ { +class RICE2APHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rc.RICE2APHeader) */ { public: RICE2APHeader(); virtual ~RICE2APHeader(); @@ -220,18 +220,18 @@ class RICE2APHeader : public ::google::protobuf::Message /* @@protoc_insertion_p ::google::protobuf::int64 ricrequestorid() const; void set_ricrequestorid(::google::protobuf::int64 value); - // @@protoc_insertion_point(class_scope:api.RICE2APHeader) + // @@protoc_insertion_point(class_scope:rc.RICE2APHeader) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::int64 ranfuncid_; ::google::protobuf::int64 ricrequestorid_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::protobuf_api_2eproto::TableStruct; + friend struct ::protobuf_rc_2eproto::TableStruct; }; // ------------------------------------------------------------------- -class RICControlHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:api.RICControlHeader) */ { +class RICControlHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rc.RICControlHeader) */ { public: RICControlHeader(); virtual ~RICControlHeader(); @@ -344,7 +344,7 @@ class RICControlHeader : public ::google::protobuf::Message /* @@protoc_insertio ::google::protobuf::int64 controlactionid() const; void set_controlactionid(::google::protobuf::int64 value); - // @@protoc_insertion_point(class_scope:api.RICControlHeader) + // @@protoc_insertion_point(class_scope:rc.RICControlHeader) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; @@ -352,11 +352,11 @@ class RICControlHeader : public ::google::protobuf::Message /* @@protoc_insertio ::google::protobuf::int64 controlstyle_; ::google::protobuf::int64 controlactionid_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::protobuf_api_2eproto::TableStruct; + friend struct ::protobuf_rc_2eproto::TableStruct; }; // ------------------------------------------------------------------- -class RICControlMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:api.RICControlMessage) */ { +class RICControlMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rc.RICControlMessage) */ { public: RICControlMessage(); virtual ~RICControlMessage(); @@ -457,24 +457,24 @@ class RICControlMessage : public ::google::protobuf::Message /* @@protoc_inserti ::std::string* release_targetcellid(); void set_allocated_targetcellid(::std::string* targetcellid); - // .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; + // .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; void clear_riccontrolcelltypeval(); static const int kRICControlCellTypeValFieldNumber = 1; - ::api::RICControlCellTypeEnum riccontrolcelltypeval() const; - void set_riccontrolcelltypeval(::api::RICControlCellTypeEnum value); + ::rc::RICControlCellTypeEnum riccontrolcelltypeval() const; + void set_riccontrolcelltypeval(::rc::RICControlCellTypeEnum value); - // @@protoc_insertion_point(class_scope:api.RICControlMessage) + // @@protoc_insertion_point(class_scope:rc.RICControlMessage) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr targetcellid_; int riccontrolcelltypeval_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::protobuf_api_2eproto::TableStruct; + friend struct ::protobuf_rc_2eproto::TableStruct; }; // ------------------------------------------------------------------- -class RicControlGrpcReq : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:api.RicControlGrpcReq) */ { +class RicControlGrpcReq : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rc.RicControlGrpcReq) */ { public: RicControlGrpcReq(); virtual ~RicControlGrpcReq(); @@ -603,65 +603,65 @@ class RicControlGrpcReq : public ::google::protobuf::Message /* @@protoc_inserti ::std::string* release_ranname(); void set_allocated_ranname(::std::string* ranname); - // .api.RICE2APHeader RICE2APHeaderData = 4; + // .rc.RICE2APHeader RICE2APHeaderData = 4; bool has_rice2apheaderdata() const; void clear_rice2apheaderdata(); static const int kRICE2APHeaderDataFieldNumber = 4; private: - const ::api::RICE2APHeader& _internal_rice2apheaderdata() const; + const ::rc::RICE2APHeader& _internal_rice2apheaderdata() const; public: - const ::api::RICE2APHeader& rice2apheaderdata() const; - ::api::RICE2APHeader* release_rice2apheaderdata(); - ::api::RICE2APHeader* mutable_rice2apheaderdata(); - void set_allocated_rice2apheaderdata(::api::RICE2APHeader* rice2apheaderdata); + const ::rc::RICE2APHeader& rice2apheaderdata() const; + ::rc::RICE2APHeader* release_rice2apheaderdata(); + ::rc::RICE2APHeader* mutable_rice2apheaderdata(); + void set_allocated_rice2apheaderdata(::rc::RICE2APHeader* rice2apheaderdata); - // .api.RICControlHeader RICControlHeaderData = 5; + // .rc.RICControlHeader RICControlHeaderData = 5; bool has_riccontrolheaderdata() const; void clear_riccontrolheaderdata(); static const int kRICControlHeaderDataFieldNumber = 5; private: - const ::api::RICControlHeader& _internal_riccontrolheaderdata() const; + const ::rc::RICControlHeader& _internal_riccontrolheaderdata() const; public: - const ::api::RICControlHeader& riccontrolheaderdata() const; - ::api::RICControlHeader* release_riccontrolheaderdata(); - ::api::RICControlHeader* mutable_riccontrolheaderdata(); - void set_allocated_riccontrolheaderdata(::api::RICControlHeader* riccontrolheaderdata); + const ::rc::RICControlHeader& riccontrolheaderdata() const; + ::rc::RICControlHeader* release_riccontrolheaderdata(); + ::rc::RICControlHeader* mutable_riccontrolheaderdata(); + void set_allocated_riccontrolheaderdata(::rc::RICControlHeader* riccontrolheaderdata); - // .api.RICControlMessage RICControlMessageData = 6; + // .rc.RICControlMessage RICControlMessageData = 6; bool has_riccontrolmessagedata() const; void clear_riccontrolmessagedata(); static const int kRICControlMessageDataFieldNumber = 6; private: - const ::api::RICControlMessage& _internal_riccontrolmessagedata() const; + const ::rc::RICControlMessage& _internal_riccontrolmessagedata() const; public: - const ::api::RICControlMessage& riccontrolmessagedata() const; - ::api::RICControlMessage* release_riccontrolmessagedata(); - ::api::RICControlMessage* mutable_riccontrolmessagedata(); - void set_allocated_riccontrolmessagedata(::api::RICControlMessage* riccontrolmessagedata); + const ::rc::RICControlMessage& riccontrolmessagedata() const; + ::rc::RICControlMessage* release_riccontrolmessagedata(); + ::rc::RICControlMessage* mutable_riccontrolmessagedata(); + void set_allocated_riccontrolmessagedata(::rc::RICControlMessage* riccontrolmessagedata); - // .api.RICControlAckEnum RICControlAckReqVal = 7; + // .rc.RICControlAckEnum RICControlAckReqVal = 7; void clear_riccontrolackreqval(); static const int kRICControlAckReqValFieldNumber = 7; - ::api::RICControlAckEnum riccontrolackreqval() const; - void set_riccontrolackreqval(::api::RICControlAckEnum value); + ::rc::RICControlAckEnum riccontrolackreqval() const; + void set_riccontrolackreqval(::rc::RICControlAckEnum value); - // @@protoc_insertion_point(class_scope:api.RicControlGrpcReq) + // @@protoc_insertion_point(class_scope:rc.RicControlGrpcReq) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr e2nodeid_; ::google::protobuf::internal::ArenaStringPtr plmnid_; ::google::protobuf::internal::ArenaStringPtr ranname_; - ::api::RICE2APHeader* rice2apheaderdata_; - ::api::RICControlHeader* riccontrolheaderdata_; - ::api::RICControlMessage* riccontrolmessagedata_; + ::rc::RICE2APHeader* rice2apheaderdata_; + ::rc::RICControlHeader* riccontrolheaderdata_; + ::rc::RICControlMessage* riccontrolmessagedata_; int riccontrolackreqval_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::protobuf_api_2eproto::TableStruct; + friend struct ::protobuf_rc_2eproto::TableStruct; }; // ------------------------------------------------------------------- -class RicControlGrpcRsp : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:api.RicControlGrpcRsp) */ { +class RicControlGrpcRsp : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:rc.RicControlGrpcRsp) */ { public: RicControlGrpcRsp(); virtual ~RicControlGrpcRsp(); @@ -768,14 +768,14 @@ class RicControlGrpcRsp : public ::google::protobuf::Message /* @@protoc_inserti ::google::protobuf::int32 rspcode() const; void set_rspcode(::google::protobuf::int32 value); - // @@protoc_insertion_point(class_scope:api.RicControlGrpcRsp) + // @@protoc_insertion_point(class_scope:rc.RicControlGrpcRsp) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr description_; ::google::protobuf::int32 rspcode_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - friend struct ::protobuf_api_2eproto::TableStruct; + friend struct ::protobuf_rc_2eproto::TableStruct; }; // =================================================================== @@ -793,13 +793,13 @@ inline void RICE2APHeader::clear_ranfuncid() { ranfuncid_ = GOOGLE_LONGLONG(0); } inline ::google::protobuf::int64 RICE2APHeader::ranfuncid() const { - // @@protoc_insertion_point(field_get:api.RICE2APHeader.RanFuncId) + // @@protoc_insertion_point(field_get:rc.RICE2APHeader.RanFuncId) return ranfuncid_; } inline void RICE2APHeader::set_ranfuncid(::google::protobuf::int64 value) { - + ranfuncid_ = value; - // @@protoc_insertion_point(field_set:api.RICE2APHeader.RanFuncId) + // @@protoc_insertion_point(field_set:rc.RICE2APHeader.RanFuncId) } // int64 RICRequestorID = 2; @@ -807,13 +807,13 @@ inline void RICE2APHeader::clear_ricrequestorid() { ricrequestorid_ = GOOGLE_LONGLONG(0); } inline ::google::protobuf::int64 RICE2APHeader::ricrequestorid() const { - // @@protoc_insertion_point(field_get:api.RICE2APHeader.RICRequestorID) + // @@protoc_insertion_point(field_get:rc.RICE2APHeader.RICRequestorID) return ricrequestorid_; } inline void RICE2APHeader::set_ricrequestorid(::google::protobuf::int64 value) { - + ricrequestorid_ = value; - // @@protoc_insertion_point(field_set:api.RICE2APHeader.RICRequestorID) + // @@protoc_insertion_point(field_set:rc.RICE2APHeader.RICRequestorID) } // ------------------------------------------------------------------- @@ -825,13 +825,13 @@ inline void RICControlHeader::clear_controlstyle() { controlstyle_ = GOOGLE_LONGLONG(0); } inline ::google::protobuf::int64 RICControlHeader::controlstyle() const { - // @@protoc_insertion_point(field_get:api.RICControlHeader.ControlStyle) + // @@protoc_insertion_point(field_get:rc.RICControlHeader.ControlStyle) return controlstyle_; } inline void RICControlHeader::set_controlstyle(::google::protobuf::int64 value) { - + controlstyle_ = value; - // @@protoc_insertion_point(field_set:api.RICControlHeader.ControlStyle) + // @@protoc_insertion_point(field_set:rc.RICControlHeader.ControlStyle) } // int64 ControlActionId = 2; @@ -839,13 +839,13 @@ inline void RICControlHeader::clear_controlactionid() { controlactionid_ = GOOGLE_LONGLONG(0); } inline ::google::protobuf::int64 RICControlHeader::controlactionid() const { - // @@protoc_insertion_point(field_get:api.RICControlHeader.ControlActionId) + // @@protoc_insertion_point(field_get:rc.RICControlHeader.ControlActionId) return controlactionid_; } inline void RICControlHeader::set_controlactionid(::google::protobuf::int64 value) { - + controlactionid_ = value; - // @@protoc_insertion_point(field_set:api.RICControlHeader.ControlActionId) + // @@protoc_insertion_point(field_set:rc.RICControlHeader.ControlActionId) } // string UEID = 3; @@ -853,70 +853,70 @@ inline void RICControlHeader::clear_ueid() { ueid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RICControlHeader::ueid() const { - // @@protoc_insertion_point(field_get:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_get:rc.RICControlHeader.UEID) return ueid_.GetNoArena(); } inline void RICControlHeader::set_ueid(const ::std::string& value) { - + ueid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_set:rc.RICControlHeader.UEID) } #if LANG_CXX11 inline void RICControlHeader::set_ueid(::std::string&& value) { - + ueid_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_set_rvalue:rc.RICControlHeader.UEID) } #endif inline void RICControlHeader::set_ueid(const char* value) { GOOGLE_DCHECK(value != NULL); - + ueid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_set_char:rc.RICControlHeader.UEID) } inline void RICControlHeader::set_ueid(const char* value, size_t size) { - + ueid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_set_pointer:rc.RICControlHeader.UEID) } inline ::std::string* RICControlHeader::mutable_ueid() { - - // @@protoc_insertion_point(field_mutable:api.RICControlHeader.UEID) + + // @@protoc_insertion_point(field_mutable:rc.RICControlHeader.UEID) return ueid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RICControlHeader::release_ueid() { - // @@protoc_insertion_point(field_release:api.RICControlHeader.UEID) - + // @@protoc_insertion_point(field_release:rc.RICControlHeader.UEID) + return ueid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RICControlHeader::set_allocated_ueid(::std::string* ueid) { if (ueid != NULL) { - + } else { - + } ueid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ueid); - // @@protoc_insertion_point(field_set_allocated:api.RICControlHeader.UEID) + // @@protoc_insertion_point(field_set_allocated:rc.RICControlHeader.UEID) } // ------------------------------------------------------------------- // RICControlMessage -// .api.RICControlCellTypeEnum RICControlCellTypeVal = 1; +// .rc.RICControlCellTypeEnum RICControlCellTypeVal = 1; inline void RICControlMessage::clear_riccontrolcelltypeval() { riccontrolcelltypeval_ = 0; } -inline ::api::RICControlCellTypeEnum RICControlMessage::riccontrolcelltypeval() const { - // @@protoc_insertion_point(field_get:api.RICControlMessage.RICControlCellTypeVal) - return static_cast< ::api::RICControlCellTypeEnum >(riccontrolcelltypeval_); +inline ::rc::RICControlCellTypeEnum RICControlMessage::riccontrolcelltypeval() const { + // @@protoc_insertion_point(field_get:rc.RICControlMessage.RICControlCellTypeVal) + return static_cast< ::rc::RICControlCellTypeEnum >(riccontrolcelltypeval_); } -inline void RICControlMessage::set_riccontrolcelltypeval(::api::RICControlCellTypeEnum value) { - +inline void RICControlMessage::set_riccontrolcelltypeval(::rc::RICControlCellTypeEnum value) { + riccontrolcelltypeval_ = value; - // @@protoc_insertion_point(field_set:api.RICControlMessage.RICControlCellTypeVal) + // @@protoc_insertion_point(field_set:rc.RICControlMessage.RICControlCellTypeVal) } // string TargetCellID = 2; @@ -924,52 +924,52 @@ inline void RICControlMessage::clear_targetcellid() { targetcellid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RICControlMessage::targetcellid() const { - // @@protoc_insertion_point(field_get:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_get:rc.RICControlMessage.TargetCellID) return targetcellid_.GetNoArena(); } inline void RICControlMessage::set_targetcellid(const ::std::string& value) { - + targetcellid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_set:rc.RICControlMessage.TargetCellID) } #if LANG_CXX11 inline void RICControlMessage::set_targetcellid(::std::string&& value) { - + targetcellid_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_set_rvalue:rc.RICControlMessage.TargetCellID) } #endif inline void RICControlMessage::set_targetcellid(const char* value) { GOOGLE_DCHECK(value != NULL); - + targetcellid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_set_char:rc.RICControlMessage.TargetCellID) } inline void RICControlMessage::set_targetcellid(const char* value, size_t size) { - + targetcellid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_set_pointer:rc.RICControlMessage.TargetCellID) } inline ::std::string* RICControlMessage::mutable_targetcellid() { - - // @@protoc_insertion_point(field_mutable:api.RICControlMessage.TargetCellID) + + // @@protoc_insertion_point(field_mutable:rc.RICControlMessage.TargetCellID) return targetcellid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RICControlMessage::release_targetcellid() { - // @@protoc_insertion_point(field_release:api.RICControlMessage.TargetCellID) - + // @@protoc_insertion_point(field_release:rc.RICControlMessage.TargetCellID) + return targetcellid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RICControlMessage::set_allocated_targetcellid(::std::string* targetcellid) { if (targetcellid != NULL) { - + } else { - + } targetcellid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), targetcellid); - // @@protoc_insertion_point(field_set_allocated:api.RICControlMessage.TargetCellID) + // @@protoc_insertion_point(field_set_allocated:rc.RICControlMessage.TargetCellID) } // ------------------------------------------------------------------- @@ -981,52 +981,52 @@ inline void RicControlGrpcReq::clear_e2nodeid() { e2nodeid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RicControlGrpcReq::e2nodeid() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.e2NodeID) return e2nodeid_.GetNoArena(); } inline void RicControlGrpcReq::set_e2nodeid(const ::std::string& value) { - + e2nodeid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcReq.e2NodeID) } #if LANG_CXX11 inline void RicControlGrpcReq::set_e2nodeid(::std::string&& value) { - + e2nodeid_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_set_rvalue:rc.RicControlGrpcReq.e2NodeID) } #endif inline void RicControlGrpcReq::set_e2nodeid(const char* value) { GOOGLE_DCHECK(value != NULL); - + e2nodeid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_set_char:rc.RicControlGrpcReq.e2NodeID) } inline void RicControlGrpcReq::set_e2nodeid(const char* value, size_t size) { - + e2nodeid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_set_pointer:rc.RicControlGrpcReq.e2NodeID) } inline ::std::string* RicControlGrpcReq::mutable_e2nodeid() { - - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.e2NodeID) + + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.e2NodeID) return e2nodeid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RicControlGrpcReq::release_e2nodeid() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.e2NodeID) - + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.e2NodeID) + return e2nodeid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RicControlGrpcReq::set_allocated_e2nodeid(::std::string* e2nodeid) { if (e2nodeid != NULL) { - + } else { - + } e2nodeid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), e2nodeid); - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.e2NodeID) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.e2NodeID) } // string plmnID = 2; @@ -1034,52 +1034,52 @@ inline void RicControlGrpcReq::clear_plmnid() { plmnid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RicControlGrpcReq::plmnid() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.plmnID) return plmnid_.GetNoArena(); } inline void RicControlGrpcReq::set_plmnid(const ::std::string& value) { - + plmnid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcReq.plmnID) } #if LANG_CXX11 inline void RicControlGrpcReq::set_plmnid(::std::string&& value) { - + plmnid_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_set_rvalue:rc.RicControlGrpcReq.plmnID) } #endif inline void RicControlGrpcReq::set_plmnid(const char* value) { GOOGLE_DCHECK(value != NULL); - + plmnid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_set_char:rc.RicControlGrpcReq.plmnID) } inline void RicControlGrpcReq::set_plmnid(const char* value, size_t size) { - + plmnid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_set_pointer:rc.RicControlGrpcReq.plmnID) } inline ::std::string* RicControlGrpcReq::mutable_plmnid() { - - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.plmnID) + + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.plmnID) return plmnid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RicControlGrpcReq::release_plmnid() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.plmnID) - + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.plmnID) + return plmnid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RicControlGrpcReq::set_allocated_plmnid(::std::string* plmnid) { if (plmnid != NULL) { - + } else { - + } plmnid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), plmnid); - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.plmnID) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.plmnID) } // string ranName = 3; @@ -1087,55 +1087,55 @@ inline void RicControlGrpcReq::clear_ranname() { ranname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RicControlGrpcReq::ranname() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.ranName) return ranname_.GetNoArena(); } inline void RicControlGrpcReq::set_ranname(const ::std::string& value) { - + ranname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcReq.ranName) } #if LANG_CXX11 inline void RicControlGrpcReq::set_ranname(::std::string&& value) { - + ranname_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_set_rvalue:rc.RicControlGrpcReq.ranName) } #endif inline void RicControlGrpcReq::set_ranname(const char* value) { GOOGLE_DCHECK(value != NULL); - + ranname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_set_char:rc.RicControlGrpcReq.ranName) } inline void RicControlGrpcReq::set_ranname(const char* value, size_t size) { - + ranname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_set_pointer:rc.RicControlGrpcReq.ranName) } inline ::std::string* RicControlGrpcReq::mutable_ranname() { - - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.ranName) + + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.ranName) return ranname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RicControlGrpcReq::release_ranname() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.ranName) - + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.ranName) + return ranname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RicControlGrpcReq::set_allocated_ranname(::std::string* ranname) { if (ranname != NULL) { - + } else { - + } ranname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ranname); - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.ranName) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.ranName) } -// .api.RICE2APHeader RICE2APHeaderData = 4; +// .rc.RICE2APHeader RICE2APHeaderData = 4; inline bool RicControlGrpcReq::has_rice2apheaderdata() const { return this != internal_default_instance() && rice2apheaderdata_ != NULL; } @@ -1145,32 +1145,32 @@ inline void RicControlGrpcReq::clear_rice2apheaderdata() { } rice2apheaderdata_ = NULL; } -inline const ::api::RICE2APHeader& RicControlGrpcReq::_internal_rice2apheaderdata() const { +inline const ::rc::RICE2APHeader& RicControlGrpcReq::_internal_rice2apheaderdata() const { return *rice2apheaderdata_; } -inline const ::api::RICE2APHeader& RicControlGrpcReq::rice2apheaderdata() const { - const ::api::RICE2APHeader* p = rice2apheaderdata_; - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.RICE2APHeaderData) - return p != NULL ? *p : *reinterpret_cast( - &::api::_RICE2APHeader_default_instance_); +inline const ::rc::RICE2APHeader& RicControlGrpcReq::rice2apheaderdata() const { + const ::rc::RICE2APHeader* p = rice2apheaderdata_; + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.RICE2APHeaderData) + return p != NULL ? *p : *reinterpret_cast( + &::rc::_RICE2APHeader_default_instance_); } -inline ::api::RICE2APHeader* RicControlGrpcReq::release_rice2apheaderdata() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.RICE2APHeaderData) - - ::api::RICE2APHeader* temp = rice2apheaderdata_; +inline ::rc::RICE2APHeader* RicControlGrpcReq::release_rice2apheaderdata() { + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.RICE2APHeaderData) + + ::rc::RICE2APHeader* temp = rice2apheaderdata_; rice2apheaderdata_ = NULL; return temp; } -inline ::api::RICE2APHeader* RicControlGrpcReq::mutable_rice2apheaderdata() { - +inline ::rc::RICE2APHeader* RicControlGrpcReq::mutable_rice2apheaderdata() { + if (rice2apheaderdata_ == NULL) { - auto* p = CreateMaybeMessage<::api::RICE2APHeader>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::rc::RICE2APHeader>(GetArenaNoVirtual()); rice2apheaderdata_ = p; } - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.RICE2APHeaderData) + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.RICE2APHeaderData) return rice2apheaderdata_; } -inline void RicControlGrpcReq::set_allocated_rice2apheaderdata(::api::RICE2APHeader* rice2apheaderdata) { +inline void RicControlGrpcReq::set_allocated_rice2apheaderdata(::rc::RICE2APHeader* rice2apheaderdata) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete rice2apheaderdata_; @@ -1181,15 +1181,15 @@ inline void RicControlGrpcReq::set_allocated_rice2apheaderdata(::api::RICE2APHea rice2apheaderdata = ::google::protobuf::internal::GetOwnedMessage( message_arena, rice2apheaderdata, submessage_arena); } - + } else { - + } rice2apheaderdata_ = rice2apheaderdata; - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.RICE2APHeaderData) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.RICE2APHeaderData) } -// .api.RICControlHeader RICControlHeaderData = 5; +// .rc.RICControlHeader RICControlHeaderData = 5; inline bool RicControlGrpcReq::has_riccontrolheaderdata() const { return this != internal_default_instance() && riccontrolheaderdata_ != NULL; } @@ -1199,32 +1199,32 @@ inline void RicControlGrpcReq::clear_riccontrolheaderdata() { } riccontrolheaderdata_ = NULL; } -inline const ::api::RICControlHeader& RicControlGrpcReq::_internal_riccontrolheaderdata() const { +inline const ::rc::RICControlHeader& RicControlGrpcReq::_internal_riccontrolheaderdata() const { return *riccontrolheaderdata_; } -inline const ::api::RICControlHeader& RicControlGrpcReq::riccontrolheaderdata() const { - const ::api::RICControlHeader* p = riccontrolheaderdata_; - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.RICControlHeaderData) - return p != NULL ? *p : *reinterpret_cast( - &::api::_RICControlHeader_default_instance_); +inline const ::rc::RICControlHeader& RicControlGrpcReq::riccontrolheaderdata() const { + const ::rc::RICControlHeader* p = riccontrolheaderdata_; + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.RICControlHeaderData) + return p != NULL ? *p : *reinterpret_cast( + &::rc::_RICControlHeader_default_instance_); } -inline ::api::RICControlHeader* RicControlGrpcReq::release_riccontrolheaderdata() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.RICControlHeaderData) - - ::api::RICControlHeader* temp = riccontrolheaderdata_; +inline ::rc::RICControlHeader* RicControlGrpcReq::release_riccontrolheaderdata() { + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.RICControlHeaderData) + + ::rc::RICControlHeader* temp = riccontrolheaderdata_; riccontrolheaderdata_ = NULL; return temp; } -inline ::api::RICControlHeader* RicControlGrpcReq::mutable_riccontrolheaderdata() { - +inline ::rc::RICControlHeader* RicControlGrpcReq::mutable_riccontrolheaderdata() { + if (riccontrolheaderdata_ == NULL) { - auto* p = CreateMaybeMessage<::api::RICControlHeader>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::rc::RICControlHeader>(GetArenaNoVirtual()); riccontrolheaderdata_ = p; } - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.RICControlHeaderData) + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.RICControlHeaderData) return riccontrolheaderdata_; } -inline void RicControlGrpcReq::set_allocated_riccontrolheaderdata(::api::RICControlHeader* riccontrolheaderdata) { +inline void RicControlGrpcReq::set_allocated_riccontrolheaderdata(::rc::RICControlHeader* riccontrolheaderdata) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete riccontrolheaderdata_; @@ -1235,15 +1235,15 @@ inline void RicControlGrpcReq::set_allocated_riccontrolheaderdata(::api::RICCont riccontrolheaderdata = ::google::protobuf::internal::GetOwnedMessage( message_arena, riccontrolheaderdata, submessage_arena); } - + } else { - + } riccontrolheaderdata_ = riccontrolheaderdata; - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.RICControlHeaderData) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.RICControlHeaderData) } -// .api.RICControlMessage RICControlMessageData = 6; +// .rc.RICControlMessage RICControlMessageData = 6; inline bool RicControlGrpcReq::has_riccontrolmessagedata() const { return this != internal_default_instance() && riccontrolmessagedata_ != NULL; } @@ -1253,32 +1253,32 @@ inline void RicControlGrpcReq::clear_riccontrolmessagedata() { } riccontrolmessagedata_ = NULL; } -inline const ::api::RICControlMessage& RicControlGrpcReq::_internal_riccontrolmessagedata() const { +inline const ::rc::RICControlMessage& RicControlGrpcReq::_internal_riccontrolmessagedata() const { return *riccontrolmessagedata_; } -inline const ::api::RICControlMessage& RicControlGrpcReq::riccontrolmessagedata() const { - const ::api::RICControlMessage* p = riccontrolmessagedata_; - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.RICControlMessageData) - return p != NULL ? *p : *reinterpret_cast( - &::api::_RICControlMessage_default_instance_); +inline const ::rc::RICControlMessage& RicControlGrpcReq::riccontrolmessagedata() const { + const ::rc::RICControlMessage* p = riccontrolmessagedata_; + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.RICControlMessageData) + return p != NULL ? *p : *reinterpret_cast( + &::rc::_RICControlMessage_default_instance_); } -inline ::api::RICControlMessage* RicControlGrpcReq::release_riccontrolmessagedata() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcReq.RICControlMessageData) - - ::api::RICControlMessage* temp = riccontrolmessagedata_; +inline ::rc::RICControlMessage* RicControlGrpcReq::release_riccontrolmessagedata() { + // @@protoc_insertion_point(field_release:rc.RicControlGrpcReq.RICControlMessageData) + + ::rc::RICControlMessage* temp = riccontrolmessagedata_; riccontrolmessagedata_ = NULL; return temp; } -inline ::api::RICControlMessage* RicControlGrpcReq::mutable_riccontrolmessagedata() { - +inline ::rc::RICControlMessage* RicControlGrpcReq::mutable_riccontrolmessagedata() { + if (riccontrolmessagedata_ == NULL) { - auto* p = CreateMaybeMessage<::api::RICControlMessage>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::rc::RICControlMessage>(GetArenaNoVirtual()); riccontrolmessagedata_ = p; } - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcReq.RICControlMessageData) + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcReq.RICControlMessageData) return riccontrolmessagedata_; } -inline void RicControlGrpcReq::set_allocated_riccontrolmessagedata(::api::RICControlMessage* riccontrolmessagedata) { +inline void RicControlGrpcReq::set_allocated_riccontrolmessagedata(::rc::RICControlMessage* riccontrolmessagedata) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == NULL) { delete riccontrolmessagedata_; @@ -1289,26 +1289,26 @@ inline void RicControlGrpcReq::set_allocated_riccontrolmessagedata(::api::RICCon riccontrolmessagedata = ::google::protobuf::internal::GetOwnedMessage( message_arena, riccontrolmessagedata, submessage_arena); } - + } else { - + } riccontrolmessagedata_ = riccontrolmessagedata; - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcReq.RICControlMessageData) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcReq.RICControlMessageData) } -// .api.RICControlAckEnum RICControlAckReqVal = 7; +// .rc.RICControlAckEnum RICControlAckReqVal = 7; inline void RicControlGrpcReq::clear_riccontrolackreqval() { riccontrolackreqval_ = 0; } -inline ::api::RICControlAckEnum RicControlGrpcReq::riccontrolackreqval() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcReq.RICControlAckReqVal) - return static_cast< ::api::RICControlAckEnum >(riccontrolackreqval_); +inline ::rc::RICControlAckEnum RicControlGrpcReq::riccontrolackreqval() const { + // @@protoc_insertion_point(field_get:rc.RicControlGrpcReq.RICControlAckReqVal) + return static_cast< ::rc::RICControlAckEnum >(riccontrolackreqval_); } -inline void RicControlGrpcReq::set_riccontrolackreqval(::api::RICControlAckEnum value) { - +inline void RicControlGrpcReq::set_riccontrolackreqval(::rc::RICControlAckEnum value) { + riccontrolackreqval_ = value; - // @@protoc_insertion_point(field_set:api.RicControlGrpcReq.RICControlAckReqVal) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcReq.RICControlAckReqVal) } // ------------------------------------------------------------------- @@ -1320,13 +1320,13 @@ inline void RicControlGrpcRsp::clear_rspcode() { rspcode_ = 0; } inline ::google::protobuf::int32 RicControlGrpcRsp::rspcode() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcRsp.rspCode) + // @@protoc_insertion_point(field_get:rc.RicControlGrpcRsp.rspCode) return rspcode_; } inline void RicControlGrpcRsp::set_rspcode(::google::protobuf::int32 value) { - + rspcode_ = value; - // @@protoc_insertion_point(field_set:api.RicControlGrpcRsp.rspCode) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcRsp.rspCode) } // string description = 2; @@ -1334,52 +1334,52 @@ inline void RicControlGrpcRsp::clear_description() { description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline const ::std::string& RicControlGrpcRsp::description() const { - // @@protoc_insertion_point(field_get:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_get:rc.RicControlGrpcRsp.description) return description_.GetNoArena(); } inline void RicControlGrpcRsp::set_description(const ::std::string& value) { - + description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_set:rc.RicControlGrpcRsp.description) } #if LANG_CXX11 inline void RicControlGrpcRsp::set_description(::std::string&& value) { - + description_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_set_rvalue:rc.RicControlGrpcRsp.description) } #endif inline void RicControlGrpcRsp::set_description(const char* value) { GOOGLE_DCHECK(value != NULL); - + description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_set_char:rc.RicControlGrpcRsp.description) } inline void RicControlGrpcRsp::set_description(const char* value, size_t size) { - + description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_set_pointer:rc.RicControlGrpcRsp.description) } inline ::std::string* RicControlGrpcRsp::mutable_description() { - - // @@protoc_insertion_point(field_mutable:api.RicControlGrpcRsp.description) + + // @@protoc_insertion_point(field_mutable:rc.RicControlGrpcRsp.description) return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline ::std::string* RicControlGrpcRsp::release_description() { - // @@protoc_insertion_point(field_release:api.RicControlGrpcRsp.description) - + // @@protoc_insertion_point(field_release:rc.RicControlGrpcRsp.description) + return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } inline void RicControlGrpcRsp::set_allocated_description(::std::string* description) { if (description != NULL) { - + } else { - + } description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description); - // @@protoc_insertion_point(field_set_allocated:api.RicControlGrpcRsp.description) + // @@protoc_insertion_point(field_set_allocated:rc.RicControlGrpcRsp.description) } #ifdef __GNUC__ @@ -1396,20 +1396,20 @@ inline void RicControlGrpcRsp::set_allocated_description(::std::string* descript // @@protoc_insertion_point(namespace_scope) -} // namespace api +} // namespace rc namespace google { namespace protobuf { -template <> struct is_proto_enum< ::api::RICControlCellTypeEnum> : ::std::true_type {}; +template <> struct is_proto_enum< ::rc::RICControlCellTypeEnum> : ::std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::RICControlCellTypeEnum>() { - return ::api::RICControlCellTypeEnum_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::rc::RICControlCellTypeEnum>() { + return ::rc::RICControlCellTypeEnum_descriptor(); } -template <> struct is_proto_enum< ::api::RICControlAckEnum> : ::std::true_type {}; +template <> struct is_proto_enum< ::rc::RICControlAckEnum> : ::std::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::api::RICControlAckEnum>() { - return ::api::RICControlAckEnum_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::rc::RICControlAckEnum>() { + return ::rc::RICControlAckEnum_descriptor(); } } // namespace protobuf @@ -1417,4 +1417,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::api::RICControlAckEnum>() { // @@protoc_insertion_point(global_scope) -#endif // PROTOBUF_INCLUDED_api_2eproto +#endif // PROTOBUF_INCLUDED_rc_2eproto diff --git a/ext/protobuf/api.proto b/ext/protobuf/rc.proto similarity index 99% rename from ext/protobuf/api.proto rename to ext/protobuf/rc.proto index bb51275..030d63f 100644 --- a/ext/protobuf/api.proto +++ b/ext/protobuf/rc.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package api; +package rc; enum RICControlCellTypeEnum { diff --git a/src/ts_xapp/ts_xapp.cpp b/src/ts_xapp/ts_xapp.cpp index e4a06e7..47bcd8f 100644 --- a/src/ts_xapp/ts_xapp.cpp +++ b/src/ts_xapp/ts_xapp.cpp @@ -72,7 +72,7 @@ #include #include #include -#include "protobuf/api.grpc.pb.h" +#include "protobuf/rc.grpc.pb.h" #include "utils/restclient.hpp" @@ -90,7 +90,7 @@ using Keys = std::set; // ---------------------------------------------------------- std::unique_ptr xfw; -std::unique_ptr rc_stub; +std::unique_ptr rc_stub; int downlink_threshold = 0; // A1 policy type 20008 (in percentage) @@ -524,20 +524,20 @@ void send_rest_control_request( string ue_id, string serving_cell_id, string tar void send_grpc_control_request( string ue_id, string target_cell_id ) { grpc::ClientContext context; - api::RicControlGrpcRsp response; - shared_ptr request = make_shared(); + rc::RicControlGrpcRsp response; + shared_ptr request = make_shared(); - api::RICE2APHeader *apHeader = request->mutable_rice2apheaderdata(); + rc::RICE2APHeader *apHeader = request->mutable_rice2apheaderdata(); apHeader->set_ranfuncid( 300 ); apHeader->set_ricrequestorid( 1001 ); - api::RICControlHeader *ctrlHeader = request->mutable_riccontrolheaderdata(); + rc::RICControlHeader *ctrlHeader = request->mutable_riccontrolheaderdata(); ctrlHeader->set_controlstyle( 3 ); ctrlHeader->set_controlactionid( 1 ); ctrlHeader->set_ueid( ue_id ); - api::RICControlMessage *ctrlMsg = request->mutable_riccontrolmessagedata(); - ctrlMsg->set_riccontrolcelltypeval( api::RIC_CONTROL_CELL_UNKWON ); + rc::RICControlMessage *ctrlMsg = request->mutable_riccontrolmessagedata(); + ctrlMsg->set_riccontrolcelltypeval( rc::RIC_CONTROL_CELL_UNKWON ); ctrlMsg->set_targetcellid( target_cell_id ); auto data = cell_map.find( target_cell_id ); @@ -550,7 +550,7 @@ void send_grpc_control_request( string ue_id, string target_cell_id ) { request->set_plmnid( "unknown_plmnid" ); request->set_ranname( "unknown_ranname" ); } - request->set_riccontrolackreqval( api::RIC_CONTROL_ACK_UNKWON ); // not yet used in api.proto + request->set_riccontrolackreqval( rc::RIC_CONTROL_ACK_UNKWON ); // not yet used in api.proto grpc::Status status = rc_stub->SendRICControlReqServiceGrpc( &context, *request, &response ); @@ -785,7 +785,7 @@ extern int main( int argc, char** argv ) { } channel = grpc::CreateChannel(ts_control_ep, grpc::InsecureChannelCredentials()); - rc_stub = api::MsgComm::NewStub(channel, grpc::StubOptions()); + rc_stub = rc::MsgComm::NewStub(channel, grpc::StubOptions()); } fprintf( stderr, "[TS xApp] listening on port %s\n", port ); diff --git a/test/app/rc_xapp.cpp b/test/app/rc_xapp.cpp index 2ebfba0..6c23eb2 100644 --- a/test/app/rc_xapp.cpp +++ b/test/app/rc_xapp.cpp @@ -34,13 +34,13 @@ #include #include -#include "../../ext/protobuf/api.grpc.pb.h" +#include "../../ext/protobuf/rc.grpc.pb.h" using namespace std; -class ControlServiceImpl : public api::MsgComm::Service { - ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::api::RicControlGrpcReq* request, - ::api::RicControlGrpcRsp* response) override { +class ControlServiceImpl : public rc::MsgComm::Service { + ::grpc::Status SendRICControlReqServiceGrpc(::grpc::ServerContext* context, const ::rc::RicControlGrpcReq* request, + ::rc::RicControlGrpcRsp* response) override { cout << "[RC] gRPC message received\n==============================\n" << request->DebugString() << "==============================\n"; @@ -75,4 +75,4 @@ int main(int argc, char const *argv[]) { RunServer(); return 0; -} \ No newline at end of file +} -- 2.16.6